Table of Contents

SET Box Function

Set Coil (Latch)

Category: Bit and Latch Box Functions

Behavior

When the left condition is ON, stores ON in an M bit or a P bit configured as an output and holds it after the condition turns OFF.

Syntax and Arguments

Syntax: SET M0

Behavior Example

Run condition Before Command entered Expected result
Left condition ON M0=OFF SET M0 M0=ON

Inputs and results for Bit and Latch Box Functions

Cautions

Box Functions in the Same Category