5. SEQUENCE INSTRUCTIONS
5
−
25
MELSEC-A
POINT
If a PLS or PLF instruction is caused to jump by a CJ instruction, if the
sub-routine program executed by a PLS/PLF command was not called by a
CALL instruction, the device specified by (D) will go On for 1 scan or longer,
so exercise caution.
Program Examples
PLS
Program which executes the PLS instruction when M9 turns on.
PLF
Program which executes the PLF instruction when M9 turns off.
• Coding
0 LD
X009
1 PLS
M9
4 END
ON
X9 OFF
M9 OFF
ON
1 scan
• Coding
0 LD
X009
1 PLF
M9
4 END
X009
PLS M9
0
X009
PLF M9
0
M9 OFF
ON
1 scan
ON
X9 OFF
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......