4 - 26 4 - 26
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
Always read
command
Reads PLC CPU
Always ON
Remote output (RY) write
FROM H0 HE3 K4M48 K1
MOV H0603 D100
SET M149
FROM H0 H2E0 D200 K3
TO H0 H163 K4M148
K1
GOT request flag ON
(command execution)
SET M148
MOV H00C8 D102
MOV H012C D103
MOV H0064 D101
TO H0 H1E0 D100
K4
M48
RST M148
GOT complete flag
(ON processing complete)
GOT monitor request flag ON
(Always read execution)
Initial setting execution program
Other command execution program
Link scan is performed after
the GOT monitor request flag
is tumed on, then the GD
value is entered.