TR7000 | ADS workshop
Use of the ADS DLL in conjunction with Visual Studio®
Goal | Presentation of the possibilities to access the TwinCAT PLC and NC runtimes from a Visual Studio® program for visualisation purposes
Target Group | Experienced TwinCAT users who would like to get information about the methods of the ADS DLL on the basis of practical examples
Topics, in each case with practical examples:
- ADS in general, NETID, PORT, ADS via TCP/IP…
- identification of the ADS services through IDXGRP/IDXOFFSET
PLC:
- ADS data exchange between two PLC runtimes
Visual Studio®:
- single PLC variable
- reading and writing of PLC variables by address (%MB)
- synchronous reading and writing of PLC variables by name
- reading from PLC variables with notifications
- PLC variables as array and structures
- accessing one-dimensional arrays with ReadAny and WriteAny commands
- more complex PLC variable types with streams
- ADS streams
- AdsBinReader I AdsBinWriter
- imaging streams on structures and vice versa
- examples of synchronous access to structures and reading with notifications
- sum commands
- reading and writing of single variables
- reading symbol names directly from the PLC
- ADS logger and monitor
- checking the ADS data exchange
Visual C# is used as the programming language.
| Ordering information |
ADS workshop |
| TR7000 |
|
| duration: 2 days |