Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

This Driver supports communication between Xpanel and the OMRON RFID Reader V680 Series.

  • This Driver is developed to support the V680 Command, Antenna 1 for 1:N Communication.

Communication Setup: Xpanel

Create a new Device

 

To create a new device, select ‘Tools’ → ’I/O Devices’ or click the (blue star) icon in the toolbar. The following picture shows the first step in creating a new device:

I/O Device Name: Give a device name. This name will be used in the tag database, accompanied by the ‘Station Name’.

Select a device type

After selecting the ‘OK’ button in the previous step, the ‘Serial Communication Configuration’ dialog box will appear as shown in the following picture:

Select ‘OMRON RFID Reader’ as the ‘Device Type’, and set the communication parameters as shown below.

Note: these settings reflect when pin 9 of the RFID DIP switch SW3 is ON (1:N Communication), and the rest of the pins are OFF. If you change the RFID switch settings, you must change the settings in XpanelDesigner to match.

Baud Rate: 9600

Parity: Even

Data Bit: 7

Stop Bit: 2 Bits

RTS/CTS: OFF

Comm. Type: RS232

See the Communication Configuration section for more information about the remaining parameters.

Create a station

Move to the ‘Station’ tab of the ‘Serial Communication Configuration’ dialog box.

In this dialog box, connected PLC stations can be configured and registered to the Xpanel.

Each field can be configured with the following rules:

Station Name: Designate a name for the station. This will be used in the tag database, accompanied by the ‘Device Name’.

Station Type: Select ‘V680’ (this is the only available option).

Network ID: N/A

Station No: Enter the station number used by the communication module. The station number set within the RFID device configuration must match the number chosen here.

See the Communication Configuration section for more information about the remaining parameters.

Communication Configuration: RFID Reader (V680)

The table below summarizes the functionality of each of the switches shown above.

Name

Default Setting

Description

SW1

Controller number upper digit (0 to 9)

0

Controller No. 00

SW2

Controller number lowe digit (0 to 9)

0

SW3, pin 1

SW enable switch

OFF

DIP Switches enabled

SW3, pin 2

Reserved by system

OFF

(Not used)

SW3, pin 3

Baud rate setting 1

OFF

Baud rate: 9600 bps

SW3, pin 4

Baud rate setting 2

OFF

SW3, pin 5

Data length

OFF

Data length: 7 bits

SW3, pin 6

Parity 1

OFF

Parity: Even

SW3, pin 7

Parity 2

OFF

SW3, pin 8

Stop bit length

OFF

Stop bits: 2

SW3, pin 9

Communications protocol

OFF

1:1

SW3, pin 10

Command system

OFF

V680 commands

SW4, pin 1

Test Mode switch setting 1

OFF

Distance level measurement

SW4, pin 2

Test Mode switch setting 2

OFF

SW4, pin 3

Test Mode switch setting 3

OFF

SW4, pin 4

Antenna specification for test execution

OFF

Antenna 1

SW4, pin 5

Write verification

OFF

With write verification

SW4, pin 6

Lower trigger execution setting

OFF

None

SW4, pin 7

Write protection function disable

OFF

Enabled

SW4, pin 8

V680-H01 Antenna connection setting

OFF

Connection to antennas other than the V680-H01

SW4, pin 9

Run Mode setting

OFF

Command Execution Mode

SW4, pin 10

High-speed Data Transmission setting

OFF

Normal mode

SW5

Mode switch

OFF

Run Mode

SW6

Terminating resistance

OFF

No terminating resistance

Detailed switch descriptions. Default settings are designated in bold.

  • SW1, SW2: Controller Number Switch

    • Ex) SW1: 1, SW2: 2 → Controller number = 12

  • SW3, PIN1: SW Enable Switch → OFF

    • OFF: DIP Switch Enabled.

    • ON: Internal Settings Enabled.

  • SW3, PIN2: Reserved → OFF

  • SW3, PIN3 and PIN4: Baud Rate. See the table below for more information:

SW3, pin 3

SW3, pin 4

Description

OFF

OFF

9,600 bps

ON

19,200 bps

ON

OFF

38,400 bps

ON

115,200 bps

  • SW3, PIN5: Data Length

    • OFF: 7 bit

    • ON: 8 bit

  • SW3, PIN6 and PIN7: Parity. See the table below for more information:

SW3, pin 6

SW3, pin 7

Description

OFF

OFF

Even

ON

None

ON

OFF

Odd

ON

Even

  • SW3, PIN8: Stop Bit

    • OFF: 2 Bits

    • ON: 1 Bit

  • SW3, PIN9: Communication Protocol → ON

    • OFF: 1:1

    • ON: 1:N

  • SW3, PIN10: Command System → OFF

    • OFF: V680 Command

    • ON: V600 Command

  • SW4, PIN1, PIN2, and PIN3: Maintenance mode switch settings → OFF, OFF, OFF

    • See the table below for more information:

SW4, pin 1

SW4, pin 2

SW4, pin 3

Description

OFF

OFF

OFF

Distance Level Measurement Mode

ON

Tag Communications Test Mode

ON

OFF

Speed Level Measurement Mode, Read

ON

Speed Level Measurement Mode, Write

ON

OFF

OFF

Noise Level Measurement Mode

ON

OFF

Communications Success Rate Measurement Mode

ON

Host Communications Monitor Mode

  • SW4, PIN4: Antenna Specification → OFF

    • OFF: Antenna 1ON: Antenna 2

  • SW4, PIN5: Write Verification → OFF

    • OFF: With write verification

    • ON: Without write verification

  • SW4, PIN6: Lower Trigger Execution → OFF

    • OFF: None

    • ON: Enable (on rising edge)

  • SW4, PIN7: Write protection function. → OFF

    • OFF: Enable

    • ON: Disable

  • SW4, PIN8: V680-H01 Antenna connection setting → OFF

    • OFF: Connection to antennas other than the V680-h01

    • ON: Allows connection of V680-h0 Antenna.

  • SW4, PIN9: Run mode → OFF

    • OFF: Command execution mode

    • ON: Self-execution mode

  • SW4, PIN10: High-speed data transmission setting → OFF

    • OFF: Normal mode

    • ON: High-speed mode

  • SW5: Mode switch setting → OFF

    • OFF: Run mode

    • ON: Maintenance Mode

  • SW6: Terminating resistance

    • OFF: Terminating resistance OFF

    • ON: Terminating resistance ON

Address Notation

Device

Unit

Description

n:B0000 – n:B1999

Byte

Tag Data area. Both Read and Write are allowed.

n:W0000 – n:W1999

Byte

Area to modify the RFID Tag value. Only Write is allowed.

n:S0000

Word

To display communication status. This area must be registered as INT16 or UINT16.

  • Antenna designation is possible when “n:” is designated. Without designating “n:”, Attenna1 is designated (n is 1 or 2).

    • Ex) “2:B0000“ is byte B0000 of antenna 2. “1:W1000“ is word 1000 of antenna 1.

  • When the value of S0000 is 0, the status is normal. Otherwise, S0000 gives the error status. Refer to the error table below

    • Note: If the value is 255(FFh), this means Read Time Out (not listed below)

Type

Error Code

Name

Details

Host Communications Error

10

Parity error

Communications error between host device and ID Controller

  • Incorrect calculation of FCS

  • Malfunction due to noise

11

Framing error

12

Overrun error

13

FCS error

Incorrect calculation of FCS

14

Command input error

Incorrect command format

15

Execution status error

  • A communications command was received by an antenna executing a polling command.

  • A COPY (CP) command was received by an antenna processing polling.

  • A WRITE REPEAT (RP) command was received but there is no write command in memory.

  • A COMMAND PROCESS TERMINATE (AA) command was received but there is no command to terminate.

  • A POLLING QUERY (PC) command was received although no polling processing has been started.

  • A SELF EXECUTION START (MO) command was received but no operation conditions have been set.

  • A PARAMETER SET (SP) command was received when executing a tag communications command.

  • OPERATION CONDITION SET (SE) commands were executed in the wrong order.

18

Frame length error

The number of characters per command frame exceeds the specified value.

Tag Communications Error

70

Communications error

There is an error in communications between antennas and tags

  • Installation problem, e.g., travel speed through communications area or distance

  • Malfunction due to an obstruction

71

Mismatch error

Write has not been processed correctly

72

Tag missing error

No Tag in communications area when read/write was executed

7A

Address designation error

An address outside the tag memory has been designated.
The area start address has not been correctly designated when using the MDS/MDL command.

7C

Amplifier error

  • Cannot communicate due to amplifier error.

  • Amplifier not connected

  • An antenna other than the one specified by the V680-H01 antenna connection setting is connected

7D

Write protection error

A write-protected area was specified for a write command

Wiring Diagram

RS-232C

 

  • No labels