Table of contents 5.2.13 adsSyncSetTimeoutEx..................................................................................................... 26 5.2.14 adsSyncGetTimeoutEx .................................................................................................... 26 5.2.15 adsAmsPortEnabledEx .................................................................................................... 26 6 Samples: TcJavaToAds..........................................................................................................................
28 6.1 Using AdsToJava.dll ....................................................................................................................... 28 6.2 Access by variable name ................................................................................................................ 32 6.3 Accessing an array in the PLC........................................................................................................ 33 6.4 Transmitting structures to the PLC.................................................................................................. 34 6.5 Reading out the PLC variable declaration of a single variable........................................................
35 6.6 Write flag synchronously into the PLC ............................................................................................ 39 6.7 Read flag synchronously from the PLC........................................................................................... 39 6.8 Delete handle of a PLC variable ..................................................................................................... 40 6.9 Event driven reading ....................................................................................................................... 42 6.10 Reading SMB values from the TwinCAT I/O driver.........................................................................
44 6.11 Event-Driven Detection of Changes to the Symbol Table............................................................... 47 6.12 ADS sum command: fetch and release multiple handles................................................................ 48 6.13 ADS sum command: read and write multiple variables................................................................... 52 7 ADS Return Codes .................................................................................................................................. 56 TX1000 4 Version: 1.1