EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q Series - Page 428

Mitsubishi Electric MELSEC-Q Series
674 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
426
(d) RECVS instruction settings
Control data settings for the RECVS instruction are shown below.
(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.
Device Item Set value
(S1)+0 D370 Execution/Error completion type 0
(S1)+1 D371 Completion status
—
(Set by the system, no setting required)
(S1)+2 D372 Own station channel 5
(S1)+3 D373 Channel used by sending station
—
(Set by the system, no setting required)
(S1)+4 D374 Network No. of sending station
(S1)+5 D375 Sending station No.
(S1)+6 D376 (Unused) 0
(S1)+7 D377 (Unused) 0
(S1)+8 D377 (Unused) 0
(S1)+9 D379 Receive data length
—
(Set by the system, no setting required)
Control data setting
for RECVS instruction
Execution of RECVS
instruction
Main program
Processing program for read completion

Table of Contents

Other manuals for Mitsubishi Electric MELSEC-Q Series

Related product manuals