7 DATA COMMUNICATIONS USING BIDIRECTIONAL PROTOCOL
(e)Error code
The error code indicates the definition of the error during NAK response. (For more details on the error codes, see Chapter 10.)
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 (0022H to 005FH) that are not used by the Q series C24 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 storage area in the buffer memory (address: 257H).
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 storage area of the buffer memory (address: 258H).
7 - 9 | 7 - 9 |