(d) RECVS instruction settings
Control data settings for the RECVS instruction are shown below.
(S1)+0
(S1)+1
(S1)+2
(S1)+3
(S1)+4
(S1)+5
(S1)+6
(S1)+7
(S1)+8
(S1)+9
(e) Program example
The following example program is written to the CPU module of station No.2.
To execute an interrupt program, "EI" (Enable Interrupt) must be executed in the main program.
426
Device
D370
Execution/Error completion type
D371
Completion status
D372
Own station channel
D373
Channel used by sending station
D374
Network No. of sending station
D375
Sending station No.
D376
(Unused)
D377
(Unused)
D377
(Unused)
D379
Receive data length
Main program
Item
0
(Set by the system, no setting required)
5
(Set by the system, no setting required)
0
0
0
(Set by the system, no setting required)
Processing program for read completion
Set value
—
—
—
Control data setting
for RECVS instruction
Execution of RECVS
instruction