Instruction Parameters
Supported PLC Series
| PLC-AES | PLC-FB | PLC-ES |
|---|---|---|
| ✓ | ✓ | ✓ |
Supported Data Registers
| M | X | Y | K | L | F | T | C | S | Z | R | Q | D | @D | Constant |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
Supported Flags
| Flag | Bit | Support |
|---|---|---|
| Error | F11.0 | – |
| Zero | F11.1 | – |
| Carry | F11.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).

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

The carry flag, F11.2, is 0.

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

The carry flag, F11.2, is 1.
