Documentos de Académico
Documentos de Profesional
Documentos de Cultura
IEC608705102:Telegramstructure
TheLIAN98manualcanandmaynotcontainthecompleteIECdocumentation,causedbylegalposition.Onlyallknowledgethatis
essentialnecessaryfortheLIAN98softwareoperationisspecifiedinpartsinthismanual.
DetailedinformationtotheprotocolyouwillfindintheIECStandardDocumentation
<IEC608705102:Telecontrolequipmentandsystems>
(EnglishversionEN608705102:1996).
Telegramformatwithvariablelength
Thetelegramwithvariablelengthisusedforthedatatransmissionoftheuserdatabetweenthecontrollingstationandthecontrolled
stationandinthereverseddirection.
Telegramformatwithfixedlength
Thetelegramwithfixedlengthisnormallyusedforlinklayerservices.Inspecialcasesthisformatwithfixedlengthcanalsobeusedas
anacknowledgementinsteadofasinglecharacter.
http://www.mayor.de/lian98/doc.en/html/u_iec102_struct.htm 1/7
23/9/2015 LIAN98(en):ProtocolIEC608705102,Telegramstructure
Singlecharacter
Thesinglecharacterisnormallyusedinordertoconfirmdatalinkservicesanduserdata.
E5H=ACK:Positiveacknowledge
A2H=notused!
Linkcontrolfield:
Youwillfindmoreinformationtothelinkcontrolfieldinthestandarddocumentation.
<IEC6087052:Linktransmissionprocedures>
(EnglishversionEN6087052:1993).
RES/DIR Unbalancedtransmission:Reserved
Balancedtransmission:Physicaltransmissiondirection(direction)
DIR=1:Datafromcontrolling(Master)tocontrolled(Slave)station
DIR=0:Datafromcontrolled(Slave)tocontrolling(Master)station
PRM Primarymessage:primarybit(primarymessage)
0=messagefromasecondary(controlled)station.
1=messagefromaprimary(controlling)station.
FCB Primarymessage:framecountbit
Alternating bit for consecutive SEND/ CONFIRM or REQUEST/ RESPOND messages per station. The primary
station alternates the FCB bit for each new SEND/ CONFIRM or REQUEST/ RESPOND transmission service
directedtothesamesecondarystation.
Ifanexpectedreplyistimedout(missing),thenthesameSEND/CONFIRMandREQUEST/RESPONDserviceis
repeatedwiththesameframecountbit.
IncaseofaresetcommandtheFCBbitisalwayszero,anduponreceiptofthesecommandsthesecondarystation
expectsalwaysthatthefollowingprimarymessageissetwithFCV=valid(FCV=1)inordertohavetheopposite
valueofFCB(i.e.FCB=1).
FCV Primarymessage:framecountbitvalid
0=alternatingfunctionandFCBbitisinvalid
1=alternatingfunctionandFCBbitisvalid
SEND/ NO REPLY services, broadcast messages and other transmission services that tolerate the duplication or
thedeletionofinformationoutputdonotalternatetheFCBbitandindicatethisbyaclearedFCVbit.
ACD/RES Balancedtransmission:Reserved
Unbalancedtransmission:Accessdemand
Secondarymessage:Accessdemand
There are two classes of message data provided, namely class 1 and class 2. Secondary stations indicate the
primarystationwithitthatdataofclass1arereadyfortransmission.
0=noaccessdemandontransmissionofdataclass1
1=accessdemandontransmissionofdataclass1
The transmission of data class 1 is normally used for for events or for messages with hight priority. Class 2 data
transmissionisnormallyusedforcyclictransmissionorforlowpriority.
http://www.mayor.de/lian98/doc.en/html/u_iec102_struct.htm 2/7
23/9/2015 LIAN98(en):ProtocolIEC608705102,Telegramstructure
DFC Secondarymessage:dataflowcontrol
0=moremessagesareaccepted
1=furthermessagescancauseadataoverflow
Secondary ( responding ) stations indicate with this message to the initiating ( primary ) station that an immediate
successionofafurthermessagemaycauseabufferoverflow.
Functionscode(FCT):
Thefunctioncodesaredescribedinthechapter<IEC608705102:Simulation>laterinthisdocument.
Linkaddressfields:
Transmissionproceduresofthelinklayerareusingthecontrolfieldandanoptionallinkaddressfield.
Thelinkaddressisanumberforacommunicationinterfacethatisusedfromacontrollingstationfortheconnection.Itisonlyusedas
addressinthecommunicationnetworkitselfandshallnotbepartofthetotaladdressofadatapoint.
Accordingtothestandardthisparametercanconsistof0,1or2octets.0isonlyvalidforbalancedtransmission.
Typeidentification(TypeID):
ThevalueZEROisnotused.Therangeofnumbers1upto127isusedforstandarddefinitionsfromIEC608705101standard.
Therangeofnumbers128to255isprivateandnotdefinedinthestandard,butitisrecommendedthatthedataunitidentifierfields
ofprivateASDUshavethesameformatasstandardASDUs.
The following table shows the definition of Typeidentification numbers for process and system information in monitor and control
direction.
Processinformationinmonitoringdirection:
1 Singlepointinformationwithtimetag M_SP_TA_2
2 Accountingintegratedtotals,4octetseach M_IT_TA_2
3 Accountingintegratedtotals,3octetseach M_IT_TB_2
4 Accountingintegratedtotals,2octetseach M_IT_TC_2
5 Periodicalresetaccountingintegratedtotals,4octetseach M_IT_TD_2
6 Periodicalresetaccountingintegratedtotals,3octetseach M_IT_TE_2
7 Periodicalresetaccountingintegratedtotals,2octetseach M_IT_TF_2
8 Operationalintegratedtotals,4octetseach M_IT_TG_2
9 Operationalintegratedtotals,3octetseach M_IT_TH_2
10 Operationalintegratedtotals,2octetseach M_IT_TI_2
11 Periodicalresetoptionalintegratedtotals,4octetseach M_IT_TK_2
12 Periodicalresetoptionalintegratedtotals,3octetseach M_IT_TL_2
13 Periodicalresetoptionalintegratedtotals,2octetseach M_IT_TM_2
Systeminformationinmonitordirection:
70 Endifinitialization M_EI_NA_2
71 ManufacturerandproductspecificationofintegratedtotalDTE P_MP_NA_2
72 CurrentsystemtimeofintegratedtotalDTE M_TI_TA_2
Systeminformationincontroldirection:
100 Readmanufacturerandproductspecification C_RD_NA_2
http://www.mayor.de/lian98/doc.en/html/u_iec102_struct.htm 3/7
23/9/2015 LIAN98(en):ProtocolIEC608705102,Telegramstructure
101 Readrecordofsinglepointinformationwithtimetag C_SP_NA_2
The TypeID numbers 128 up to 255 in the private range are for special use and are not defined in the standard. The following
telegramsoutofthe"SpanishRedElectricaSpecification"areadditionalyimplementedinLIAN98.
128 Requestoftheelectronicsignatureassociatedwiththedata(readingintegralsabsolute) M_DS_TA_2
http://www.mayor.de/lian98/doc.en/html/u_iec102_struct.htm 4/7
23/9/2015 LIAN98(en):ProtocolIEC608705102,Telegramstructure
134 Readtariffinformation(storedvalues) C_TA_VM_2
...
...
...
Variablestructurequalifier:
TheSQbitspecifiesthemethodofaddressingofthefollowinginformationobjectsorelements.
SQ=0 Each single element or a combination of elements is addressed by the information object address. The ASDU may
consistofoneormorethanoneequalinformationobject.Thenumberofobjectsisbinarycoded(numberofobjects)
anddefinesthenumberoftheinformationobjects.
SQ=1 Asequenceofequalinformationobjects(e.g.measuredvaluesofidenticalformat)isaddressedbytheinformation
objectaddress.Theinformationobjectaddressspecifiestheassociatedaddressofthefirstinformationelementofthe
sequence. The following information elements are identified by numbers increasing continuously by + 1 from this
offset. The number of objects is binary coded ( number of elements ) and defines the number of the information
elements.IncaseofasequenceofinformationelementsonlyoneinformationobjectperASDUisallocated.
numberobjects/ =0:ASDUASDUcontainsnoinformationobject
elements >0:ASDUcontainsoneormore(number)informationobjectsorelements
Causeoftransmission(COT):
http://www.mayor.de/lian98/doc.en/html/u_iec102_struct.htm 5/7
23/9/2015 LIAN98(en):ProtocolIEC608705102,Telegramstructure
The cause of transmission directs the ASDU to a specific application task ( program ) for processing. ASDUs in control direction are
confirmedapplicationservicesandmaybemirroredinmonitordirectionwithdifferentcausesoftransmission.ThevalueZEROisnot
used.
P/N TheP/Nbitindicatesthepositiveornegativeconfirmationofanactivationrequestedbyaprimaryapplicationfunction.
InthecaseofirrelevancetheP/Nbitiszero.
T Inaddition to the cause the testbit defines ASDUs which were generated during test conditions. The test bit is used
e.g.totesttransmissionandequipmentwithoutcontrollingtheprocess.
...
1 notused
2 notused
3 spontaneous
4 initialized init
5 interrogationorinterrogated req
6 activation act
7 confirmationactivation actcon
8 deactivation deact
9 confirmationdeactivation deactcon
10 terminationactivation actterm
11 notused
12 notused
13 datalistnotavailable
14 ASDUtypenotavailable
15 Recordaddressunknown
16 ASDUaddressunknown
17 Informationobjectaddressunknown
18 Measuringperiodnotavailable
...
CommonaddressofASDU:
Octet4andoptional5ofthedataunitidentifierofthedataunitdefinetheintegratedtotalDataTerminalEquipment.Theaddressof
theintegratedtotalDTEisthe"commonaddress"associatedwithallobjects of an ASDU. According to standard this parameter can
consistof1or2octets.
Recordaddress:
Therecordaddressisusedeitherasa"recordaddressofanintegrationperiod"ora"recordaddressofasinglepointinformation".
Informationobjectaddress:
Theinformationobjectaddressistheaddressofanintegratedtotalorasinglepointinformationandconsistsofoneoctet.
Inallcasesthemaximumnumberofdifferentobjectaddressesislimitedto255.Iftheinformationobjectaddressisnotrelevant(not
used)insomeASDU's,itissettozero.
Signature:
Thesignatureisonlyprovidedforaccountingintegratedtotals(TypeID2upto7).Itisthearithmeticsummodulo256overalloctets
ofanintegratedtotalanditsassociatedidentificationfield.Thisfunctionisoptionalandmustbeparameterizedanalogously.
http://www.mayor.de/lian98/doc.en/html/u_iec102_struct.htm 6/7
23/9/2015 LIAN98(en):ProtocolIEC608705102,Telegramstructure
MAY R S oftw a re Wu e rzb u rg e r Rin g 3 9 , D 9 1 0 5 6 E rla n g e n Ma nua l LI AN 9 8
LIAN98ProtocolRouter,SimulatorandAnalyzer
Copyright2001,2006,2011byWernerMayr.AllRightsreserved.
http://www.mayor.de/lian98/doc.en/html/u_iec102_struct.htm 7/7