EasyManua.ls Logo

LS Industrial Systems XBC-DR10E - Flag Instruction

LS Industrial Systems XBC-DR10E
542 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6 Instruction Details
XBC E-Type Main Unit 6-290 Ve r. 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

Table of Contents

Related product manuals