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
Category
Label name
Module label
C24_1
Label to be defined
Define the global label as shown below.
For information on the module FB to be used, refer to the following manual.
MELSEC iQ-R Serial Communication Module Function Block Reference
4 DATA COMMUNICATION USING BIDIRECTIONAL PROTOCOL
100
4.2 Transmitting Data to Target Device
Description
Target module
Device