Field Device Integration (FDI®) - Part 6-200: Technology Mapping - HTML5

IEC 62769-6-200:2023 specifies the technology mapping for the concepts described in the Field Device Integration (FDI®[1]) standard. The technology mapping focuses on implementation regarding the components FDI® Client and User Interface Plug-in (UIP) for the Runtime HTML5.
[1] FDI is a registered trademark of the non-profit organization Fieldbus Foundation, Inc. This information is given for the convenience of users of this document and does not constitute an endorsement by IEC of the trademark holder or any of its products. Compliance does not require use of the trade name. Use of the trade name requires permission of the trade name holder.

Intégration des appareils de terrain (FDI®) - Partie 6-200: Mapping de technologies - HTML5

L'IEC 62769-6-200:2023 spécifie le mapping de technologies pour les concepts décrits dans la norme d'intégration des appareils de terrain (FDI®[1], Field Device Integration). Le mapping de technologies porte essentiellement sur la mise en œuvre des composants Client FDI® et Plugiciel d'interface utilisateur (UIP, User Interface Plug-in) à l'aide de l'environnement d'exécution HTML5.
[1] FDI est une marque déposée de l’organisation à but non lucratif Fieldbus Foundation, Inc. Cette information est donnée à l'intention des utilisateurs du présent document et ne signifie nullement que l'IEC approuve le détenteur de la marque ou l'emploi de ses produits. La conformité n'exige pas l'utilisation de la marque. L'utilisation de la marque exige l'autorisation du détenteur de la marque.

General Information

Status
Published
Publication Date
13-Apr-2023
Current Stage
PPUB - Publication issued
Start Date
16-May-2023
Completion Date
14-Apr-2023
Ref Project

Relations

Buy Standard

Standard
IEC 62769-6-200:2023 - Field Device Integration (FDI®) - Part 6-200: Technology Mapping - HTML5 Released:4/14/2023
English and French language
50 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 62769-6-200
®

Edition 1.0 2023-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
®
Field Device Integration (FDI ) –
Part 6-200: Technology Mapping – HTML5

®
Intégration des appareils de terrain (FDI ) –
Partie 6-200: Mapping de technologies – HTML5

IEC 62769-6-200:2023-04(en-fr)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2023 IEC, Geneva, Switzerland

All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.


Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite ni
utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie et
les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez
les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.

IEC Secretariat Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland

About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigendum or an amendment might have been published.

IEC publications search - webstore.iec.ch/advsearchform IEC Products & Services Portal - products.iec.ch
The advanced search enables to find IEC publications by a Discover our powerful search engine and read freely all the
variety of criteria (reference number, text, technical publications previews. With a subscription you will always have
committee, …). It also gives information on projects, replaced access to up to date content tailored to your needs.
and withdrawn publications.

Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
The world's leading online dictionary on electrotechnology,
Stay up to date on all new IEC publications. Just Published
containing more than 22 300 terminological entries in English
details all new publications released. Available online and once
and French, with equivalent terms in 19 additional languages.
a month by email.
Also known as the International Electrotechnical Vocabulary

(IEV) online.
IEC Customer Service Centre - webstore.iec.ch/csc
If you wish to give us your feedback on this publication or need
further assistance, please contact the Customer Service
Centre: sales@iec.ch.


A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des
Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.

A propos des publications IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.

Recherche de publications IEC - Découvrez notre puissant moteur de recherche et consultez
webstore.iec.ch/advsearchform gratuitement tous les aperçus des publications. Avec un
La recherche avancée permet de trouver des publications IEC abonnement, vous aurez toujours accès à un contenu à jour
en utilisant différents critères (numéro de référence, texte, adapté à vos besoins.
comité d’études, …). Elle donne aussi des informations sur les
projets et les publications remplacées ou retirées. Electropedia - www.electropedia.org

Le premier dictionnaire d'électrotechnologie en ligne au monde,
IEC Just Published - webstore.iec.ch/justpublished
avec plus de 22 300 articles terminologiques en anglais et en
Restez informé sur les nouvelles publications IEC. Just
français, ainsi que les termes équivalents dans 19 langues
Published détaille les nouvelles publications parues.
additionnelles. Egalement appelé Vocabulaire
Disponible en ligne et une fois par mois par email.
Electrotechnique International (IEV) en ligne.


Service Clients - webstore.iec.ch/csc
Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.
IEC Products & Services Portal - products.iec.ch

---------------------- Page: 2 ----------------------
IEC 62769-6-200

®


Edition 1.0 2023-04




INTERNATIONAL



STANDARD




NORME


INTERNATIONALE
colour

inside









®
Field Device Integration (FDI ) –

Part 6-200: Technology Mapping – HTML5


®

Intégration des appareils de terrain (FDI ) –

Partie 6-200: Mapping de technologies – HTML5
















INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE


INTERNATIONALE




ICS 25.040.40; 35.100.05 ISBN 978-2-8322-6820-9




Warning! Make sure that you obtained this publication from an authorized distributor.

Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.

® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale

---------------------- Page: 3 ----------------------
– 2 – IEC 62769-6-200:2023 © IEC 2023
CONTENTS
FOREWORD . 4
1 Scope . 6
2 Normative references . 6
3 Terms, definitions, abbreviated terms, acronyms and conventions . 6
3.1 Terms and definitions . 6
3.2 Abbreviated terms and acronyms . 7
3.3 Conventions . 7
4 Technical concepts . 7
4.1 General . 7
4.1.1 Overview . 7
®
4.1.2 FDI Type Library . 7
4.2 UIP representation . 9
4.2.1 Self containment . 9
4.2.2 External libraries and supplementary files . 10
4.3 UIP compatibility rules . 10
4.3.1 Overview . 10
®
4.3.2 FDI Type Library Compatibility Strategy . 10
4.3.3 Runtime compatibility strategy . 10
4.3.4 UIP executable compatibility rules . 11
4.4 UIP Deployment . 11
4.5 UIP Life-cycle . 11
4.5.1 General . 11
4.5.2 UIP activation steps . 12
4.5.3 UIP deactivation . 13
4.5.4 General rules for UIP activation and deactivation . 13
®
4.6 Interaction between an FDI Client and a UIP . 14
4.6.1 Handling of standard UI elements . 14
4.6.2 Non-blocking service execution . 14
4.6.3 Threading . 16
4.6.4 Timeout . 17
4.6.5 Exception handling . 17
4.6.6 Type safe interfaces . 18
4.6.7 Globalization and localization . 18
4.7 Security . 19
4.7.1 General . 19
4.7.2 Access permissions . 19
5 Interface definition . 20
Bibliography . 25

®
Figure 1 – FDI Type Library structure . 8
®
Figure 2 – Relationship between FDI Type Library, host specific and UIP specific
implementation of the interfaces . 8
Figure 3 – Examples of UIP supplementary data files include javascript files, css files,

and images . 9
Figure 4 – Compatibility strategy to host UIPs built for different Runtime Versions . 11

---------------------- Page: 4 ----------------------
IEC 62769-6-200:2023 © IEC 2023 – 3 –
Figure 5 – UIP Life-cycle. 12
Figure 6 – UIP activation process . 13
®
Figure 7 – Asynchronous service execution example (FDI Client) . 15
®
Figure 8 – Cancelled asynchronous service execution example (FDI Client) . 15
Figure 9 – Asynchronous service execution example (UIP) . 16
Figure 10 – Simplified code sample to illustrate the described function implementation . 16
Figure 11 – Component interaction . 18

Table 1 – Base Property Services . 20
Table 2 – Device Model Services . 21
Table 3 – Access Control Services . 21
Table 4 – Direct Access Services . 21
Table 5 – Hosting Services . 22
Table 6 – UIP Services . 23
Table 7 – Base Data Types . 23
Table 8 – Special Types . 24
Table 9 – Parameter Types . 24

---------------------- Page: 5 ----------------------
– 4 – IEC 62769-6-200:2023 © IEC 2023
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________

®
FIELD DEVICE INTEGRATION (FDI ) –

Part 6-200: Technology Mapping – HTML5

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote international
co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and
in addition to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports,
Publicly Available Specifications (PAS) and Guides (hereafter referred to as "IEC Publication(s)"). Their
preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with
may participate in this preparatory work. International, governmental and non-governmental organizations liaising
with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for
Standardization (ISO) in accordance with conditions determined by agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence between
any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of patent
rights. IEC shall not be held responsible for identifying any or all such patent rights.
IEC c0 has been prepared by subcommittee 65E: Devices and integration in enterprise systems,
of IEC technical committee 65: Industrial-process measurement, control and automation. It is
an International Standard.
The text of this International Standard is based on the following documents:
Draft Report on voting
65E/870/CDV 65E/926/RVC

Full information on the voting for its approval can be found in the report on voting indicated in
the above table.
The language used for the development of this International Standard is English.

---------------------- Page: 6 ----------------------
IEC 62769-6-200:2023 © IEC 2023 – 5 –
This document was drafted in accordance with ISO/IEC Directives, Part 2, and developed in
accordance with ISO/IEC Directives, Part 1 and ISO/IEC Directives, IEC Supplement, available
at www.iec.ch/members_experts/refdocs. The main document types developed by IEC are
described in greater detail at www.iec.ch/publications.
A list of all parts in the IEC 62769 series, published under the general title Field device
®
integration (FDI ), can be found on the IEC website.
The committee has decided that the contents of this document will remain unchanged until the
stability date indicated on the IEC website under webstore.iec.ch in the data related to the
specific document. At this date, the document will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.

IMPORTANT – The "colour inside" logo on the cover page of this document indicates that it
contains colours which are considered to be useful for the correct understanding of its
contents. Users should therefore print this document using a colour printer.

---------------------- Page: 7 ----------------------
– 6 – IEC 62769-6-200:2023 © IEC 2023
®
FIELD DEVICE INTEGRATION (FDI ) –

Part 6-200: Technology Mapping – HTML5



1 Scope
This part of IEC 62769 specifies the technology mapping for the concepts described in the Field
®1
Device Integration (FDI ) standard. The technology mapping focuses on implementation
®
regarding the components FDI Client and User Interface Plug-in (UIP) for the Runtime HTML5.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies.
For undated references, the latest edition of the referenced document (including any
amendments) applies.
®
FCG TS10099, Field Device Integration (FDI ) – Technology Management
®
IEC 62769-1:2021, Field device integration (FDI ) – Part 1: Overview
®
IEC 62769-2:2021, Field device integration (FDI ) – Part 2: Client
® ®
IEC 62769-4, Field device integration (FDI ) – Part 4: FDI Packages
®
IEC 62769-6-100, Field Device Integration (FDI ) – Part 6-100: Technology Mapping – .NET
W3C HTML5.0, W3C Recommendation HTML5 – A vocabulary and associated APIs for HTML
and XHTML
3 Terms, definitions, abbreviated terms, acronyms and conventions
3.1 Terms and definitions
For the purposes of this document, the terms and definitions given in IEC 62769-1,
IEC 62769-6-100, as well as the following apply.
ISO and IEC maintain terminology databases for use in standardization at the following
addresses:
• IEC Electropedia: available at http://www.electropedia.org/
• ISO Online browsing platform: available at http:www.iso.org/obp
___________
1
FDI is a registered trademark of the non-profit organization Fieldbus Foundation, Inc. This information is given
for the convenience of users of this document and does not constitute an endorsement by IEC of the trademark
holder or any of its products. Compliance does not require use of the trade name. Use of the trade name requires
permission of the trade name holder.

---------------------- Page: 8 ----------------------
IEC 62769-6-200:2023 © IEC 2023 – 7 –
3.1.1
HTML5 runtime
®
functional component of the FDI Client, which executes the HTML5-based UIP. In principle, it
provides the functionality of a web browser (HTML rendering, JavaScript execution engine)
3.1.2
®
FDI Host Type Library
® ®
host specific implementation of FDI Type Library which consists of host.js and fdi.js. FDI Host
Type Library is provided by the host vendors and will be deployed together with the UIP on UIP
startup
3.2 Abbreviated terms and acronyms
For the purposes of this document, the abbreviated terms and acronyms given in IEC 62769-1
as well as the following apply.
UML Unified Modeling Language
3.3 Conventions
Figures in this document use the graphical symbols according to ISO/IEC 19505-1 (UML 2.0).
4 Technical concepts
4.1 General
4.1.1 Overview
In 4.1.2, this document describes the technology base for UIP implementation based on HTML5,
the software environment including the related implementation rules. Clause 4 follows a life-
cycle (use case) oriented approach.
Subclause 4.3.4 describes the copy deployment procedures and related implementation rules
®
for the UIP and the FDI Client. UIP instantiation and termination is described in 4.5.
®
Subclause 4.6 defines the rules about interaction between the FDI Client and the UIP. Security
®
related definitions are written in 4.7. The service interface definitions for the FDI Client and
the UIP are found in Clause 5.
®
4.1.2 FDI Type Library
The Device Access Services, the Hosting Services, and the UIP Services are modelled as
TypeScript interfaces passing TypeScript data type arguments. These interfaces and data types
®
are used for the data exchange and interaction between the UIP and the FDI Client. For
runtime error handling purposes during interface method calls TypeScript error objects are
defined.
® ®
The FDI TypeScript interfaces, data types, and exception classes are defined in a single FDI
Type Library. The file name of the interface definition shall be ‘fdi.ts’.

---------------------- Page: 9 ----------------------
– 8 – IEC 62769-6-200:2023 © IEC 2023
®
Figure 1 shows the FDI Type Library structure.

®
Figure 1 – FDI Type Library structure
NOTE 1 The composite structure diagram shows only the core interfaces that implement the interfaces defined in
IEC 62769-2.
®
The interfaces shall be implemented by the FDI Client respectively the UIP using TypeScript.
The TypeScript implementation files are transpiled to JavaScript using the feature set specified
in the edition of ECMA 262, which corresponds to the RuntimeId of the UIP variant. The edition
of ECMA 262 is unambiguously specified in the FCG TS10099 by the RuntimId of the UIP
variant.
® ®
The result of the transpilation of FDI .ts is FDI .js, which contains the function prototypes. The
® ®
transpiled FDI Type Library, i.e. FDI .js, and the host specific implementation of the interfaces,
® ®
i.e. host.js, is called FDI Host Type Library. The overall structure of FDI Type Library together
with host and UIP specific implementations of the interfaces is shown in Figure 2.

®
Figure 2 – Relationship between FDI Type Library, host specific
and UIP specific implementation of the interfaces

---------------------- Page: 10 ----------------------
IEC 62769-6-200:2023 © IEC 2023 – 9 –
®
NOTE 2 The FDI Type Library is specified by this specification and can be obtained from FieldcommGroup (see
www.fieldcommgroup.org). Host specific implementation will be provided by host vendors and the UIP specific
implementation will be part of the specific UIP variant.
®
The FDI Type Library fdi.ts respectively the fdi.js shall be versioned as per IEC 62769-1:2021,
® ®
8.1. The FDI Type Library is part of the FDI Core Technology as per IEC 62769-1:2021,
®
8.3.2.1. and therefore directly influences the FDI Technology Version. All Compatible changes
®
of the fdi.ts respectively fdi.js lead to an increase of the minor portion of the FDI Technology
®
Version. Incompatible changes lead to an increase of the major portion of the FDI Technology
Version (see IEC 62769-1:2021, 8.3.2.2).
® ®
The FDI Type Library shall be installed as part of every FDI Client installation. User Interface
®
Plug-Ins (UIP) and the FDI Client Application shall use this instance of the fdi.js. UIPs shall
® ®
not carry or deploy the FDI Type Library. The FDI Client is responsible to provide means to
allow updates of this type library over time.
® ®
The transpiled host specific implementation of the FDI Type Library, i.e. host.js, and the FDI
®
Type Library itself (fdi.js) shall be provided by the FDI Client during the load process of the
UIP. Both files shall be located in the subfolder ‘./scripts’ of the UIP installation folder. The
®
respective files of the FDI Host Type Library fdi.js and host.js shall be referenced by the UIP
explicitly. For example, this can be done with the statements

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.