Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

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

Communication Setup: Xpanel

Create a new Devicedevice

 

To create a new device, select ‘Tools’ → ’I[Tools] → [I/O Devices’ 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’ [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 9of 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’ [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.

16-Bit Data Swap: N/A

32-Bit Data Swap: N/A

String Data Swap: N/A

Using Checksum: N/A

Comm. Error Message pop Up: When this item is checked, Xpanel displays a communication error message box for every Rx and Tx error. Otherwise (unchecked), Xpanel does not display a message for communication errors. This message box will close automatically after a few seconds.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.

...

  • 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.

...

Type

Error Code

Name

Details

Host Communications Error

10

Parity error

Communications error between the 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 tag in the 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