100
4 DATA COMMUNICATION USING BIDIRECTIONAL PROTOCOL
4.2 Transmitting Data to Target Device
When the BIDOUT instruction ends abnormally due to the reception of an NAK message, the complete device +1 (abnormal
completion signal) turns ON and the error code is stored in the control data completion status (S1+1).
■Program example
For information on the module FB to be used, refer to the following manual.
MELSEC iQ-R Serial Communication Module Function Block Reference
Category Label name Description Device
Module label C24_1 Target module
Label to be defined Define the global label as shown below.