190
SECTIO
N
8
Sample Pro
g
ramming
RFID System
User's Manual
SECTION 8
Appendices
• Programming Example
When the execution input turns ON, settings are made in the Special I/O Unit Area using the MOV and
MOVL instructions and the command is executed. When communications with the RF Tag have been
completed, the Normal End Flag (CIO n+7, bit 01) or Error End Flag (CIO n+7, bit 02) is turned ON.
Read data can be used after the Normal End Flag (CIO n+7, bit 01) has been ON.
To end command execution while waiting for the RF Tag, turn ON the Abort Input.
MOV
2001
#0060
MOV
2002
#0010
MOV
2003
#000A
MOVL
2004
#00001000
2000.00
0010.01
0010.01
2007.01
2007.02
2007.00
0010.01
2007.14
2007.15
Execution input
ID Busy
Waiting for command
execution (work bit)
Test Mode
Unit Busy
Specification of command,
communications specifications
and read data storage order.
Specification of first read address.
Specification of number of read bytes.
Read data storage location
Command Execution Bit
Normal end
Waiting for command execution
(work bit)
Error end
Used to time getting
read data.
Used to time getting
results information.
Normal End Flag
Error End Flag
Waiting for command
execution (work bit)
Summary of Contents for CJ1W-V680C11
Page 213: ......