Mitsubishi Electronics QJ71C24N Network Card User Manual


 
7 - 9 7 - 9
MELSEC-Q
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 (0022
H
to 005F
H
) 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: 257
H
).
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: 258
H
).