4 DATA COMMUNICATION USING BIDIRECTIONAL PROTOCOL
4.1 Receiving Data from Target Device
93
4
■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
C24_1.stnCH1.bSet_Req_ReceptionRead CH1 Reception data read request X3
Label to be defined Define the global label as shown below.
(0) Specify the reception channel.
Specify the receive data quantity.
Set the BIDIN instruction execution direction.
(54) Abnormal completion
(56) Reset the abnormal completion flag by an external command.