The leader in industrial automation and control solutions

Instruction Parameters

Supported PLC Series

PLC-AESPLC-FBPLC-ES

Supported Data Registers

MXYKLFTCSZRQD@DConstant

Supported Flags

FlagBitSupport
ErrorF11.0
ZeroF11.1
CarryF11.2

Number of Steps

Steps
1

Notice

Instruction Behavior

The STC instruction behaves as follows:

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

Ladder Diagram Examples

STC

The STC instruction sets the carry flag, F11.2, to ON (1).

The STC instruction sets the carry flag, F11.2, to ON (1).

When the contact, M0.0, is powered OFF, the STC instruction does NOT execute.

When the contact, M0.0, is powered OFF, the STC instruction does NOT execute.

The carry flag, F11.2, is 0.

The carry flag, F11.2, is 0.

When the contact, M0.0, is powered ON, the STC instruction executes.

When the contact, M0.0, is powered ON, the STC instruction executes.

Memory Monitor

The carry flag, F11.2, is 1.

The carry flag, F11.2, is 1.