Beckhoff ADS/AMS Ethernet (Gen1)
Review the following information for setting up and configuring the Beckhoff ADS/AMS Ethernet (Gen1) driver.
Litmus Edge Compatible Series
Compatibility parameter | Compatible items |
|---|---|
Driver type | Ethernet |
Validated devices/series |
To set up and configure this device in Litmus Edge, you will need to do the following:
- Step 1: Set up and Configure the PLC Device
- Step 2: Set up the PLC Device in Litmus Edge DeviceHub
- Step 3: Configure the List of Registers
Step 1: Set up and Configure the PLC Device
If the device is configured for Ethernet access, find its network parameters. Otherwise, follow the steps below.
Note: Make sure Litmus Edge IP address is configured in TWINCAT.
To configure your device:
1. Note down the following information and refer to it as needed. Device: Beckhoff CX1100-002 Communication I/F: Ethernet. Refer to the following figures.

2. Launch TwinCAT V2.11 Build 2302 software.
Note: The Beckhoff PLC is also a PC with its own OS, and an IP address can be set up like a PC.
3. Click the TwinCAT icon in the Notification area, launch the system, and then click the system status indicator switch from Config Node (blue) to Running (green).
4. Launch the PLC.
5. Set up the target.
![Ethernet target [1] Ethernet target [1]](https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/uUfSL4AFniSWnT0tfQwMD_beckhott-ads-ams-ethernet-target.png?format=webp)
![Ethernet target [2] Ethernet target [2]](https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/K41_YwAfD2O_UOtVu5x29_beckhoff-ads-ams-ethernet-target2.png?format=webp)
![Ethernet target [3] Ethernet target [3]](https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/NhJWkfPTOnGte7-9NsZLW_beckhoff-ads-ams-ethernet-target3.png?format=webp)
![Ethernet target [4] Ethernet target [4]](https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/77Tcz7vaxcKGZ3WGlR_89_beckhoff-ads-ams-ethernet-target4.png?format=webp)
![Ethernet target [5] Ethernet target [5]](https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/gxweNBAv05Wc4zLBLauc9_beckhoff-ads-ams-ethernet-target5.png?format=webp)
6. Select the target.
![Target select [1] Target select [1]](https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/fiM2YkaXCR0knFiWSiTrX_image.png?format=webp)
![Target select [2] Target select [2]](https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/cs6y6UtOfNCXlgTtsnWun_image.png?format=webp)
7. Launch TwinCAT system manager and TwinCAT PLC Control.
8. Click Online > Login, and then download the program and run the PLC.
Step 2: Set up the PLC Device in Litmus Edge DeviceHub
Configure the following parameters when you Connect a DeviceConnect a Device with this driver. Update default values to the specific setup of your device.
Parameter | Value |
|---|---|
Type | Beckhoff |
Driver | Beckhoff ADS/AMS Ethernet (Gen1) |
Network Address | The device address you defined in Step 1 |
Network Port | 48898 Enter the network port for the Beckhoff device defined in Step 1 |
Ads port | 801 Enter the ADS port for the Beckhoff device |
Ams ID | AMS ID for the Beckhoff device Enter the following: [Beckhoff device Ams ID].1.1 For example, if your Beckhoff Ams ID is 37.136.43.210, enter 37.136.43.210.1.1. |
Local Ams ID | Local AMS ID for the Litmus Edge device Enter the following: [Litmus Edge IP address].1.1 For example, if your Litmus Edge IP address is 192.168.0.152, enter 192.168.0.152.1.1. |
Step 3: Configure the List of Registers
When you Add Tags to the connected device, refer to the following register table and tag parameters.
Refer to the following additional resources:
Register Table
Name | Value Type | Address Format | Min Address | Max Address | Description |
|---|---|---|---|---|---|
I | bit, word | DDDDDdd | 0 | 6553515 | Input word |
Q | bit, word | DDDDDdd | 0 | 6553515 | Output bit |
M | bit, word | DDDDDdd | 0 | 6553515 |
|
Tag Parameters
- Name: Select a register name from the drop-down list. The available options depend on the names in the register table.
- Value Type: Select a data type from the drop-down list. The available options depend on the register name selected.
- Polling Interval: Enter a value in seconds. This determines how often the tag should poll the register for data.
- Tag Name: Enter a name for the tag.
- Description (Optional): Enter a description for the tag.
- Address: Enter a tag address. The value must in the decimal format, within the allowed min/max range. Omit the leading zeros. The device might use the decimal (D), hexadecimal (H), or octal (O) address format. See the Register Table at the bottom of the dialog box. For Bit tags, append the bit address without the bit separator. The lowercase letters in the address format indicate how many digits you should enter in the Bit address.
- Tag Formula: Enter a formula for the tag to process the generated data. Two variables are permitted: value (current tag value) and timestamp (current tag UNIX time in milliseconds). The following math functions are available:
- sin
- cos
- sqrt
- tan
- power: power(x) performs the operation 10^x.
- log: log(x) is the natural logarithm (the logarithm is in base e).
- exp: exp(x) performs the operation e^x.
- Only Publish on Change of Value: Select the checkbox to only publish NATS messages when the value parameter changes to a new value. Change of Value only applies to boolean, numeric (such as int or float), and simple string data types. It does not apply to complex types, such as JSON or array. Poll-once topics will not be affected by Change of Value settings. These topics will still only see a single message.
- Meta Data: Metadata summarizes basic information about data. This feature allows you to define key-value pair data for the device output payload later on. Metadata can then be used to find, use, and reuse particular instances of data.
Note: If you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload. This can cause two key names to be combined into one. For example, configuring the key names a**b and a&&b will cause only one key name to be created (a__b).