-

Replacing Devices in the PLANT

This topic contains the following sections:

You can replace a single device (controller, device, module, submodule etc.) that is contained in the PLANT by another device type. This allows you, for example, to replace a controller by another controller type while retaining all of the settings, the network configuration (network devices), task configuration, etc. as far as possible.

When replacing a device, PLCnext Engineer tries to retain as much data as possible (settings, topology connections, variable connections, data lists connections, etc.) and use it with the new device. Which data can be retained for a replacement device depends on whether the data remains valid and is still suitable with the new device. When you replace, for example, a controller by a newer version of the same controller type, the maximum amount of data is retained.

On replacement of a device, observe the following:

The following table describes, on which devices in the PLANT the Replace function can be applied and which data is retained if valid and suitable for the replacement device.

DeviceTransferred data
Controller
  • Controller data

    The manually entered settings in the 'Settings' editor of the controller (such as 'Function' and 'Location'), or the station name and hostname are retained. Also the hardware extensions and Ethernet settings are retained. Device-specific settings (read-only parameters) such as the product name, version, etc. are not retained and have to be defined newly after the replacement.

  • Controller Data List

    Role connections (assignments of global variables to process data items and HMI tags) in the Data List of the controller are retained if they are still valid after the replacement.

    Refer to the hazard message in the section "Safety requirements when replacing the Safety PLC...".

  • Task configuration ('PLCnext' node content)

    The following data in the editors of the 'PLCnext' node are retained:

    • ESM configurations with valid tasks and program instances in the 'Tasks and Events' editor.
      The ESM configurations are only retained if the controller architecture is the same (PLCnext Technology/conventional). Otherwise, the current ESM configuration is discarded and replaced by the initial ESM configuration of the replacement controller.
    • GDS Port List with 'IN Port' and 'OUT Port' assignments.
  • Subsystem with configured network devices

    All network devices (Profinet devices/modules/submodules, Axioline F modules, etc.) with the relating configuration parameters and variable assignments are retained.

  • HMI data ('HMI Webserver' node content)

    The following HMI data in the editors of the 'HMI Webserver' node are retained:

    • HMI Webserver settings such as the 'Session Timeout', 'Data Poll Interval', 'Security' setting, and port settings.
    • HMI tags with assigned global variables in the 'Data List' editor.
    • HMI pages, HMI support pages and HMI navigation.
    • HMI symbols which are connected to an HMI tag.
Profinet devices, modules, and submodules
  • The 'Function' and 'Location' descriptions in the 'Settings' editor are retained.
  • All device/module/submodule parameters which have identical descriptions (names) in the device-specific description files (FDCML) files are retained.
  • All process data items in the relating Data List with equal 'I/O', 'Type', and 'Offset' values and the 'Function' and 'Comment' settings for the variables are retained.

    Refer to the hazard message in the section "Safety requirements when replacing the Safety PLC...".

  • Subsystem of the device/module.

    All modules/submodules of a device/module with the relating configuration parameters and Data List settings are retained.

Axioline F modules
  • The 'Function' and 'Location' descriptions in the device's 'Settings' editor are retained.
  • The consecutive numbers of the Axioline F devices in the 'Device List' editor under the 'Axioline F' node are retained.
  • All device parameters which have identical descriptions (names) in the device-specific description files (FDCML) files are retained.
  • All assignments of process data items to variables and HMI tags in the Data List of the device are retained.
Inline modules
  • The 'Function' and 'Location' descriptions in the 'Settings' editor of the device are retained.
  • All device parameters which have identical descriptions (names) in the device-specific description files (FDCML) files are retained.
  • All assignments of process data items to variables and HMI tags in the Data List of the device are retained.

Notes on the replacement of safety devices by an updated version

A device type in PLCnext Engineer may be updated by a newer version by adding, for example, a new library (version) or by updating the PLCnext Engineer software, or by importing a new version of the corresponding device description (FDCML) file.

When replacing a safety-related device in the PLANT by an updated version as described below, PLCnext Engineer tries to adapt the parameter model of the device instance to the new device description.
Whenever possible, the parameter values set before the update are adopted for the device instance so that no editing of the parameterization is necessary after the update.
However, if it is not possible to take over the settings due to newly added or changed parameters, the following scenarios are possible:

In each case, PLCnext Engineer logs each modification in the parameterization which result from the update of the device instance in a migration report. The log file (*.log) is written into the log directory of PLCnext Engineer:
%PUBLIC_DOCUMENTS%\PLCnext Engineer\Logs
Its file name starts with SafetyDeviceReplace supplemented by date and time of creation.

Safety requirements when replacing the Safety PLC or safety input/output modules

When replacing a controller that includes a Safety PLC or other safety-related devices, the I/O mapping of safety-related global variables may change. This may be due to the fact that addresses change or process data items of the Safety PLC are no longer available after the replacement. If the replacement is done after the I/O check has already been performed, such I/O changes could go undetected.

To help detect I/O modifications after a Safety PLC/safety device replacement, note down the Global Variables checksum before the replacement and manually compare it with the calculated value after the replacement. The Global Variables checksum is displayed in the 'Safety Information' editor. Double-click the 'Project' node in the PLANT to open this editor.

WARNING
Non-conformance to safety requirements
  • Make sure that the Global Variables checksum (displayed in the 'Safety Information' editor) is identically before and after replacing the safety device.
  • Correct the assignment of safety-related variables and process data items if the Global Variables checksum has been changed due to the replacement.
  • Make sure that the safety-related project is not written to the Safety PLC until the correct safety-related I/O mapping has been validated.

After replacing safety-related input or output modules, physical addresses may be changed. You must revalidate the I/O mapping (assignment of safety-related variables to safety inputs/outputs).

WARNING
Unintended machine operation
  • Inspect and correct as necessary any global I/O variable addresses related to physical, safety-related I/Os whenever you replace a safety-related device.
  • Validate the physical wiring of your safety-related architecture and thoroughly test the application whenever you replace a safety-related device.

How to replace a device

You have several possibilities to replace a device with PLCnext Engineer:

Replacement via the device's context menu in the PLANT

Replacement via the station editor of a Profinet device ('Module List') or Axioline F device ('Device List')

Replacement via Drag & Drop from the COMPONENTS area into the PLANT