S

Operator - Force a Boolean output to TRUE.

Inputs

Input

Data Type

Range

Unit

Default

Description

SET

BOOL

 

 

 

Condition.

Outputs

Output

Data Type

Range

Unit

Description

Q

BOOL

 

 

Output to be forced.

Remarks

None

Truth Table

SET

Q prev

Q

0

0

0

0

1

1

1

0

1

1

1

1

FBD Language Example

  • In the FBD Language, RS and SR function blocks are preferred.
    • Use RS or SR function blocks.
    • (S) and (R) coils can be used.

FFLD Language Example

  • In the FFLD Language, they are represented by (S) and (R) coils.

Example: Use of S coil:

IL Language Example

  • In the IL Language, S and R operators are available as standard instructions.
Op1: FFLD  SET
     S   Q    (* Q is forced to TRUE if SET is TRUE *)
              (* Q is unchanged if SET is FALSE *)

ST Language Example

Not available.

See Also