![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831407.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-290
Ver. 1
6.40 Flag Instruction
6.40.1 STC, CLC
Instruction
Area Available
Step
Flag
P M K
F
L
T
C
S
Z D.x R.x
Con
st
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
STC / CLC
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1
-
-
O
[Flag Setting]
Flag
Description
Device Number
Carry
To be set if execution condition of STC is On
To be reset if execution condition of CLC is On
No change if STC or CLC execution condition is Off
F112
1) STC (Set Carry Flag)
(1) If input condition is On, Carry Flag (F112) will be set (On).
2) CLC (Clear Carry Flag)
(1) If input condition is On, Carry Flag (F112) will be cleared (Off).
3) Program Example
(1) Where Carry Flag (F112) will be set if input M00000 is On.
It clears the set Carry Flag(F112) if input M00001 is On.
CLC
CLC
STC
STC
Carry Flag (F112) contact point set
M00000
Executed
STC
Carry Flag (F112) contact point cleared
M00001
Executed
STC
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...