Beckhoff TwinCAT3 Ethernet (Gen1)
Review the following information for setting up and configuring the Beckhoff TwinCAT3 Ethernet (Gen1) driver.
Compatibility parameter | Compatible items |
---|---|
Driver type | Ethernet |
Validated devices/series | When configuring tags for this driver, you must enter the case-sensitive register name exactly as it is defined in the PLC. See the Free Tags section below to learn more. |
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
If the device is configured for Ethernet access, find its network parameters. Otherwise, follow the steps below.
Notes:
- Make sure the Litmus Edge IP address is configured in TWINCAT.
- The Beckhoff PLC is also a PC with its own OS, and an IP address can be set up like a PC.
To configure your device:
- Note down the following information and refer to it as needed. Device: TwinCAT 3 Beckhoff PLC Communication I/F: Ethernet
- Launch a new project in TcXaeShell.
Click Routes to add the target that is going to connect to the PLC.
Click Add...Configure the following parameters. Please note that only clients in the Routes list can connect to the simulator. Route Name (Target): Enter a name for the route. AmsNetId: Enter the AmsNetId for the route. If the PLC is running as a soft connection, and Litmus Edge and the panel PC are on the same network, the AmsNetId and Address info values should be the same with .1.1 at the end. Transport Type: Review and confirm the transport type for the route. Address Info: Enter the IP address of the corresponding target system in the network. If the PLC is running as a soft connection, and Litmus Edge and the panel PC are on the same network, the AmsNetId and Address info values should be the same with .1.1 at the end. Target Route: Select Static.
Click the Restart TwinCAT icon. Then, click the Login icon to start the simulator.
Parameter | Value |
---|---|
Type | Beckhoff |
Driver | Beckhoff TwinCAT3 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 | 851 |
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. |
- bool
- sint
- byte
- int
- word
- dint
- dword
- lint
- lword
- real
- lreal
- ltime
- string
- wstring
- date
- time
- dateandtime
- timeofday