(d) Program example
The following example program is written to the CPU module of station No.2.
When data are stored in a channel of the own station, the corresponding RECV execution
request flag (SB0030 to SB0037) turns ON.
Using the flag as a start contact, execute the RECV instruction.
Upon completion of the RECV instruction, the flag turns OFF.
420
Processing program for read completion
Processing program for normal completion
Processing program for error completion
Control data setting
for RECV instruction
Execution of RECV
instruction
Error code reading,
etc.