IEC 61158-6-28-2023.docx
IEC61158-6-28Edition1.02023-03INTERNATIONA1.STANDARDNORMEINTERNATIONA1.EImunicationnetworks-Fie1.dbusspecifications-Part6-28:App1.ication1.ayerprotoco1.specification-Type28e1.ementsReseauxdecommunicationindustrie1.s-Specificationsdesbusdeterrain-Partie6-28:Specificationduprotoco1.edeIacoucheapp1.ication-E1.ementsdetype28THISPUB1.ICATIONISCOPYRIGHTPROTECTEDCoPyright©2023IEC1Geneva,Switzer1.andAJ1.rightsreserved.UnteesO1.herWigespecified,nopartofthisPUb1.iCamaybereproducedoruti1.izedinanyformOfAanymeans,e1.ectronicormeca11<ca1.,inc1.udingpoxx>opyigandmcro1.m,WnhoSpermissioninwntngfromeitherIECofIECmemberNationa1.CommieinIhecountryoftherequester.IfyouhaveanyquestionsaboutIECcopyrighthaveanenquiryaboutOb1.aningancona1.rightStoth*sPUbtCagn.pte-ascontacttheaddressM11oryour1.oca1.IECmc11crNatKX1.a1.Conwf<xfurtherinformation.DratScfereproductionrese<v6s.Sau1.indicationcontrafe.aucunpartdeCe1.tepW1.cat1.onepeut4ereprojt1.uisesousque1.quformeqmcSOntparaucupcd,<tro11iqueoumcaw.ycomp11sIaPhOtOeOa81.tesmicrofi1.ms,sa11saccorcitoi1.doIECouduCOmWnaborv1.doHECduPaySdudcma11ckr.SiVOUSavezdosQjas1.ionssurCCPyright¢01.,IEC<xj9vous<sirczob<cnr<Jcsdro<tssupp1.6mcntaircs$urc<H1.cpub1.ication,uti1.isestesC(XXdonndeSCiaSXdSouco11taczteComitdnationa1.de11ECdev"rcpaysdoresidenceIECSccro1.anat2:412291902113.ruedeVaremMnToec.chCH-1211Geneva20w"w.iec.chSWiUMandAbouttheIECTheInternationa1.Etectrotechnica1.COfnfncSSkx)(IEC)isWe1.eadingg1.oba1.organizauothatpreparesandpub1.ishesIntcrrvitjona)Standardsfora1.1.e1.ectrica1.,e1.ectronicandrctodIochnotogics.AboutIECpub1.icationsTetechnica1.corwent01IECpub1.½at1.onsskeptunderconstantreviewbytheIEC.P1.easemakeSureta1.youhavethe1.atestedition,acon©。MrnoranamendmentmighthavebeenPUdiSodIECpub1.icationssearchwet>store.iec.ch,advsearch1ormTh©advancedsearchenab1.esto<11dECPUdiCa1.iensbyavarietyofcriteria(mittee.Ua1.sogivesformaUononprojects,rep1.acedandwthdra*npub1.icationsIECJustPub1.ished-WebstorejecxhjustpubUshedStayuptoda1.eona1.1.newIECPUd1.CaUOs.JustPuMsheddetai1.sa1.1.newpub1.icationsreteased.Avai1.ab1.eon1.ineandonceamonthWemai1.IECCustomerServiceCentrewebstore.iec.ch>cscHyouwishtog2USyourIccdtxickOathispuWicatio11<xneedIUrthMass61.a<10.p1.easecontacttheCuskxnefServiceCentre:satoskxch.IECProducts&ServesPoHaI-products4ec.chDiscoverourPcwerfU1.Searcengineandreadfree1.ya1.1.thepub½ationPreVies.Withasubscrip1.ionyouw1.1.3Mayshaveaccess>uptoda1.eco11w11ttaordtoyrneeds.E1.frctroped-WwWqIeCIroPedia.orgThewor1.ds3d11gon1.inedicbo11aryonCicctrotochno1.ogytani11gmorethan22300termnotog½a1.entriesinEngsa11dFrench,withoqurvata11trmsin19addi!kaIangU的。5A1.soknowastheIniernationa1.Etectrotechntca1.Vocabiiary(V)o11>11.Apropode11EC1.aCOErmSs>oEiectrotechniqueInternationa1.e(Ces1.Iapremiereorgan¾aonmo11daqu1.ahoreePUbwdesNormeeintecnabona1.espourtoutCequiaIraA合I,derici1.6.91.*6<ectrofque&auxIeChnaogiegaaren½es.Apropodespub1.icationsIEC1.cCOnwnUtechniquedcsPUbIjCMionSIEC。以COnSuInXnCrMrvuVcui1.kjzvousassurerquovousposs4dez1.'<ditionIap1.us伯Cerrtaucorrigendumouamencfementeutavoireipub1.Recherchedepub1.icationsIEC-webstore.iec.chadVsearch1.orm1.arcercava11cPefEmdetrouvercfespubcat*onsECCnUti1.santdi险RMScritrcs(11umfdereference,1.cc.COHi1.tdddes.1.日Iedonneaus&desin1.ormabonssufIesPrCjeIS<k?spubicabosrcmp1.acEsouretirees.IECJustPub1.ished-Websiore1Iecxh1IustpubHshedAestezInfGrrndsiresnouve1.1.esPUbICaionsECJus1.Pub1.ishedd&溯IRtesnouvdospubiica1io11sJxIrUO5OisponibteeISeMunetoisparmoparemai1.ServiceC1.ientsWCbS1.OrC.icc.Ch1.CSCSivouscirznousdo1111erdescomnieniairessurcettepub1.icationousiYOUgavezdesquestionscon(ac¾eznou:sa1.esi9c.ch.IECProducts&ServicesPocta1.produc1.s.icc.chDaOUVTeZnoirepuissantmoieurderechercheetoonsJiezgfatuitementiousteeaerusdesPuMCaHons.Avecunabo11emnt.vousaureztoupursaccesauco11tenuajourd<ap1.6avo$bcso11s.EIectropedU-www.e1.ectrope<fia.org1.epcemfd>cuonnafCrQ1.eCge1.gneaumonde,avecpkisCe22300a11cestrmnoj>q>esnang1.a»s©1efranais.ainsique1.esIefmeg6quivatensdans19Ianguesajitio11tsEga1.OTentappe<eVOCabasEtectfOtechnique1.nfnationa1.(IEVengne.IEC61158-6-28Edition1.02023-03INTERNATIONA1.STANDARDNORMEINTERNATIONA1.EImunicationnetworks-Fie1.dbusspecifications一Part6-28:App1.ication1.ayerprotoco1.specification-Type28e1.ementsR6seauxdecommunicationindustrie1.s-Specificationsdesbusdeterrain-Partie6-28:Specificationduprotoco1.edeIacoucheapp1.ication-E1.ementsdetype28INTERNATIONA1.E1.ECTROTECHNICA1.MMISSIONCOMMISSIONE1.ECTROTECHNIQUEINTERNATIONA1.EICS2580ISBN978283226621-2Warning!Makesurethatyouobtainedthispub1.icationfromanauthorizeddistributor.Attention!Veui1.1.ezvousassurerquevousavezobtenucettepub1.icationviaundistributeuragree.tfR*qcAr3o1.3>的fu!bEht*S9gvCsiescrUg8debCoFBc©CnE1.Mh:4E2”Hc<njr½<uCONTENTSFOREWORD4INTRODUCTION61 Scope71.1 Overview.71.2 Specifications71.3 Conformance82 Normativereferences83 Terms,definitions,symbo1.s,abbreviatedtermsandnve11tions93.1 TermsanddefinitionsfromotherISO,IECstandards93.1.1 TermsanddeKnitionsfromSO,EC7498-193.1.2 .2TermsanddefinitionsfromSO,EC954593.1.3 TermsanddefinitionsfromISO1IEC8824193.1.4 TermsanddefinitionsfromISQ,IEC8825793.1.5 TermsanddefinitionsfromIEC61158-5103.2 Type28fie1.dbusappication1.ayerspecificdefinitions103.3 Abbreviationsandsymbo1.s103.4 Conventions113.4.1 Genera1.11cp1113.4.2 Conventionsforc1.assdefini1.ions113.4.3 Abstractsyntaxconventions113 5Conventionsusedinstatemachines113.5. StatemachineconventionsforType28114 APDUstructure124.5. APDUheader121.1 DTUAPDU144.3 TimeservicenotificationAPDU154.4 SystemmanagementAPDU165Statemachine175.1 Pub1.isherstatemachine175.2 Subscriberstatemachine195.3 C1.ientstatemachine205.4 Serverstatemacme215.5 A1.CEstatemachine225.6 6A1.DEstatemach<w225.7 A1.MEstatemachine23Bib1.iography25Figure 1 -APDUheaderstructure12Figure 2 -APDUstructureofmu1.tip1.eDTUs14Figure 3 -TransmissionunitAPDUstructure14Figure 4 -TimeservicenotificationAPDUstructure15Figure 5 -SystemmanagementdataAPDUstructure17Figure 6 -Diagramofstatetransitionopub1.isherstatemachine18Figure 7 -Diagramofstatetransitionofsubscriberstatemachine20Figure 8 -Diagramofstat©transitionofc1.ientstatemachine21Figure 9 -Diagramoftransitionstateofserverstatemachine21Figure 10 -DiagramoftransitionstateofA1.CEstatemachine22Figure 11 -DiagramoftrarMiostateofA1.DEstatemachine23Figure 12 -Diagramofsta1.etransitiontorA1.MEstatemachine24TaWe1-Statemachinedescription(HemOntS11Tabte2-A1.servicetypef1.agencoding12TaMe3-Statetransitiontab1.eOfpub1.isherstatemachine18TabAe4-Statetransitiontab1.eofsubscriberstatemachine19TaWe5-Statetransitiontab1.eofc1.ientstatemachine20TaWe6-Statetransitiontab1.eofserverstatemachine21TaWe7-Statetransitiontab1.eofA1.CEstat©machine22Tabte8-Statetransitiontab1.eofA1.DEstatemachine23TabAe9-Statetransitiontab1.eofA1.MEstatemachine24INTERNATIONA1.E1.ECTROTECHNICA1.COMMISSIONINDUSTRIA1.COMMUNICATIONNETWORKS-FIE1.DBUSSPECIFICATIONS-Part6-28:App1.ication1.ayerprotoco1.specification-Type28e1.ementsFOREWORD11TheIrrtefnationaiEec1.roiechnica1.Commissjon(IEC)isaWoddWkfeOrgarizabonforstandardisationCOfrpcisingaMnationa1.rotech11ca1.<nmrtts(CNationa1.Co11m<t1.sTheOb用ofECstopromotei11Qemat>onacooperationona1.1.questionsconcerningstandardizationintheOteCtnca1.anddoc1.ro11ic潮ds.ToIhjSendandinaddontooterarnies.IECpuW1.ssInternationa1.Standards.Technica1.Spec<t½a>on9.Te<>ca1.Reports.PUbIiCbfAvai1.ab1.eSpociBcations(PAS)andGuides(hereafterreferredtoas1ECPWic<tio11(三),).Tcrrearatkx)mittees;anyIECHatona1.CommitteeIniefestedinthesubjectdea1.twthmayPamoPa衿nth<sprj>araxxyworkInternationa1.,governmenta1.andn0n-90vefnmniaOnJaniZatjOn61.iaisingwithteIECa1.sop>a11icipateinthisPrepafacon.IECCd1.abofatesCtoee1.ytheIrwemaitonaiOfgan1.zatkx)f<xStandardization(ISO)inaccordancewthoondnxsdtrminedbyagreementCetweentheMoorQaniZaIkX1.S2)Thekxma1.dedionsoragreements0!IEContechnica1.mattersexpress,asnear1.yasPgMiW*animanabona!consensuso1.OPin1.onontnere1.evantSUaeCtSsimitteehasrepreseniaconfroma1.i11xc5todIECNatkxia1.Convmttoes3IECPub1.icationshaveIhekxmofrecommendationsf<xinernatia1.useandareacce½dbyIECNaiionaJCommt1.8Srthatsense.Witea1.1.reasonab1.etto11saremadeto11srethatthetechnica1.n1.e11tofIECPub1.icationsisaccrae.IECcannotbehe<dresponsib1.efoetheWayinwN5theyareusedorforany(T)JsinierpfetaDonbyanyenduser.4Inordertopromotei11!9matxa1.UnHOmWjECMaOonaJCommitteesundertaketoappIECPub1.kzetkxistransparent1.y10themaximumextentposab1.einIheirnationa1.andregtona1.PUbtCatjOns.AnydvetgencebetweenanyIECPub1.cabonandtheCorrespondngnationa1.orregiona1.PUbUCaVonsha1.1.beCteartyindicatedMme1.atter.5IECitse1.fdocsnotp11>v崛anyattcsta!on<Mco11kmityIndependentCCrtibCMkxibodiesPrQVidCconformityassessmentservicesand.Insomeareas,accesstoIECmarksOrconformity.IECIsnotrespons1.bfekxanysrvcescarriedoutbyincSependentcertrf>caixbodies.61AJIUSorSshou1.densurethattheyhavethe1.atest0dik1ofthspub1.ication.7NoIiabiktysha1.1.attachtoIECoritsdireckxs.emp1.oyees,servantsOfagentsindudingindividua1.expertsandmembersmitteesandIECNabona1.Committeesforanypersona1.11ury.propertydamageort>!herdamageofanynaturevtasoeer.whetherdree!orindirect,orfarcosts(inducing1.ega1.1.eesandexpensesarisingoutorIhePUMCaUOn.useo1.orre>aceupon,theIECPub1.1.ca1.kxioranyoWfIECPubtcabons.8Attentionisdrawnk)theNocmaiwereferencescednthispuMication.UseOI1.here4ererx½dpub1.icationsIndispensaWeforth©correctappcat*onofthisPUWCat1.On9)AbonisdrawnK>Ihopossibi1.itythatsomeofthec*cmc11tsofthisIECPuWicabonmaybetheSUbjcaofpa1.entrights.IECshnotbebe<dfespor½to1.etorKfentify1.nganyora1.1.suchpatentrights.Attentionisdrawntothefactthattheuseoftheassociatedprotoco1.typeisrestrictedbyrtsinte1.tectua1.-propertyrighthoidrs.Ina1.cases,thecommitmentto1.imitedre1.easeofinte1.1.ectua1.-property-rightsmadebytheho1.dersofthoserightspermitsa1.ayerproto1.typetobeusedwithother1.ayerprotoco1.softhesametype.OfinothertypeCOmbinationSexp1.icit1.yauthorizedbyitsint1.1.ctua1.proper1.yrightho1.ders.NOTECombinationsofprotoco1.t>pesarespecifiedinIbeIEC6174-1.seriesandtheIEC61784-2secies.IEC61158-6-28hasbeenpreparedbySUbCOnwnittee65C:Iworks,ofIECtechnica1.committee65:1.ndustria-rccessmeasurement,contro1.andautomaton.ItisanInternationa1.Standard.ThetextofthisInternationa1.Standardisbasedonthefo1.1.owingdocuments:Fu1.1.informationonthetheabovetab1.e.DraftRcpo11o11Vo1.ing65G,12061'FDIS65C,123S'RVDNumberfnrHeanrv,CurrentMfAndDescriptionint11A/>nrtAnwtirvmHtfM%tAKGNe>The1.anguageusedforthedeve1.opmentofthisInternationa1.StandardisEng1.ish.Thisdocu11wntwasdraftedinaccordancewithISO.1ECDirectives,Pan2,and(JeVek)PCdinacrdancwithISQ1IECDirectives.Part1andISO1IECDirectives.IECSupp1.ement,avai1.ab1.eatvw.>c.ch''mmbrsexprts'refdccs.Themaindocumenttypesdeve1.opedbyIECar©describedingreaterdetai1.atW/isc.chPUb1.jCatiOns.A1.istofa1.1.partsoftheIEC61158series,pub1.ishedunderthegenera1.trt1.Indus1.ria/comp1.icationnetworks-Fie1.dbusspedficat>ns.canbefoundontheIECWebS4eThecom11¼11eehasdeededthatthetetsofthisdocumentwi1.1.remainunchangedunti1.thestabi1.itydateindicatedontheIECwebsiteunderwebstore.c.chinthedatare1.atedtothespciftcdocument.Atthisdate,thedocumentwi1.be rcon1irmed. withdrawn. rep1.acedbyarevisededition,or amended.INTRODUCTIONThisdocumentisoneofaseriesproducedtoIaoMatctheinterconnectionofautomationsystemcomponents.Itisre1.atedtootherstandardsintheseiasdefinedbythe,*three4ayer*fieWbusreferencemode1.describedinIEC61158-1.Theapp1.icationprotoco1.ProVadeStheappcationservicebymakinguseoftheservicesavai1.ab1.efromthedata1.inkorotherimmediate1.y1.owr1.ayer.Theprimaryamcthsdocumentistoprovideaseto1ru1.es1(xcommunicationexpressedntermsoftheprocedurestobecarriedovtbypeerapp1.icationentities(AEs)atthetimeofcommunicationTheseru1.esforcommunicationareintendedtoprovideasoundbasisfordeve1.opmentordertoserveavarietyO1.purposes: asaguideforImP1.ementerSanddesigners; toruseinthetestingandprocurementofequipment; aspartofanagreementfortheadmittanceofsystemsintotheopensystemsenvironment: asarefinementtotheUDderStandingoftime-critica1.11vnuicationswithinOSI.ThisdocumentisConCemeC,inparticu1.ar,withthecommunicationandintefwx¼ingofsensors,effectorsandotherautomationdevices.ByUSingthisdocumenttogetherwithotherstandardspositionedwthintheOS1.orfie1.dbusreferencemode1.s,otherwisempatbeSystefnScanworktogetheranycombination.Imunicationnetworks-FIE1.DBUSSPECIFICATIONS-Part6-28:App1.ication1.ayerprotoco1.specification-Type28e1.ements1 Scope1.1 OverviewTheFie1.dbusApp1.icaticxi1.ayer(FA1.)providesuserprogramsWithameanstoaccessthefie1.dbuscommunicationenvironment.Inthisrespect,theFA1.canbeconsideredasawindowbetweenrrespondi11gapp1.icationprograms.ThispartofIEC61158providescommone1.ementsforbasict<ne-<xrtica1.andnon-tme-<rtica1.messagingcommunicationsbetweenapp1.icationprogramsinanautomationenvironmentandmateria1.specifytoType281.c1.dbs.Thermtmecrticaisusedtorepresentthepresenceo1.atime-window,WI1.hinwichoneormorespecifiedactionsarerequiredtobecomp1.etedwithsomedefined1.eve1.o<certainty.Fai1.ureiocompeteSpecifksdact>onswithinthetimewindowcancause1ajceoftheapp1.icationsrequestingtheactions,Wrthattendantrisktoequipment,p1.antandPOsSiHyhuman1.ife.Thisdocumentdefinesinanabstractwaytheexterna1.1.yvisib1.ebehaviorprovidedbytheType28ofthefie1.dbusApp1.ication1.ayerintermsof: theabstractsyntaxdefiningth©app1.ication1.ayerproto1.dataunitsnveydbetweenmmunicabngappbcatientities, thetransfersyntaxdefiningtheappfccation1.ayerprotoco1.dataunitsconveyedbetweenmmunicatingBPPbCa1.iOnentities, theapp1.icationcontextstatemachinedefiningtheapp1.icationservicebehaviorvisib1.ebetweencommunicatingapp1.icationentities:and theapp1.icationre1.ationshipstatemachinesdefmigthecommunicationbehavx>rvisib1.ebetweencommunicatingapp1.icationentities.Thepurposeofthisdocumentistodefinetheprotoco1.providedto: thewire-representationoftheserviceprimitivesdefinedinIEC61158528,and theexterna1.1.yvisib1.ebehaviorassociatedwiththeirtransfer.Thisdocumentspecifiestheprotoco1.oftheType28IECfiedbusapp1.ication1.ayer,inconformancewiththeOSIBasicReferenceMOda(SQ,EC7498)andtheOS1.App1.ication1.ayerStructure(ISO.'IEC9545).1.2 SpecificationsThepncia1.objectiveofthisdocumentistospecifythesynta