WEBfactory 2010

Setting up the Beckhoff ADS Connector on a local 64bit system

Installing the Beckhoff ADS Connector

To setup and use the Beckhoff ADS Connector on a local 64 bit system, the following steps must be executed:

  1. Install TwinCAT Engineering Station, x64 version (Tc211x64Engineering_2110_2034.exe) on the machine where the Beckhoff ADS Connector will run (where WEBfactory 2010 is installed).

    The TwinCAT Engeneering Station, versions 2.11.x or 3.1.x for x64 needs to be installed on the same machine running the WEBfactory 2010 and Beckhoff ADS Connector. If the software is uninstalled from that machine or installed on a different one, the functionality of the Beckhoff ADS Connector will be limited.

  2. After installation, navigate to C:\TwinCAT\ADS API\TcAdsDll\ and copy the following dll files:

    • AdsDll.dll

    • TcAdsDll.dll

  3. Paste the dll files in C:\Program Files (x86)\WEBfactory 2010 \Server\Connectors\Beckhoff ADS.

    Copy the dll files to the Beckhoff ADS directory in WEBfactory 2010 installation folder.

    The next part of the configuration will take place in WEBfactoryStudio.

Beckhoff ADS Connector configuration
  1. Navigate to Server List, select the desired server and right-click to open the contextual menu. Select New Connector > Beckhoff ADS Connector.

  2. A new Beckhoff ADS Connector is added. The Connector Configuration tabs will be displayed.

    The Connector Configuration section is divided in two tabs:

    • Devices

    • Signals

    In the Devices tab you can have up to 200 devices linked using Beckhoff ADS Connector.

  3. To add a new device, click the New button in the toolbar.

    The Devices tab also offers the possibility to copy an existing device. This is useful when having multiple devices in the same ADS network, using the same symbol lists.

    The Devices configuration table has the following parameters:

    • Name - unique device name. This serves as a device name for SignalPrefix

    • ADS Net Id - the device address inside the ADS network

    • ADS Port - the ADS communication port of the device

    • Poll Rate - the time interval (in milliseconds) for polling the ADS device

    • ADS Timeout - timeout for communication operations (in milliseconds)

    • ADS Time Suspend - suspend time after communication errors

    The Devices configuration table has the following parameters:

    • Import the complete TPY configuration

    • Import the TPY configuration partially - only WEBfactory symbols only

    • Update the existing list of symbols from the Beckhoff ADS Connectors.

    • Remove invalid symbols from the current symbol list

    • Add unused symbols to the symbol list

The symbols can be deleted manually, in order to optimize the communication load.

In the Signals tab, all signals of the PLCs connected via Beckhoff ADS Connector can be seen. The Signals tab offers the same import methods as the Devices tab, and allows the user to manually delete signals.

The Signals tab offers the same import methods as the Devices tab, and allows the user to manually delete signals.

The Beckhoff ADS Connector provides special signals used to monitor the connection with the connected ADS device (ex. PLC1.WatchDog).

This signals need to be declared only as WEBfactory signals within the Beckhoff ADS Connector corresponding signal group. This signals are updated by the Beckhoff ADS Connector once per second, counting the number of seconds since the last successful communication.

If the time to access a device is 10 seconds, the associated WatchDog signal will have the value 10. If the communication with the device is possible, the value of the signal will be 0.

Browsing the Beckhoff ADS Connector
  1. To add signals to the new group, right-click on the Beckhoff ADS connector and select Browse connector.

    The Browse connector window allows the user to select signals from the Beckhoff ADS device and assign them to signal groups. The signal groups can be created like mentioned above or can be created here, by typing a new signal group name in the Destination group text field.

    The Browse connector window features multi-selection tools like Select All, Invert Selection, Browse all. Besides the signal handling tools, the Browser connector window allows the user to import the signals with their descriptions, by checking the Import description option. The description of a signal will appear in the description field, if available.

  2. To add signals to the signal groups, select the desired signals, check or uncheck the Import description option and specify a Destination group (if no Destination group available, create one by typing the name in the text field. The application will ask to confirm the creation of a new group).