Fig. 17 Structure Of The Ads Communication - Beckhoff CX8110 Manual

Embedded pc with ethercat
Hide thumbs Also See for CX8110:
Table of Contents

Advertisement

Ethernet X001 Interface
ADS-OCX
The ADS-OCX is an Active-X component. It offers a standard interface to, for instance, Visual Basic, Delphi,
etc.
ADS-DLL
You can link the ADS-DLL (DLL: Dynamic Link Library) into your C program.
OPC
The OPC interface is a standardized interface for communication used in automation technology. Beckhoff
offer an OPC server for this purpose.
Protocol
The ADS functions provide a method for accessing the Bus Coupler information directly from the PC. ADS
function blocks can be used in TwinCAT for this. The function blocks are contained in the Tc2_System.lib
library. It is also equally possible to call the ADS functions from AdsOCX, ADSDLL or OPC.
Fig. 17: Structure of the ADS communication.
AMSNetID
The AMSNetID provides a reference to the device that is to be addressed. This is taken from the MAC
address of the first Ethernet port (X001) and is printed on the side of the CX80xx. For the AMSNetID the
bytes 3..6 plus ".1.1" are typically used.
Example:
MAC address 00-01-05-01-02-03
AMSNetID 5.1.2.3.1.1
Port number
The port number distinguishes sub-elements in the connected device.
Port 851: local process data PLC runtime 1
Index group
The index group distinguishes different data within a port.
Index offset
Indicates the offset, from which reading or writing the byte is to start.
Len
Gives the length of the data, in bytes, that is to be read or written.
TCP port number
The TCP port number for the ADS protocol is 48898 or 0xBF02.
CX8110
Version: 1.4
59

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx8180

Table of Contents