1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

Iec 62769 103 1 2015

72 0 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

I E C 62 69 -1 -1 ® Edition 201 5-05 I N TE RN ATI ON AL S TAN D ARD N ORM E I N TE RN ATI ON ALE F i e l d d evi ce i n teg rati on (F D I ) – P art -1 : P rofi l es – P ROF I B U S I n té g rati on d es appare i l s d e terrai n (F D I ) – IEC 62769-1 03-1 :201 5-05(en-fr) P arti e -1 : P rofi l s – P ROF I B U S colour i n sid e T H I S P U B L I C AT I O N I S C O P YRI G H T P RO T E C T E D C o p yri g h t © I E C , G e n e v a , S wi tz e rl a n d 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 I EC copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or your local I EC 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 Central Office 3, rue de Varembé CH-1 21 Geneva 20 Switzerland Tel.: +41 22 91 02 1 Fax: +41 22 91 03 00 info@iec.ch www.iec.ch Ab ou t th e I E C The I nternational Electrotechnical Commission (I EC) is the leading global organization that prepares and publishes I nternational Standards for all electrical, electronic and related technologies Ab o u t I E C p u b l i ca ti o n s The technical content of IEC publications is kept under constant review by the IEC Please make sure that you have the latest edition, a corrigenda or an amendment might have been published I E C Catal og u e - webstore i ec ch /catal og u e The stand-alone application for consulting the entire bibliographical information on IEC International Standards, Technical Specifications, Technical Reports and other documents Available for PC, Mac OS, Android Tablets and iPad I E C pu bl i cati on s s earch - www i ec ch /search pu b The advanced search enables to find IEC publications by a variety of criteria (reference number, text, technical committee,…) It also gives information on projects, replaced and withdrawn publications E l ectroped i a - www el ectroped i a org The world's leading online dictionary of electronic and electrical terms containing more than 30 000 terms and definitions in English and French, with equivalent terms in additional languages Also known as the International Electrotechnical Vocabulary (IEV) online I E C G l os sary - s td i ec ch /g l oss ary More than 60 000 electrotechnical terminology entries in English and French extracted from the Terms and Definitions clause of IEC publications issued since 2002 Some entries have been collected from earlier publications of IEC TC 37, 77, 86 and CISPR I E C J u st Pu bl i s h ed - webstore i ec ch /j u stpu bl i sh ed Stay up to date on all new IEC publications Just Published details all new publications released Available online and also once a month by email I E C C u stom er S ervi ce C en tre - webstore i ec ch /csc If you wish to give us your feedback on this publication or need further assistance, please contact the Customer Service Centre: csc@iec.ch A propos d e l 'I E C La Commission Electrotechnique I nternationale (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 d es pu bl i cati on s I E C 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é Catal og u e I E C - webstore i ec ch /catal og u e Application autonome pour consulter tous les renseignements bibliographiques sur les Normes internationales, Spécifications techniques, Rapports techniques et autres documents de l'IEC Disponible pour PC, Mac OS, tablettes Android et iPad Rech erch e d e pu bl i cati on s I E C - www i ec ch /search pu b La recherche avancée permet de trouver des publications IEC en utilisant différents critères (numéro de référence, texte, comité d’études,…) Elle donne aussi des informations sur les projets et les publications remplacées ou retirées E l ectroped i a - www el ectroped i a org Le premier dictionnaire en ligne de termes électroniques et électriques Il contient plus de 30 000 termes et dộfinitions en anglais et en franỗais, ainsi que les termes équivalents dans langues additionnelles Egalement appelé Vocabulaire Electrotechnique International (IEV) en ligne G l oss re I E C - s td i ec ch /g l ossary Plus de 60 000 entrộes terminologiques ộlectrotechniques, en anglais et en franỗais, extraites des articles Termes et Définitions des publications IEC parues depuis 2002 Plus certaines entrées antérieures extraites des publications des CE 37, 77, 86 et CISPR de l'IEC I E C J u st Pu bl i s h ed - webstore i ec ch /j u stpu bl i s h ed Restez informé sur les nouvelles publications IEC Just Published détaille les nouvelles publications parues Disponible en ligne et aussi une fois par mois par email S ervi ce Cl i en ts - webstore i ec ch /csc Si vous désirez nous donner des commentaires sur cette publication ou si vous avez des questions contactez-nous: csc@iec.ch I E C 62 69 -1 -1 ® Edition 201 5-05 I N TE RN ATI ON AL S TAN D ARD N ORM E I N TE RN ATI ON ALE colour i n sid e F i e l d d evi ce i n teg rati on (F D I ) – P art -1 : P rofi l es – P ROF I B U S I n té g rati on d e s apparei l s d e terrai n (F D I ) – P arti e -1 : P rofi l s – P ROF I B U S INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE ICS 25.040.40; 35.1 00 ISBN 978-2-8322-2623-0 Warn i n g ! M ake s u re th at you obtai n ed th i s pu bl i ca ti on from an au th ori zed d i s tri bu tor Atten ti on ! Veu i l l ez vou s ass u rer q u e vou s avez obten u cette pu bl i cati on vi a u n d i stri b u teu r ag ré é ® Registered trademark of the International Electrotechnical Commission –2– I EC 62769-1 03-1 : 201 © I EC 201 CONTENTS FOREWORD I NTRODUCTI ON Scope Norm ative references Terms, definitions, abbreviated term s and acron ym s Terms and definitions Abbreviated terms and acron yms Conventions EDDL syntax XML syntax Capitalizations Profile for PROFI BUS General Catalog profile Protocol support file 2 CommunicationProfile definition Profile device Protocol version information Associating a Package with a device 1 Device type identification m apping 1 Device type revision mapping I nform ation Model m apping ProtocolType definition DeviceType m apping FunctionalGroup identification definition 5 Topolog y elements 5 ConnectionPoint definition 5 Communication Device definition 5 Communication service provider definition 5 Network definition Methods Methods for FDI Com m unication Servers Methods for Gateways 21 Annex A (normative) Topology Scan result schem a 28 A General 28 A Network 28 A ProfibusN etworkT 28 A ProfibusConnectionPointT 28 A ProfibusI dentificationT 29 A ProfibusAddressT 30 Annex B (normative) Transfer service param eters 31 B General 31 B sendData 31 B xsreceiveData 31 B xsTransferSendDataT 31 I EC 62769-1 03-1 : 201 © I EC 201 –3– B TransferResultDataT 32 B OperationT 32 Bibliograph y 33 Figure – Version mapping problem Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table – ProtocolSupportFile for FDI Device Packages – ProtocolSupportFile for FDI Com munication Packages – PROFI BU S Comm unicationProfile definition schema – Catalog values for profile devices – Version mapping examples 1 – Device identification information m apping – Protocol type Profibus_DP – Protocol type Profibus_PA – DeviceType property m apping – PROFI BU S Device Types identification attributes 1 – ConnectionPoint type for Profibus_DP – ConnectionPoint type for Profibus_PA – Method Connect argum ents – Method Disconnect argum ents – Method Transfer argum ents 20 – Method SetAddress argum ents 21 – Connect service arguments 22 – Method Transfer argum ents 25 – Method SetAddress argum ents 26 A – Elements of ProfibusN etworkT 28 A – Attributes of ProfibusConnectionPointT 29 A – Elements of ProfibusConnectionPointT 29 A – Attributes of ProfibusI dentificationT 30 B – Attributes of TransferSendDataT 32 B – Attributes of TransferResultDataT 32 –4– I EC 62769-1 03-1 : 201 © I EC 201 INTERNATI ONAL ELECTROTECHNI CAL COMMISSI ON F I E L D D E VI C E I N T E G R AT I O N P a rt -1 : (FDI ) – P ro fi l e s – P RO F I B U S FOREWORD ) The I nternati on al Electrotechni cal Comm ission (I EC) is a worl d wid e organization for stan dardization com prisin g all n ation al el ectrotechnical comm ittees (I EC National Comm ittees) The object of I EC is to prom ote internati onal co-operation on all q uestions concerni ng stand ardi zati on in the el ectrical an d electronic fi elds To this en d and in additi on to other acti vities, I EC pu blish es I nternational Stan dards, Techn ical Specificati ons, Technical Reports, Publicl y Avail abl e Specificati ons (PAS) an d Gu ides (h ereafter referred to as “I EC Publication(s)”) Th ei r preparation is entrusted to tech nical comm ittees; any I EC N ational Comm ittee interested in the subj ect dealt with m ay partici pate in this preparatory work I nternational, governm ental an d n on governm ental organ izations l iaising with th e I EC also participate i n this preparation I EC collaborates closel y with the I ntern ational Organi zation for Stand ardization (I SO) in accordance with ditions determ ined by agreem ent between th e two organi zati ons 2) The form al decisions or ag reem ents of I EC on tech nical m atters express, as n early as possible, an i nternati onal consensus of opi nion on the rel evant subjects since each technical com m ittee has representati on from all interested I EC N ational Com m ittees 3) I EC Publications have the form of recom m endations for intern ational use an d are accepted by I EC National Com m ittees in that sense While all reasonable efforts are m ade to ensure that the tech nical content of I EC Publications is accu rate, I EC cann ot be h eld responsi ble for th e way in which th ey are used or for an y m isinterpretation by an y en d u ser 4) I n order to prom ote intern ational u niform ity, I EC National Com m ittees und ertake to apply I EC Publications transparentl y to the m axim um extent possible i n their national an d regi on al publicati ons Any d ivergence between an y I EC Publication and the correspondi ng national or regi on al publicati on sh all be clearl y in dicated in the latter 5) I EC itself d oes n ot provi de an y attestation of conform ity I n depend ent certificati on bodies provi de conform ity assessm ent services and, in som e areas, access to I EC m arks of conform ity I EC is not responsi ble for an y services carri ed out by ind ependent certification bodi es 6) All users shou ld ensure that th ey have the l atest editi on of thi s publicati on 7) No liability shall attach to I EC or its directors, em ployees, servants or ag ents inclu din g in divi du al experts an d m em bers of its technical com m ittees and I EC Nati on al Com m ittees for any person al i njury, property d am age or other dam age of any nature whatsoever, wheth er di rect or indirect, or for costs (includ i ng leg al fees) and expenses arisi ng out of the publ ication, use of, or relian ce upon, this I EC Publicati on or any other I EC Publications 8) Attention is drawn to th e N orm ative references cited in th is publ ication Use of the referenced publ ications is indispensable for the correct applicati on of this publication I nternational Standard I EC 62769-1 03-1 has been prepared by subcom mittee 65E: Devices and integration in enterprise systems, of I EC technical com mittee 65: I ndustrial-process measurem ent, control and autom ation The text of this standard is based on the following docum ents: CDV Report on votin g 65E/354/CDV 65E/41 7/RVC Full information on the voting for the approval of this standard can be found in the report on voting indicated in the above table This publication has been drafted in accordance with the I SO/I EC Directives, Part A list of all parts in the I EC 62769 series, published under the general title Field Device Integration (FDI) , can be found on the I EC website I EC 62769-1 03-1 : 201 © I EC 201 –5– The comm ittee has decided that the contents of this publication will remain unchanged until the stability date indicated on the I EC website under "http: //webstore iec.ch" in the data related to the specific publication At this date, the publication will be • • • • reconfirmed, withdrawn, replaced by a revised edition, or am ended I M P O R T AN T – T h e ' c o l o u r i n s i d e ' th at it co n tai n s u n d e rs t a n d i n g c o l o u r p ri n t e r of c o l o u rs i ts wh i c h c o n te n ts l og o a re U s e rs on th e co ve r p a g e o f th i s c o n s i d e re d sh ou l d to t h e re fo re be p u b l i c ati o n u s e fu l p ri n t th i s fo r i n d i c ate s th e d o cu m en t c o rre c t u sin g a –6– I EC 62769-1 03-1 : 201 © I EC 201 INTRODUCTION The I nternational Electrotechnical Comm ission (I EC) draws attention to the fact that it is claimed that compliance with this docum ent may involve the use of patents concerning a) m ethod for the suppl ying and installation of device-specific functionalities, see Patent Famil y DE1 0357276; b) m ethod and device for accessing a functional module of autom ation system , see Patent Famil y EP21 8241 8; c) m ethods and apparatus to reduce mem ory requirem ents for process control system software applications, see Patent Family US201 32321 86; d) extensible device object model, see Patent Famil y U S1 2/893, 680 I EC takes no position concerning the evidence, validity and scope of this patent ri ght The holders of these patent rights have assured the I EC that he/she is willing to negotiate licences either free of charge or under reasonable and non-discrim inatory terms and conditions with applicants throughout the world I n this respect, the statement of the holder of this patent right is registered with I EC I nform ation m ay be obtained from: a) ABB Research Ltd Claes Rytoft Affolterstrasse Zurich, 8050 Switzerland b) Phoenix Contact GmbH & Co KG I ntellectual Property, Licenses & Standards Flachsm arktstrasse 8, 32825 Blom berg German y c) Fisher Controls I nternational LLC John Dilger, Em erson Process Managem ent LLLP 301 S st Avenue, Marshaltown, I owa 501 58 USA d) Rockwell Automation Technologies, I nc Allen-Bradley Drive Mayfield Heights, Ohio 441 24 USA Attention is drawn to the possibility that some of the elements of this document m ay be the subject of patent rights other than those identified above I EC shall not be held responsible for identifying an y or all such patent rights I SO (www iso org/patents) and I EC (http://patents iec.ch) maintain on-line data bases of patents relevant to their standards Users are encouraged to consult the data bases for the most up to date inform ation concerning patents I EC 62769-1 03-1 : 201 © I EC 201 –7– F I E L D D E VI C E I N T E G R AT I O N P a rt -1 : (FDI ) – P ro fi l e s – P RO F I B U S S cop e This part of I EC 62769 specifies an FDI profile of I EC 62769 for I EC 61 784-1 _CP 3/1 (PROFI BU S DP) and I EC 61 784-1 _CP3/2 (PROFI BU S PA) N o rm a t i ve re fe re n c e s The following documents, in whole or in part, are norm ativel y referenced in this document and are indispensable for its application For dated references, onl y the edition cited applies For undated references, the latest edition of the referenced docum ent (including an y amendments) applies I EC 61 784-1 , Industrial communication networks – Profiles – Part 1: Fieldbus profiles IEC 61 804 (all parts), Function blocks (FB) for process control and Electronic Device Description Language (EDDL) IEC 62541 -1 00: 201 5, OPC unified architecture – Part 100: Device Interface IEC 62769-2, Field Device Integration (FDI) – Part 2: FDI Client NOTE I EC 62769-2 is tech n ical identical to FDI -2022 I EC 62769-4, Field Device Integration (FDI) – Part 4: FDI Packages NOTE I EC 62769-4 is tech n ically i dentical to FDI -2024 I EC 62769-5, Field Device Integration (FDI) – Part 5: FDI Information Model NOTE I EC 62769-5 is tech n ically i dentical to FDI -2025 I EC 62769-7, Field Device Integration (FDI) – Part 7: FDI Communication Devices NOTE I EC 62769-7 is tech n ically i dentical to FDI -2027 PI Order No.: 22:2008, Specification for PROFIBUS – Device Description and Device Integration – Volume 1: GSD, V5 1, July 2008: GSD; available at ————————— PROFIBUS is the trade name of the non-profit consortium PROFIBUS & PROFINET International This information is given for the convenience of users of this technical report 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 –8– I EC 62769-1 03-1 : 201 © I EC 201 Terms, definitions, abbreviated terms and acronyms 3.1 Terms and definitions For the purposes of this document, the term s and definitions given in I EC 61 784-1 , IEC 61 804, I EC 62541 -1 00, I EC 62769-4, I EC 62769-5, I EC 62769-7 and PI Order No.: 22: 2008 apply 3.2 Abbreviated terms and acronyms For the purposes of this docum ent, the following abbreviations appl y: EDD EDDL GSD I&M UI P UU I D XML 4.1 Electronic Device Description Electronic Device Description Language (see I EC 61 804) General station description (see PI Order N o : 2.1 22: 2008) I dentification and maintenance function User I nterface Plug-in Universall y unique identifier (see I SO/I EC 1 578) Extensible markup language (see REC-xm l-20081 26) Conventions EDDL syntax This part of I EC 62769 specifies content for the EDD com ponent that is part of FDI Com munication Packages The specification content using EDDL syntax uses the font Co uri e r Ne w The EDDL syntax is used for m ethod signature, variable, data structure and component declarations 4.2 XM L syntax XML syntax exam ples use the font Co uri e r Ne w The XML syntax is used to describe XM L docum ent schem a EXAMPLE: < xs : s i mpl e T yp e na me = " E xamp l e T yp e " > 4.3 Capitalizations The I EC 62769 series use capitalized term s to em phasize that these terms have an FDI specific m eaning Some of these terms use an acron ym as a prefix for exam ple • • FDI Client, or FDI Server Som e of these term s are com pound term s such as: • • Comm unication Servers, or Profile Package Param eter names or attributes are concatenated to a single term , where the original terms start in this term with a capital letter such as: • • ProtocolSupportFile or ProtocolType – 56 – I EC 62769-1 03-1 : 201 © I EC 201 ME T HOD BeginConnect ( DD_S tri ng Co mmuni cat i o n Re l at i o nI d, uns i gne d c har Addre s s , uns i gne d i nt De vi ce I D uns i gne d l o ng S e rvi ce I D, uns i gne d l o ng & De l ayFo rNe xt Ca l l , l o ng & S e rvi c e E rro r) { AC CE S S ONLI NE ; DE FI NI T I ON{ < Gat e way s pe c i fi c i mp l e me nt at i on >} } ME T HOD EndConnect ( DD_S t ri ng Communi cat i o n Re l at i o nI d, uns i gne d l ong S e rvi ce I D, uns i gne d l o ng & De l ayFo rNe xt Ca l l , l o ng & S e rvi c e E rro r) { AC CE S S ONLI NE ; DE FI NI T I ON{ < Gat e way s pe c i fi c i mp l e me nt at i o n >} } ME T HOD Cancel Connect ( DD_S t ri ng Co mmuni cat i o n Re l at i o nI d, uns i gne d l o ng S e rvi ce I D, l o ng & S e r vi c e E r ro r ) { AC CE S S ONLI NE ; DE FI NI T I ON{ < Gat e way s pe c i fi c i mp l e me nt at i on >} } Le Tableau donne la description des argum ents Tableau – Arguments du service Connect Argument Description Com m unicationRelationI d La valeur d'argum ent conti ent l e nodeI d du Conn ectionPoint q ui représente l a connexi on entre un appareil et un réseau ph ysiq ue di rectem ent connecté au m atériel du Serveur d e comm unication FDI Le nodeI d perm et de trouver l a rel ation directe parent-enfant Address Le n om d'argum ent d oit correspon dre au nom d'attribut correspond ant défini pou r le Con nectionPoint qui est décrit par u n élém ent EDD correspon dant spécifié en 5 La valeu r d'arg um ent contient l'adresse réseau de l'appareil Manufactu rerI d L'argum ent doit correspond re la BaseDataVariable MAN UFACTURER_I D qui est organisée dans le Functional Group "I d entificati on" (voi r 3) ServiceI d Le cod e de transacti on d e service établit l a relati on entre l a d em ande d e service et la réponse correspondante DelayForNextCall La valeur spécifie u n dél en m s pour lim iter l e cycle d'i nvocation EndConn ect qui n e doit pas être plus rapi de q ue l a valeur spécifiée dans l a val eu r d'arg um ent ServiceError : OK/fonction d ộm arrộe de faỗon asynch ron e, le rộsultat doit être interrogé avec En dConn ect 0: OK/exécuti on term inée, nexion établie avec succès –1 : Echec de la nexion/annu lée par l'appelant –2: Echec de l'appel/I D de service inconn u –3: Echec de la nexion/apparei l introuvabl e –4: Echec de la nexion/adresse d'appareil n on val ide –5: Echec de la nexion/identification d'appareil non valid e I EC 62769-1 03-1 : 201 © I EC 201 5 – 57 – Di scon n ect Le paragraphe décrit la m ise en œuvre spécifique PROFI BU S du service Disconnect spécifié dans l'I EC 62769-7 ME T HOD Dis connect ( DD_S t ri ng Co mmuni c a t i o n Re l ati o nI d, l o ng & S e rvi c e E rro r) { AC CE S S ONLI NE ; DE FI NI T I ON{ < Gat e way s pe c i fi c i mp l e me nt at i on >} } Tous les argum ents de la m éthode Disconnect sont décrits dans le Tableau 2.4 Tran sfer Le paragraphe 6.2 décrit la m ise en œuvre spécifique PROFI BU S du service Transfer spécifié dans l'I EC 62769-7 – 58 – I EC 62769-1 03-1 : 201 © I EC 201 ME T HOD Begi nTransfer ( DD_S tri ng Co mmuni cat i o n Re l at i o nI d, DD_S T RI NG OPE RAT I ON, uns i gne d c har char S LOT , uns i gne d c har char I NDE X, DD_S t ri ng RE QUE S T , DD_S t ri ng & RE PLY, DD_S t ri ng & RE S PONS E _CODE S uns i gne d l o ng S e rvi ce I d, uns i gne d l ong & De l ayFo rNe xt Ca l l , l o ng & S e rvi c e E rro r) { AC CE S S ONLI NE ; DE FI NI T I ON{ < Gat e way s pe c i fi c i mp l e me nt at i o n >} } ME T HOD EndTransfer ( DD_S t ri ng Co mmuni cat i o n Re l at i o nI d, DD_S t ri ng & RE PLY, DD_S t ri ng & RE S PONS E _CODE S uns i gne d l o ng S e rvi ce I d, uns i gne d l o ng & De l ayFo rNe xt Ca l l , l o ng & S e r vi c e E r ro r ) { AC CE S S ONLI NE ; DE FI NI T I ON{ < Gat e way s pe c i fi c i mp l e me nt at i o n >} } ME T HOD CancelTransfer ( DD_S tri ng Co mmuni cat i o n Re l at i o nI d, DD_S t ri ng & RE PLY, DD_S t ri ng & RE S PONS E _CODE S uns i gne d l o ng S e rvi ce I d, l o ng & S e rvi c e E rro r) { AC CE S S ONLI NE ; DE FI NI T I ON{ < Gat e way s pe c i fi c i mp l e me nt at i o n >} } Le Tableau donne la description des arguments I EC 62769-1 03-1 : 201 © I EC 201 – 59 – Tableau – Arg u m en ts d e l a méth od e Tran sfer Arg u m en t Descri pti on Com m unicationRelationI d La valeur d'argum ent conti ent l e nodeI d d u ConnectionPoint représentant la connexi on entre un appareil et un réseau ph ysiq ue au sein d u Modèl e d'I nform ation OPERATI ON La valeur d'argum ent in diq ue l e sens du transfert de d on nées Les val eu rs perm ises sont "READ" et "WRI TE" SLOT Le n om d'argum ent d oit concorder avec la COM MAN D correspon dante – n om d'attri but SLOT La valeur d'argum ent doit provenir de l a valeur d'attribut de COMMAND – attri but SLOT d e la COM MAND correspond ante qui d oit être traitée I NDEX Le n om d'argum ent doit concorder avec la COM MAN D correspon dante – n om d'attri but I N DEX La valeur d 'argum ent doit provenir de l a valeur d'attribut de COMMAND – attri but I NDEX d e la COM MAN D correspon dante qui doit être traitée REQUEST Le n om d'argum ent d oit concorder avec le nom de sous-él ément REQUEST de l a COMMAND correspondante Le trai n d'octets présenté travers l'argum ent est créé partir d es définitions fou rni es par l'élém ent REQUEST de la COM MAND correspondante q ui doit être traitée REPLY Le n om d'argum ent d oit concorder avec le nom de sous-él ément REPLY d e la COMMAND correspondante Le trai n d'octets retou rné par l'argum ent s'appliq ue aux défi nitions fournies par l'él ém ent REPLY de la COMMAN D correspond ante qui doit être traitée RESPONSE_CODES Le n om d'argum ent d oit concorder avec le nom de sous-él ément RESPONSE_CODES de la COM MAN D La val eur d'arg um ent achem ine les octets de réponse d e service de comm unication spécifiq ue PROFI BUS ServiceI d Le code de transacti on d e service établit l a relati on entre l a d em ande d e service et la réponse correspon dante Del ayForNextCall La valeur spécifie u n dél en m s pour lim iter l e cycle d'i n vocation En dTransfer qui ne d oit pas être pl us rapide qu e la valeur spécifiée dans la valeu r d'arg um ent ServiceError : OK/fonction d ộm arrộe de faỗon asynch ron e, le résultat doit être interrogé avec En dTransfer 0: OK/exécuti on term inée, Recei vedData conti ent le résultat –1 : Echec du transfert/ann ulé par l 'appelant –2: Echec de l'appel/I D de service inconn u –3: Echec du transfert/aucun e relation d e comm unication existante –4: Echec du transfert/id entifi ant d e rel ation de com m unication n on valide –5: Echec du transfert/contenu sen dData non valid e –6: Echec du transfert/form at recei veData non val ide G etPu bl i sh ed Data Cette méthode n'est pas prise en charge dans PROFI BU S 2.6 SetAd d ress Le paragraphe 6.2 décrit la m ise en œuvre spécifique PROFI BU S du service SetAddress spécifié dans l'I EC 62769-7 – 60 – I EC 62769-1 03-1 : 201 © I EC 201 Begi nSetAddress ( uns i gne d c har Ol dAddre s s , uns i gne d c har Ne wAddre s s , uns i gne d l o ng S e rvi ce I d, uns i gne d l o ng & De l ayFo rNe xt Ca l l , l o ng & S e r vi c e E rro r) { AC CE S S ONLI NE ; DE FI NI T I ON{ < Gat e way s pe c i fi c i mp l e me nt at i on >} } EndSetAddress ( uns i gne d l o ng S e rvi ce I d, uns i gne d l ong & De l ayFo rNe xt Ca l l , l o ng & S e rvi c e E rro r) { AC CE S S ONLI NE ; DE FI NI T I ON{ } } Begi nSetAddress ( uns i gne d l o ng S e rvi ce I d, l o ng & S e rvi c e E rro r) { AC CE S S ONLI NE ; DE FI NI T I ON{ < Gat e way s pe c i fi c i mp l e me nt at i o n >} } Le Tableau donne la description des arguments Tabl eau – Arg u m en ts d e l a m éth od e SetAd d ress Arg u m en t Des cri pti on OldAdd ress La valeur d'argum ent conti ent l 'adresse actuell e d e l'apparei l Les valeu rs perm ises sont 26 NewAddress La valeur d'argum ent conti ent l a nouvelle ad resse d'u n appareil Les valeurs perm ises sont 25 ServiceI d Le cod e de transacti on d e service établit l a relati on entre l a d em ande d e service et la réponse correspondante DelayForNextCall La valeur spécifie u n dél en m s pour lim iter l e cycle d'i n vocation EndTransfer qui ne d oit pas être plus rapi de q ue l a valeur spécifiée dans la val eu r d'arg um ent ServiceError 1: OK/fonction d ộm arrộe d e faỗon asynch ron e, l e résultat doit être interrogé avec En dSetAdd ress 0: OK/exécuti on term inée avec succès –1 : Echec de SetAdd ress/an nul é par l'appelant –2: Echec de l'appel/I D de service inconn u –3: Echec de SetAdd ress/non initi alisé –4: Echec de SetAdd ress/non necté u n réseau –5: Echec de SetAdd ress/aucu n appareil correspond ant oldAd dress n'a été trouvé –6: Echec de SetAdd ress/erreur d 'adresse en d ou ble –7: Echec de SetAdd ress/l'apparei l n'a pas accepté la nou vel le adresse –8: Echec de SetAdd ress/oldAddress non valide (en term es de syntaxe, de type de d on nées, d e form at des donn ées, etc ) –9: Echec de SetAdd ress/newAdd ress non valid e (en term es de syntaxe, de type de d onnées, d e form at des donn ées, etc ) –1 0: Echec de SetAdd ress/im possible l'état conn ecté I EC 62769-1 03-1 : 201 © I EC 201 5 – 61 – Scan La signature de méthode spécifiée dans l'I EC 62769-7 s'applique La Logique applicative de la passerelle PROFI BU S doit créer le résultat de balayage suivant l'I EC 62769-7 Les définitions ci-après doivent être présentes dans la déclaration de COMPON ENT qui contient les définitions pour un appareil de comm unication La structure de données correspond celle qui est définie dans le schéma XML en 5.2 L'attribut SCAN_LI ST dans la déclaration de COMPON ENT doit faire référence LI ST TopologyScanResult VARI ABLE DP_Address { LABEL " Station address" ; TYPE UNSI GNED_I NTEGER( ) ; } VARI ABLE DP_DeviceI D { LABEL " Device I D" ; TYPE UNSI GNED_I NTEGER( ) ; } COLLECTI ON ScanI temType { MEMBERS { DP_ADDRESS_I D, DP_Address; DP_DEVI CE_I D, DP_DeviceI D; } } LI STTopologyScanResult { TYPE ScanI temType; CAPACI TY 6; } 2.8 Scan N ext La signature de méthode spécifiée dans l'I EC 62769-7 s'applique La Logique applicative de la passerelle PROFI BU S doit créer le résultat de balayage suivant l'I EC 62769-7 La m éthode ScanNext stocke le résultat dans des structures de données décrites pour la méthode Scan (voir 2.7) – 62 – I EC 62769-1 03-1 : 201 © I EC 201 Annexe A (normative) Schéma du résultat de balayage topologique A.1 Généralités Le schéma du résultat de balayage de topologie spécifié l'Annexe A décrit l'argument de la Méthode Scan au format spécifique PROFI BU S topologyScanResult Le contenu et la structure du document XML doivent correspondre au concept conỗu de Modốle d'I nformation pour dộcrire une topologie afin de permettre une concordance générique entre des appareils ph ysiques connectés au réseau et le Modèle d'I nformation hébergé par le Serveur FDI A.2 Network L'élém ent suivant est utilisé pour retourner le résultat de balayage correspondant au Modèle d'I nform ation décrit dans l'I EC 62769-5 Le schéma XM L pour un élément N etwork est: < xs : e l e me n t n ame =" Ne t wo rk" t ype =" PI : Pr ofi b us Ne t wo rkT " / > A.3 ProfibusNetworkT Le type d'élém ent décrit le résultat de balayage com plet pour u n seul réseau, cause de la méthode de balayage qui est fournie par instance d'un "Appareil de communication" qui existe en relation biunivoque (1 : ) avec une instance de réseau Le schéma XM L pour un type ProfibusN etworkT est: < xs : co mpl e xT ype na me =" Pro fi bus Ne t wo rkT " > < xs : s e que n ce > < xs : e l e me n t n ame =" C o nne ct i o nPo i n t " t ype =" PI : Pro fi b us C o nne c t i o nPo i nt T " ma xOccurs =" un bo unde d" / > < / xs : s e que nce > < / xs : co mpl e xT yp e > Les élém ents d'un type ProfibusN etworkT sont décrits dans le Tableau A Tableau A.1 – Eléments de Profibu sN etworkT Elément Con nectionPoint A.4 Description L'élém ent ConnectionPoint tient l'adresse et l'identification de l'apparei l conn ecté au réseau qui a été d étecté au cours des opérati ons de bal ayage de bus ProfibusConnectionPointT Le schéma XM L pour un type ProfibusConnectionPointT est: < xs : s e que n ce > I EC 62769-1 03-1 : 201 © I EC 201 – 63 – < xs : e l e me n t n ame =" I de nt i fi cat i o n " t ype =" PI : Pro fi b us I de nt i fi c at i o nT " / > < / xs : s e que nce > < xs : at t ri b ut e n ame =" Addre s s " t yp e =" PI : Prof i bu s Addre s s T " us e =" re qui re d" / > < / xs : co mpl e xT yp e > Les attributs d'un type ProfibusConnectionPointT sont décrits dans le Tableau A Tabl eau A – At t ri b u t s d e P ro fi b u s C o n n e c t i o n P o i n t T At t ri b u t Address D e s c ri p t i o n La valeur d'attri but conti ent l'adresse d e l'appareil necté au réseau Les élém ents d'un type ProfibusConnectionPointT sont décrits dans le Tableau A Tabl eau A – E l é m e n t s d e P ro fi b u s C o n n e c t i o n P o i n t T El ém en t I dentificati on A D e s c ri p t i o n Les données d'él ém ent contien nent l es don nées d'identification du type d'apparei l En com paraison au Modèl e d'I nform ation (voir l 'I EC 62541 -1 00), l e Conn ectionPoi nt ne conti ent pas les don nées d'i dentificati on d u type d'appareil et ne s'y réfère pas non plus M ais pour aider l e systèm e Hôte FDI trou ver l e paquetage qui correspon d l'appareil conn ecté, ce schém a associe l'identification du type d'appareil avec le Con nectionPoint P ro fi b u s I d e n t i fi c a t i o n T Le contenu de l'élément correspond au "FunctionalGroup I dentification" Le schéma XM L pour un type ProfibusI dentificationT est: < xs : co mpl e xT ype na me =" Pro fi bus I de n t i fi cat i o nT " > < xs : at t ri b ut e n a me =" I de nt _Numbe r" t ype =" xs : un s i gne dS ho rt " us e =" re qui re d" / > < xs : at t ri b ut e n ame =" MANUFACT URE R_I D" t ype =" xs : un s i gne dS ho rt " us e =" o p t i o nal " / > < xs : at t ri b ut e n ame =" ORDE R_I D" t ype =" xs : s tr i ng" us e =" o pt i o nal " / > < xs : at t ri b ut e n ame =" S E RI AL_NUMBE R" t yp e =" xs : s t ri ng" us e =" o p t i o nal " / > < xs : at t ri b ut e n ame =" HARDWARE _RE VI S I ON" t yp e =" xs : uns i gne dS ho rt " us e =" o p t i o nal " / > < xs : at t ri b ut e n ame =" S OFT WARE _RE VI S I ON" t yp e =" xs : s t ri n g" us e =" o p t i o nal " / > < xs : at t ri b ut e n ame =" RE V_COUNT E R" t ype =" xs : uns i gn e dS ho rt " us e =" o p t i o nal " / > < xs : at t ri b ut e n ame =" PROFI LE _I D" t ype =" xs : u ns i gne dS ho rt " us e =" o p t i o nal " / > < xs : at t ri b ut e n ame =" PROFI LE _S PE C I FI C_T YPE " type =" xs : uns i gne dS ho rt " us e =" o p t i o nal " / > < xs : at t ri b ut e n ame =" I M_VE RS I ON" t ype =" xs : s t ri ng" us e =" o p t i o na l " / > < xs : at t ri b ut e n ame =" I M_S UPPORT E D" t yp e =" xs : un s i gne dS ho rt " us e =" o p t i o nal " / > Les attributs d'un type ProfibusI dentificationT sont décrits dans le Tableau A – 64 – Tabl eau A – At t ri b u t s d e P ro fi b u s I d e n t i fi c a t i o n T At t ri b u t D e s c ri p t i o n I dent_Num ber Voir Tableau MAN UFACTURER_I D Voir Tableau ORDER_I D Voir Tableau SERI AL_N UMBER Voir Tableau HARDWARE_REVI SI ON Voir Tableau SOFTWARE_REVI SI ON Voir Tableau REV_COUNTER Voir Tableau PROFI LE_I D Voir Tableau PROFI LE_SPECI FI C_TYPE Voir Tableau I M_VERSI ON Voir Tableau I M_SUPPORTED Voir Tableau A I EC 62769-1 03-1 : 201 © I EC 201 P ro fi b u s Ad d re s s T Le schéma XM L pour un type ProfibusAddressT est: < xs : re s t ri ct i o n ba s e =" xs : u ns i gne dB yt e " > < xs : mi n I nc l us i ve va l ue =" " / > < xs : maxI nc l us i ve va l ue =" " / > < / xs : re s t r i ct i o n> < / xs : s i mpl e T ype > I EC 62769-1 03-1 : 201 © I EC 201 – 65 – An nexe B (normative) Paramètres du servi ce Transfer B Général i tés Les services d'accès direct spécifiés dans l'I EC 62769-2 perm ettent au Plugiciel d'I nterface Utilisateur (UI P) d'échanger directem ent des données avec l'appareil L'échange direct des données signifie que les données échangées entre un appareil et un UI P peuvent ne pas être reflétées dans le Modèle d'I nform ation L'interface I DirectAccess définie dans l'I EC 62769-5 correspond aux services d'accès direct définis dans l'I EC 62769-2 Les fonctions BeginTransfer et EndTransfer définies par l'interface I DirectAccess ont besoin d'acheminer des informations spécifiques un protocole Les spécificités d'un protocole doivent être saisies dans un document XML B send Data L'élém ent décrit ci-après contient les données qui doivent être soum ises par l'interm édiaire de l'argum ent sendData défini par la fonction BeginTransfer de l'interface I DirectAccess Le schéma XM L pour un élément sendData est: < xs : e l e me n t n ame =" s e ndDat a " t ype =" PI : T rans fe r S e n dDa t a T " / > B xsrecei veData L'élém ent décrit ci-après contient les données qui sont retournées par l'intermédiaire de la valeur de retour définie par la fonction EndTransfer de l'interface I DirectAccess Le schéma XM L pour un ộlộment reỗu est: < xs : e l e me n t n ame =" r e ce i ve Dat a " t yp e =" P I : T r ans fe r Re s ul t Da t aT " / > B xsTransferSen dDataT I l s'agit d'un type com plexe qui définit le form at des données du param ètre de service qui doit être appliqué pour transférer l'argument SendData défini Le schém a XM L pour un type TransferSendDataT est: < xs : co mpl e xT ype na me =" T ran s fe rS e ndDat a T " > < xs : at t ri b ut e n ame =" OPE RAT I ON" t yp e =" PI : Op e t i o nT " us e =" re qui re d" / > xs < xs : at t ri b ut e n ame =" S LOT " t yp e =" xs : un s i gne dS ho rt " u s e =" r e qui r e d" / > xs < xs : at t ri b ut e n ame =" I NDE X" t ype =" xs : u n s i gn e dS ho r t " us e =" r e qui re d" / > xs < xs : at t ri b ut e n ame =" RE QUE S T " t yp e =" xs : he xB i na ry" us e =" re qui re d" / > xs < / xs : co mpl e xT ype > Les attributs d'un type TransferSendDataT sont décrits dans le Tableau B – 66 – I EC 62769-1 03-1 : 201 © I EC 201 Tableau B.1 – Attri bu ts de Tran sferSen d DataT Attri bu t Des cri pti on OPERATI ON L'attri but correspon d l'argum ent OPERATI ON d e la m éthod e Transfer SLOT L'attri but correspon d l'arg um ent SLOT d e la m éthode Transfer I NDEX L'attri but correspon d l'arg um ent I NDEX d e la m éthod e Tran sfer REQUEST L'attri but correspon d l'arg um ent REQUEST d e la m éthod e Transfer B TransferResul tDataT I l s'agit d'un type com plexe qui définit le form at des données du param ètre de service qui doit être appliqué pour transférer la valeur de retour receivedData définie < xs : at t ri b ut e n ame =" RE PLY" t ype =" xs : he xBi n ary" us e =" re qui re d" / > xs < xs : at t ri b ut e n ame =" RE S PONS E _CODE S " t ype =" xs : he xBi n ary" us e =" re qui re d" / > xs Les attributs d'un type TransferResultDataT sont décrits dans le Tableau B Tableau B – Attri bu ts de Tran sferResu l tDataT Attri bu t Des cri pti on REPLY L'attri but correspon d l'arg um ent REPLY d e la m éthod e Tran sfer RESPONSE_CODES L'attri but correspon d l'arg um ent RESPONSE_CODES d e la m éthode Transfer B Operati on T Un type simple qui définit les opérations de service possibles Le schéma XM L pour un type d'énum ération OperationT est: < xs : s i mpl e Typ e name =" Op e t i o nT " > < xs : re s t ri ct i o n ba s e =" xs : s t ri ng" > < xs : e nume rat i o n va l ue =" RE AD" / > < xs : e nume rat i o n va l ue =" WRI T E " / > < / xs : re s t ri ct i o n> < / xs : s i mpl e T ype > I EC 62769-1 03-1 : 201 © I EC 201 – 67 – Bibliographie I EC 61 804-3 3, Blocs fonctionnels (FB) pour les procédés industriels – Partie 3: Langage de description électronique de produit (EDDL) I SO/I EC 1 578 , Information technology – Open Systems Interconnection – Remote Procedure Call (RPC) (disponible en anglais seulem ent) PI Order N o : 042: 2009, PROFIBUS – Profile for Process (disponible en anglais seulem ent) Control Devices PI Order N o : 502: 2009, Profile Guidelines Part 1: Identification & Maintenance Functions (disponible en anglais seulem ent) REC-xml-20081 26, Extensible Markup Language (XML) (Fifth Edition) – W3C Recommendation 26 Novem ber 2008 (disponible en anglais seulement) _ ————————— A partre INTERNATIONAL ELECTROTECHNICAL COMMISSI ON 3, rue de Varembé PO Box 31 CH-1 21 Geneva 20 Switzerland Tel: + 41 22 91 02 1 Fax: + 41 22 91 03 00 info@iec.ch www.iec.ch

Ngày đăng: 17/04/2023, 11:49

Xem thêm:

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN