Instruction words
SET CARRY (STC)
Symbol
STC
Ladder diagram
0000
CLEAR CARRY (CLC)
Symbol
CLO
Ladder diagram
a
CLC
Before executing a SUB instruction, the carry register (1904) must always
be cleared using a CLEAR CARRY (CLC) instruction. This can be omitted
in multistage subtraction.
The CPU checks whether the data for BCD subtraction are in four BCD
digits. If not, an error occurs, special auxiliary relay 1903 turns ON, an
the program does not operate.
Function
This instruction sets the carry flag (CY) to 1
Remarks
Nothing is executed when the content of the result register is logical 0
Coding chart
[Address [instruction
| Data__|
| 0200 |
stci4o) | =|
Function
Clears the carry flag (CY) to 0
Remarks
Nothing is executed when the content of the result register is logical 0.
Coding chart
0202
| LD
0001
0203
| CLC (41}
-
d
B-23
Need help?
Do you have a question about the SYSMAC C Series and is the answer not in the manual?