Debugging: Single Cycle Operation of the Safety PLC
To supplement the function test of the safety-related application, the Safety PLC provides the debug function "Single cycle operation". In single cycle operation, the Safety PLC interrupts the continuous cyclic processing.
Single cycles are only possible if the Safety PLC is in Debug Halt state. In single cycle operation, PLCnext Engineer displays a simulation in its online worksheets. No outputs are set on the Safety PLC or connected safety-related I/O devices. This means that the safety-related application does not function during single cycle operation.
WARNING
|
Unintended machine operation
|
-
Activate the debug mode.
The Safety PLC is now in Debug Run or Debug Stop state. - Switch the Safety PLC to the Debug Halt state by clicking the Halt mode button in the Safety Cockpit or in any instance of a safety-related POU worksheet:
The execution of the safety-related program is halted.
- To execute a single cycle, click the following icon on the Safety Cockpit toolbar or in any instance of a safety-related POU worksheet:
The Safety PLC processes exactly one program cycle and then waits for the next command (which is either a further single cycle or exiting the Debug Halt state).
- To exit the Debug Halt state, click the Halt mode button again:
The Safety PLC switches into the state from which Debug Halt was entered before.
Further Info
You can combine the single cycle operation with forcing/overwriting variables on the Safety PLC. |