The Online menu for triggering an online change on the current active application (Set Active Application). It is also available in the contextual menu of the application which is currently selected. Here it allows you to trigger an online change on exactly this application even if it is not the currently active one.
command is by default available in theOnline change means that only the modified parts of an application program already running on the controller are reloaded. Also refer to the actions that inhibit an online change in the next paragraph.
The
command modifies the running application program and does not affect a restart process. The program code can behave other than after a complete initialization because the machine keeps its state. Pointer variables keep their values from the last cycle. If there is a pointer on a variable, which has changed its size due to an online change, the value will not be correct any longer.WARNING | |
---|---|
During online change, the information on the download process - also the changed interfaces, the concerned variables, and the objects for which new code has been generated. If data location changes, a message is displayed indicating that issues may occur referring to the use of pointers.
dialog of the message box lists - among the usualKeep in mind that an online change will automatically be offered when you are going to log in on a controller with an application program which is already running there, yet has been modified since the last download.
An online change (partial download) initiated while the controller is in the RUNNING state returns the controller to the RUNNING state if successful and provided the Run/Stop input is configured and set to Run. Before using the
option, test the changes to your application program in a virtual or non-production environment and confirm that the controller and attached equipment assume their expected conditions in the RUNNING state.WARNING | |
---|---|
Also refer to:
After specific actions, such as a operation, an online change is no longer possible, but a full download becomes necessary. If you attempt to execute such an action, a message is displayed for you to acknowledge.
When you edit the program POUs, the permanently provides information on this status. As soon as you attempt to execute an action that will inhibit downloading the application by an online change, the icon changes color to red
( ). Double-click this icon to display a list of differences to the last download. The dialog box provides information on the actions performed that require a full download.
The table lists the actions and modifications in different areas of an application that inhibit an online change:
Area of modification |
Modification action |
---|---|
|
Activation or deactivation of a check function (CheckBounds, CheckRange, CheckDiv, etc). |
Task configuration |
Modification of the configuration settings. |
Project settings |
Modification of the dialog box. |
Application properties |
Modification of: |
POU properties |
Modification of the parameter. |
Task-local global variable list |
Modification of the global variable list (task-local). |
Function block |
Modification of:
|
Data type |
Modification of:
NOTE: It is a good practice to modify the name of the variable together with the data type. Thus, the variable is initialized as a new variable and the old variable is removed. An online change is still allowed.
|
Device configuration |
Modification of:
NOTE: Modifications in the I/O mapping of variables do not inhibit an online change.
|
Visualization |
Toggling of the overlay function. For online changes that affect visualizations or affect the data of the application (for example, a new variable is inserted), the visualization is reinitialized. For the web visualization, the visualization restarts with the start page after a short waiting time. |
Unit conversion |
Objects for unit conversion have been added or removed. |
Trend |
Modification of:
|