beckhoff — Table of contents

Table of contents Table of contents 1 Foreword.................................................................................................................................................... 5 1.1 Notes on the documentation ............................................................................................................. 5 1.2 Safety instructions............................................................................................................................. 6 1.3 Notes on information security............................................................................................................

7 2 Introduction ............................................................................................................................................... 8 3 Implementing in Eclipse Galileo .............................................................................................................. 9 4 Implementing in Netbeans 6.7.1 ............................................................................................................ 11 5 API ............................................................................................................................................................

13 5.1 Functions......................................................................................................................................... 13 5.1.1 adsGetDllVersion ............................................................................................................. 13 5.1.2 adsPortOpen.................................................................................................................... 13 5.1.3 adsPortClose.................................................................................................................... 13 5.1.4 adsGetLocalAddress........................................................................................................

13 5.1.5 adsSyncWriteReq ............................................................................................................ 14 5.1.6 adsSyncWriteReqArray.................................................................................................... 14 5.1.7 adsSyncReadReq ............................................................................................................ 14 5.1.8 adsSyncReadReqEx........................................................................................................ 15 5.1.9 adsSyncReadWriteReq....................................................................................................

15 5.1.10 adsSyncReadWriteReqEx................................................................................................ 16 5.1.11 adsSyncReadDeviceInfoReq ........................................................................................... 16 5.1.12 adsSyncWriteControlReq................................................................................................. 17 5.1.13 adsSyncReadStateReq.................................................................................................... 17 5.1.14 adsSyncAddDeviceNotificationReq..................................................................................

18 5.1.15 adsSyncDelDeviceNotificationReq................................................................................... 18 5.1.16 adsSyncSetTimeout......................................................................................................... 19 5.1.17 adsSyncGetTimeout......................................................................................................... 19 5.1.18 adsAmsRegisterRouterNotification .................................................................................. 19 5.1.19 adsAmsUnRegisterRouterNotification..............................................................................

19 5.1.20 adsAmsPortEnabled ........................................................................................................ 20 5.2 Extended functionalities .................................................................................................................. 20 5.1.21 getAdsCallbackObject...................................................................................................... 20 5.2.1 adsPortOpenEx................................................................................................................ 20 5.2.2 adsPortCloseEx ...............................................................................................................

21 5.2.3 adsGetLocalAddressEx.................................................................................................... 21 5.2.4 adsSyncWriteReqEx ........................................................................................................ 21 5.2.5 adsSyncWriteReqExArray................................................................................................ 22 5.2.6 adsSyncReadReqEx2...................................................................................................... 22 5.2.7 adsSyncReadWriteReqEx2..............................................................................................

23 5.2.8 adsSyncReadDeviceInfoReqEx....................................................................................... 23 5.2.9 adsSyncWriteControlReqEx............................................................................................. 24 5.2.10 adsSyncReadStateReqEx................................................................................................ 24 5.2.11 adsSyncAddDeviceNotificationReqEx ............................................................................. 25 5.2.12 adsSyncDelDeviceNotificationReqEx .............................................................................. 25 TX1000 3 Version: 1.1