Reader/Writer Control Command
Section 5-5
5-33
5-5-4 NACK (NK)
This command is used during ACK/NACK control to inform the Reader/Writer that the host device
did not normally receive a response from the Reader/Writer. When the Reader/Writer receives a
NACK command, the previous response is retried provided that the maximum number of retries (9)
has not been exceeded.
If the Reader/Writer is not waiting to receive ACK/NACK signals, an error will occur when the com-
mand is received. Refer to 5-9 ACK/NACK Control for details.
<Command Format>
STX
Node No.
Command
code
"NK"
ETX BCC
1 2
2 1
1
5-5-5 I/O Control Command (CC)
This command changes the state of the user output terminals (OUT1 to OUT4) and reads the state
of the user input terminals (IN1 to IN3).
<Command Format>
STX
Node No.
Command
code
"CC"
OUT
1
OUT
2
OUT
3
OUT
4
ETX BCC
1
2
2
1 1 1 1 1 1
OUT1to OUT4
The state of an output is designated in hexadecimal.
Specification range: 0 to 1 (1: ON / 0: OFF)
When * is specified, the Reader/Writer reads the state of a terminal.
<Response Format>
STX
Node No.
Retry
flag
Command
code
"CC"
Response
code
"00"
OUT
1
OUT
2
OUT
3
OUT
4
IN
1
IN
2
IN
3
ETX BCC
1
2
1
2
2
1 1 1 1 1 1 1 1 1
Response code
00: Normal completion
For other response codes, refer to 5-10 Response Code List.
OUT1 to OUT4
Indicates the state of the output.
1: ON, 0: OFF
IN1 to IN3
Indicates the state of the input.
1: ON, 0: OFF