11 - 11
(Program example)
When C24 I/O signals are from X/Y00 to X/Y1F:
1) Specify the receive channel.
2) Clear the receive data count storage device to 0.
3) Specify the allowable receive data count.
4) The receive data within the allowable receive data count (user-specified) is read
from the receive data storage area in the buffer memory.
Specify the transmission data count in word units. (Specify K10 when the unit is
bytes.)
5) After the BIDIN instruction execution, the read completion signal (M0) specified by
user turns ON for one scan.
6) The receive data of the receive data count is transferred to D110.
7) The completion flag is reset by an external command.
11 DATA COMMUNICATION USING THE BIDIRECTIONAL PROTOCOL
1)
2)
3)
4)
5)
6)
7)
11 - 11