4 - 25 4 - 25
MELSEC-Q
4 WHEN THE QCPU ACCESSES THE OTHER STATION PLC USING THE
DATA LINK INSTRUCTION
(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.
QCPU
E71
D300
D301
D302
D303
QCPU
E71
D200
D201
D202
D203
D204
Q/QnACPU
E71
D50
D51
D52
D53
Q/QnACPU
D10
D11
D12
D13
D14
E71
Station 1
Station 4
Station 2
Station 3
M100 turns on write completion
Network No. 20
R EAD
instruction
communication
request source
station
Channel
3
Channel
6
W R ITE
instruction
communication
request source
station
W R ITE
instruction
communication
request
destination
station
R EAD
instruction
communication
request
destination
station
(a) Station 1 program (READ instruction)
When I/O signals of Ethernet module are X/Y40 to X/Y5F
Clock data setting is required
Channel used by local station
Read data length (5 words)
Processing program on read completion
Processing program on normal completion
Processing program on abnormal completion
Performs error code reading, etc.
MOV
D1
D100
Arrival monitoring time(20 s)
Target station network number
Target station number
Number of resend
X59: Initial normal completion
signal
Target station's CPU type (target CPU)
Control
data
setting
command
Read
command
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......