Справочник Пользователя для Mitsubishi Electronics A1SJ61BT11

Скачать
Страница из 294
 
 
 
12 - 13 
MELSEC-QnA 
12   COMMUNICATION IN THE COMPOUND SYSTEM 
 
12.2.2 Local station program 
(1)   Program for parameters 
Local stations do not need this. 
 
(2)   Program for communication 
Refer to Section 12.2.1 (2), for the relationship between the programmable 
controller CPU device, master station's buffer memory, and the local station's 
buffer memory. 
 
X0000 X000F
SM400
X0001
N0
M500
MC
Host station data link is proceeding.
M500
N0
K4M600 K1
FROM H0000 H0680
M600
Remote I/O station error
Y0060
SM402
SET Y0000
Refresh instruction
M601
Remote device station error
Y0061
M600
K4M0
K1
FROM H0000 H0160
Read the remote output 
(RY)
M601
K4M20 K2
FROM H0000 H0162
Read the remote output 
(RY)
M600
K4M100 K1
FROM H0000 H00E0
Read the remote input
(RX)
M601
K4M120 K2
FROM H0000 H00E2
Read the remote input
(RX)
SM400
K4M160 K2
FROM H0000 H00E6
Read the remote input 
(RX)
D300
K4
FROM H0000 H02EC
Read the remote register
(RWr)
D210
K4
FROM H0000 H01E4
Read the remote register
(RWw)
M601
Control program by the received data from the master station, remote
I/O station, and remote device station.
Program to create the transmission data to the master station.
SM400
K4M60 K2
TO H0000 H0166
Write the remote output 
(RY) 
D310
K4
TO H0000 H01EC
Write the remote register 
(RWw) 
MCR
N0