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

Скачать
Страница из 294
 
 
 
15 - 10 
MELSEC-QnA 
15   FUNCTIONS (FUNCTION VERSION B OR LATER) 
 
15.5.5 Program example on using the standby master function 
The following is a program example on using the standby master function. 
FROM
FROM
FROM
Local station control
PLS
Resetting of the send data to other stations
SET   M901(SB1)
RST
SET
= K0 D900 (SW43)
Master station control
SM400
M500 (SB70)
M500 (SB70)
M800
M403 (SB43)
M801
Reads the link special relay and  
link special register information.
Executes control as a local station.
Detects the switch to the standby master.
Resets the send data to other stations.
Turns on the switch request.
Turns off the switch request.
The switching has been completed.
Executes control as the master station.
H0
H5E4 K1M400 K1
H0
H0
H5E7
H643
K1M500
D900
K1
K1
M800
M901(SB1)
M801
X1
FROM
H0
H5E0 K1M300 K1
WOR K1M300 K1M900
FROM
H0
H5E0 K1M300 K1
WOR K1M300 K1M900
TO
H0  H5E0 K1M900  K1
TO
H0
H5E0 K1M900  K1