Quickstart Guide
...
Industrial Systems Connection ...
Beckhoff

Beckhoff TwinCAT3 Ethernet (Gen1)

6min

Review the following information for setting up and configuring the Beckhoff TwinCAT3 Ethernet (Gen1) driver.

Manufacturing Connect Edge Compatible Series

Compatibility parameter

Compatible items

Driver type

Ethernet

Validated devices/series

Beckhoff TwinCat 3 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 Manufacturing Connect 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 Manufacturing Connect 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.

Notes:

  • Make sure the Manufacturing Connect 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:

  1. Note down the following information and refer to it as needed. Device: TwinCAT 3 Beckhoff PLC Communication I/F: Ethernet
  2. Launch a new project in TcXaeShell.
  3. Click Routes to add the target that is going to connect to the PLC.

    Document image
    
  4. 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 Manufacturing Connect 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 Manufacturing Connect 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.

    Document image
    
  5. Click the Restart TwinCAT icon. Then, click the Login icon to start the simulator.

    Document image
    

Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub



Parameter

Value

Type

Beckhoff

Driver

Beckhoff TwinCAT3 Ethernet (Gen1)

Network Address

The device address you defined in Step 1

Port

48898

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 Manufacturing Connect Edge device Enter the following: [Manufacturing Connect Edge IP address].1.1 For example, if your Manufacturing Connect 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