Está en la página 1de 7

23/9/2015 LIAN98(en):ProtocolIEC608705102,Telegramstructure

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

102 Readrecordofsinglepointinformationwithtimetagofaselectedtimerange C_SP_NB_2

103 ReadcurrentsystemtimeofintegratedtotalDTE C_TI_NA_2

104 Readaccountingintegratedtotalsoftheoldestintegrationperiod C_CI_NA_2

105 Readaccountingintegratedtotalsoftheoldestintegrationperiodandofaselectedrangeof C_CI_NB_2


addresses.

106 Readaccountingintegratedtotalsofaspecificpastintegrationperiod C_CI_NC_2

107 Readaccountingintegratedtotalsofaspecificpastintegrationperiodandofaselectedrange C_CI_ND_2


ofaddresses.

108 Readperiodicalresetaccountingintegratedtotalsoftheoldestintegrationperiod. C_CI_NE_2

109 Readperiodicalresetaccountingintegratedtotalsoftheoldestintegrationperiodandofa C_CI_NF_2


selectedrangeofaddresses.

110 Readaccountingintegratedtotalsofaspecificpastintegrationperiod. C_CI_NG_2

111 Readaccountingintegratedtotalsofaspecificpastintegrationperiodandofaselectedrange C_CI_NH_2


ofaddresses.

112 Readoperationalintegratedtotalsoftheoldestintegrationperiod. C_CI_NJ_2

113 Readoperationalintegratedtotalsoftheoldestintegrationperiodandofaselectedrangeof C_CI_NK_2


addresses.

114 Readoperationalintegratedtotalsofaspecificpastintegrationperiod. C_CI_NL_2

115 Readoperationalintegratedtotalsofaspecificpastintegrationperiodandofaselectedrange C_CI_NM_2


ofaddresses.

116 Readperiodicalresetoperationalintegratedtotalsoftheoldestintegrationperiod. C_CI_NN_2

117 Readperiodicalresetoperationalintegratedtotalsoftheoldestintegrationperiodandofa C_CI_NO_2


selectedrangeofaddresses.

118 Readperiodicalresetoperationalintegratedtotalsofaspecificpastintegrationperiod. C_CI_NP_2

119 Readperiodicalresetoperationalintegratedtotalsofaspecificpastintegrationperiodandofa C_CI_NQ_2


selectedrangeofaddresses.

120 Readaccountingintegratedtotalsofaspecificpastintegrationperiodofaselectedtimerange C_CI_NR_2


andofaselectedrangeofaddresses.

121 Readperiodicalresetaccountingintegratedtotalsofaspecificpastintegrationperiodofa C_CI_NS_2


selectedtimerangeandofaselectedrangeofaddresses.

122 Readoperationalintegratedtotalsofaspecificpastintegrationperiodofaselectedtimerange C_CI_NT_2


andofaselectedrangeofaddresses.

123 Readperiodicalresetoperationalintegratedtotalsofaspecificpastintegrationperiodofa C_CI_NU_2


selectedtimerangeandofaselectedrangeofaddresses.

LIAN 98 is able to process userdefined messages of non standard types up to 255, provided they have the same general
telegramstructureasIEC608705101standardtelegrams.

FurtherimplementedASDU'sintheprivaterange:

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

129 Parametersofthemeasuringpoint P_ME_NA_2

130 Electronicsignatureassociatedwiththemeasurementdata(integralpart) M_DS_TB_2

131 Dateandtimeofchangedaylightsavingstime M_CH_TA_2

132 Loadingprivatekeysignature C_PK_2

133 Readtariffinformation(currentvalues) C_TA_VC_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

135 Tariffinformation(currentvalues) M_TA_VC_2

136 Tariffinformation(storedvalues) M_TA_VM_2

137 Closeaccountingperiod C_TA_CP_2

...

139 Blockofoperationalintegratedtotals(absolutevalues) M_IB_TG_2

140 Blockofperiodicalresetoperationalintegratedtotals(incrementvalues) M_IB_TK_2

141 Readconfigurationdataofthemeterdevice C_RM_NA_2

142 Configurationdataofthemeterdevice M_RM_NA_2

143 Changeconfigurationdataofthemeterdevice C_MR_NA_2

144 Readthepowersofcurrentcontract C_PC_NA_2

145 Powersofcurrentcontractexpressedinwatts M_PC_NA_2

146 Changingthepowercontract C_MC_NA_2

147 Readingholidays C_DF_NA_2

148 Sendingholidays M_DF_NA_2

149 Changingholidays C_MF_NA_2

...

180 Requestoftheelectronicsignatureassociatedwiththedata(readingintegralsabsolute) C_DS_TA_2

181 Changedateandtime(timesynchronization) C_CS_TA_2

182 Readparametersofthemeasuringpoint C_PI_NA_2

183 Startsessionandsendaccesskey(LOGIN) C_AC_NA_2

184 Requestoftheelectronicsignatureassociatedwiththedata(readingintegralspartial) C_DS_TB_2

185 Readdateandtimeofchangedaylightsavingstime C_CH_TA_2

186 Requesttoamendthedateandtimeofchangedaylightsavingstime C_MH_TA_2

187 Finishsession(LOGOUT) C_FS_NA_2

188 ReservedforfutureversionsoftheprotocolRMCM C_MP_NA_2

189 Readablockofoperationalintegratedtotalsofatimeperiodandaselectedaddress. C_CB_NT_2

190 Readablockofperiodicalresetoperationalintegratedtotalsofatimeperiodandaselected C_CB_UN_2


address.

...

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

También podría gustarte