4 DATA COMMUNICATION USING BIDIRECTIONAL PROTOCOL
4.2 Transmitting Data to Target Device
103
4
Transmission error detection and check methods
The following explains how to detect and confirm errors that may occur when transmitting data to target devices.
The following items are considered as the primary causes of errors that may occur during data transmission.
Confirmation using a program
■Detecting a transmission error
The following device and input signal turn ON.
• BIDOUT instruction completion device + 1
•'CH Error occurrence' (XE/XF)
■Confirming a transmission error
The transmission error code can be checked using the BIDOUT instruction control data ((S1) + 1).
Or, it can be checked by reading the 'data transmission result' (Un\G599/615).
For details on how to check the error code contents and corrective actions, refer to the following section.
Page 473 Error Code List
Confirmation using the module and Engineering tool
■Confirmation using the indicator LED
When C24 detects an error, including a reception error, the ERR LED turns ON.
■Confirmation using Engineering tool
Monitor the 'data transmission result' (Un\G599/615) to check the error code.
Cause of transmission error Reference
A transmission error occurred due to noise. MELSEC iQ-R Serial Communication Module
User's Manual (Startup)
A timeout occurred for the no-reception monitoring time (timer 0). Page 228 No-reception Monitoring Time (timer 0)
Setting
A timeout occurred for the response monitoring time (timer 1). Page 231 Response Monitoring Time (timer 1)
Setting
A timeout occurred for the send monitoring time (timer 2). Page 233 Send Monitoring Time (timer 2) Setting
Data that could not be converted with the ASCII-BIN conversion was included. Page 359 ASCII-BIN Conversion for Data
Communicated with Bidirectional Protocol
The send data quantity that exceeded the send area size was designated. Page 97 Send area and send data arrangement
Simultaneous transmissions occurred. Page 104 Processing when Simultaneous
Transmission is Performed during Full-Duplex
Communications