7 DATA COMMUNICATIONS USING BIDIRECTIONAL PROTOCOL
POINT
(1)Perform error processing according to the error code received immediately after the NAK message at the device that received NAK as the response message after data transmission.
Chapter 10 shows the error codes that are transmitted from the Q series C24.
(2)If the Q series C24 receives an NAK response while transmitting data to an external device, it completes data transmission, then reads the NAK, perform abnormal completion.
(3)If the Q series C24 detects an error while receiving data, it ignores the receive data corresponding to the data length.
If the data length is abnormal, the Q series C24 ignores all the data up to the receive message head data (ENQ, etc.) received thereafter.
(5)External device
When checking
(PLC CPU maximum scan time 2) + 100 ms
(6)External device framing error
When nothing is transmitted from the Q series C24 to the external device though the
Make the external device skip the data up to transmission of the head data (ENQ, NAK, etc.) of the message from the Q series C24.
Before communicating data through the
(7)Data bit settings
When adding a sum check code to a message, set the data bits to 8 bits using the transmission setting of the GX Developer.
For more details on the data bit settings, see Section 4.5.
7 - 28 | 7 - 28 |