8. Function Commands
S.STC, S.CLC
- 292 -
{ S.STC, S.CLC ... Setting/resetting of carry flag
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
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