Omron CS1G/H-CPUxxH Instructions Manual page 981

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Other Instructions
Flags
Precautions
3-31-2 CLEAR CARRY: CLC(041)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Description
Flags
Precautions
960
Name
Error Flag
ER
Equals Flag
=
Carry Flag
CY
Negative Flag
N
Note In CS1 and CJ1 CPU Units, these Flags are turned OFF.
In CS1-H, CJ1-H, and CJ1M CPU Units, these Flags are left unchanged.
ROL(027), ROLL(572), ROR(028), and RORL(573) make use of the Carry
Flag in their rotation shift operations. When using any of these instructions,
use STC(040) and CLC(041) to set and clear the Carry Flag.
Turns OFF the Carry Flag (CY).
CLC(041)
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
When the execution condition is ON, CLC(040) turns OFF the Carry Flag
(CY). Although CLC(040) turns the Carry Flag OFF, the flag will be turned ON/
OFF by the execution of subsequent instructions which affect the Carry Flag.
Name
Error Flag
ER
Equals Flag
=
Carry Flag
CY
Negative Flag
N
Note In CS1 and CJ1 CPU Units, these Flags are turned OFF.
In CS1-H, CJ1-H, CJ1M, and CS1D CPU Units, these Flags are left
unchanged.
+C(402), +CL(403), +BC(406), and +BCL(407) make use of the Carry Flag in
their addition operations. Use CLC(041) just before any of these instructions
to prevent any influence from other preceding instructions.
–C(412), –CL(413), –BC(416), and –BCL(417) make use of the Carry Flag in
their subtraction operations. Use CLC(041) just before any of these instruc-
tions to prevent any influence from other preceding instructions.
ROL(027), ROLL(572), ROR(028), and RORL(573) make use of the Carry
Flag in their rotation shift operations. When using any of these instructions,
use STC(040) and CLC(041) to set and clear the Carry Flag.
Label
OFF or unchanged (See note.)
OFF or unchanged (See note.)
ON
OFF or unchanged (See note.)
Step program areas
OK
Label
OFF or unchanged (See note.)
OFF or unchanged (See note.)
OFF
OFF or unchanged (See note.)
Section 3-31
Operation
CLC(041)
@CLC(041)
Not supported.
Subroutines
Interrupt tasks
OK
OK
Operation

Advertisement

Table of Contents
loading

Table of Contents