The leader in industrial automation and control solutions

Instruction Parameters

Supported PLC Series

PLC-AESPLC-FBPLC-ES

Supported Data Registers

MXYKLFTCSZRQD@DConstant
D

Supported Flags

FlagBitSupport
ErrorF11.0
ZeroF11.1
CarryF11.2

Number of Steps

Steps
1

Operands

OperandDescription
DThe 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.

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.

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

Ladder Diagram Example for MapleLogic SET instruction.

Memory Monitor

Memory Monitor for MapleLogic SET instruction.