Omron V680 Series User Manual page 79

V680 series devicenet id slave, antennas and id tags
Hide thumbs Also See for V680 Series:
Table of Contents

Advertisement

SampleProgram3
The following is an example of reading 16 bytes from an ID Tag in Auto Mode starting with address 02
hex.
■ Using 26-byte Access Mode.
Node Address Switch and Mode Switch Settings
First Cycle Flag
1520.00
Node 00
connected.
1520.00
3300.00
Node 00
NORMAL
connected.
Output
W0.01
NORMAL output
turned ON
1520.00
3300.01
ERROR
Node 00
connected.
output
W0.02
ERROR output
turned ON
For information on the timing chart in Auto Mode, refer to Mode Switch Settings 3 and 4 (V600-compatible Trigger
Mode)in this section.
p.70
Node Address switchs: "00"
Mode swith: "16CH"
MOV
Set a 16-byte data read in Auto Mode.
#C000
3200
Set the starting read address in the ID Tag to 0002 hex.
MOV
#0002
3201
Set the number of bytes of read data to 16.
MOV
#1000
3202
3200.15
INHIBIT
Upward differentiation
DIFU
W0.01
Detects when the NORMAL output turns ON.
BLOCK TRANSFER
XFER
&8
Two words of read data are transferred starting from word Y+3 in the
3303
data storage area to the addresses starting from D0.
D0
1.00
Processing completed normally
NORMAL
completion
Upward differentiation
DIFU
W0.02
Detects when the ERROR output turns ON.
1.01
Processing ended in an error
Error
completion
I/O Settings and Control Methods
RFID System
Section 5
77
User's Manual

Advertisement

Table of Contents
loading

Table of Contents