Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Home
  • Knowledge base
  • Contact Us
  • Home
  • Connectors
  • Beckhoff TwinCAT

Beckhoff TwinCAT - Instance & item setup

Written by Paul Bendixen

Updated at August 26th, 2021

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Installation & Technical information
    Introduction SIA Connect Standalone SIA Connect ANY-Ware Cellular & WiFi connectivity
  • Configuration in the Web UI
    Getting started with the UI Connectors Instances Items Mapping Data System Network Tools & Add-ons DigiCert IoT Trust Manager
  • Connectors
    Siemens S7 Azure IoT Ethernet/IP Mitsubishi MELSEC OPC-UA Server SQL MQTT Omron Host Link REST API Omron FINS Keyence Beckhoff TwinCAT BACnet Virtual OPC-UA Client MS SQL File M-Bus Modbus
  • Scripting & Variables
    Data formatting
  • Developers
    API documentation Shadow API
  • Tutorials & Guides
    InfluxDB AWS IoT Core - Amazon Web Services Microsoft Power BI KaaIoT Siemens S7 AVEVA Insight SIA Connect Demo Rack Grafana Azure
  • General
+ More

Articles in this section:

  • Beckhoff TwinCAT - Instance & item setup
  • Beckhoff TwinCAT - Troubleshooting
  • Setting up ADS Route in TwinCAT

Table of Contents

ParametersInstanceItemsTypes

Parameters

When using the Beckhoff TwinCAT ADS Connector both the instance and item have specific parameters. These parameters are required as they are needed to establish connection and to identify which variables to interact with.


Instance

The instance needs the following parameters to connect to the ADS device

Parameter Description
Address The IP address of the ADS device
ADS Port Identifier for the type of connection of the ADS Device
Target AMS NetID The network ID of the ADS device, typically the IP address with ".1.1" appended
Local AMS NetID The local network ID, not required


Items

The item parameters are needed to set up the variables in the ADS device

Parameter Description
Variable Name The name used to get to the variable in the ADS device
e.g. "MAIN.device_speed"
Type Data type used for determining the size of the variables


Types

The following types can be selected for setting up the Variables

Type Description
BOOL A boolean value either 0 (false) or 1(true)
WORD A 16 bit unsigned integer
DWORD A 32 bit unsigned integer
SINT An 8 bit signed integer
INT A 16 bit signed integer
UINT A 16 bit unsigned integer
DINT A 32 bit signed integer
UDINT A 32 bit unsigned integer
REAL A 32 bit floating point representation of rational numbers
LREAL A 64 bit floating point representation of rational numbers
STRING Any string of characters


Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Beckhoff TwinCAT - Troubleshooting

0
0
Expand