Field Device Integration (FDI) – Part 3: Server FCG TS62769-3 Edition 1.2.0 21 Jun 2019 RELEASED S P E C I F I C A T I O N Field Device Integration (FDI) – Part 3: Server RELEASED FCG TS62769-3 , Ed. 1.2.0, 21 Jun 2019 Page 1 of 62 Document Distribution / Maintenance Control / Document Approval To obtain information concerning document distribution control, maintenance control, and document approval please contact FieldComm Group at the address shown below. Copyright © 2019 (2014, 2017) FieldComm Group, PROFIBUS Nutzerorganisation e. V., OPC Foundation, FDT Group FieldComm Group, PROFIBUS Nutzerorganisation e.V, OPC Foundation, and FDT Group are the joint publishers of this document. The information in this document is subject to change without notice and should not be construed as a commitment by the publishers. The publishers assume no responsibility for any errors that may appear in this document. In no event shall the publishers be liable for direct, indirect, special, incidental or consequential damages of any nature or kind arising from the use of this document. This document and parts thereof must not be reproduced or copied without written permission from the publishers, and the contents thereof must not be imparted to a third party nor used for any unauthorized purpose. All rights to copyrights, registered trademarks or applications, utility models and registered patents or applications reside with their respective owners. Trademark Information FieldComm Group ™ , F OUNDATION ™ Fieldbus and HART-IP ™ are trademarks, and HART ® , WirelessHART ® , ROM ® and SIF ® are registered trademarks of FieldComm Group, Austin, Texas, USA Any use of these terms hereafter in this document, or in any document referenced by this document, implies the trademark/registered trademark. All other trademarks used in this or referenced documents are trademarks of their respective companies. For more information, contact: FDT Group 5 Industrieweg 3001 Heverlee Belgium Phone: +32 (0)10 22 22 51 fdtgroup.org FieldComm Group 9430 Research Boulevard Suite 1-120 Austin, TX 78759, USA Phone: (512) 792-2300 Fax: (512) 792-2310 fieldcommgroup.org OPC Foundation Presidential Office 8455 Infirmary Rd., Ravenna, OH 44266 P.O. Box 808 (mailing address) Mantua, Ohio 44255 Phone: (330) 839-8718 opcfoundation.org PROFIBUS Nutzerorganisation e. V. (PNO) PROFIBUS & PROFINET International (PI) Haid-und-Neu-Str. 7 76131 Karlsruhe Germany Phone: +49 721 96 58 590 Fax: +49 721 96 58 589 profibus.com profinet.com Intellectual Property Rights The FieldComm Group (the Group) does not knowingly use or incorporate any information or data into the HART, F OUNDATION Fieldbus and FDI protocol standards, which the Group does not own or have lawful rights to use. Should the Group receive any notification regarding the existence of any conflicting private IPR, the Group will review the disclosure and either (A) determine there is no conflict; (B) resolve the conflict with the IPR owner; or (C) modify the standard to remove the conflicting requirement. In no case does the Group encourage implementers to infringe on any individual's or organization's IPR. Field Device Integration (FDI) – Part 3: Server RELEASED FCG TS62769-3, Ed. 1.2.0, 21 Jun 2019 Page 2 of 62 Revision Log Version Date Change Note / History / Reason 1.0.0.0 31 July 2014 First Release 1.1.0.1 31 May 2016 New document template, issues 1811, 1812, 1834 solved 1.1.0.2 13 June 2016 Issue 1861 solved, editorial changes 1.1.0.3 04 July 2016 Issue 1865 solved 1.1.0.4 19 Dec 2016 New document template 1.1.0.5 24 Feb 2017 New cover page and trademark information 1.1.0.6 20 Mar 2017 Correction of formatting in ch. 5.6.6 1.1.0.7 26 July 2017 Modified Figure 7 “EDDL:BusinessLogic” (Bugzilla 2364); modified 5.7.3 (Bugzilla 2363); modified 5.8.3 (Bugzilla 2365) 1.1.0.7 26 July 2017 Editorial Changes (broken cross-references) 1.2.0.2 10 Apr 2018 Ensured consistency on behavior on invalid digital signature (Bugzilla 2324) in sect. 4. Editorial Changes 1.2.0.3 15 Oct 2018 Editorial changes for balloting 1.2.0.4 12 Dec 2018 Editorial changes 1.2.0.5 21 June 2019 Editorial changes Field Device Integration (FDI) – Part 3: Server RELEASED FCG TS62769-3 , Ed. 1.2.0, 21 Jun 2019 Page 3 of 62 TABLE OF CONTENTS 1 Scope ........................................................................................................................................................... 7 2 Normative references .................................................................................................................................. 7 3 Terms, definitions, abbreviated terms and acronyms ................................................................................... 8 3.1 Terms and definitions .................................................................................................................... 8 3.2 Abbreviated terms and acronyms .................................................................................................. 8 4 Overview ..................................................................................................................................................... 8 5 Information Model ....................................................................................................................................... 9 5.1 General ......................................................................................................................................... 9 5.2 Online/Offline ............................................................................................................................... 9 Overview .................................................................................................................... 9 Transfer to device..................................................................................................... 10 Transfer from device ................................................................................................ 10 5.3 Access privileges ......................................................................................................................... 10 5.4 Private Parameters ...................................................................................................................... 10 5.5 Locking ........................................................................................................................................ 11 5.6 EditContext ................................................................................................................................. 12 Concept and usage model ......................................................................................... 12 Services .................................................................................................................... 13 NodeIds .................................................................................................................... 14 Reading .................................................................................................................... 14 Writing ..................................................................................................................... 14 Writing dominant and dependent Variables .............................................................. 14 Actions (EDD METHODS) ........................................................................................... 16 UIDs ......................................................................................................................... 17 Synchronization ........................................................................................................ 17 5.7 Reading ....................................................................................................................................... 17 General .................................................................................................................... 17 Reading offline variables .......................................................................................... 18 Reading online variables ........................................................................................... 18 5.8 Writing ........................................................................................................................................ 19 General .................................................................................................................... 19 Write offline variables .............................................................................................. 20 Writing online variables ............................................................................................ 21 Writing to an EditContext ......................................................................................... 23 5.9 Subscription ................................................................................................................................ 24 General .................................................................................................................... 24 Subscription of offline variables ............................................................................... 24 Subscription of online variables ................................................................................ 25 5.10 Device topology .......................................................................................................................... 27 General .................................................................................................................... 27 Field Device Integration (FDI) – Part 3: Server RELEASED FCG TS62769-3, Ed. 1.2.0, 21 Jun 2019 Page 4 of 62 Connection Points .................................................................................................... 27 Topology management ............................................................................................. 28 5.10.3.1 General ................................................................................................................ 28 5.10.3.2 Add Device to Network ......................................................................................... 28 5.10.3.3 Remove Device from Network .............................................................................. 30 Topology scanning .................................................................................................... 31 Use of SCAN function ................................................................................................ 32 Validation of defined topology ................................................................................. 32 5.11 User Interface Elements .............................................................................................................. 33 User Interface Descriptions ...................................................................................... 33 User Interface Plug-ins ............................................................................................. 34 5.12 Actions ........................................................................................................................................ 34 FDI Server – FDI Client interaction ............................................................................ 34 Action state machine ................................................................................................ 38 5.12.2.1 States ................................................................................................................... 38 5.12.2.2 State transitions ................................................................................................... 39 Actions Proxies ......................................................................................................... 39 Actions, EDD Actions and Actions Proxies ................................................................. 40 6 OPC UA services ......................................................................................................................................... 41 6.1 OPC UA profiles ........................................................................................................................... 41 6.2 Service error information ............................................................................................................ 41 Overview .................................................................................................................. 41 OPC UA services and their response ......................................................................... 42 Mappings of EDDL response codes to OPC UA service response ................................ 42 6.3 Parameter value update during write service request .................................................................. 43 6.4 Localization ................................................................................................................................. 43 6.5 Audit events ................................................................................................................................ 43 7 Communication .......................................................................................................................................... 44 7.1 Notation...................................................................................................................................... 44 7.2 General ....................................................................................................................................... 44 Concepts .................................................................................................................. 44 Terms ....................................................................................................................... 46 7.3 Communication Service processing .............................................................................................. 47 Communication Service invocation ........................................................................... 47 Analyze communication path .................................................................................... 47 Manage communication relations ............................................................................. 48 Communication service request mapping ................................................................. 48 Communication service request propagation ............................................................ 49 Communication error handling ................................................................................. 50 7.4 FDI Communication Server specific handling ............................................................................... 50 Discovery.................................................................................................................. 50 Information Model synchronization .......................................................................... 50 Field Device Integration (FDI) – Part 3: Server RELEASED FCG TS62769-3 , Ed. 1.2.0, 21 Jun 2019 Page 5 of 62 8 Parallel Execution within the FDI Server ..................................................................................................... 51 8.1 Motivation .................................................................................................................................. 51 8.2 Internal structure of the EDD interpreter .................................................................................... 51 8.3 Rules for running an EDD entity ................................................................................................... 51 Annex A (informative) FDI Server functional structure ...................................................................................... 53 A.1 FDI functional elements .............................................................................................................. 53 A.2 FDI Server extension ................................................................................................................... 54 Annex B (informative) Access privileges and user roles ..................................................................................... 56 B.1 User roles and usage case ........................................................................................................... 56 B.2 Private data usage ....................................................................................................................... 57 Annex C (informative) Parallel execution within the FDI Server – Examples ....................................................... 58 C.1 Simple example for a synchronous execution .............................................................................. 58 C.2 Example for a concurrent execution ............................................................................................ 58 C.3 Deadlock detection in concurrent execution ................................................................................ 61 Figure 1 – FDI architecture diagram ..................................................................................................................... 7 Figure 2 – Locking services ................................................................................................................................. 11 Figure 3 – EditContext models ........................................................................................................................... 13 Figure 6 – EditContext for EDD Methods ............................................................................................................ 16 Figure 7 – Offline variable read .......................................................................................................................... 18 Figure 8 – Online variable read .......................................................................................................................... 19 Figure 9 – Offline variable write immediate ....................................................................................................... 20 Figure 10 – Online variable write immediate ...................................................................................................... 22 Figure 11 – Write with EditContext .................................................................................................................... 23 Figure 12 – Offline variable subscription ............................................................................................................ 25 Figure 13 – Online variable subscription ............................................................................................................ 26 Figure 14 – Topology with Network objects (non-normative) ............................................................................. 27 Figure 15 – Add Device to topology .................................................................................................................... 29 Figure 16 – Remove Device from topology ......................................................................................................... 30 Figure 17 – Scan topology .................................................................................................................................. 31 Figure 18 – Action execution .............................................................................................................................. 37 Figure 19 – Action state machine ....................................................................................................................... 38 Figure 20 – System communication integration example .................................................................................... 44 Figure 21 – FDI Communication Server integration example ............................................................................... 45 Figure 22 – Gateway integration example .......................................................................................................... 46 Figure 23 – Message propagation example scenario ........................................................................................... 49 Figure A.1 – Functional components of an FDI Server ......................................................................................... 53 Figure A.2 – FDI Server extensions ..................................................................................................................... 55 Field Device Integration (FDI) – Part 3: Server RELEASED FCG TS62769-3, Ed. 1.2.0, 21 Jun 2019 Page 6 of 62 Figure B.1 – User roles and access privileges ...................................................................................................... 56 Figure C.1 – Synchronous execution of two triggers ........................................................................................... 58 Figure C.2 – Concurrent execution of two triggers (step1) .................................................................................. 59 Figure C.3 – Concurrent execution of two triggers (step 2) ................................................................................. 59 Figure C.4 – Concurrent execution of two triggers (step 3) ................................................................................. 60 Figure C.5 – Concurrent execution of two triggers (step 4) ................................................................................. 61 Figure C.6 – Concurrent execution of two triggers .............................................................................................. 62 Table 1 – Action states ....................................................................................................................................... 38 Table 2 – Action state transitions ....................................................................................................................... 39 Table 3 – EDD Action types and the EDD constructs that use them ..................................................................... 40 Table 4 – OPC UA severity bits and EDDL response codes TYPE ........................................................................... 42 Field Device Integration (FDI) – Part 3: Server RELEASED FCG TS62769-3 , Ed. 1.2.0, 21 Jun 2019 Page 7 of 62 FIELD DEVICE INTEGRATION (FDI) – Part 3: Server 1 Scope This part of IEC 62769 specifies the FDI Server. The overall FDI architecture is illustrated in Figure 1. The architectural components that are within the scope of this document have been highlighted in this figure. FDI Server Information Model Management OPC UA FDI Package Device Definition Business Logic User Interface User Interface Plug-in Information Model FDI Client Device Access Services User Interface Services Platform UI Services (Drawing, Input Devices) Hosting Services User Interface Plug-in FDI Package Device Definition Business Logic User Interface Description Business Logic Processor OPC UA Services Device Object Device Object Device Object User Interface Plug-in UID Interpreter Business Logic Interface Business Logic User Interface Description Communication Server UID Data Store System Services System Communication Hardware OPC UA Client OPC UA OPC UA Services OPC UA Services UIP Services Specified by this part of this International Standard Specified by other parts of this International Standard Not specified by this International Standard Figure 1 – FDI architecture diagram 2 Normative references The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. FCG TS61804 (all parts), Function blocks (FB) for process control and Electronic Device Description Language (EDDL) Field Device Integration (FDI) – Part 3: Server RELEASED FCG TS62769-3, Ed. 1.2.0, 21 Jun 2019 Page 8 of 62 FCG TS61804-3, Function blocks (FB) for process control and Electronic Device Description Language (EDDL) – Part 3: EDDL syntax and semantics FCG TS61804-4, Function blocks (FB) for process control and Electronic Device Description Language (EDDL) – Part 4: EDD interpretation IEC 62541 (all parts), OPC unified architecture IEC 62541-4, OPC unified architecture – Part 4: Services IEC 62541-7, OPC unified architecture – Part 7: Profiles FCG TS62769-1, Field Device Integration (FDI) – Part 1: Overview FCG TS62769-2, Field Device Integration (FDI) – Part 2: FDI Client FCG TS62769-4, Field Device Integration (FDI) – Part 4: FDI Packages FCG TS62769-5, Field Device Integration (FDI) – Part 5: FDI Information Model FCG TS62769-6, Field Device Integration (FDI) – Part 6: FDI Technology Mapping FCG TS62769-7, Field Device Integration (FDI) – Part 7: Communication Devices 3 Terms, definitions, abbreviated terms and acronyms 3.1 Terms and definitions For the purposes of this document, the terms and definitions given in FCG TS62769-1 as well as the following apply. Actions Proxy internal FDI Server entity that encapsulates all the EDD Methods specified in an EDD Action definition 3.2 Abbreviated terms and acronyms For the purposes of this document, the abbreviated terms and acronyms given in FCG TS62769-1 apply. 4 Overview The structure for an FDI Server is shown in Figure 1. FDI Servers that support connectivity with third-party FDI Clients shall support OPC UA. A vendor can provide both an FDI Server and one or more FDI Clients. In this case, the FDI Clients can communicate with the FDI Server through proprietary protocols. An FDI Server communicates with devices via Native Communication (see 7.2.1) and/or Communication Devices (see FCG TS62769-7). An FDI Server provides information to FDI Clients through an Information Model (see FCG TS62769-5) as follows. • The Information Model includes information about Device Types and Device Instances. The information for a Device Instance includes offline data (engineering data), as well as online data (values from the physical device). Next >