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

Iec pas 62953 2015

290 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 P AS 62 53 ® P U B LI C LY AVAI LAB LE S P E C I F I C ATI ON P RE -S TAN D ARD IEC PAS 62953:201 5-04(en) I n d u s tri al com m u n i cati on n etworks – F i e l d bu s s peci fi cati on s Edition 201 5-04 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 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 I E C P AS 62 53 ® Edition 201 5-04 P U B LI C LY AVAI LAB LE S P E C I F I C ATI ON P RE -S TAN D ARD I n d u s tri al com m u n i cati on n e tworks – F i e l d bu s s pe ci fi cati on s INTERNATIONAL ELECTROTECHNICAL COMMISSION ICS 25.040.40; 35.1 00.01 ISBN 978-2-8322-2445-8 Warn i n g ! M ake su re th a t you obtai n ed th i s pu bl i cati on from an au th ori zed d i s tri bu tor ® Registered trademark of the International Electrotechnical Commission –2– I EC PAS 62953 © I EC 201 CONTENTS I ndustrial comm unication networks – Fieldbus specifications – Part 3-25: Data-link layer service definition – Type 25 elem ents I ndustrial comm unication networks – Fieldbus specifications – Part 4-25: Data-link layer protocol specification – Type 25 elements 32 Industrial communication networks – Fieldbus specifications – Part 5-25: Application layer service definition – Type 25 elem ents 94 Industrial communication networks – Fieldbus specifications – Part 6-25: Application layer protocol specification – Type 25 elements 58 CPF20 input for I EC 61 784-2: I ndustrial comm unication networks – Profiles – Part 2: Additional fieldbus profiles for real-tim e networks based on I SO/I EC 8802-3 270 I EC PAS 62953 © I EC 201 –3– I NTERN ATI ONAL ELECTROTECHNI CAL COMMI SSI ON I N D U S T RI AL C O M M U N I C AT I O N N E T WO RKS – F I E L D B U S S P E C I F I C AT I O N S AN D P RO F I L E S – AD S -N E T 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 dual 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 9) Attention is drawn to the possibility that som e of the elem ents of this I EC Publication m ay be the su bject of patent rig hts I EC shall not be held responsibl e for identifyi ng any or all such patent ri ghts A PAS is a technical specification not fulfilling the requirem ents for a standard, but made available to the public I EC PAS 62953 has been processed by subcomm ittee 65C: I ndustrial networks, of I EC technical comm ittee 65: I ndustrial-process measurement, control and automation The text of this PAS is based on the following docum ent: D ft P AS 65C/787/PAS This PAS was approved for publ ication by th e P-m em bers of the comm ittee concerned as ind icated in the foll owi ng d ocum ent R e p o rt o n vo ti n g 65C/799/RVD Following publication of this PAS, which is a pre-standard publication, the technical comm ittee or subcom mittee concerned may transform it into an I nternational Standard This PAS shall remain valid for an initial maximum period of years starting from the publication date The validity m ay be extended for a single period up to a maxim um of years, at the end of which it shall be published as another type of norm ative docum ent, or shall be withdrawn –4– I EC PAS 62953 © I EC 201 INTRODUCTION This PAS contains the ADS-net fieldbus specifications and profiles (Communication profile CP 20/1 ADS- n et/μ ΣN ETWORK -1 000, CP 20/2 ADS-net/NX) for inclusion in the I EC 61 58 series as well as I EC 61 784-2 The intention is to make this technical content available imm ediatel y, while a corresponding new work item proposal (N P) has been launched I f the N P is accepted, this contents will be included in the next editions of the I EC 61 58 series and of I EC 61 784-2 This PAS contains the relevant ADS-net (Type 25) elem ents for the DL and AL services and protocols and information with references to: – I EC 61 58-1 : 201 – I EC 61 58-2: 201 – I EC 61 784-2: 201 The present I EC PAS is structured in the same way as the I EC 61 58 series and I EC 61 784-2: – I EC PAS 62953-3-25 is intended to becom e a future I EC 61 58-3-25; – I EC PAS 62953-4-25 is intended to becom e a future I EC 61 58-4-25; – I EC PAS 62953-5-25 is intended to become a future I EC 61 58-5-25; – I EC PAS 62953-6-25 is intended to become a future I EC 61 58-6-25; – I EC PAS 62953-2 is intended to be m erged into a revised version of I EC 61 784-2:201 I EC PAS 62953 © I EC 201 –5– I N C L U D E D S U B P AR T S I ndustrial communication networks – Fieldbus specifications – Part 3-25: Data-link layer service definition – Type 25 elem ents I ndustrial communication networks – Fieldbus specifications – Part 4-25: Data-link layer protocol specification – Type 25 elem ents I ndustrial com munication networks – Fieldbus specifications – Part 5-25: Application layer service definition – Type 25 elements I ndustrial comm unication networks – Fieldbus specifications – Part 6-25: Application layer protocol specification – Type 25 elem ents CPF20 input for I EC 61 784-2: I ndustrial com munication networks – Profiles – Part 2: Additional fieldbus profiles for real-time networks based on I SO/I EC 8802-3 –6– I EC PAS 62953-3-25 © I EC 201 CONTENTS Scope 1 General Specifications Conformance Norm ative references Terms, definitions, sym bols and abbreviations Reference model terms and definitions 1 DL-address [I SO/I EC 7498-3] 1 DL-address-mapping [I SO/I EC 7498-1 ] 1 called-DL-address [I SO/I EC 7498-3] 1 calling-DL-address [I SO/I EC 7498-3] 1 centralized multi-end-point-connection [I SO/I EC 7498-1 ] 1 DL-connection [I SO/I EC 7498-1 ] 1 DL-connection-end-point [I SO/I EC 7498-1 ] 1 DL-connection-end-point-identifier [I SO/I EC 7498-1 ] 1 DL-connection-m ode transmission [I SO/I EC 7498-1 ] 1 DL-connectionless-mode transm ission [I SO/I EC 7498-1 ] 1 1 correspondent (N)-entities [I SO/I EC 7498-1 ] 1 DL-duplex-transmission [I SO/I EC 7498-1 ] 1 (N)-entity [I SO/I EC 7498-1 ] 1 DL-facility [I SO/I EC 7498-1 ] 1 flow control [I SO/I EC 7498-1 ] 1 (N)-layer [I SO/I EC 7498-1 ] 1 layer-management [I SO/I EC 7498-1 ] DL-local-view [I SO/I EC 7498-3] DL-name [I SO/I EC 7498-3] 20 nam ing-(addressing)-dom ain [I SO/I EC 7498-3] 21 peer-entities [I SO/I EC 7498-1 ] 22 primitive name [I SO/I EC 7498-3] 23 DL-protocol [I SO/I EC 7498-1 ] 24 DL-protocol-connection-identifier [I SO/I EC 7498-1 ] 25 DL-protocol-data-unit [I SO/I EC 7498-1 ] 26 DL-relay [I SO/I EC 7498-1 ] 27 reset [I SO/I EC 7498-1 ] 28 responding-DL-address [I SO/I EC 7498-3] 29 routing [I SO/I EC 7498-1 ] 30 segmenting [I SO/I EC 7498-1 ] 31 (N)-service [I SO/I EC 7498-1 ] 32 (N)-service-access-point [I SO/I EC 7498-1 ] 33 DL-service-access-point-address [I SO/I EC 7498-3] 34 DL-service-connection-identifier [I SO/I EC 7498-1 ] 35 DL-service-data-unit [I SO/I EC 7498-1 ] 36 DL-simplex-transm ission [I SO/I EC 7498-1 ] 37 DL-subsystem [I SO/I EC 7498-1 ] 38 systems-m anagem ent [I SO/I EC 7498-1 ] 39 DLS-user-data [I SO/I EC 7498-1 ] I EC PAS 62953-3-25 © I EC 201 –7– Service convention term s and definitions acceptor 2 asymm etrical service 3 confirm (prim itive); deliver (prim itive) 3 DL-confirm ed-facility 3 DL-facility 3 DL-local-view 3 DL-mandatory-facility 3 DL-non-confirmed-facility 3 DL-provider-initiated-facility 3 1 DL-provider-optional-facility 3 2 DL-service-prim itive; 3 DL-service-provider 3 DL-service-user 3 DLS-user-optional-facility 3 indication (prim itive); 3 multi-peer 3 request (primitive); 3 requestor 3 20 response (prim itive); 3 21 submit (prim itive) 3 22 sym metrical service 3 Terms and definitions 3 Sym bols and abbreviations Comm on conventions Additional Type 25 conventions DL services and concepts Overview Types of DLS General 2 Primitive of the RCL com munication and RT com munication Detailed description of the RCL comm unication service Sequence of primitives Transm it / Receive DLSDU 4 Detailed description of the RT comm unication service 21 4 Sequence of primitives 21 4 Transm it / Receive DLSDU 21 DL m anagem ent services 22 General 22 Facilities of the DLMS 22 Service of the DL-managem ent 22 Overview 22 Reset 23 3 Set value 23 Get value 23 5 RCL stop 23 RCL start 23 Node status 23 –8– I EC PAS 62953-3-25 © I EC 201 5 Event 23 Overview of interactions 23 5 Detail specification of service and interactions 24 5 Reset 24 5 Set value 25 5 Get value 26 5 RCL stop 26 5 RCL start 27 5 Event 28 Bibliograph y 30 Figure Figure Figure Figure Table Table Table Table Table Table Table Table Table Table Table Table – Relationships of DLSAPs, DLSAP-addresses and group DL-addresses – Sequence diagram of RCL com munication and RT comm unication services – Reset, Set value, and Get value services 24 – Event service 24 – Prim itives and parameters used on the RCL comm unication service – Transmit DLSDU prim itives and param eters 20 – Prim itives and parameters used on the RT communication service 21 – Transm it DLSDU prim itives and parameters 21 – Transm it DLSDU prim itives and parameters 23 – DLM_Reset primitives and param eters 24 – DLM_Set prim itives and parameters 25 – DLM_Get primitives and param eters 26 – DLM_RCL_STOP prim itives and parameters 27 – DLM_RCL_START prim itives and parameters 27 1 – DLM_RCL_START prim itives and parameters 28 – DLM_Event prim itives and parameters 29 I EC PAS 62953 © I EC 201 – 275 – P e rfo rm a n c e i n d i c a t o r s e l e c t i o n P e rfo rm a n c e i n d i c a t o r o v e rv i e w Table provides an overview of CP 20/1 perform ance indicators T a b l e – C P /1 : p e rfo rm a n c e i n d i c a t o r o v e rv i e w P e rfo rm a n c e i n d i c a t o r Ap p l i c a b l e C o n s t i n t s Deli very tim e Yes Non e Num ber of end-stations Yes Non e Basic network topol og y Yes Only rin g topology is supported Num ber of switch es between end-stati ons No - Throug hput RTE Yes Non e Non -RTE ban dwi dth Yes - Tim e synchronization accuracy No - Non -tim e-based synchroni zati on accuracy No - Red un dancy recovery tim e Yes Non e P e rfo rm a n c e i n d i c a t o r d e p e n d e n c i e s D e p e n d e n c y m a t ri x Table shows the dependencies between performance indicators for CP 20/1 T a b l e – C P /1 : P e rfo rm a n c e i n d i c a t o r d e p e n d e n c y m a t ri x Depen d en t PI I n fl u e n c i n g D e l i ve ry ti m e PI N u m ber of Basi c T h ro u g h p u t N o n -RTE Re d u n d a n c y e n d -s ta ti o n s n e t w o rk RTE b a n d wi d th re c o v e r t i m e No Yes Yes No No Yes Yes No No No No No No to p o l o g y Deli very tim e Yes Num ber of end stations Yes Basic network topol og y No No Throug hput RTE Yes Yes No Non -RTE ban d wi dth No Yes No Yes Red un dancy recover tim e No No No No D e l i v e ry t i m e CP 20/1 traffic controls by using VLAN as shown below VLAN-1 : Ring control communication High VLAN-2 : C yc lic communication VLAN-3 : Control communication VLAN-4 : Information communication Low No No – 276 – I EC PAS 62953 © I EC 201 The perform ance indicator “Delivery time” is related to the VLAN priority classes as shown above The frame delivery time of each communication between an y two end-nodes depends on m ultiple factors (e g frame buffering delay) Cyclic comm unication time is calculated using formulae (1 ), (2), (3), (4), (5) and (6) M −2 N− M i =1 i =1 DT = DL S + ∑ DLCY + ∑ DL NCY + DL R + CD (1 ) DLS = SDFM + SDHD + TCN + TCI + SPD + TX (2) DLCY = TCN + TCY + TCI + SPD + TX (3) DLNCY = TCN + TCI + SPD + TX (4) DLR = TCN + TCI + SPD + TX + RDHD (5) CD = PD ⋅ CL (6) where DT DL S DL CY DL NCY DL R CD SD FM SD HD TCN TCI SPD TX T CY RD HD PD CL N M is the delivery tim e of cyclic com munication in m icroseconds (one frame/nodes sending); is the delay of sender node (sending the cyclic comm unication packet); is the delay of cyclic frame sender node; is the delay of non-cyclic frame sender node; is the delay of receiver node (receiving the cyclic comm unication packet); is the cable delay in microseconds; is the delay of sending process by firm ware (firmware waiting time, depending on the selected hardware platform and the embededded software im plementation); is the delay of sending process by hardware (depending on the selected hardware platform ); is the transmit time of ring control communication packet in m icroseconds; is the transmit tim e of control and information communication packet in microseconds; is the switch processing delay in microseconds; is the transmit tim e of target packet in m icroseconds is the transm it tim e of cyclic comm unication packet in m icroseconds; is the delay of hardware receiving process(depending on the selected hardware platform ); is the cable propagation delay (see param eter cable_delay in I EC 6241 ); is the cable length in kilom eters; is the number of nodes between sending and receiving end -nodes; is the num ber of nodes sending cyclic fram e between sending and receiving end nodes N u m ber of en d -stati on s The maxim um num ber of end stations shall be up to 28 I EC PAS 62953 © I EC 201 7.2.4.2.4 – 277 – Basic network topology The network topology supported by this profile is of a loop (ring) 7.2.4.2.5 Throughput RTE The throughput RTE is calculated according to form ula (7) TR RTE = MCRTE STRTE (7) where TRRTE is the throughput RTE; MCRTE is the common m emory capacity for RTE (cyclic communication); STRTE is the com munication cycle tim e by RTE packets 7.2.4.2.6 Non-RTE bandwidth The non-RTE bandwidth is calculated by using the Formulae (8) and (9) BWNRTE = BW − BWRTE ; (8) BWRTE = (MCRTE + FN ⋅ POH ) ⋅ STRTE ⋅ (9) where BWNRTE BW BWRTE FN POH 7.2.4.2.7 is is is is is the the the the the bandwidth used for non-RTE (control and inform ation) com munication in %; total bandwidth in %, and the 00 % is Gbps; bandwidth used for the RTE comm unication in %; number of frames in the RTE com munication; protocol overhead Redundancy recovery time CP 20/1 network (master less) is autonomously reconfigured with each node Therefore CP 20/1 network configuration is simple and fast The m aximum time to becom e fully operational again from a failure, in case of a single perm anent failure is 250 m sec 7.2.4.3 Consistent set of performance indicators Table shows the consistent set of the performance indicators for CP 20/1 The values in this table are m aximum values of delivery tim e by calculated in 7.2 2 – 278 – I EC PAS 62953 © I EC 201 Table – CP 20/1 : Consistent set of performance indicators Performance indicator Value Deli very tim e Num ber of end stati ons Throughput RTE Non-RTE ban d wi dth Redundancy recovery tim e 7.3 Constraints ,7 ms No fail ure, Total l en gth = km , 32 nodes 9, m s No fail ure, Total l en gth = 500 km , 28 nodes 32 Typical, Com m unication cycle tim e = ms 28 Max, Comm unication cycl e time = m s 6, M octets/s Data= 32 KB , 32 n od es 26, M octets/s Data= 256 KB , 28 n od es 85, % 32 n odes 77, % 28 nod es 250 m s - Profile 20/2 7.3.1 Physical layer The ph ysical layer of CP 20/2 is as specified in I SO/I EC 8802-3 7.3.2 Data link layer The data link layer of CP 20/2 is as specified in I SO/I EC 8802-3 7.3.3 Application layer 7.3.3.1 AL service selection Application Layer services are defined in I EC PAS 62953-5-25 Table shows the subclauses included in this profile Table – CP 20/2: AL service selection Clause Header Presence Constraints Scope Yes - Norm ative references Yes - Term s, definitions, sym bols an d abbrevi ations Concept Data type ASE Com m unication m odel specification Partial Yes Partial Used if needed Used if n eed ed - - Com m unication m odel Yes - ASE type S No - ASE type N Yes - AR type S No - AR type N Yes - 7.3.3.2 AL protocol selection Application Layer protocols are defined in I EC PAS 62953-6-25 Table shows the subclauses included in this profile I EC PAS 62953 © I EC 201 – 279 – Table – CP 20/2: AL protocol selection Clause Header Presence Constraints Scope Yes - Norm ative references Yes - Term s, definitions, sym bols an d abbrevi ations Partial Used if n eed ed FAL syntax description - - FALPDU type S abstract syntax No - FALPDU type N abstract syntax Yes - Data type assignm ents for type S No - 4 Data type assignm ents for type N Yes - FAL transfer syntax - - Encodin g ru les Yes - FALPDU type S el em ents encoding No - FALPDU type N elem ents encoding Yes - Structure of the FAL protocol state m achine Yes - FAL service protocol m achin e (FSPM) - - Overview Yes - FSPM type S No - FSPM type N Yes - Application relati onshi p protocol m achine (ARPM ) - - ARPM type S No - ARPM type N Yes - DLL m appi ng protocol m achine (DMPM ) - - DMPM type S No - DMPM type N Yes - 7.3.4 7.3.4.1 Performance indicator selection Performance indicator overview Table provides an overview of the CP 20/2 performance indicators Table – CP 20/2: Performance indicator overview Performance indicator Applicable Constraints Deli very tim e Yes Non e Num ber of end -stations Yes Non e Basic network topol og y Yes Non e Num ber of switches between end-stati ons Yes Non e Throug hput RTE Yes Non e Non -RTE ban d wi dth Yes Non e Tim e synchronization accuracy No - Non -tim e-based synchroni zati on accuracy No - Red un dancy recovery tim e Yes Dupl ex LANs – 280 – I EC PAS 62953 © I EC 201 P e rfo rm a n c e i n d i c a t o r d e p e n d e n c i e s D e p e n d e n c y m a t ri x Table 1 shows the dependencies between performance indicators for CP 20/2 Tabl e 1 – C P /2 : P e rfo rm a n c e i n d i c a t o r d e p e n d e n c y m a t ri x Depen d en t I n fl u e n c i n g PI PI D e l i ve ry N u m ber of Basi c N u m ber of T h ro u g h p N o n - R TE ti m e en d - n e t w o rk s wi tch e s u t RTE b a n d wi d th Re d u n d a n s ta ti o n s to p o l o g y b e twe e n re c o v e r y en d - ti m e cy s ta ti o n s Deli very tim e Yes No Yes No No No Yes No No No No No No No No No No No Yes No Num ber of end -stations No Basic network topol og y No No Num ber of switch es between end stations No Yes Yes Throug hput RTE No Yes No Yes Non -RTE ban d wi dth No Yes No Yes Yes Red un dancy recovery tim e No No No No No No No D e l i v e ry t i m e CP 20/2 cyclic communication tim e is calculated using formulae (1 0), (1 ) and (1 2) N−1 N i =1 k =1 DT = SDS + Tx + ∑ CDi + ∑ SLk + SDr CDi = PDi × CLi q SLk = SPDk + ∑ Tx j =1 _ (1 0) 11) T j+ x (1 2) where DT SD s SD r CD is the delivery time of cyclic comm unication in microseconds (one fram e/nodes sending); is the sender stack delay in m icroseconds (depending on the selected hardware platform and the embedded software implem entation); is the receiver stack delay in microseconds (depending on the selected hardware platform and the em bedded software im plementation); is the cable segm ent delay in m icroseconds; I EC PAS 62953 © I EC 201 SL N PD CL SPD q TX_j TX – 281 – is the switch latency in microseconds; is the number of switches between sending and receiving end-stations; is the cable propagation delay in nanoseconds per meter (depending on the characteristics of the selected cable); is the cable segm ent length in meters; is the switch processing delay in m icroseconds (provided by the switch vendor instead of SL); is the num ber packets in the port transmit queue in front on of this packet; is the transmit time of packet j in m icroseconds; is the transmit tim e of the target packet in microseconds 7.3.4.2.3 Number of end-stations The maximum number of end stations shall be up to 65535 7.3.4.2.4 Basic network topology The network topology supported by this profile is a hierarchical star and linear or as a combination 7.3.4.2.5 Number of switches between end-stations The maximum number of switches between end stations shall be up to 256 7.3.4.2.6 Throughput RTE The throughput RTE is calculated by using the Formula (1 3) TR RTE = MCRTE STRTE (1 3) where TRRTE MCRTE STRTE is the throughput RTE; is the comm on m emory capacity for RTE (cyclic communication); is the com munication cycle tim e by RTE packets 7.3.4.2.7 Non-RTE bandwidth The non-RTE bandwidth is calculated by using the Formulae (1 4) and (1 5) BWNRTE = BW − BWRTE ; (1 4) BWRTE = (MCRTE + FN ⋅ POH ) ⋅ STRTE ⋅ (1 5) where BWNRTE BW BWRTE FN POH is is is is is the the the the the bandwidth used for non-RTE (control and information) com munication in %; total bandwidth in %, and the 00 % is Gbps; bandwidth used for the RTE comm unication in %; number of frames in the RTE com munication; protocol overhead – 282 – 7.3.4.2.8 I EC PAS 62953 © I EC 201 Redundancy recovery time The maximum tim e to becom e full y operational again from a failure in case of a single permanent failure is m sec I n CP 20/2 autonom ous (master less) network, a sending node transmits the sam e data (message) into duplex LANs which consists of two ph ysical independent network paths between end-nodes Therefore, even if a single permanent network failure occurred, data transfer service can be continued 7.3.4.3 Consistent set of performance indicators Table shows the consistent set of the performance indicators for CP 20/2 The values in this table are m aximum values of delivery tim e by calculated in 4.2.2 Table – CP 20/2: Consistent set of performance indicators Performance indicator Deli very tim e Num ber of end stations Value Constraints 3, m s No fail ure, 024 stations 7, m s No fail ure, 20 stations 024 Com m unication cycle tim e = 00 m s, end stations are connected to on e switch 51 20 Com m unication cycle tim e = 500 m s, end stations are nected to on e switch Throughput RTE M octets/s Data: MB, Com m unication cycle tim e: 00 m s M octets/s Data: MB, Com m unication cycle tim e: 500 m s Non -RTE ban d wi dth 91 % 024 stations 98 % 20 stations Red un dancy recovery tim e ms Sender: transm itting a m essage to Duplex LANs (Du plex LANs consists of two physical i ndependent network paths between end -n od es ) I EC PAS 62953 © I EC 201 – 283 – An n e x A (informative) P e rfo rm a n c e I n d i c a to r c a l c u l a ti o n A C P F – P e rfo rm a n c e i n d i c a t o r c a l c u l a t i o n A A P ro fi l e / D e l i v e ry t i m e Using the formulae specified in 2, the m aximum value of delivery time can be calculated based on the following assumptions: – The m axim um of RCL, control, and information comm unication frame length = 522 octets; – The m aximum cyclic com munication frame length = 438 octets; – The delay of sending process by firmware ( SD ) = 50 μ s; – The delay of sending process by hardware ( SD ) = 20 μ s; – The switch processing delay ( SPD ) = μ s; – The delay of hardware receiving process ( RD ) = 30 μ s; – The cable propagation delay ( PD ) = ns/m ; – The cable length ( CL ) =1 km ; – The number of nodes between sending and receiving end-nodes ( N) = 32; – The num ber of nodes sending cyclic frame between sending and receiving end nodes ( M) = 32; FM HD HD – The transm it tim e of RCL frames ( T ) = (1 522 + 920 ) × = μs , CN 10 and the transm it tim e of the control and inform ation fram es ( T ) are same as CI – The transmit time of Cyclic fram es ( T CY , TCN ; ) = (1 438 + 920 ) × = 1 μs ; TX 10 Th e RTE com m u n icati on cycl e i s m s, an d total vol u m e of th e cycl i c d ata i s 32 KB; – No transm ission errors DT = (50 + 20 + + + + 1 ) 30 + ∑ (1 + 1 + + + 1 ) i =1 + (1 + + + 1 ) + 30 + 50 ≈ ms A RT E t h ro u g h p u t The m aximum theoretical throughput RTE is calculated based on the following assumptions: – the total of cyclic data size ( MC ) i s 32 Koctets; – the RTE comm unication cycle ( ST ) = m s RTE RTE TRRTE = MCRTE STRTE = 32 ⋅ 024 ⋅1 −3 = × octets/s – 284 – A.1 I EC PAS 62953 © I EC 201 Non-RTE bandwidth The maxim um theoretical non-RTE bandwidth is calculated based on the following assumptions: – – – – – the total of cyclic data size ( MC RTE) is 32 Koctets; all APDUs are of the sam e size, and APDU size = 344 octets (maximum size); protocol overhead ( POH) = 1 octets; the RTE com munication cycle ( STRTE) = m s; Link data rate = Gbps  BWRTE (MCRTE + FN ⋅ POH ) ⋅ =  = STRTE ⋅ 32 ⋅ 024 + 32 ⋅ 024 344 ⋅ −3 ⋅  ⋅114 ⋅  = % BWNRTE = 100 − 14 = 85 % A.1 A.1 2.1 Profile 20/2 Delivery time Using the form ulae specified in 2, the m axim um value of delivery time can be calculated based on the following assumptions: – – – – – – – – – – – – – – SD s = 50 μ s; SD r = 50 μ s; APDU size = 396 octets; Protocol overhead( POH) = 04 octets; Link data rate = Gbit/s; All cable segments are of the sam e length and of the same cable type; Cable propagation delay ( PD ) = ns/m; Cable length ( CL ) = 00 m; Switch processing delay ( SPD ) = μ s; Number of end stations = 024 Maxim um number of switches between end-stations = 256; end stations are connected to one switch No RTE packets in the transm it queue in front of this packet; No transmission errors CDi = PDi × CLi = μ s SLk = SPDk + Tx = + (1 396 + 04) × = 1 , μ s 09 n −1 n i =1 k =1 DT = SDS + Tx + ∑ CDi + ∑ SLk + SDr = 50 + + 255 × + 256 × 1 + 50 = 31 06 μs ≈ 3.1 ms A.1 2.2 RTE throughput The m aximum theoretical throughput RTE is calculated based on the following assumptions: I EC PAS 62953 © I EC 201 – 285 – – the total of cyclic data size ( MC RTE) is Moctets; – the RTE comm unication cycle ( STRTE) = 00 ms TR RTE = MCRTE STRTE A.1 2.3 = 1 00 ⋅ − = × octets/s Non-RTE bandwidth The maxim um theoretical non-RTE bandwidth is calculated based on the following assum ptions: – – – – – the total of cyclic data size ( MCRTE) is Moctets; all APDUs are of the same size, and APDU size = 396 octets (m axim um size); protocol overhead ( POH) = 04 octets; the RTE comm unication cycle ( STRTE) = 00 ms; Link data rate = Gbps  ⋅ 024 ⋅ 024 +  ( + FN ⋅ POH ) ⋅  MC RTE = = – BWRTE – BWNRTE STRTE ⋅ = 00 − = 91 % ⋅ 024 ⋅ 024 396 −3 00 ⋅ ⋅  ⋅ 04  ⋅  =9% – 286 – Bibliography No additional bibliography of the CPF 20 I EC PAS 62953 © I EC 201 I N TE RN ATI O N AL E LE CTRO TE CH N I CAL CO M M I S S I O N 3, ru e d e Va re m bé P O B ox CH -1 1 G e n e va S wi tze rl a n d Te l : + 41 F a x: + 22 91 02 1 22 91 03 00 i n fo @i e c ch www i e c ch

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

Xem thêm:

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

TÀI LIỆU LIÊN QUAN