Command: Update Device
Function: Like the Add Device command, the command opens the Add Device dialog for selecting a device object. This object is inserted in the device tree in the place of the selected object.
Call: Context menu of a device object in the device tree
Requirement: An object is selected in the device tree below which a device object can be inserted.
With this command, you can insert either a different version of a device or a different type of device in the place of the previous device.
The symbolic device name used in the device tree is retained, but the device type specified in brackets after it changes, if a different type has been selected. Therefore, if only the device version is changed, then the object entry looks unchanged.
If the device type does not change, then the configuration tree which is inserted below the relevant device entry is retained. In this case, the configuration settings are also retained. When the application is compiled the next time, CODESYS reports inconsistencies in the configuration which result from the device update. This also implicitly applies to inserted libraries which CODESYS does not remove accordingly during a device update.
For more information, see: Add Device