Advanced Samples
Descripion |
---|
Linking into Borland Developer Studio 2006 (Delphi for .NET) |
Linking into Delphi Prism (Embarcadero Prism XE2, Oxygene for .NET) |
Description | Visual C# | Visual Basic | Delphi Prism | Delphi for .NET |
---|---|---|---|---|
Sample 1: Accessing an array in the PLC | ||||
Sample 2: Transmitting a structure to the PLC | ||||
Sample 3: Event driven reading | ||||
Sample 4: Reading and writing of string variables | Sample04.exe | |||
Sample 6: Read PLC variable declaration | ||||
- | - | |||
Sample 9: ADS-Sum Command: Reading or writing several variables | - | - | ||
- | - | - | ||
Sample 11: Delete a handle of a PLC variable | - | - | ||
Sample 12: Read flag synchronously from the PLC | - | - | ||
Sample 13: Write flag synchronously into the PLC | - | - | ||
Sample 14: Start/stop PLC | - | - | ||
Sample 15: Access by variable name | - | - |
TwinCAT ADS Webservice
Description | Sample code |
---|---|
Sample 1: Consumer in C# to read and write PLC variables | |
Sample 1: Consumer in Delphi 8 for .NET to read and write PLC variables |
- Linking the TwinCAT ADS .NET Component
- Accessing an array in the PLC
- Transmitting structures to the PLC
- Event driven reading
- Reading and writing of string variables
- Reading and writing of TIME/DATE variables
- Read PLC variable declaration
- Reading and writing of PLC variables of any type (ReadAny, WriteAny)
- Detect state changes in TwinCAT router and PLC
- ADS-Sum Command: Reading or writing several variables
- Reading of SMB values from TwinCAT I/O driver
- Delete a handle of a PLC variable
- Read flag synchronously from the PLC
- Write flag synchronously into the PLC
- Start/stop PLC
- Access by variable name