Navigation:  Equipments (Devices) > SCA06 > Ladder > Coil >

SETCOIL

Previous pageReturn to chapter overviewNext page

Logical block used for indefinite enabling of output variables.

 

Ladder Representation

 

SETCOIL_block

 

Block Structure

 

Variable Type

Name

Data Type

Description

VAR_OUTPUT

O1

BOOL

Block log output

 

Operation

 

When identifying a TRUE value in A, this block transfers the value of A for the memory address corresponding to O1.

When identifying a FALSE value in A, this block performs no operation.

 

Diagram

 

SETCOIL_diagram

 

Block Flowchart

 

SETCOIL_flowchart

 

Example in Ladder

 

SETCOIL_example

 

The example above activates permanently the system control marker that enables end-of-message character in RS232 communication to identify a TRUE level at the digital input DI6.

 

Example in ST

 

 The example below displays the instructions for applying the example above in the ST language.

 

 

VAR

 

END_VAR

 

RS232_ENABLE_END_CHARACTER := FB_SETCOIL(EN:=DI6);