SF_SAFETY_MODEPermalink

This is the web edition of the original ‎⮫ AC500-S safety user manual, version 1.3.2. This web edition is provided for quick reference only. The original safety user manual must be used to meet functional safety application requirements.

04.06.066_SF_SAFETY_MODE

Reading out if the safety CPU is in DEBUG RUN (non-safety), DEBUG STOP (non-safety) or in RUN (safety) mode

Table 1143: FUN name: SF_SAFETY_MODE

Name

Data type

Initial value

Description, parameter values

VAR_OUTPUT

SF_SAFETY_MODE

BOOL

FALSE

Safety CPU mode:

  • FALSE: DEBUG RUN (non-safety) or DEBUG STOP (non-safety) mode is active.

  • TRUE: RUN (safety) mode is active.

Call in ST

SF_SAFETY_MODE_Value := SF_SAFETY_MODE();