S.STC, S.CLC
- 184 -
{ S.STC, S.CLC ... Setting/resetting of carry flag
Usable device
Bit device Word device
Con-
stant
Pointer Level
X Y M L SM F T C D R Z K H P N
Digit
desig-
nation
No. of
steps
Index
1
S.STC
(Setting of carry
flag)
S.STC
S.CLC
Input of carry flag set
Input of carry flag reset
(Resetting of
carry flag)
S.CLC
Function
S.STC
(1) The carry flag contact (SM12) is set (ON).
S.CLC
(1) The carry flag contact (SM12) is reset (OFF).
Execution conditions
The execution conditions for S.STC and S.CLC are as shown below.
Input of carry flag set OFF
ON
Executed per scan
ON
ON
Input of carry flag reset OFF
Carry flag (SM12) OFF