5 - 3
5 - 3
5. THINGS YOU NEED TO KNOW BEFORE PROGRAMMING
(2) Communication test
The communication test executes communication with the ID tag and stores the
communication results in the processing result monitor storage area (Un
\
G42,
Un
\
G4042).
The results can also be verified using the amplifier operation indicator lamps.
With the 2CH type RFID interface module, CH1 and CH2 alternately repeat this
communication.
Point
(1) The communication test checks Read only. It does not check Write.
(2) The communication test is performed using the contents set in advance in buffer
memory (Un
\
G8000 to Un
\
G8002) (Refer to Section 3.4.2(14) to (16)).
The CH1 and CH2 communication tests are alternately repeated, regardless of
the setting in the test operation antenna specification area (Un
\
G8001).
1. Set the RUN/TEST mode switching method.
• When you want TEST mode to be started using the test switch only, set bit 0 of
intelligent function module switch 2 to “1”.
• When you want to start TEST mode using the test mode execution request
(Y15), set bit 0 of intelligent function module switch 2 to “0”.
2. Set TEST mode operation.
Set “0000
H
” in the test operation mode specification area (Un
\
G8000), and the
number of test operation bytes in the number of processed points during testing
specification area (Un
\
G8002).
3. Execute TEST mode.
The communication test is started based on the buffer memory (Un
\
G8000 to
Un
\
G8002) setting conditions.
• When bit 0 of intelligent function module switch 2 is set to “1”, start TEST mode
by switching the test switch to “TEST”.
• When bit 0 of intelligent function module switch 2 is set to “0”, start TEST mode
by the above method or by turning the test mode execution request (Y15) ON
in RUN mode.
4.Start communication with the ID tag.
Communication is executed with the ID tag, and the communication results are
stored in the processing result monitor storage area (Un
\
G42, Un
\
G4042).
Table 5.2 Communication Test Result
Address
Data Format
Processing Time / Error Code
CH1 CH2
Un
\
G42 Un
\
G4042
When normal
“Processing time”
0000 to 9999 [BCD] (Unit: 10ms)
When abnormal
“E0” + “Error code”
70: Tag communication error
72: Tag not present error
79: ID system error 1
7A: Address error
7C: Antenna error