beckhoff · TS6100-0030 · 270 pp.
Beckhoff TS6100-0030 TwinCAT 2 | OPC UA Server CE User Manual
Руководство по TwinCAT OPC UA Server CE: установка, лицензирование, конфигурация сервера и клиента OPC UA, сценарии применения и диагностика ошибок.
Related manuals
Contents
Document text
Manual | EN TS6100-0030 TwinCAT 2 | OPC UA Server CE 2023-11-20 | Version: 1.9
Inhaltsverzeichnis
Inhaltsverzeichnis Inhaltsverzeichnis 1 Foreword.................................................................................................................................................... 5 1.1 Notes on the documentation ............................................................................................................. 5 1.2 For your safety .................................................................................................................................. 5 1.3 Notes on information security............................................................................................................
7 2 Overview .................................................................................................................................................... 8 2.1 Scenarios .......................................................................................................................................... 8 2.2 Application examples ...................................................................................................................... 11 2.2.1 Post-processing in the Cloud ...........................................................................................
11 3 Installation ............................................................................................................................................... 17 3.1 Setup overview................................................................................................................................ 17 3.2 System requirements ...................................................................................................................... 17 3.3 Installation (TC3).............................................................................................................................
19 3.4 Installation (TC2)............................................................................................................................. 22 3.5 Installation Windows CE (TC3) ....................................................................................................... 25 3.6 Installation Windows CE (TC2) ....................................................................................................... 27 3.7 Licensing (TC3)...............................................................................................................................
32 3.8 Licensing (TC2)............................................................................................................................... 34 4 Technical introduction............................................................................................................................ 35 4.1 Server.............................................................................................................................................. 35 4.1.1 Overview ..........................................................................................................................
35 4.1.2 Quick start........................................................................................................................ 35 4.1.3 Initialization ...................................................................................................................... 37 4.1.4 Recommended steps ....................................................................................................... 42 4.1.5 Optimizations ................................................................................................................... 44 4.1.6 Data Access.....................................................................................................................
49 4.1.7 Historical Access.............................................................................................................. 76 4.1.8 Alarms and Conditions..................................................................................................... 82 4.1.9 Method Call...................................................................................................................... 87 4.1.10 File transfer ...................................................................................................................... 93 4.1.11 Global Discovery Service.................................................................................................
95 4.1.12 TwinCAT EventLogger..................................................................................................... 99 4.1.13 Security .......................................................................................................................... 104 4.2 Configurator .................................................................................................................................. 115 4.1.14 Miscellaneous ................................................................................................................
110 4.2.1 Visual Studio .................................................................................................................. 116 4.2.2 Standalone..................................................................................................................... 144 4.3 Client I/O ....................................................................................................................................... 158 4.3.1 Overview ........................................................................................................................
158 4.3.2 Quick start...................................................................................................................... 160 4.3.3 Supported data types..................................................................................................... 163 4.3.4 Adding nodes of a Server............................................................................................... 164 4.3.5 Node attributes............................................................................................................... 165 4.3.6 Method call.....................................................................................................................
166 TS6100-0030 3 Version: 1.9
Inhaltsverzeichnis
Inhaltsverzeichnis 4.3.7 StructuredTypes............................................................................................................. 169 4.3.8 Data recording................................................................................................................ 171 4.3.9 Writing variables............................................................................................................. 173 4.3.10 Security ..........................................................................................................................
175 4.4 Client PLCopen ............................................................................................................................. 177 4.4.1 Overview ........................................................................................................................ 177 4.4.2 Supported data types..................................................................................................... 177 4.4.3 Best practice ..................................................................................................................
178 4.5 Gateway ........................................................................................................................................ 194 4.4.4 Security .......................................................................................................................... 192 4.5.1 Overview ........................................................................................................................ 194 4.5.2 Quick start......................................................................................................................
195 4.5.3 Licensing........................................................................................................................ 197 4.5.4 Scenarios ....................................................................................................................... 197 4.5.5 Configurator ................................................................................................................... 199 4.5.6 Migrating from Tx6120 ................................................................................................... 204 4.5.7 Security ..........................................................................................................................
206 4.6 Sample Client................................................................................................................................ 208 4.6.1 Overview ........................................................................................................................ 208 4.6.2 Establishing a secure connection to OPC UA Server .................................................... 209 4.6.3 Browsing the UA namespace......................................................................................... 212 4.6.4 Using the Watchlist ........................................................................................................
213 5 PLC API .................................................................................................................................................. 215 5.1 Tc2_OpcUa ................................................................................................................................... 215 5.1.1 Data types...................................................................................................................... 215 5.1.2 Function blocks ..............................................................................................................
216 5.2 Tc3_PLCopen_OpcUa .................................................................................................................. 218 5.2.1 Data types...................................................................................................................... 218 5.2.2 Function blocks .............................................................................................................. 232 6 Samples .................................................................................................................................................
254 7 Appendix................................................................................................................................................ 255 7.1 Error diagnosis .............................................................................................................................. 255 7.1.1 Server............................................................................................................................. 256 7.1.2 Client I/O ........................................................................................................................
258 7.1.3 Client PLCopen.............................................................................................................. 258 7.2 Status codes ................................................................................................................................. 258 7.1.4 Gateway......................................................................................................................... 258 7.2.1 ADS Return Codes......................................................................................................... 258 7.2.2 Client I/O ........................................................................................................................
263 7.2.3 Client PLCopen.............................................................................................................. 264 7.3 Support and Service...................................................................................................................... 267 TS6100-0030 4 Version: 1.9
1.2 For your safety
Foreword 1 Foreword 1.1 Notes on the documentation This description is intended exclusively for trained specialists in control and automation technology who are familiar with the applicable national standards. For installation and commissioning of the components, it is absolutely necessary to observe the documentation and the following notes and explanations. The qualified personnel is obliged to always use the currently valid documentation. The responsible staff must ensure that the application or use of the products described satisfies all requirements for safety, including all the relevant laws, regulations, guidelines, and standards.
Disclaimer The documentation has been prepared with care. The products described are, however, constantly under development. We reserve the right to revise and change the documentation at any time and without notice. No claims to modify products that have already been supplied may be made on the basis of the data, diagrams, and descriptions in this documentation. Trademarks Beckhoff ® , TwinCAT ® , TwinCAT/BSD ® , TC/BSD ® , EtherCAT ® , EtherCAT G ® , EtherCAT G10 ® , EtherCAT P ® , Safety over EtherCAT ® , TwinSAFE ® , XFC ® , XTS ® and XPlanar ® are registered and licensed trademarks of Beckhoff Automation GmbH.
If third parties make use of designations or trademarks used in this publication for their own purposes, this could infringe upon the rights of the owners of the said designations. Patents The EtherCAT Technology is covered, including but not limited to the following patent applications and patents: EP1590927, EP1789857, EP1456722, EP2137893, DE102015105702 and similar applications and registrations in several other countries. EtherCAT ® is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany Copyright © Beckhoff Automation GmbH & Co. KG, Germany.
The distribution and reproduction of this document as well as the use and communication of its contents without express authorization are prohibited. Offenders will be held liable for the payment of damages. All rights reserved in the event that a patent, utility model, or design are registered. 1.2 For your safety Safety regulations Read the following explanations for your safety. Always observe and follow product-specific safety instructions, which you may find at the appropriate places in this document. TS6100-0030 5 Version: 1.9