7 DATA COMMUNICATION USING THE BIDIRECTIONAL PROTOCOL
7 - 9
(e) Error code
The error code indicates the definition of the error during NAK response.
(For more details on the error codes, see Chapter 11.)
1) For data communication from the external device to the Q series C24
For error codes from the external device, transmit the codes specified by
the user.
The error codes (0022
can be used.
The Q series C24 stores the received error codes as a completion status
in the control code for the BIDOUT instruction.
They are also stored in the data transmission result (address: 257
2) For data communication from the Q series C24 to the external device
The error codes are added by the Q series C24.
When an error code is transmitted, the Q series C24 writes the same
error code in the data reception result (address: 258
to 005F
) that are not used by the Q series C24
H
H
MELSEC-Q
).
H
).
H
7 - 9