Command ‘Reset cold’ΒΆ

Function: This command resets all variables of the active application to their initialization values.

Call: Menu bar: Online .

Requirement: The application is in online mode.

The command corresponds to the Reset warm command, except CODESYS also resets retain variables of the active application to their initialization values in addition to “normal” variables. This situation is like starting an application program that was just loaded to the PLC (cold start).

Breakpoints of the application that were activated before resetting the active application are still active after the execution of the command. Breakpoints that were deactivated previously are still inactive after executing the command.

If you execute this command when the program is halted at a breakpoint, then you will be prompted whether the current cycle should really be ended. Alternatively, CODESYS executes the reset immediately. However, not all runtime systems are able to perform a reset without first ending the current cycle.

Hint

If a safety controller is inserted below a PLC, then this command can temporarily interrupt the communication links of the safety controller to other safety controllers (via safety network variables), to field devices, and to the development system. The safe field devices and the other safety controller can enter the safe state as a reaction. The connection to the development system is affected only in the case of a safety controller that is connected to the main controller via a fieldbus. For more information, refer to the section “Subordinate Safety Controllers”.

After the reset, you must start the application by clicking Start.

See also