
System Manual Modular Systems
7 Start-Up
HI 800 191 E Rev. 2.02
Page 95 of 114
7.9
Handling the User Program
The PADT can be used to influence the program's function within the controller as follows:
7.9.1
Setting the Parameters and the Switches
During the user program's configuration, the parameters and the switches are set to offline and
are loaded into the controller with the code-generated program. The parameters and the
switches can also be set when the controller is in the STOP or RUN state, provided that the
main enable
switch has been activated. Only the elements in the NVRAM can be modified, all
remaining elements are activated during the load procedure.
7.9.2
Starting the Program from STOP/VALID CONFIGURATION
Starting the program has the same effect as switching the controller's mode of operation from
STOP/VALID CONFIGURATION to RUN; the program enters the RUN state too. The program
enters the test mode if the test mode is active while starting the program. In accordance with
IEC 61131, a cold or a warm start can also be performed in addition the starting in test mode.
i
The program can only be started if the
Start/Restart Allowed
switch
was activated.
7.9.3
Restarting the Program after Errors
If the program enters the STOP/INVALID CONFIGURATION state, e.g., due to unauthorized
access to operating system areas, it restarts. If the user program enters the STOP/INVALID
CONFIGURATION state again within roughly one minute since the restart, it remains in this
state. If this is the case, it can be restarted using the Control Panel's start button. After a restart,
the operating system checks the entire program.
7.9.4
Stopping the Program
If the user program is stopped, the mode switches from RUN to STOP/VALID
CONFIGURATION.
7.9.5
Program Test Mode
The test mode is started from the Control Panel, selecting Test Mode -> Test Mode with Hot
Start (...Cold Start, ...Warm Start). Each Single Cycle command is used to activate a single
cycle (one complete logic cycle).
Behavior of variable/signal values in test mode
The selection of cold, warm or hot start determines which variable values are used during the
first cycle in test mode.
Cold start: all variables/signals are set to their initial values.
Warm start: retain signals retain their value, the remaining signals are set to their initial value.
Hot start: All variables/signals retain their current values.
Finally, the Cycle Step command can be used to start the user program in single step mode. All
current values are retained for the following cycle (freezed state).
WARNING
Property damage or physical injury possible due to actuators in unsafe state!
Do not use the test mode function during safety-related operation!