5. SEQUENCE INSTRUCTIONS
Program Examples
2) For printing instuction lists
• Page is changed after NOPLF is printed.
3) For the GPP printer output, refer to the Operating Manual for peripheral
devices.
NOP
(1) Program which stops the PC when X8 turns on.
Before change
X008
Y097 Y096
0
Changed to NOP.
After change
X008
Y096
0
(2) Short of contact (LD, LDI): If LD or LDI is changed to NOP, the circuit changes
completely. Therefore, caution should be exercised.
Before change
X000
0
X056
T3
2
Changed to NOP.
After change
X000
0
T3
Y012
Y012
Y016
Y066
Y016
Y066
5 − 41
MELSEC-A
Coding
0
LD
X008
1
AND
Y097
2
ANI
Y096
3
OUT
Y012
4
END
Coding
0
LD
X008
1
NOP
2
ANI
Y096
3
OUT
Y012
4
END
Coding
0
LD
X000
1
OUT
Y016
2
LD
X056
3
AND
T003
4
OUT
Y066
5
END
Coding
0
LD
X000
1
OUT
Y016
2
NOP
3
AND
T003
4
OUT
Y066
5
END