Function Description

Use the SYST_READ_TASK_BIT function to read and return the value of one of the following specified system task bits: %S17, %S18, or %S21.

EN and ENO can be configured as additional parameters.

Representation in FBD

Representation

Parameter Description

The SYST_READ_TASK_BIT function consists of the following parameters:

Input parameter:

  • NUM

Output parameter:

  • OUTP

Input Parameters

Parameter

Data Type

Meaning

NUM

INT

Number of the system bit for the specified task: %S17, %S18, or %S21.

Output Parameters

Parameter

Data Type

Meaning

OUTP

BOOL

Value of the system bit.

ENO

BOOL

If mapped, displays false (0) if an invalid NUM value is configured.