Topic: DMD0058

Help File Version: 2.10.0.636

SET - Set Coil


The Set Coil (SET) instruction turns ON the specified discrete memory location. Once the discrete memory location is SET ON, it will remain ON until it is turned OFF, typically via a Reset Coil (RST) instruction. It is NOT necessary for the input logic to remain ON for the discrete memory location to remain ON, and it is NOT necessary for the code-block containing the instruction to remain enabled for the discrete output point to remain ON.

It is advisable that you avoid referencing the same discrete output point with an OUT or OUTI instruction that you also reference with a SET / RST or SETI / RSTI pair of instructions.

 


Parameters:

Note: Use the F9 key or click the 'three dot box' at the right edge of the parameter field to open the Default Element Selection Tool (the Element Picker or the Element Browser) or use the Down-Arrow key (Auto-Complete) on any parameter field to see a complete list of the memory locations that are valid for that parameter of the instruction.

 

Element Reference - specifies the discrete memory location to use. This can be any writable bit location.

 


See Also:

SET - Set Coil

 

RST - Reset Coil

 

SETR - Set Range

 

RSTR - Reset Range

 

OUT - Output Coil

 


Related Topics:

OUTI - Output Immediate Coil

 

RSTI - Reset Immediate Bit

 

SETI - Set Immediate Bit

 


Rung Example: