Mitsubishi Electric Melsec Q Series User Manual page 120

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
READ
instruction
communication
D200
request
source
D201
station
D202
D203
D204
Programmable
controller CPU
READ
instruction
communication
D10
request
destination
D11
station
D12
D13
D14
Control
data
setting
command
Read
command
4 - 29
(3) Program example
Read data from D10 to 14 of station 4 to D200 to 204 of station 1.
Write the data stored in D300 to 303 of station 2 to D50 to 53 of station 3.
Station 1
E71
Channel
3
E71
Station 4
(a) Station 1 program (READ instruction)
When I/O signals of Ethernet module are X/Y40 to X/Y5F
Processing program on read completion
Processing program on normal completion
Processing program on abnormal completion
Programmable
controller CPU
WRITE
instruction
communication
D300
request
source
D301
station
D302
D303
Network No. 20
Programmable
controller CPU
WRITE
instruction
communication
D50
request
destination
D51
station
D52
D53
M100 turns on upon write completion.
MOV
D1
D100
MELSEC-Q/L
Station 2
E71
Channel
6
E71
Station 3
Clock data setting is required
Channel used by local station
Target station's CPU type (Control CPU)
Target station network number
Target station number
Arrival monitoring time (20 s)
Read data length (5 words)
Number of resend
X59: Initial normal completion signal
Performs error code reading, etc.
4 - 29

Advertisement

Table of Contents
loading

Table of Contents