Adding a Project Link Client device

A Project Link Client device is placed in the project that will be linked to the server project. There can be several client projects for each server project.

It is assumed that your client project already contains the devices that you would like to link to devices in the server project.

As part of the configuration, you can specify a setting called Poll period. This controls the frequency at which the client device will poll the server device. It can impact both network resources and NioNode resources, so it is important to understand the effect specifying different values will have.

The default value of 100ms means the server is polled 10 times a second. A value of 10ms means the server is polled 100 times per second, and so on. Using the default value usually results in good resource usage and a good GUI response time. Setting the polling value too high can result in a sluggish response from a control, i.e. too much latency between when the control is gestured and when the change is updated in the GUI. Always try to use good judgment when balancing the poll rate to safeguard against overuse of resources while providing a responsive interface.

To add a Project Link Client device

  1. Make sure you are editing a client project. There may be more than one.
  2. In the device tree, expand the Control folder.
  3. Drag a Project Link Client device over to the design page.

    The Project Link Client Properties dialog box is displayed.

  4. If you already know the project link identifier for the server project and you do not want the user to be able to change it when the project is deployed or emulated, type the name in the Project Link ID box.

    If you want the user to be able to specify the identifier when the project is deployed or emulated, leave the box empty.

  5. In the Poll period ms box, type the period in milliseconds between status update requests from client to server. The valid range is 10 to 60000.
  6. In the Control write count box, type the number of controls that will be sending values via the Project Link Client over to the Project Link Server.

    These controls must be master wired to the write wiring nodes on the left of the device block. The valid range is 0 to 200.

  7. In the Control read count box, type the number of controls that will be receiving values via the Project Link Client from the Project Link Server.

    These controls must be slave wired to the read wiring nodes on right of the device block. The valid range is 0 to 200.

  8. In the Control peer count box, type the number of controls that will be both sending and receiving values via the Project Link Client to/from the Project Link Server.

    These controls must be master wired to the peer wiring nodes on the left of the device block. The valid range is 0 to 200.

  9. If you want to change the role to which this device belongs:
    1. Click Advanced.

      The Advanced properties dialog box is displayed.

    2. Click the button to change it to the button, and then select a role name in the list.
    3. Click OK.
  10. Click OK.

See also

Adding a Project Link Server device

Wiring controls to the Project Link Server device

Wiring controls to the Project Link Client device