Defining devices

Devices are defined on the node where the device driver is installed and where the device specific communication to the physical device will take place. Physical devices types include: PLCs, controllers, sensors, and bar code readers.

In the case of logical devices, the device is defined on the node where the memory representation of the device and its variables will take place. There is no physical device to connect to and no communication protocol to support. Logical device types include: global variable device, aliases device, and property file reader device.

Once a device is defined and Started, the device's variables are available to triggers, on the same node, for read and write access. Follow these general steps to add a device definition to a node, each device type has its own specific parameters:

  1. From the left pane, expand the node that you want to add a device definition to.
  2. Click Devices.

    The Devices window appears as the right pane.
  3. From the bottom of the Devices tab, select New.
    A default Device window appears.
  4. In the Name box, type a name for the local device. A device name can be up to 64 characters and include letters, numbers, and the underscore character. Spaces are allowed.
  5. Use the Type down-arrow to select the device type.

    The available device types are determined by the support available on the node. Install the packages by going to Administration -> Packages tab.
    The Device window changes to accommodate the selected device type.
  6. Fill in the device's parameters, based on the communication information and in some cases the variable information. This is device type specific and is covered in Device types.
  7. Use the Validate button to validate the parameters and, in the case of a physical device, establish a connection to the device. If the parameters are not correct or if a connection can not be established an appropriate reason is displayed.
  8. Use the Save button to save the definition of the device. The device will appear in the list of devices for the node, in a Stopped state.