Table of contents Table of contents 1 Foreword.................................................................................................................................................... 5 1.1 Notes on the documentation ............................................................................................................. 5 1.2 For your safety .................................................................................................................................. 6 1.3 Notes on information security............................................................................................................
7 2 OPC General .............................................................................................................................................. 8 3 Overview .................................................................................................................................................... 9 4 Installation ............................................................................................................................................... 10 5 Licensing .................................................................................................................................................
12 6 Configuration........................................................................................................................................... 13 6.1 OPC DA Server............................................................................................................................... 13 6.1.1 General ............................................................................................................................ 13 6.1.2 Data Access.....................................................................................................................
18 6.1.3 Conversion....................................................................................................................... 25 6.1.4 Simulation ........................................................................................................................ 28 6.1.5 Item Properties................................................................................................................. 31 6.1.6 Data exchange over the network ..................................................................................... 32 6.2 OPC XML-DA Server ......................................................................................................................
34 6.2.1 Configuration OPC XML-DA on Windows XP.................................................................. 36 6.2.2 Configuration OPC XML-DA on Windows 7..................................................................... 40 6.2.3 Status information ............................................................................................................ 45 6.2.4 TwinCAT OPC Server CE : Optimization......................................................................... 46 6.2.5 OPC Client (Diagnostic & Recipe) ...................................................................................
47 7 OPC Client sample code......................................................................................................................... 61 7.1 OPC .NET client : API sample for read / write ................................................................................ 61 7.2 OPC .NET client : API sample for subscriptions ............................................................................. 62 7.3 OPC client : AJAX (Asynchronous Java XML)................................................................................
63 8 Appendix.................................................................................................................................................. 64 8.1 OPC Compliance Certification ........................................................................................................ 64 8.2 DCOM ............................................................................................................................................. 65 8.2.1 Prerequisites ....................................................................................................................
66 8.2.2 Client................................................................................................................................ 69 8.2.3 Server............................................................................................................................... 76 8.2.4 DCOM Permission ........................................................................................................... 82 TS6120 3 Version: 1.2.0