Skip to main content

Reset Carry Flag (0)

Instruction Parameters​

Supported PLC Series​

XPnA/1RXPnBXPnEXPnFCP3A/B/P/U
CP4A~D/U
CPnECPnFBPPLC-S
✓✓✓✓✓✓✓✓✓

Supported Data Registers​

MXYKLFTCSZRQD@DConstant
---------------

Supported Flags​

FlagBitSupport
ErrorF11.0-
ZeroF11.1-
CarryF11.2✓

Number of Steps​

Steps
1

Notice​

Instruction Behavior

The CLC instruction behaves as follows:

  • The CLC instruction sets the carry flag, F11.2, to OFF (0), when the operation condition is ON (1).
  • When the operation condition of the CLC instruction is OFF (0) or ON (1), there is no change in the carry flag, F11.2.
Operational Differences

There are operational differences with the carry flag, F11.2, between the CPU types BP, XPnA/1R, CP3A/B/P/U, CP4A~D/U, and the CPU types PLC-S, XPnB/E/F, CPnE/F.
Refer to the carry flag, F11.2, for more information.

Examples​