174
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.
If more than 15 seconds elapse while waiting for the RF Tag, the operation will be ended.
MOV
2011
#0021
MOV
2012
#0010
MOV
2013
#000A
MOVL
2014
#50001000
2010.00
0010.01
0010.01
2017.01
2017.02
2017.00
0010.01
2017.14
2017.15
Execution input ID Busy
Specification of command,
communications specifications
and read data storage order.
Waiting for command
execution (work bit)
Test Mode
Unit Busy
Command Execution Bit
Specification of first read address.
Specification of number of read bytes.
Read data storage location
Waiting for command execution
(work bit)
Normal end
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: ......