4 - 29 4 - 29
MELSEC-GOT
4 MONITORING SPECIFICATION
(4) Sequence program example
Always ON
Remote input (RX) read
Refer to Section 4.6.1
Command
Error
status flag
M58
Command data storage
Transfers master station
RWw0 to 3
FROM H0 HE3 K4M48 K1
MOV H0803 D100
RST M148
GOT request flag ON
(command execution)
MOV H00C8 D102
MOV H012C D103
MOV H0064 D101
M48
GOT complete flag
(ON processing complete)
TO H0 H1E0 D100
K4
SET M148
Always write
command
SET M150
MOV H1234 D104
MOV H0E54 D105
MOV H0066 D106
TO H0 H1E0 D104 K3
Write data storage
Transfers master station
RWw0 to 2
GOT always write flag ON
Initial setting execution program