70072-0156-03
01/2007
TECHNICAL NOTE
102 Protocol and IONTechnology
Thistechnicalnoteprovidessetupandconfigurationinstructionsforusing
PowerLogicIONtechnologywithavariationoftheIEC608705102protocol
(102protocol)detailedinthedocumentCommunicationProtocolBetweenSAPR
andMeteringDevices,(Rome,25052001).
The102protocoliscurrentlyavailableonselectedION7550/ION7650meters
(firmwareversion312only).
In This Document
Introduction to the 102 Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Specific Implementation of the 102 Protocol . . . . . . . . . . . . . . . . . . . . . . . . . 3
Default Information Object Address Tables . . . . . . . . . . . . . . . . . . . . . . . . . 5
IntegratedValueTable ................................................. 5
SinglepointValueTable................................................ 5
Using ION Meters with 102 Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ConfiguringtheMeterThroughtheFrontPanel ........................... 6
ConfiguringtheIONFramework........................................ 7
DataRecorder11 ...................................................... 7
DataRecorder12 ...................................................... 8
IncreasingDataResolution.............................................. 8
CommunicatingwiththeMeterUsingThirdpartySoftware ................ 9
102 Protocol Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Functionality......................................................... 10
Additional Information
IECwebsitehttp://www.iec.ch/
TriangleMicroworkswebsitehttp://www.trianglemicroworks.com/index.htm
ION7550/ION7650InstallationGuide
Electrical equipment should be
installed, operated, serviced, and
maintained only by qualified
personnel. No responsibility is
assumed by Schneider Electric for
any consequences arising out of
the use of this material.
2007 Schneider Electric.
All rights reserved.
www.powerlogic.com
CommunicationProtocolBetweenSAPRandMeteringDevices
IONReference
Introduction to the 102 Protocol
102 Protocol and ION Technology
Introduction to the 102 Protocol
The102protocolwasfirstdefinedinJune1996,andisprimarilyconcernedwith
thetransferofpowerusageinformation(IntegratedTotals)betweenamaster
stationandaslavedevice(i.e.anIONmeter).Eventorsinglepointinformation,
suchastimechangeormeterreset,canalsobereadfromthemeter.
SincetheDistributedNetworkProtocol(DNP)wasderivedfromthisprotocol,it
sharessomedefinitionswiththe102protocol.
AsinDNP,eachmeteringvalue(suchasReactiveQ1)orpoint,isassigneda
uniqueInformationObjectAddress(IOA).Thisnumberisusedbythemasterto
specifywhichmeteringpointistobereturnedbythemeter.
Additionally,eachphysicaldevicecancontainmorethanonelogicaldevice,as
specifiedbytheCommonAddress.Thuseachmeteringpointonameteris
uniquelydefinedbythecombinationofthecommonaddressandtheIOA.
NOTE
As currently implemented, each meter running the 102 protocol will contain a single logical device.
AnotherparameteristheDataLinkAddress,whichisusedtospecifyaconnection
inamultidropsystem.
The102protocolusesathreelayerstack:
Application Layer
Theapplicationlayerisprimarilyresponsiblefortheencodinganddecodingof
ApplicationServiceDataUnit(ASDU)packets,whichcontaineitherdatarequests
orresponses.Currentlytheprotocolissettounbalancedmode,meaningthat
requestscanonlyoriginatefromthemasterstation.
Link Layer
ThelinklayerisconcernedwiththesuccessfultransmissionofLinkProtocolData
Unit(LPDU)packetsbetweenthemasterandaslave.Onlythosepacketswiththe
correctdatalinkaddresswillbepassedupthestacktotheapplicationlayer.
Physical Layer
Specifiesthelowleveltransmissionstandardsusedtotransmitthebitsbetween
masterandslave.
Page 2
2007 Schneider Electric. All rights reserved.
102 Protocol and ION Technology
Specific Implementation of the 102 Protocol
Specific Implementation of the 102 Protocol
Thisspecificimplementationofthe102protocolisavariationwhichincorporates
severaldifferencesfromthestandard102protocol.
Unbalanced Mode
Underthisimplementation,slavedevicescannotinitiatecommunicationwiththe
master;theymustwaituntilarequestissentfromthemaster.
Extended Command Set
Thecommandsethasbeenextendedtoinclude:
blockmovesofITinformation
apasswordtoopensessions
readingofselectedparameters
Time
Allrecordrequestsaresentandreceivedinlocaltime.Alltimesynchingviathe
102protocolmustbedoneinlocaltime.SettheTimeSyncTyperegisterintheClock
moduletoLocal;remembertoalsosettheClockSourceregistertomatchthe
communicationsportbeingusedfortimesynchronization.
Limited Values
Becausethis102implementationusesalimitednumberofvaluesfromtheION
meters,onlysixhavebeenprogrammedintothefirmware.SeeDefaultInformation
ObjectAddressTablesonpage 5fordetails.
NOTE
There is no associated 102 protocol ION module, and therefore all protocol parameters are hard-coded
into the protocol code.
2007 Schneider Electric. All rights reserved.
Page 3
Specific Implementation of the 102 Protocol
102 Protocol and ION Technology
A typical network using this variation of the 102 protocol
1
ASDU Packet
ION7550
meter
serial bus
2
Master software
on work station
ASDU Packet
3
Point table
Address Value 1
Address Value 2
Address Value 3
Address Value 4
Description
1.
Themastersoftwareontheworkstationrequestsavaluefromtheslavedevice,
inthiscaseanIONmeter.ThisrequestissentviaanApplicationServiceData
Unit(ASDU)packet.
2.
TheIONmeterconsultsthe102protocolpointtable(hardcodedwithinthe
metersfirmware)todeterminewhichvalueisbeingrequested.
3.
TherequestedvalueisthensentbacktotheworkstationviaanotherASDU
packet.
NOTE
No real-time values are available using the 102 protocol. All values are historical, and gathered from
the data recorders.
Page 4
2007 Schneider Electric. All rights reserved.
102 Protocol and ION Technology
Default Information Object Address Tables
Default Information Object Address Tables
Integrated Value Table
Thispointtabledefineswhichintegratedtotalvalueislinkedtowhichinformation
objectaddress(IOA).TheseIOAscanbeaccessedasbothPeriodicReset(ASDU
123)andOperational(ASDU122).
Address (IOA)
Information Object (Measurement)
Imported Active Energy
Exported Active Energy
Reactive Energy, Q1
Reactive Energy, Q2
Reactive Energy, Q3
Reactive Energy, Q4
Reserved Data 1 (not used)
Reserved Data 2 (not used)
Blocks with reserve data
(IOAs 1 through 8)
10
Blocks without reserve data
(IOAs 1 through 6)
11
Blocks without reserve data
(IOAs 1, 3 and 6)
Single-point Value Table
Thistableindicateswhichsinglepointeventsarerecordedbythemeter.
Events Logged
SPA
SPQ
Rec Addr
Power failure
52
CPU cold boot
52
Time change previous*
53
Time change new*
11
53
Connection established with meter*
18
129
GPS Lock Lost* (SPI=1)
18
129
GPS Lock Recovered* (SPI=0)
18
129
* Exclusive to this implementation.
NOTE
Single point events are stored in the volatile memory. Power cycling of the meter deletes any outstanding
events.
2007 Schneider Electric. All rights reserved.
Page 5
Using ION Meters with 102 Protocol
102 Protocol and ION Technology
Using ION Meters with 102 Protocol
Userswillneedtoconfigureboththefrontpanelandframeworkofthemeter
beforetheycanaccessvaluesusingthemastersoftware.
ThemeterframeworkrequirestwonewDataRecordermodulesbeadded,
numbered11and12.DataRecordermodule11collectsloadprofilevalues,while
number12collectsdailysummaryvalues.Theybothcollectoperationaland
periodicvalues.
NOTE
Before upgrading your meter firmware to a non-102 supported version, first deselect IEC 102 from any
COM protocols. This will prevent any possible firmware issues when you attempt to make changes to
COM protocol settings.
Configuring the Meter Through the Front Panel
1.
EnterSetupmodeonthemeterbypressingthePROGkeyonthefrontpanel.
2.
SelecttheCOMporttobeusedwith102protocol.The102protocolisavailable
onCOM1,2and4only.PressthePROGkey.
3.
SelectCOMProtocolfromthemenuandpressthePROGkey.
4.
SelectProtocolbypressingthePROTsoftkey.
5.
Usingtheupanddownarrows,selecttheIEC102protocolfromthelistof
availableprotocols.
PressthePROGkey.
6.
Enterpasswordtoconfirm,thenpressthePROGkey.
7.
SelectUnitIDbypressingtheUNITIDsoftkey.
8.
UsetheupanddownarrowstosettheUnitID.PressthePROGkey.
9.
PressESCkeythreetimestoexitSetupmode.
Themeterwillautomaticallyloadthe102protocolontheselected
communicationport.
Page 6
2007 Schneider Electric. All rights reserved.
102 Protocol and ION Technology
Configuring the ION Framework
Configuring the ION Framework
ThefollowingarethebaseframeworkrequirementstoallowtheIEC8705102
protocoltoreturndatasuccessfully.ItisstronglyrecommendedthatTechnical
SupportbecontactedforaframeworkthathasbeentestedwiththeIEC8705102
protocolandisknowntowork.TheSchneiderElectricimplementationofthe
IEC8705102protocolexpectscertainspecifichardcodedquantitiestobepresent
inordertofunctioncorrectly.Thesearedetailedbelow.
Data Recorder 11
DataRecorder11ismappedtoIEC102recordaddress11,andcontainsloadcurve/
loadprofilecollectedat15minutesintervals.Quantitiesthatmustbelinkedtothe
DRE11inputsareshownbelow.
Input
2007 Schneider Electric. All rights reserved.
Energy Value
Logging Interval
Reset Frequency
Imported Active Energy
cumulative
non-reset
Exported Active Energy
cumulative
non-reset
Reactive Energy Quadrant 1
cumulative
non-reset
Reactive Energy Quadrant 2
cumulative
non-reset
Reactive Energy Quadrant 3
cumulative
non-reset
Reactive Energy Quadrant 4
cumulative
non-reset
Imported Active Energy
15 minute interval
reset every 15 minutes
Exported Active Energy
15 minute interval
reset every 15 minutes
Reactive Energy Quadrant 1
15 minute interval
reset every 15 minutes
10
Reactive Energy Quadrant 2
15 minute interval
reset every 15 minutes
11
Reactive Energy Quadrant 3
15 minute interval
reset every 15 minutes
12
Reactive Energy Quadrant 4
15 minute interval
reset every 15 minutes
Page 7
Configuring the ION Framework
102 Protocol and ION Technology
Data Recorder 12
DataRecorder12ismappedtoIEC102recordaddress21,andcontainsdaily
summariescollectedataonedayinterval.Quantitiesthatmustbelinkedtothe
DRE12inputsareshownbelow.
Input
Energy Value
Logging Interval
Reset Frequency
Imported Active Energy
cumulative
non-reset
Exported Active Energy
cumulative
non-reset
Reactive Energy Quadrant 1
cumulative
non-reset
Reactive Energy Quadrant 2
cumulative
non-reset
Reactive Energy Quadrant 3
cumulative
non-reset
Reactive Energy Quadrant 4
cumulative
non-reset
Imported Active Energy
1 day interval
reset every 1 day
Exported Active Energy
1 day interval
reset every 1 day
Reactive Energy Quadrant 1
1 day interval
reset every 1 day
10
Reactive Energy Quadrant 2
1 day interval
reset every 1 day
11
Reactive Energy Quadrant 3
1 day interval
reset every 1 day
12
Reactive Energy Quadrant 4
1 day interval
reset every 1 day
NOTE
Once you have saved the framework to the workstation, you can copy it to other meters. Using a lockpaste will ensure that Data Recorder modules 11 and 12 are maintained.
All12inputsMUSTbelinkedforthe102protocoltoretrievethecorrectquantities
foreachrequestedchannel.Evenifaquantityisnotrequiredforyourapplication,
youmuststilllinkadummymoduletothatparticularDREinput.Usingan
ExternalNumericmodulefulfillsthisrequirement.
Toimplementtheaboveframework,18integrator,twofeedbackandtwodata
recordermodulesarerequiredforthebasicfunctionality.Sixoftheintegrator
modulesareusedforcumulative,nonresetdata,sixforthe15minuteinterval
dataandtheremainingsixforonedayintervaldata.Thetwofeedbackmodules
areconnectedtotheresetinputsoftheintegratorstoclearthevaluesaftertheyare
loggedinthedatarecorders.
Increasing Data Resolution
TheIEC8705102protocolonlyreturnsintegerwholenumbers;thisisdifferent
fromtheIONframeworkwhichcalculatesallintegratedvaluesasafloatingpoint
number.Thismeansthatthefractionalpartofeachintervalislost(notaccounted
forinthe102protocol)unlessfurthermodificationsaremadeintheframework.
Onesolutionistoaccumulatethefractionalpartusingarithmeticmodulesand
thenincludethatvalueinthenextinterval.Thisissimilartohowasimplepulse
meteraccumulatescountsofenergy.PleasecontactTechnicalSupportforasample
frameworkthathandlesthisissue.
Page 8
2007 Schneider Electric. All rights reserved.
102 Protocol and ION Technology
Communicating with the Meter Using Third-party Software
Communicating with the Meter Using Third-party Software
Specificdetailedinstructionswilldependonthethirdpartysoftwareused.
1.
Openmastersoftwareontheworkstation.
2.
Enterpassword.Thisismandatoryinthisimplementationofthe102protocol.If
themeterhasaserialnumberprogrammedintoit,thepasswordwillbethe
eightnumbersbetweenthedashes(notletters),aspertheserialnumbersticker
(i.e.PK6660A12301givespassword6660123).
3.
Thesessionshouldopen.Ifthisdoesnthappen,closeandreopentheprogram,
andtryenteringthepasswordagain.
4.
Theusercannowreadeitherintegratedorsinglepointvalues,byrequestingthe
valuefromthemeter.
NOTE
No configuration within the third-party software is needed, assuming you have correctly set up your ION
framework.
2007 Schneider Electric. All rights reserved.
Page 9
102 Protocol Messages
102 Protocol and ION Technology
102 Protocol Messages
Themastersoftwaresendsorrequestsdatato/fromthemeter(slave)viacommand
packets.
Functionality
Description
Request
ASDU
Response
ASDU
Read/Write
Read manufacturer and equipment identifier*
100
71
Read
Read event (single point) information
102
Read
Read present date and time
103
72
Read
Read operational Integrated Totals within time and IOA range
122
Read
Read periodically reset Integrated Totals within time and IOA range
123
11
Read
Write present date and time
181
181
Write
Read meter parameters
182
129
Read
Write password and open master-slave session
183
183
Write
Read date and times for daylight savings
185
131
Read
Close master-slave session
187
187
Write
Read by blocks operational Integrated Totals within time and IOA
range
189
Read
* If the meters serial number is PK-1234A567-01, the product code will be 0x1234A567, which is the
entire string between the two dashes.
Page 10
2007 Schneider Electric. All rights reserved.