7. APPLICATION INSTRUCTIONS
7 − 135
MELSEC-A
7.10.5 Carry flag set, reset
(STC, CLC)
Available Device
Bit device Word (16-bit) device Constant Pointer
Level
Carry
flag
Error
flag
X Y M L S B F T C D W R A0 A1 Z V K H P I N
Digit specification
Index
M9012 (M9010, M9011)
Functions STC
(1) Sets (turns on) the carry flag contact (M9012).
CLC
(1) Resets (turns off) the carry flag contact (M9012).
Execution Conditions
Applicable
CPU
All CPUs
STC
CLC
Set of carry
flag
Reset of carry
flag
Carry flag set input
Carry flag reset input
OFF
ON
Executed only once
Carry flag set input
OFF
ON
Executed only once
Carry flag reset input
STC
CLC
OFF
ON
Carry flag (M9012)