Fieldbus system
BC9000 and BC9100 55Version: 4.0.0
Software interfaces
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 standardised interface for communication used in automation engineering. Beckhoff
offer an OPC server for this purpose.
7.4.2 ADS 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 PLC Control for this. The function blocks are contained in the
TcSystem.lib library. It is also equally possible to call the ADS functions from AdsOCX, ADSDLL or OPC. It is
possible to access all the data through ADS port number 300, and to access the registers of the Bus Coupler
and Bus Terminals through ADS port number 100.
Fig.41: Structure of the ADS protocol
AMSNetID
The AMSNetID provides a reference to the device that is to be addressed. This is created from the set TCP/
IP address and an additional 2 bytes. These additional 2 bytes consist of "1.1", and cannot be altered.
Sample:
IP address172.16.17.128
AMSNetID 172.16.17.128.1.1