Mitsubishi Electric Melsec Q Series User Manual page 113

Ethernet interface module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

4 WHEN THE Q/LCPU ACCESSES THE PROGRAMMABLE CONTROLLER
OF ANOTHER STATION USING THE DATA LINK INSTRUCTION
Programmable
controller CPU
4 - 22
(3) Program examples
Station 3 uses channel 3 with an SEND instruction and sends data to station 15
using channel 5.
When data is received at station 15, data is read from channel 5.
E71
(Station number 3)
Channel 1
Channel 2
SEND
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
Network number No.7
(a) Station 3 program (SEND instruction)
Same as the program shown in Section 4.5.1.
(b) Program for station number 15 (RECVS instruction)
When the input/output signals of the Ethernet module are X/Y00 to X/Y1F
REMARKS
Create interrupt enable/disable programs in the main program in order to start the
interrupt program.
Use the EI, DI and IMASK instructions for this.
To check the descriptions of errors, see the completion status (S1) + 1 indicated in
the control data.
E71
Programmable
(Station number 15)
controller CPU
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
MELSEC-Q/L
RECVS
Local station storage channel
X19: Initial normal completion
signal
4 - 22

Advertisement

Table of Contents
loading

Table of Contents