Function description

The IS_BIT_FORCED function tests if a located EBOOL variable is forced.

The additional parameters EN and ENO can be configured.

Representation in LD

Representation:

Representation in FBD

Representation:

Representation in IL

Representation:

CAL IS_BIT_FORCED (IN := Input)
ST Output

Representation in ST

Representation:

Output:= IS_BIT_FORCED(IN := Input);

Description of parameters

The following table describes the input parameter:

Parameter

Type

Comment

Input

EBOOL

Variable to be tested as forced, this variable is a located EBOOL variable.

The following table describes the output parameter:

Parameter

Type

Comment

Output

BOOL

Result:

  • true if Input is forced

  • false if Input is not forced