-

Safety PLC Runtime Configuration

If a Safety PLC is included in your project, the standard (non-safety-related) controller and the Safety PLC are strictly separated. Each of it executes its own application, has its own global variables, and its own runtime configuration. Therefore, the Safety PLC is represented by a separate icon in the PLANT. Double-clicking this icon opens the safety-related editors.

This topic contains the following sections:

Safety Task

In contrast to the standard controller, the Safety PLC executes exactly one task in which exactly one program is instantiated which is always the safety-related program named S_Main. Both the safety-related task and the program instance are created automatically on insertion of a controller with a Safety PLC in the PLANT. The program instance can neither be deleted nor edited and only the task properties 'Interval (ms)' and 'Watchdog (ms)' can be modified (see second list item in section "Configuration steps..." below).

Note
Further safety-related programs can be created in the COMPONENTS area but they are not executed.

The safety-related task is triggered by the SafetyProxyTask which is an application of the standard PLCnext Technology controller. This means, the standard SafetyProxyTask triggers the execution of the Safety PLC and therefore of the safety-related task which is executed there.
The SafetyProxyTask is automatically created in the 'Tasks and Events' editor of the PLCnext Technology target when inserting a Safety PLC in the PLANT. The SafetyProxyTask cannot be edited or deleted.
For the SafetyProxyTask, no 'Program Type' can be selected. Instead, the task always executes the Safety Proxy application which triggers the execution of the Safety PLC.

Configuration steps for the Safety PLC runtime

The Safety PLC runtime configuration comprises the following steps.

WARNING
Non-conformance to safety function requirements
  • Verify that the time value set for the 'Interval (ms)' and 'Watchdog (ms)' of the SafetyTask correspond to your risk analysis.
  • Be sure that your risk analysis includes an evaluation for incorrectly setting the time values for the 'Interval (ms)' and 'Watchdog (ms)' of the SafetyTask.
  • Validate the overall safety-related function with regard to the set 'Interval (ms)' and 'Watchdog (ms)' value and thoroughly test the application.

'Safety PLC' PLANT node

Depending on the currently active mode, the 'Safety PLC' node appears different:

Safety PLC runtime editors

The 'Safety PLC' node provides several editors for configuring the Safety PLC runtime.
Double-clicking the 'Safety PLC' node opens the following editors in the editors area: