Safety Logic Controller Operating Modes

 

The Safety Logic Controller can run in two different operating modes which are controlled by the user via the 'SafePLC' dialog.

These modes are:

Depending on the active Safety Logic Controller operating mode, different online operations are possible (see sections below). The oper­ating mode is indicated by the color of the 'SafePLC' dialog (Safety Logic Controller control dialog):

NOTE:

Safety Logic Controller simulation mode active

If the simulation mode is activated and safe mode is simulated, the 'SafePLC' dialog looks different. Instead of having a completely red background, it only shows a red border. In debug mode, no difference is visible between simulation and Safety Logic Controller.

Make certain that the desired target (Safety Logic Controller or simula­tion) is connected when working with the dialog.

Switching between safe mode and debug mode

While the Safety Logic Controller is running in safe mode, the 'SafePLC' dialog provides the 'Debug' button. Pressing the 'Debug' button switches the Safety Logic Controller to debug mode (see below).

Switching to debug mode means leaving the safe mode of operation. The background color of the control dialog must turn to gray, otherwise the transition is unsuccessful.

NOTE:

Keep in mind that the Safety Logic Controller will not stop the operation automatically when switching to debug mode.

When switching back from debug to safe mode, the background of the control dialog must turn to red, otherwise the transition is unsuccessful.

In both cases, i.e., after clicking the 'Debug' or 'Safe' button, you must confirm the mode transition within 30 seconds to activate the other mode. In this message dialog it is also possible to cancel the switching process at this time.

After a power outage, the Safety Logic Controller starts in RUN [Safe].

Safe mode

The safe mode restricts operations in the project that would otherwise influence the state or mode of operation of the Safety Logic Controller. The safe mode is allowed at all project levels.

In safe mode it is possible to

Debug mode

Switching the Safety Logic Controller into debug mode is only possible after entering the correct Safety Logic Controller password.

While the Safety Logic Controller is running in debug mode it is possible to

NOTE:

The test of the safety-related application in debug mode must not replace the proper function test using safety-related I/O devices/sensors/actuators under any circumstances. The test in debug mode may only be performed in addition to the standard function test.

Debug watchdog

If the Safety Logic Controller runs in debug mode and the connection between EcoStruxure Machine Expert - Safety and Safety Logic Controller is interrupted, or the control dialog is closed and the variable status is deactivated, a debug watchdog timer starts. If the connection to the Safety Logic Controller can be reestablished and you continue debugging or switch the target back to safe mode within 10 minutes, the debug watchdog is reset. If the debug watchdog timer exceeds 10 minutes, the Safety Logic Controller sets the state to 'STOP [Debug]' and writes an error to the error stack. The machine is signaled to assume the defined safe-state. You cannot switch to safe mode again. In this case, you have to reset the Safety Logic Controller.

The purpose of this watchdog is to ensure that no variables remain forced or overwritten in case that the communication between Safety Logic Controller and EcoStruxure Machine Expert - Safety is interrupted.

Click here for related topics