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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| D | ✓ | – | ✓ | ✓ | ✓ | – | – | – | – | – | – | ✓ | ✓ | – | – |
Supported Flags
| Flag | Bit | Support |
|---|---|---|
| Error | F11.0 | – |
| Zero | F11.1 | – |
| Carry | F11.2 | – |
Number of Steps
| Steps |
|---|
| 1 |
Operands
| Operand | Description |
|---|---|
| D | The only operand. Entries are only BOOL data registers. This is the bit value to set to 1. |
Notice
Instruction Behavior
The SET instruction behaves as follows: – The SET instruction turns ON the assigned BOOL data register, D, when the execution condition turns ON. – The SET instruction does NOT turn OFF the assigned BOOL data register, D, when the execution condition turns OFF. – To flip this behavior, refer to the RST instruction.
Ladder Diagram Examples
SET

The SET instruction sets the bit value of the assigned BOOL data register, D, to 1.

When the contact, M0.0, is energized, the data register D0.A is set to 1.

Memory Monitor

