-

Unassigning Project and Online Devices

The assignment of a project device (contained in the PLANT) to an online device (discovered by a network scan) and vice versa is done in the following editors:

Both editors also provide commands to remove an assignment between project and online device:

  "Only" unassign the devices without deleting properties from the online device

  Unassign devices and delete properties from the online device

Removing the assignment while retaining the properties of the online device

Proceed as follows:

  1. Open the 'Online Controllers' editor ('Project' node editor) or the 'Online Devices' editor ('Profinet' node editor) where you want to remove the assignment.
  2. In the devices list, right-click the table row(s) with the assignments (multi-selection is possible) and select the context menu command 'Unassign' or click the button on the editor's toolbar.

    After deleting an assignment, a separate entry remains in the table for the project device and the online device as shown in the following example.

    The status symbol shows a conflict because there are device settings that exist multiple times in the devices list. The tooltip of the symbol shows details about the conflict.

Removing the assignment and deleting the properties of the online device

Proceed as follows:

  1. Open the 'Online Controllers' editor ('Project' node editor) or the 'Online Devices' editor ('Profinet' node editor) where you want to remove the assignment.
  2. In the devices list, right-click the table row(s) with the assignments (multi-selection is possible) and select the context menu command 'Unassign and Delete Properties' or click the button on the editor's toolbar.

    The command deletes the assignment. In addition, the name of station is cleared to an empty string and the IP address, subnet mask, and gateway values are also deleted from the online device (observe the note below regarding Profinet devices).

    Note
    Behavior with Profinet
    When executing the command for Profinet devices in the 'Online Devices' editor, PLCnext Engineer checks the communication connection between the Profinet controller and the online device. If there exists an ongoing Profinet communication to the online device, you are asked whether to delete the properties of the online device or to cancel the deletion. If you confirm with 'Yes', the assignment between the devices and the properties of the online device are deleted. If you confirm with 'No', only the assignment between the devices is removed.