PeerLINK device

A PeerLINK device is a logical device that references another device. The PeerLINK device type includes the features to:

  • Reference a single device defined on another (remote) node. This allows triggers defined on node A to access the variables in a device on node B .
    This is a level of indirection and a remote access feature for the PeerLINK device.
  • Reference all of the devices defined on another (remote) node. This allows triggers defined on node A to access the variables in all of the devices on node B .
    This is a level of indirection, an aggregation, and a remote access feature for the PeerLINK device.
  • Support the trigger action, Execute Remote SubTrigger.
    This trigger action allows you to execute a SubTrigger that is defined on another (remote) node. It is different from the Remote Trigger action and does not use the deviceWISE Cloud.

Defining a PeerLINK device

To define a PeerLINK device, follow these steps:

  1. From the Workbench left pane, expand the node where you want to define the PeerLINK device.
  2. Select the Devices icon to display the Devices panel, right-click the Devices icon to display its pop-up menu, and then select New.
    You also can select the New button at the bottom of the Devices panel.
  3. Name the device. The device name can be up to 64 characters and include letters, numbers, and the underscore character. Spaces are allowed.
  4. Use the Type down-arrow, locate the PeerLINK category, and then select either Device Connection or Node Connection.

    Device Connection - References a single device defined on a remote node.
    Node Connection - References all devices defined on a remote node.
    The Device window changes to accommodate the device type.

    The following describes the parameters that become available from the Device window:

    Parameter Description
    Type Select Device Connection or Node Connection for the type of PeerLINK device.
    IP Address The IP address of the remote node in dotted decimal format.
    Username The user name to use to connect to the remote node.
    Password The password to use to connect to the remote node.
    Device name When Device Connection is selected for the Type, enter the name of the device on the remote node.
    Connection Type Use the default value of deviceWISE.
    Timeout The amount of time to wait for access to the remote device, in milliseconds. The default is 10000 milliseconds (10 seconds).
    Per Variable Security Select False to disable the allocation of additional memory to track User to Variable access for all Variables in this Device.
    Select True to enable this feature if required. For more information, see Setting up Read Write per device variable.
  5. After entering all of the parameters, select Validate to have the parameters validated.
  6. Select Save to save the device definition. The device will appear in the Devices window list of devices.
  7. You can now control the device (Start, Stop), access the device's variables by using the Variables window, and build solutions that use the device's resources.
Related Topics

Execute Remote SubTrigger