Home
User Manual Server Library IEC61850 v.1.0
Contents
1. lo Jop Report12 po jo nu Value Report BOOL 12 TS REPORT12 TIME EE QEO Report13 BOOL o 0 Jo Report13 so Ju o V_Report13 BOOL la Value Report BOOL 13 QEO Report14 lo Jop Reportia Boor o v Report14 oot Jo Value Report BOOL 14 o rs reporria HS popu QEO_ o oe Report s Joo lo o Ja Report15 so fo o TS REPORT15 TIME EZ o Jop Reporei Joo lo Ir 0 08 Report16 so Ju o V_Report16 BOOL o Value Report BOOL 16 o os Report loot BOOL HY o o Joe Reports Joo fo o rsrerorrns rme gt o Josee logo Reportis Joo o S o vReporeis feoor Jo varueReport BOOL15 gt pe o Joe Reports Joo fo o Je span rme gt o oro Repora7 Jon lbo A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 64 VO VO De dee ES fault EPT eoor fo QB Report17 BOOL o o vReporeiz_ Boo Jo valuereporiBO0L17 o rsrerorrn7 me QEO Report18 BOOL OE1 Report18 BOOL QB Report18 BOOL o v Reporig Jaoot Jo vaweReportBO0L18 o rsreroRme Ime MY Y o Qro gesong Joo o o Joe gesong Jon fo o oBReporio Joo fo o jvRepoti9 feoor Jo vaueReportBO0L19 o jmmeomio mr LL o Qro Reporizo BoL fo o Joe ps Jon fo S y o los Reporzo Jon o j 0 o vReporo feoor Jo vaweReportBO0L20 o rsreporrzo Jm o oro Report feor fo 0 y o Joe ps
2. IEC 61850 Client Library SIEMENS USER MANUAL IEC 61850 Client Basis Library Last modified 26 03 2015 OS Clients SIMATIC OS Server Engineering Station z B DIGSI IEC 61850 kommunizierende intelligente Feldger te Aen D Tas A documentation paper issued by Siemens Siemens AG 2014 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 Contents 1 Software Requirements and Use Conditions anurrnnnnvnnnnnnnnnnnnnnnnnennnnnennnnn 5 2 Inistallat ON anne 7 2 1 TIA Portal Open global library issie a 7 2 2 TIA Portal IEC 61850 Client Block setup esse eks kke RR RR EE RR RR EER Re 10 2 2 1 Setup a singular communication L A aaa a aasa 10 2 2 2 Configure Tag blodks u nenn ne 12 2 2 3 Engineer a BIoEKRS EE 13 2 3 TIA Portal Net Configuration not 57 1500 nnrernnnvvnnnunvnnnnnnnnnuner 15 2 3 1 Using network view configuring AG L SEND AG L RECV 16 2 3 2 Using program block configuring T communication settings 18 2 4 Configuring IEC 61850 addresses via StatCon 21 2 4 1 Copy and paste IEC61850 addresses 21 3 Block description cc 23 3 1 Je WE CO COM ds 23 3 1 1 Block screenshot ose 23 3 1 2 Block description nase ER UE 24 3 1 3 Called BIOCKS LA en 29 3 1 4 Mede On le ARE AE LL 30 3 2 IEC RD BO BOOL tag whee 33 3 2 1 Block screenshot RE EE 33 3 2 2 Block description EE 33 3 2 3 Called
3. BoL fo IL o Joe Repose Jon fo o oBRepors _ Joo fo o vRepor36 feoor Jo valuereporiBoo36 gt o TSREPORT3G rme gt o Joe Report37 Jaen o Joe Repora7 Jon A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 74 o joBRepot37 Jon o V Report37 BOOL Value Report BOOL 37 o o TSREPORT37 mwE gt o lago epog Joo fo o jog moss Jon o os reports eoor o vRepots8 Jon fo valuereporiBooL38_ gong mme o Joe pot feor o j S o Joe eor Joo fof o o losmeportse Jon Jo o v Reposo oo jo vatueReportB00L3 o rsrerorrso Ime LL o Qro Reporeo Joo fo o Joe Reporag BoL o o QB Reportso Jon fo o o v Reportao feoor o valuereporiBooLdO gt o Jean mr MY Y YY o lago reporter Jon o Joe Repora1 loot o Jos reporter loot o v Reports loot o TS REPORTA1 mur o Joe Reporta2 loot o Jos reporter loot o v reportaz Jong Jo vaueReporiBooL42 o Jesmoenz mr LL o Joe reports o Joe Reports oo o oB reports A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 75 VO De dee fault M Repora3 Jona Io ValuereportmooLa o rs so we o Qro Reporaa BoL fo S y O BOOL o Jo zess soos o v R
4. 59 VO De si fault oscRepor ui STRNG S2 Description for Report Bool 12 AD Reporti STRNG S2 Teg Address for Report Boll psc eet STRNG S2 Description for ReportBooin2 1 AD Repori2 STRNGIS2 tegaddressforReportBool12 psc eenz STRNG S2 Description for Report Bool 13 AD Reporti3 STRNG S2 Tag Address for Report Booll3 Jos eenz STRINGES2 Description for ReportBooina AD Reporta STRNG S2 Tag Address for Report Booll4 i psc Reports STRNG S2 DescriptionforReportBooI15 AD Reports STRINGES2 Tag Address for Report Bool 15 lose Reporte STRNG S2 DescriptionforReportBooI1 gt lap Reports sriG 52 Tag addressforReportBoolle Jos een STRNG S2 nescription for Report Boo17 AD Report STRNG S2 Tag Address for Report Bool17 i psc Report STRNG S2 Description for Report Boorne AD Reports STRINGES2 Teg Address for Report Bool 18 Jos eenz srrGts2J Description for Report Boo 19 AD Reportig STRNG S2 Tag Address for Report Boo 19 oscreport20 STRNGES2 nescription for Report Bool 20 AD Reportzo STRNG S2 Tag Address for Report Bool20 psc Report21 STRNG S2 nescription for Report Boo 21 AD Reporez1 STRNG S2 Tag Address for Report Bool 21 psc Reportzz srrGts2J Description for ReportBool22 AD Reportz2 STRNG S2 Ta
5. A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL PCS7 V7 1Client Library IEC61850 www siemens com Siemens AG function blocks industry siemens com DF CS DS PAS R amp D AP 2 Siemensallee 84 Tel 49 0 721 595 7522 76187 Karlsruhe GERMANY All rights reserved All trademarks used are owned by Siemens or their respective owners Siemens AG 2015 A documentation paper issued by Siemens Siemens AG 2015 All rights reserved 98
6. BoL o o Joe Reporoa Jon fo S y O o om Reportos Jon fo lo Jeep Jang lo vauereporteooroa A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 62 o rsreporroa TIME o Jao Reportos soon o Jo Reports soon BOOL o JV Reportos Jesoo Jo ValueReportBooLos o Iowa n Il o logo Reportos feoor fo o Jo Reno pol jo o osReportos Boo nl y o JV Reporto Jesoo Jo valuereporsooLos o rsrerorros nME y O o Jo Reporo7 soon o Jos Reporo7 soon o JV Reporto7 Jesoo Jo jVaueReprtBOOLO Ts Reonro7 mme oct oc O o Joko Reportos BOOL EEN o Jo Reporoe BoOL N BOOL o JV Reportog soon Ts REPORTOB mme o Joko Reportog BOOL o Joe Reportog soon o Jas Reporoe soon o JV Reportog BOOL Jo jVaueReprtBoOLO o Immo mme 5 y O o Joen eso BoL fo j o Joe Reportio Boot nl yO o Jos Reporao Boot fo o JV Reportig soon Jo jVaueReprtBoOL10 o frsrerormo n gt gt gt A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 63 VO De dee ES fault QE0 Reportii BOOL I Value Report BOOL 11 QE1 Report11 BOOL V Report11 BOOL nu o TS REPORT11 TIME p o Jop seen eoor lo
7. IEC_RD_BO EN DB2 DBD242 L EC61850 GERRY COM DB QERRI CONNECT RO CONNECT QCOMERRO RI_CONNECT QCOMERRI sAddressBool ADDRESS QBAD 00 TIMOUTMS VALUE QValueBool TRUE COUNTABLE ENO Picture 1 IEC RD BO screenshot 3 2 2 Block description IEC RD BO reads one Boolean tag cyclically RO 1 CONNECT RO CONNECT input hasto be connected to the IEC61850 COM block CON NECT output ADDRESS The address for the tag has to be configured with the input ADDRESS The address has to be entered as IEC61850 address string including the IEC61850 objects attribute name Note The additional character has to replaced with in STEP 7 Note The IEC61850 address strings can also be generated and copied via the StatCon configuration tool The function block outputs can be connected with other SIMATIC S7 blocks Example for address CTRL LLNO ST LEDRs stVal TIMOUTMS TIMOUTMS specifies the time in ms the quality gets bad if there is no actu alization of the value QERRO QERRO is set if the CFC connection to the IEC61850 COM block can not be found or is faulty QCOMERRO A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 34 QCOM ERRO is set if the IEC 61850 communication the IEC61850_COM handles is not working properly IEC61850_COM QSTATE ZYKLCOM QBAD QBAD
8. e No connection to any IEC61850 COM block block internal e No IEC 61850 communication running e Address string not set properly value was not updated for time TIMOUTMS V Reportxx V Reportxx xx with the number from 01 to 60 represents the alarm value of the related report TS REPORTxx TS REPORTxx xx with the number from 01 to 60 is set with the timestamp of the related report send by the IEC61850 server device V Realxx V Realxx xx with the number from 01 to 20 is set with the not scaled real value of the related real tag V ScaledRealxx V ScaledRealxx xx with the number from 01 to 20 is set with the scaled real value of the related real tag The scaling factor for the related real val ue can be set on input SF Realxx 3 9 3 Called blocks Declaration Block number Declaration Block name FB517 IEC RD BO FB519 IEC RD RL FB520 IEC RP SFB35 ALARM 8P UDT9 DWORD ACCES532BIT FC21 LEN Table 33 UNI RP60R20 and UNI RP60R20 2 called blocks A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 58 3 9 4 1 O description UNI RP60R20 block VO De ams fault ro connect jan ConneciontoEC com block Joo Jay qComediontoiEC COMblock mmoums Ju sooo frimeouetme gt EN MSG Joo Jam 1 Tann zen soot fo connection to geren 2 block SS E Jee o Joo GL wscewos Joo ha 3 MY
9. Add target al ox Name Description Aj Name Description E Bl IED 0031 753632 V4 6 E ee CTRL Control a uno General Beh Behavior Health State XLEDRs LED acknwldgmnt Aoc Control Auth mod Mode 4 OpTmh Operating hours 19 44 CALH1 Fault 2 4 LPHD1 device E i joncnor 52BreakerCILO 1 48 qocswn S2BreakerCSWI El 64 QUXCBR1 52BreakerXCBR Hjecnoi Disc Swit CILO E H Q1cswn1 Disc Swit CSWI a ijorxswri Disc Swit XSWI aico Q2 Op CICILO Z xu 4 Picture 15 Adding Tags to the Report Application e Please Save and download the settings to the siprotec After downloading to the Siprotec you can inspect all changes on the de vice with the IEC61850 Browser tool The Report Applications are now in stalled in the device and for each Report Application one DataSet has been added automatically with the tags you have added into the interconnection window of DIGSI A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL PCS7 V7 1Client Library IEC61850 97 If you re using the library in redundant mode you have to give address of the Report Application you can find in IEC61850 Browser tool to the RP_CTRL_ADO and RP CTRL ADI input parameter of IEC61850 REP block But because the DataSets for both Report Applications are identical it is only necessary to give one of the two created DataSets Please configure one of the both DataSets on the input parameter RP_DSADDR see 2 2 1
10. Delete DataSet requet b CDSDLRES Delete DataSet response Release Request Release Response ABORT Abort received Table 5 IEC61850 COM QSTATE output QRCONNECT If running in redundant mode this output has to be connected with the IEC61850 RED RCONNECTO 1 input 3 1 3 Called blocks A documentation paper issued by Siemens Siemens AG 2015 All rights reserved 29 USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 30 Declaration Block number Declaration Block name FB511 MMS BuildReq FB512 MMS ParseResp FB513 IEC61850CLPgrLgc FB514 IEC61850 Link FB529 MMS ParseDSAddr FB531 MMS Strin IP Konv FB63 TSEND FB64 TRCV FB65 TCON FB66 TDISCON UDT10 BST BOOL SHORT UDT11 BST INT SHORT UDT12 BST REAL SHORT UDT13 BST CTRL SHORT UDT14 IEC61850 Params UDT16 BSt BSTR SHORT UDT65 TCON PAR UDT7 BST SHORT UDT8 LINK INFO SFB35 ALARM 8P FC21 LEN FC50 FC5 AG LSEND AG SEND FC60 FC6 AG_LRECV AG_RECV SFC20 BLKM OV SFC49 LGC GADR SFC6 RD SINFO Table 6 IEC61850 COM called blocks 3 1 4 1 0 description Depending on used library not all inputs and outputs in list will still require So these inputs and outputs didn t exists on the block These inputs and outputs are marked in list with the extension opt A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL
11. The ad dress has to correspond to the tag address engineered on the IEC_REP block in the CFC chart The interconnection order is not relevant If you want to use Buffered Reporting go to the Report Application proper ties and set Buffer indications to Yes Example In the CFC chart an IEC_REP block is configured with the address CTRL LLNO ST LEDRS The block is connected to a IEC61850_COM block with the IED_NAME IED_0031 A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL PCS7 V7 1Client Library IEC61850 95 Now a Report Application has to be created Then an interconnection has to be added with the source IED 0031 CTRL LLNO LEDRs If more than one IEC REP blocks are connected for every IEC REP block the interconnection corresponding to the address configured in the CFC has to be added to the Report Application A 1 3 Adding Report Applications e Click on the Link symbol The application view will open e Right click on the IEC61850 Station and select Add Report Applica tion If you re using redundancy you have to add two Report Appli cation one per CPU i ES DIGSI system configurator Station Edit Insert View Help Link a X JM x Filter No filter Interconnections Properties H E IEC61850 Stat TE Subnet ZA Add Report application D Sie ui
12. lap Resioa STRNG S2 tagaddressRealos gt SF Realo4 mt fo Scaling Factor Realo4 gt la Reais SrRNG S2 ragaddressRealos 1 lsrreaos Int fo ScaimgractorRealos lap Realos lames tagaddressReal0 Lepage Ju Jo Scaling FactorReal06 gt ao hent STRNG S2I ragaddressRealo7 gt 1 SE Reslo7 Ju Jo scalingFactorReal07 gt AD Reais langis tagaddressRealog gt sF reaos Ju Jo Scalmgfactorrealog gt AD Realoo langis Tag AddressReal09 gt sF Reog int o Scaling Factor Real09 gt ao pegi STRNG S2 TegAddresRealO gt JSFResito Ju Jo scalingFactorReal10 gt A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 61 VO De d fault m STRING 52 CTRL C Tag Address Group alarm i AD Warning STRING 52 CTRL C Tag Address Group warning o Joes f r h 5 o oconereo Jan Y o Joes aen h S y O o jocoemi Jon h y o jomo feo h Y Y o Qro ps Jon fo S y o loerreportor Jon fo S y O o joBRepoto feos o o v reportor Jong Jo VatuemeportmooLo gt o rsreporron mr Y MY o Qro Reportoz Joo fo o Joe ps Joo o S y o oBReportoz Jon o j S y o jvReporo2 BOOL Jo vaweReportBOOL02 o jmmromo Ins o Joe pot Jon fo j S o jo Repos Joo o o joBRepots Jon fo o vReportoz Jon Jo valuereporiBooLo3 o rsreroRros Ime LL o Qro Reports
13. parameters are used later for the IEC61850 Server block inputs CON ID and LADDR as connection reference General IO tags Texts ES General Local ID Special connection prope Block parameters Address details Options Local ID hex 1 EI 1 ID WRI16R3FFD LADDR Figure 13 Properties ISO on TCP connection Local ID Navigate to Address details and enter the Local TSAP and Remote TSAP These parameters should be taken out from your IEC 61850 device description default setting is Local TSAP 00 01 and Remote TSAP 00 01 A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 18 e Enter the IEC 61850 device IP address 9 Properties General 10 tags Texts General am AEN ln ress details Special connection prope Address details Local Partner Options IP dec 140 80 160 161 140 80 160 14 TSAP ASCII TSAP hex 00 01 00 01 TSAP length 2 2 Figure 14 Properties ISO on TCP connection Address details e Compile and download changed communication parameters Now you can use the following IEC61850 COM inputs in your program block RE lennan EN TCON This Input should be set to 0 disabling T communication and enabling AG L SEND AG L RECV LADDR Enter the LADDR connection reference parameter from network view CONN ID Enter the Connection ID refer
14. 15 lt a gt IEC RD BS Instance IEC RD BS 16 9 sAddressBool String 52 CTRULLNO ST LEDRS stval 17 lt Q sAddressint String 52 CTRULLNOS ST SLEDRS origin orCat 18 lt a sAddressReal String 52 MEASIMMTR1 CF SupWh pulsQty 19 4 2 sAddressBS String 52 CTRULLNO ST SLEDRs q DB2 IEC61850 IEC RD BO COM DB Instance FB515 FB517 IEC61850_COM IEC RD BO CONNECT EN EN QERR NN 16 8001 RED CONNECT QERR NO Ser QERRO 16 3FFD LADDR QRACKF COM DB QERRI 1 CONN ID QPARF CONNECT gg CONNECT QCOMERRO L 1000 TIMEOUT QCOMF R1 CONNECT QCOMERR 2 MODE OB CR DS sAddressBool ADDRESS OBAD 5ComledName IED NAME OB EN RP 5000 TIMOUTMS VALUE QvalueBool 0 DS CONF OP QSTATE TRUE COUNTABLE ENO DS NAME QSNDACT 0 RP CONF OP QSNDDIAG RP DSADDR QRCVDAT HIEC RD IN RP_CTRL_ADDR ORCVDIAG Instance 0 1 SAMPLE T QLEN FB518 sEnMsg EN MSG QMSG ERR EC RD IN 1680000 0001 MSG_EVID QMSG DONE EN false EN TCON QMSG SUP DB BEES IP ADDR QMSG STAT IECG1850 QERRO W 16 1 TSAP RID QMSG_ACK COM DB QERRI CPU ID QRACK NO CONNECT po CONNECT QCOMERRO W 16 1 TCON ID QSLOT NO Rl CONNECT QCOMERR 410 0 QBLOCKS sAddressint ADDRESS QBAD gvComSta
15. BOOL d QERRO BOOL 1 1 Connection to IEC61850 COM block 0 faulty o QCOMERRO BOOL Communication IEC61850_COM block 0 not ok o QBAD BOOL 0 Data valid m VALUE DINT o Addressed value as Integer DINT Table 13 IEC RD IN VO description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 40 3 5 IEC_RD_RL REAL tag 3 5 1 Block screenshot 18 lt IEC RD RL Instance IEC RD RL S 19 qe sAddressReal String 52 E MEAS MMTRI CF 5SupWh pulsQty IEC RD RL Instance FB519 IEC RD RL EN DB2 0BD 242 Je IEC61850_ QERRO COM DB QERRI CONNECT RO CONNECT QCOMERRO RI_CONNECT QCOMERRI sAddressReal ADDRESS QBAD 100 TIMOUTMS VALUE QValueReal UE COUNTABLE ENO Picture 4 IEC RD RL screenshot 3 5 2 Block description IEC RD RL reads one REAL tag cyclically The Floating point value size is 32 bit 4byte Input Output description is equal to IEC RD BO Block description Please see chapter 3 3 2 Block description 3 5 3 Called blocks Declaration Block number Declaration Block name UDT5 BST REAL UDT8 LINK INFO FC10 EQ STRING FC21 LEN SFC20 BLKM OV SFC64 TIME TCK Table 14 IEC RD RL called blocks A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Libra
16. Copy the PLC elements from the library to your PLC object in the project which should use the IEC 61850 communication IEC61850 symbols gt PLC tags IEC61850 data types PLC data types IEC61850 program blocks Program blocks v gi PLC 1 CPU 315 2 DP mn Device configuration Y Online amp diagnostics v lag Program blocks lli Add new block HE Main OB1 gt Technology objects gt External source files Se la PLC tags amp Show all tags E Add new tag table 725 Default tag table 0 v PLC data types Add new data type b te IEC61850 57 300 CP Figure 4 PLC Compile all your program blocks Software rebuild all blocks After the compile action has finished the following system blocks should be added to your PLC The optional blocks will just be added when using T communication library Lib TIA v1 21 3 IEC61850 Client 300 TCON A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 NAME kenge Table 1 System blocks Note The IEC61850 library for S7 300 57 400 PLC types contains function block Cre ateCommunication Blocks This function block has no functionality in IEC61850 com munication The function block is necessary when IEC61850 library is compiled for the first time If the library is compiled it makes sure that system blocks FC5 and FC6 will be generated successful A documentation paper issued by Siemen
17. Jon fo S y O o Josee Jon fof o lo v Report21 poo Ju valueReportBo0L21 o Jesoe fme LL o Joe ps BoL o j S y o Joe ps Jon fo o opreporz2 Boo Jo o jvRepotz2 Boo Jo varueReport BOOL22 o Ts Reoraa rme o Joe Reports oo o Joe Reports Jon A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 65 o joBRepot3 Jon o j o V Report23 BOOL Value Report BOOL 23 o o Ts Reograa rme gt o lago Reporiza Boo fo o ooo y O o Joe ps Jon fo S y op meport24 Jona o vReporeza soon Jo valuereporiBooL24 gt eo Jm TI o Qro Repores feor fo o Joe Ross Jon fo o joBRepots Jon fo jJ o o vreport2s Boo Jo VauemeportmooLs o rsrerorrzs mme LL o oro ps RoL fo o Joe ps Jon fo o QB Reporzo Jon fo S y o vReporeza feoor Jo valuereporiBooL26 o Jesose mr LL o lago Report27 Jonn o Joe Repora7 loot o Josee loot gt o v Reportz7 loot o TS REPORT27 rmme o Joe Reportze Jaen o Josee loot o v Reports Jong Jo vatueReportBooL2g o jmmeroms mr LL o lago Reportz9 o Joe Reportz9 loot o log reports A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 66 VO De dE fault vReportza Jona Io ValweReporBooL29 o rs aer
18. QBAD gets 1 else QBAD equals 0 DONE If the switch execution was successful DONE bit is raised up Further Input Output description is equal to IEC_RD_BO Block description Please see chapter 3 3 2 Block description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 51 3 8 3 Called blocks Declaration Block number Declaration Block name UDT6 BST CTRL UDT8 LINK INFO FC10 EQ STRING FC21 LEN SFC20 BLKM OV SFC64 TIME TCK Table 20 IEC CTRL called blocks 3 8 4 1 0 description VO De ren fault 5000 poles u m N MEN Control command trigger is reset au CTRL BOOL tomatically QERRO BOOL 1 1 Connection to IEC61850 COM block 0 faulty QCOMERRO BOOL 1 Communication IEC61850 COM block 0 not ok Switch command 1 open 0 close 1 Select before operate 0 only operate A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 52 VO De si fault QBAD BOOL 1 0 QDONE raised up after CTRL 1 1 QDONE did not raise up after CTRL 1 o QDONE REAL o Switch operation executed successfully A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 3 9 UNI RP60R20 60 Reports 20 Real
19. TIA Portal V12 1 V13 Client Library IEC61850 31 o name SS a RED CONNECT WORD 163800 Connection to IEC61850 RED block 1 it LADDR nt lo Logical CP VO address conn m int fo commectionio LT EOUT DINT 11000 Timeout in milliseconds voe mr fo pebug mode 0 DATASET 1 LIST 2 INT it 1 IED NAME STRING IEC61850 IED name DS_CONF_OP INT DataSet Configuration Operation SUP PORTED NOT SUPPORTED DS_NAME STRING IEC61850 Dataset name INT RP CON OP opt Report Configuration Operation SUPPORT ED NOT SUPPORTED RP DSADDR opt STRING DataSet address used for Reporting mE RP CTRL ADDR opt STRING DataSet Control block address MSG EVID opt DWOR 2 Alarm 8P message ID depreciated D sameer Jee Sampletimeimput systemimput en MsGlept Jena Jo 1 emblealam gt MSG EviDtope Joo Jo systeminputforalarming len TCONopt BOOL D 1 T communicatoin 0 AG SEND AG RECV Je ADDR opt STRING O iEc61850 device iP address rsap RiD opt Jugen o TSAPremotelDforTcommunication 1 cpu mee BYTE fo Select correct CPU CP for T communication TCON ID opt WORD Use unique number for T communication instance 10 STE com BOOL Jo 1 startcommunication gt lo RESET BOOL o 1 reset function block CONNECT BOOL 1 Connection to input R CONNECT of READ IEC blocks o for Joen Jo leese o Joe NO WORD jn error number not yet supported o Joo Jena fo 1 Fackf
20. Table 11 IEC RD BS VO description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 38 3 4 IEC_RD_IN INTEGER tag 3 4 1 Block screenshot 16 4 gt IEC RD IN Instance IEC RD IN 17 lt sAddressint String 52 5 CTRULLNO ST LEDRs origin orCat IEC RD IN Instance FB518 IEC RD IN EN 2 DBD242 Kar o ERRUI COM DB QERRI CONNECT RO CONNECT QCOMERRO R1 CONNECT QCOMERRI sAddressint ADDRESS QBAD 00 TIMOUTMS VALUE QValuelnt RUE COUNTABLE ENO Picture 3 IEC RD IN screenshot 3 4 2 Block description IEC RD IN reads one DINT tag cyclically The Integer size is 32 bit 4byte Input Output description is equal to IEC RD BO Block description Please see chapter 3 3 2 Block description 3 4 3 Called blocks Declaration Block number Declaration Block name UDT4 BST INT UDT8 LINK INFO FC10 EQ STRING FC21 LEN SFC20 BLKM OV SFC64 TIME TCK Table 12 IEC RD BS called blocks A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 39 3 4 4 1 0 description VO De eee fault me RO CONNECT ANY Struct Ld Connection to IEC61850 COM block DB NI ADDRESS STRING 52 EN 1EC61850 tag address TIMEOUTS INT 5000 Timeout in ms COUNTABLE
21. This Control block should contain the previous configured DataSet name in the field DataSet after the communication has started Please verify with IEC61850 Browser Configure the Input IED_NAME with the IEC 61850 device name Please note all addresses and names are Case sensitive Set the cycle time of the OB which calls the communication block to SAMPLE T This input should never be 0 0 It s used for TIMOUT calculation To enable WinCC messaging set the EN MSG to 1 TIMEOUT is the maximum wait time in milliseconds to wait for an answer after a READ request Set STRT COM input to OFF till the engineering work is done to start com munication set it to ON Please follow up with adding at least one RD XXX block This procedure is ex plained in chapter 2 2 2 Configure Tag blocks Configure Tag blocks The IEC 61850 Client library is designed for a very flexible use On one hand there is the IEC61850 COM block which handles the IEC61850 protocol block and management functionality On the other hand there are several blocks which can be connected to the IEC61850 COM block called tag blocks Each of the tag blocks represents one value in a special data format e g INT REAL BOOL Note At least one IEC RD XXX block has to be connected to the IEC61850 COM block Currently the library supports the following tag blocks which read IEC61850 tags cycli cally IEC RD BO BOOL IEC ALARM BOOL with timestamp IEC RD BS BIT
22. Y Jee op Joo gt 3 3 MY M5 wscewos Joo GL Jos reporton STRNG S2 Description for Report Bool AD Reporto1 STRINGES2 tagaddressforReportBoolO1 psc Reporto2 strnGES2 Description for Report Bool 02 AD Reporto2 STRNG S2 Tag Address for Report Bool02 Jos Report STRINGES2 pescription for Report Booros ap Report STRNG S2 Tag Address for Report Booro3 psc Report STRNG S2 pescription for Report Bool 04 AD Reporto4 STRNG S2 Tag Address for Report Bool04 psc Reports STRNG S2 pescription for Report Bool 05 AD Reportos STRNGIS2 Tag Addressfor Report Bool 05 Jos ween STRNG S2 Description for Report Bool 06 AD reportos STRNG S2 Tag Address for Report Boros psc reporto7 STRNG S2 Description for Report Bool 07 AD reporto7 STRINGES2 Tag Address for Report Bool07 psc reportos STRNG S2 Description for Report Bool 08 ap Reportog STRNG S2 Tag Address for Report Boros Jos Reports STRNG S2 pescription for ReportBool09 ap Reports STRNGIS2 Tag Addressfor Report Booio9 psc Reporeto STRNG S2 Description for Report Boino ap Reporug sreats2J Tag AddressforReportBoollo A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850
23. and Use Conditions Software TIA Portal V12 1 TIA Portal V13 IEC61850 device engineering tool IEC Browser Library The library for S7 300 systems is available in two different compilations e Lib TIA v1 21 3 IEC61850 Client 300 CP Using the library with an additional CP module e Lib TIA v1 21 3 IEC61850 Client 300 TCON Using the library with the CPUs PN IO port See also chapter Simatic Manager Net configuration Hardware The following Hardware is supported with the IEC61850 block library The library therefore is available in two different compilations e S7 300 Lib TIA v1 21 3 IEC61850 Client 300 CP TCON e S7400 Lib TIA v1 21 3 IEC61850 Client 400 e S7 1500 Lib TIA v1 21 3 IEC61850 Client 1500 For communication over Ethernet it is required to use either e CP 343 1EX11 V2 6 Ethernet CP or higher or S7 300 S7 CPU with PN IO interface e CP 443 1EX11 V2 6 Ethernet CP or higher or 57 400 CPU mEC with PN IO interface Maximum instances per 57 400 CPU With the CP 443 1 as well as the CP 343 1 module up to 64 network connections can be created Due to the fact the S7 CPU handles the IEC 61850 protocol the IEC61850 COM block consumes a lot of scan time and memory The CP module handles only the deeper Layers ISO on TCP and TCP Therefore the IEC 61850 library is limited by up to 8 connections per CPU S7 300 CPU restrictions Alarm and reporting functionality is not supported by S7 300 CPU Because of this I
24. device e 06 C N EU AAN Q 7vES11 vas SIPROTEC device K ai Ss Q zvKsiovas SIPROTEC device K al sue en fft IEC61850 Station IECE1850 station 054 OH Bausteine Pl ne x gi CPU 174 Ht x dfe CP 4431 x dfe CP 44310 CP 443 5 Ext CP 443 5 Ext 1 fl 400 H R v 40 DEVSTATION USER MANUAL PCS7 V7 1Client Library IEC61850 94 e Double click onto the IEC61850 Station DIGSI system configurator will open The new device can be found under New devices You can drag and drop the new device to the dedicated Subnet FS DIGSI system configurator Station Edit Insert View Help Bi a D Network se Link ale O X Jl el Name Name in DIGSI IP address IEC61850 Station La New devices 1 e IED_0031 751633 V4 6 EE subnet1 Bal TED 000b 7YK610 V4 6 140 80 159 92 ER IED 000c 7UT613 v4 6 140 80 159 93 amp IED 0026 7VE611 V4 6 140 80 159 99 Be 1ED_002c 7UM623 V4 6 140 80 159 94 Picture 13 DIGSI system configurator A 1 2 Introduction Report Applications If at least one IEC_REP block is used a Report Application has to be created in DIGSI If you have a redundant setup you have to create two Report Ap plication one for each IEC61850 COM block instance For every IEC REP block one line with an interconnection has to be added to the Report Ap plication list If you have two Report Applications you have to add the same tags in the interconnection windows of each Report Application
25. for example to write substi tution values Input Output description is equal to IEC WR BO Block description Please see chapter 3 10 2 Block description 3 11 3 Called blocks 84 Declaration Block number Declaration Block name UDT15 BST BITSTRING UDT8 LINK INFO FC10 EQ STRING FC21 LEN SFC20 BLKM OV SFC64 TIME TCK Table 23 IEC WR BO called blocks A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 85 3 11 4 VO description VO De pagabi fault eo connect fanv struct __ Connection to IEC61850 COM block DB faporess STRINGIS iec61850 tag address rmeouts fr mg rimeoutin ms countas eoor J linternalvalwe vawe pwORD 1 tegvaluetobewrittenindevice i RETRANS BOOL Retransmission of value QERRO BOOL 1 1 Connection to IEC61850 COM block 0 faulty dl QCOMERRO BOOL Ed Communication IEC61850 COM block 0 not ok o Josap Jana Ir lo patavaid N o QDONE BOOL FEE Addressed value as BITSTRING o RETVAL are Jo Retumcode O Table 24 IEC RD BS VO description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 3 12 IEC WR IN 3 12 1 Block screenshot RIEC WR IN Instance FB526 IEC_WR_IN EN DB2 DBD242 1EC61850_ COM DB QERRO CONNEC
26. frea oo vauerearos O o Vscaledrealo8 REAL 0 0 ScatedValueRFALOB gt soor fo O o jore Jon fo oo o oBReaioo Joo Jo o lv Resio rar foo vauerearoo O o vsealedreal09 REAL oo ScatedValuerEALo9 o joe meno Jon fof o o formen f r fo _ o joemeno Jon fo o vreino Je foo Jee o v scaledReatto REAL 0 0 ScatedValueREALiO gt o oro Error Jo fo o Joe gen woo fo o o Jose Jg fo o o jer Jg o Groupalarm 0000000000 o oro Warming Jon fo A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 68 VO De dd ae fault o Joe Warming feor fo o o Warming feor fo o Warming Jeoot Jo Group warning gt STATUS RP QEO 1 DWORD 16 000 Report Status Word QEO 1 for WinCC Scada 00000 STATUS RP QE1 1 DWORD 16 000 Report Status Word QE1 1 for WinCC Scada 00000 STATUS RP QB 1 DWORD 16 000 Report Status Word QBx 1 for WinCC Scada 00000 STATUS R QEO 1 DWORD 16 000 Real Status Word QEO 1 for WinCC Scada 00000 STATUS R QE1 1 DWORD 16 000 Real Status Word QE1 1 for WinCC Scada 00000 E STATUS R QB 1 DWORD 164000 Real Status Word QB 1 for WinCC Scada 00000 o msc poner Jon fo MSG STAT1 WORD 164000 ALARM 8P STATUS Output 0 p MSG ACK1 WORD 164000 ALARM 8P ACK STATE Output 0 QMSG ERR1 BOOL o 1 ALARM 8P Error QMSG SUP1 BOOL o 1 Message suppression active MSG DONE por do MS
27. goose Importing Substation section from SCD file B Name of station Sources Destinations S gt pel en ow Name a Description Name 4 Description Picture 14 Adding a Report Application A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL PCS7 V7 1Client Library IEC61850 96 e After adding the Report Application Report Aplication X appears below IEC61850 Station Click onto the Report Application you created On the bottom at the left select the tag you want to add to the Re port Application and drag it to the Interconnections window e g IED_0031 CTRL LLNO LEDRs Do this for all IEC61850 REP blocks you added to the CFC DIGSI system configurator olx Station Edit Insert View Help Bt Pm SB Network ba Link mele X JIE se Fiter nofiter Applications Interconnections Properties q Source Description El Identification IEC61850 station JED 0091 CTRLALNOMEDRS Sei Y4 6 ControlfGeneralfLED acknwidomnt Name Report application LB Report applicationi m Description M eport applical n Cana Report application2 Type Siemens report application 88 Subnet1 El Parameter Buffer indications Yes Name Name of the application EEE Jl Sources Destinations A hp Add source gt oe
28. is set if the value is not valid anymore Possible reasons are e No connection to any IEC61850 COM block e No IEC 61850 communication running e Address string not set properly value was not updated for time TIMOUTMS VALUE VALUE represents the actual BOOL value addressed through IEC61850 COM IED NAME and IEC RD BO ADDRESS string 3 2 3 Called blocks Declaration Block number Declaration Block name UDT3 BST_BOOL UDT8 LINK INFO FC10 LEN FC21 LEN SFC64 TIME TCK Table 8 IEC RD BO called blocks 3 2 4 1 0 description 1 0 De ds fault EN RO CONNECT ANY Struct EE Connection to IEC61850 COM block DB ME ADDRESS STRING 52 EE IEC61850 tag address a TIMEOUTS GE 5000 a BB inms coUNTABLE Boo a Iinternalvaue value QERRO BOOL 1 Connection to IEC61850 COM block 0 faulty A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 35 VO De vo Vo hans fault a QCOM ERRO BOOL j ppr n Communication IEC61850_COM block 0 not ok o foao eoor f lo watavaid o VALUE BOOL rA Addressed value as BOOL Table 9 IEC RD BO VO description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 36 3 3 IEC_RD_BS BITSTRING tag 3 3 1 Block screenshot 20 43 IEC RD BS Instance EC RD
29. siea THT 34 3 2 4 F R EG Le ran ernennen reg 34 3 3 IEC RD BS BITSTRING tag as sees ei SR v ami ex e Fa cadis 36 ENSE Block screenshot codice dai deba od o cb D ER E ERE 36 3 3 2 NNN 36 3 3 3 JE EEE EE 36 3 3 4 MN 37 3 4 IEC RD IN INTEGER tag iori niic enun ani oC Ex a COE XN a aga 38 A documentation paper issued by Siemens Siemens AG 2014 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 3 4 1 3 4 2 3 4 3 3 4 4 3 5 3 5 1 3 5 2 3 5 3 3 5 4 3 6 3 6 1 3 6 2 3 6 3 3 6 4 3 7 3 7 1 3 7 2 3 7 3 3 7 4 3 7 5 3 8 3 8 1 3 8 2 3 8 3 3 8 4 3 9 3 9 1 3 9 2 3 9 3 3 9 4 3 9 5 3 10 3 10 1 Block Screenshot euere une 38 e nee 38 Called Je Lol EE EEE ei EE AA 38 I O description sss 39 IEC RD RL REAL AG RE EE Re Yu Cia 40 Block are ER OE OE AS 40 Block description OE M 40 sede ed AA 40 VO desert ee 41 IEC ALARM BOOL tag with timestamp 1 1 em 42 Block screenshot EE S 42 Block descriptas ia 42 Called Bl cke cocaina aos 43 IIO Ags WON RE EE 43 IEC REP Report BOOL tag with timestamp sesse seek EER RE KA 45 sere dei Ee EE 45 Block description AE re 45 Tan E 46 Called We ed AE EE rer meer re errr ree 47 FEE eed e EEn 47 EC CTRL EE ii 49 Block screenshot ansehen 49 Black descripto ENER 49 PN sa trio ER AE Sec EEE 51 IIO So de ne dd ds es did 51 UNI RP60R20 60 Reports 20 Re
30. 2 Description for Report Bool aq ap Reporaa STRNGIS2 tegaddressforReportBool44 i psc Reports STRNG S2 Description for Report Boras AD Reportes STRNG S2 Tag Address for Report Booras Jos reportas srrwGts2J Description for Report Bool46 AD Reportas STRNG S2 Tag Address for Report Bool46 A documentation paper issued by Siemens Siemens AG 2015 All rights reserved DSC Report41 STRING 52 EE Description for Report Bool 41 USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 71 VO De ps fault psc Report STRNG S2 Description for Report Bool47 AD Report STRINGES2 Tag AddressforReporcBoola7 psc Reports STRNG S2 Description for Report Booias AD Reporag STRNGIS2 Tag Address for Report Boolag Jos Reports STRNG S2 DescriptionforReportBooI49 AD Reportug STRNG S2 Tag Address for Report Bool 49 psc Reporeso STRNG S2 Description for Report Booiso AD Reportso sramars2 Tag Address for Report Bool 50 i psc Reports1 srrGrs2J Description for Report Bool 51 AD Reports1 srrmars2 tagaddressforReportBooIS1 1 psc Reports srrwGts2J Description for Report Bool 52 1 lap Reports2 strnG S2 tagaddressforReportBool52 i psc Reporta srrwGts2J Description for Report Bool 53 ap Reports3 STRNG S2 tagaddressforReportBooI53 oscRe
31. 61850 COM block is placed in Ensure the IEC61850 COM block is placed only in one more than one cyclic OBs OB e g 0B35 IEC RD XX tag QBAD 1 Invalid IEC 61850 address string Check the address of your tag with the IEC61850 browser Remember that in Step 7 the additional sign has to be replaced with Further keep in mind for IEC ALARM IEC REPORT and IEC_CTRL only the address including the IEC61850 object name hasto be set For all othersthe IEC 61850 attribute hasto be added to the address USER MANUAL PCS7 V7 1 Client Library IEC61850 91 Problem Possible Reason solution IEC61850 Communication is not es Check the IEC61850 COM block if running in QSTATE tablished ZYKLCOM If not check its parameters IEC61850 COM IED NAME does not Check IED name of IEC 61850 device equal IEC61850 device name IEC61850 COM QBLOCKS and QTAGS No RESET executed Changes to the tag configuration like address change output does not fit to tag configuration adding tag blocks removing tag blocks are taken over with executing a RESET Execute a RESET PLC Scan time exceeded Tag blocks are not executed in the To get a better performance of the PLC system the tag optimal OB blocks can be put in a lower numbered OB e g OB34 OB33 OB32 with bigger scan times e g 200ms 500ms 1s With this method you can optimize your PLC system Reporting does not work no WinCC WinCC settings are not correct Please check if your
32. 61850 Client Basic Library contains also the StatCon configura tion tool Thistool can be used for configuring the correct IEC61850 addresses on the tag blocks in your TIA Portal program 2 4 1 Copy and paste IEC61850 addresses This chapter explains how addresses can be copied from StatCon to your blocks in TIA Portal program For further information s about working with the configuration tool please refer to the separated StatCon manual The first step is to add a new IEC61850 Client Basic Library Station device and a new External device in StatCon After this you have to assign the ICD file of your IEC device to the external device Ifthe settings of the external device were applied the data structure of your IEC device will be generated Drag the Data Objects of the IEC device you want to configure to the tag table of the EC61850 Client Basic Library Station device In the tag table a new entry is added which contains the IEC61850 address of your Data Object with the correct object sepa rators as required on tag blocks of the IEC61850 library in TIA Portal Project View Configuration Online Settings Help StationDevice Configuration Tool Ea gt IG g Ae 1EC61850 Client Basic Library IEC61850 Client x HG E 1EC61850 Client Basic Library Ext Siprotec Server IED Name 1EC61850 path Equipment id Varin AL Name a IED_0002PROT Siprotec IED 0002 CTRL LLNGBSBTSS LocS
33. BS da sAddressBS String 52 IEC RD BS Instance FB522 IEC RD BS EN DB2 0BD242 IEC61850 QERRO COM DB QERRI CONNECT pp CONNECT QCOMERRO R1 CONNECT QCOMERRI sAddressB5 ADDRESS QBAD TIMOUTMS VALUE QValueBS RUE COUNTABLE ENO Picture 2 IEC RD BS screenshot 3 3 2 Block description CTRULLNO STSSLEDRs q IEC RD BS reads one Bitstring tag cyclically The Bitstring length is limited by of 4 Bytes Bitstrings with a length bigger than 4 bytes cannot be parsed Input Output description is equal to IEC RD BO Block description Please see chapter 3 3 2 Block description 3 3 3 Called blocks Declaration Block number Declaration Block name UDT15 BST BSTR UDT8 LINK INFO FC10 EQ STRING FC21 LEN SFC20 BLKM OV SFC64 TIME TCK Table 10 IEC RD BS called blocks A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 37 3 3 4 1 0 description VO De eee fault me RO CONNECT ANY Struct Ld Connection to IEC61850 COM block DB NI ADDRESS STRING 52 EN 1EC61850 tag address TIMEOUTS INT 5000 Timeout in ms COUNTABLE BOOL d QERRO BOOL 1 1 Connection to IEC61850 COM block 0 faulty o QCOMERRO BOOL Communication IEC61850_COM block 0 not ok o QBAD BOOL 0 Data valid o VALUE DWORD o Addressed value as BITSTRING
34. Booi31 Jos Reports STRINGES2 pescription for Report Boo132 AD Reports2 STRNG S2 Tag Address for Report Bool 32 osc Reports3 Januar nescription for Report Booi33 AD Reports3 STRNG S2 in Address for Report Booi33 DSC Report34 STRNGS2 Description for Report Bool34 ap Reports4 STRINGES2 Tag Address for Report B0ol34 Jos ene STRINGES2 pescription for Report Bool 35 AD Reportss STRINGES2 tagaddressforReportBool35 Jos ene STRINGES2 pescription for Report Booi36 AD Reports STRNG S2 Tag Address for Report Bool 36 psc Report37 strGES2 DescriptionforReportBool37 ap Reports7 STRNG S2 Tag Address for Report Boo137 i psc Reports STRNG S2 Description for Report Bool 38 ao Reportsg STRINGES2 Tag Address for Report Bool38 Jos ene STRINGES2 Description for Report Booi39 AD Reportsg STRNG S2 Tag Address for Report 800139 psc Reporeso STRINGES2 pescription for Report Booiao ap Repordo STRNGIS2 Tag Addressfor Report Bool40 Tag Address for Report Bool 41 ap report Jomes psc Reporta2 STRNG S2 Description for Report Bool 42 AD Reporta2 STRINGES2 Tag Address for Report Bool42 psc Reports STRINGES2 DescriptionforReportBooI43 AD Report STRINGES2 Tag Address for Report Bool43 psc Reportas STRNG S
35. CONF OP is set to SUPPORTED each installed report block IEC REP will be ini tialized during communication startup with the values of the connected IEC61850 Server device After initialization report values will only be changed if a report is trig gered through a connected IEC61850 Server device RP DSADDR pecify the DataSet containing the tags for reporting The whole DataSet address has to be configured E g CTRULLNO S DataSet1 RP CTRL ADDR Specify a free Report Control block address to enable reporting Normally the corre sponding Report Control blocks reside in the same tree part like the Report DataSet e g CTRL LLNOSSBRS SbrcbA01 EN TCON This Input should be set to 1 enabling T communication and disabling AG L SEND AG L RECV IP ADDR Enter the IEC61850 server IP address protection relay when using T communication TSAP RID Enter the IEC61850 server TSAP number default no 0001 when using T communica tion CPU ID Select the communication port Enter the CPU type if you use the CPUs PN IO port Se lect WinAC if you use a modular Embedded Controller Select CP443 if you want to run T CON communication explicit with a CP 443 1 module Configuration is only necessary if T communication is used A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 27 Interface_ID Hardware identifier of the local i
36. D AG L RECV communication Therefore follow up with chapter 2 3 1 Using network view configuring AG L SEND AG L RECV Communication via the PN IO port requires communication with the T communication blocks If you want to connect an IEC 61850 device with your CPUs PN IO port follow up with chapter 2 3 2 Using program block configuring T communication settings A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 16 2 3 1 Using network view configuring AG L SEND AG L RECV The network view allows configuring the Ethernet connection between the CP443 1 Communication Processor and an active communication partner IEC 61850 client e Navigate to the dedicated S7 PLC in project tree view e Open the device configuration editor and switch to network view e Choose option Connections on toolbar and entry ISO on TCP connection in combo box FX Network 3 Connections ISO on TCP connection PLC_1 CPU 4174 PNIIE 1 Figure 9 Network view settings Select PLC object in network view open its context menu and choose entry Add connection PLC 1 CPU 4174 PE 1 LENTE X cut Crlex 8 Copy Ctrl C Cj Paste Ctrl V X Delete Del ion partners Figure 10 Add new connection A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1
37. Da CTRL LLNO DataSet1 taSet1 Note In this case the Entering a DataSet configured tag blocks name with Domain have to be engineered address will create the in the same order like DataSet in the ade specified in the previ quate directory do ously configured Da main item specific taSet e g Further DataSet en CTRL LLNO DataSet1 tries must not contain objects but only at tributes except for ALARM tags Table 2 DATASET configuration e REPORTING If your IEC61850 device supports Reporting enter the DataSet ad dress for reporting containing the list of Report values in the input RP DSADDR e g CTRL LLN0 DataSet2 Only the complete address is al lowed Note It is recommended to configure not the same DataSet you have config ured on input DS NAME for cyclically reading the tag blocks e g IEC RD BO A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 12 2 2 2 IEC_RD_IN For reporting functionality you have to create a separate Data Set within your IEC61850 server device with the related IEC61850 device engineer ing tool If your IEC61850 server device is a SIPROTEC the DataSet for reporting is automatically installed by DIGSI with creating a new report application see A 1 3 Further enter the Report Control block address e g CTRL LLNO BR brcbA01 at the input RP CTRL ADDR
38. EAL oo ScatedValueREAL20 gt o Joe gen feor fo CJ o Joe gen feo fo o loser feor JL o jer soon jo Groupalarm gt gt o oro weming Jon fo o lag weming Jo Jo Y o Jos warning feor fo lo Warming Jeoot Jo Group warning gt STATUS RP QEO 2 DWORD 16 000 Report Status Word QEO 2 for WinCC Scada 00000 STATUS RP QE1 2 DWORD 16 000 Report Status Word QE1 2 for WinCC Scada 00000 STATUS RP QB 2 DWORD 16 000 Report Status Word QB 2 for WinCC Scada 00000 STATUS R QEO 2 DWORD 16 000 Real Status Word QEO 2 for WinCC Scada 00000 STATUS R QE1 2 DWORD 164000 Real Status Word QE1 2 for WinCC Scada 00000 STATUS R QB 2 DWORD 164000 Real Status Word QB 2 for WinCC Scada 00000 A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 80 VO De dek fault o msc pones Jon o EN MSG STAT5 WORD 164000 ALARM 8P STATUS Output 0 EN MSG_ACK5 WORD 164000 ALARM 8P ACK STATE Output 0 o QMSG ERR5 BOOL nu 1 ALARM_8P Error o lo MSG SUP5 BOOL o 1 Message suppression active o MSG DONE6 BOOL S Bp MSG STAT6 WORD pou ALARM 8P STATUS Output o MSG_ACK6 WORD 164000 ALARM 8P ACK STATE Output 0 o QMSG_ERR6 BOOL lo 1 ALARM 8P Error Guess QMSG SUP6 BOOL lb 1 Message suppression active o msc poner DONE7 BOOL p MSG STAT7 WORD 164000 ALARM 8P STATUS Output 0 po MSG ACK7 WORD 164000 ALARM 8P ACK STATE O
39. EC ALARM AND IEC REP blocks are not delivered with S7 300 Lib Lib TIA v1 21 3 IEC61850 Client 300 CP TCON A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 Generel performance restrictions The maximum number of IEC61850 tags which can be handled by the library depends on the used CPU and the number of connected IEC61850 server devices To calculate the maximum number we provide an excel sheet you can download on our IEC61850 product web page http www industry siemens com industrysolutions global en IT4Industry products simatic add ons iec meets simatic iec client library Pages Default aspx In order to use the blocks a license for each plant project is required Additional functionality can be implemented on request A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 2 Installation 2 1 TIA Portal Open global library The IEC 61850 Client library comes as global TIA Portal library with the file name Lib TIA v1 21 3 IEC61850 Client 3 4 15 00 CP TCON al1 2 3 The library has to be opened in the project view of TIA Portal Open the library with op tion Open as read only in open file dialog Totally Integrated Automation PORTAL Libraries Options gt LL Buttons and Switches LL Long Functions gt LL
40. ERR is set to 1 if any error occurs A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 28 QERR_NO QERR NO delivers detailed error information Not yet supported QRACKF QRACKF is set to 1 if a RACK failure occurs QPARF QPARF is set to 1 if plausibility check of connection parameters LADDR and CONN ID failed QCOMF QCOMF is set to 1 in case of IEC61850 communication is not in state ZYKLCOM Communication error QB CR DS If QB CR DS is set to 1 the DataSet with the name specified in DS NAME could not be created QB EN RP IF QB EN RP is set to 1 writing the Report configuration failed Reporting could not be enabled Caution if QB EN RP is set to 1 all connected IEC REPORT blocks will not work properly QSTATE IEC 61850 COM is mainly organized with a state machine QSTATE shows the current state If communication to the IEC 61850 device is established correctly the function block is running in state ZYKLCOM after initialization The following table lists the possible states A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 o fm nitialization state to get parameter a CDSEXREG Send Request to check existence of DataSet e coscrreo create DataSetrequest B Jensen
41. G o RETVAL are Jo Retumcode O Table 26 IEC RD IN VO description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 3 13 IEC WR RL 3 13 1 Block screenshot IEC WR RL Instance FB527 EC WR RL EN DB2 DBD242 IEC61850_ COM DB CONNECT RO CONNECT R1 CONNECT QERRO sWriteRealAddre QERRI 35 ADDRESS QCOMERRO J00 TIMOUTMS QCOMERR1 COUNTABLE OBAD SIN QDONE WriteRealvalue VALUE RETVAL RETRANS ENO Picture 11 IEC_WR_RL screenshot 3 13 2 Block description With the IEC_WR_RL block a Real variable can be written in a IEC61850 Server Device This block can be used for example to write substitution val ues Input Output description is equal to IEC_WR_BO Block description Please see chapter 3 10 2 Block description 3 13 3 Called blocks Declaration Block number Declaration Block name UDT5 BST_INT UDT8 LINK_INFO FC10 EQ STRING FC21 LEN SFC20 BLKM OV SFC64 TIME TCK Table 27 IEC WR RL called blocks A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 89 3 13 4 VO description VO De pagabi fault eo connect fanv struct __ Connection to IEC61850 COM block DB faporess STRINGIS iec61850 t
42. G S2 Tag AddressReal15 gt SF Rens Jm o ScalimgfactorReal15 fanene sramersz ragadaressredn6 0000000 sF reame mr Jo scaingractorreans gt Jose STRNG S2 tagaddressReal17 gt Jena INT jo ScaingracorRed17 gt ao pene _lsrawots21_ _fragastesseat IE o scaling Factor Real 18 EE lc sF Reano mr Jo Scaling FactorReal9 gt ET EE SE reao mr Jo scalingFactorReal20 gt m STRING 52 CTRL C Tag Address Group alarm i AD Warning STRING 52 CTRL C Tag Address Group warning omo Twoo pn jJ Ce O O eg o Joes aen h jJ o o jocowem Jon h IL NN QBAD BOOL A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 73 VO VO De dd bag fault oe Report31 Boo ff QB Report31 BOOL o o v Reports1 soon Jo vatueReportBOOL31 o Immo mme LL QEO Report32 BOOL QE1 Report32 BOOL QB Report32 BOOL o vRepots32 soo Jo vaweReportBO0L32 gt o rsrerorrs2 Ime LL o lago ps Joo o o Joe ps Jon o o las tepors3 Joo fo o vRepore3 Boo Jo vatueReportBO0L33 o lrsmors mr LL o Joe Reporaa Jon fo o joo Jon fo o QBReportsa Jon o o vRepor34 Jg Jo VawuereportBoor gt o rsrerorrsa mme o Qro Reports feor fo o Joe Reporas Jon fo o joBRposs feor fo lo v Report35 poo Ju vatueReport B00L35 o rsrerorras ime LL o Joe Reporas
43. G_STAT2 WORD 164000 ALARM 8P STATUS Output 0 MSG ACK2 WORD 164000 ALARM 8P ACK STATE Output 0 QMSG SUP2 BOOL nu 1 Message suppression active MSG_DONE3 soot lo O MSG_STAT3 WORD 164000 ALARM 8P STATUS Output 0 MSG ACK3 WORD 164000 ALARM 8P ACK STATE Output 0 QMSG ERR3 BOOL KIT 1 ALARM 8P Error QMSG ERR2 BOOL 1 ALARM 8P Error A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 69 VO De QMSG SUP3 BOOL o 1 Message suppression active MSG DONE4 BOOL ei MSG STAT4 WORD 164000 ALARM 8P STATUS Output 0 1 o MSG ACK4 WORD 64000 ALARM_8P ACK STATE Output 0 QMSG ERR4 BOOL o 1 ALARM 8P Error QMSG SUP4 BOOL o 1 Message suppression active o QMSG_SUP BOOL 1 one Message suppression active Table 34 UNI RP6OR20 VO description 3 9 5 1 0 description UNI RP6OR20 2 block VO De Jb ane fault ro connecr jan Connection to iec combok ra connect Jun comectiontolEcCOMblok TIMOUTMS fess soo Ja i 8PAtam msc oun lawang 2 msg ou Jos 2 Joes evos DWORD jl msc evna pworo pp KH DSC Report31 STRING 52 Ba Description for Report Bool 31 A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 70 VO De dee e fault AD Report31 Januazz Tag Address for Report
44. IEC REP has to exist in the device The DataSet name and its address for Reporting has to be set in IEC61850 COM RP DSADDR Furthermore ena bling Reporting has to be executed successfully IEC61850 COM QB EN RP has to be 0 after initialization ADDRESS The address has to be set without the IEC 61850 objects attribute name only the IEC 61850 object name has to be set Note The IEC61850 address strings can also be generated and copied via the StatCon configuration tool Example for address CTRL LLNO ST LEDRs A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 46 EN_MSG EN_MSG enables Alarming in WinCC Special messages can be specified Please see chapter 2 3 3 Set up user defined WinCC messages for a explana tion on how do setup individual WinCC messages for a function block BS_VALUE Please set up BS_VALUE depending on the data type of your value Ifthe value you want to report is a BITSTRING value you have to set up BS VALUE with 1 TRUE If it is a BOOL value please set up BS VALUE with 0 FALSE default Further Input Output description is equal to IEC RD BO Block description Please see chapter 3 3 2 Block description Note If adding two IEC REP tag blocks with the same address only the first IEC REP tag will be updated The library allows no duplicate IEC REP blocks 3 7 3 Alarming There are triggered
45. Library IEC61850 78 VO De pb bag fault QEL Real12 Boo jo o Joren f Sof o o vreina frea foo Vaerea i O o v Scaledreain2 REAL Joo ScaledValueREAL12 gt o oro mens feor fof oer mans Joo 3 o Jose f o o vres fee foo Jeng o v scaeareans REAL loo ScatedValueREAL13 gt o lommene feor fo j o Joes f r fo o lommene Joo Jo o vreina fremt oo vaert i O o v scaledreana REAL loo Scatedvauerea gt soor lo o loermens f fo o Jose Jon o o vres rar foo jVaueRALIS O o vscaledreans Ja 0 0 scaled ValueREALIS 00 o joe mene Jon fo o Joe paie Jon fo o o Jose Jon fo o v Reano REAL Jon Jesse o v scaledRean REAL oo Scaled ValueREAL6 o lommen Jon fo IL o Joes feor o oo lo Jos pe soo JL o vReai7 Je foo jJVaueREALIT i O o v Scaledmean REAL loo ScatedValueREAL17 gt o QEO Real18 BOOL o formene f r JL A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 79 VO De psi fault o Jose Jon fo o Res Je foo jVaueRALIB i lo v Scaedmeans REAL oo ScatedValueREAL18 0 BL Jh o formene f r fo o os sem on fo o jvReno rar foo Value RELI i O o v Scaledeano REAL loo Scaled ValueREALI9 gt o oro meo Jon fo o Joe ep on fo o foreo Jon fo o o vreazo rat oo VaueREAL20 i O o v scaledrear20 R
46. M or IEC REPORT block no default alarm texts will be used You have to declare the alarm texts for each multi instance DB o After changing the message texts the AS program and the OS should be compiled The compiled AS program has to be downloaded to the CPU Please note e Atleast one cyclically read tag block IEC RD XXX has to be engineered to es tablish the communication to an IEC 61850 device e At maximum up to 80 cyclically read tag blocks can be configured The maxi mum size of connected blocks is 250 The more blocks are engineered the more CPU scan time is needed Detailed performance information you can find here 1 Software Requirements and Use Conditions 2 3 TIA Portal Net Configuration not S7 1500 Like mentioned in the introduction the IEC61850 client library can be used with an ad ditional CP module or with the CPUs PN IO port if available at the CPU The SIEM ENS SIMATIC environment offers two different system libraries for network communication e AG LJSEND AG L RCV communication parameters are set up in the network view of TIA Portal Connection reference parameters have to be taken out from the network view and set to the IEC61850 COM block e T communication library all communication parameters like IP address type are engineered directly on the IEC61850 COM block no configuration in net work view is necessary Communication via the CP 443 1 CP343 1 module can be done with the AG L SEN
47. MERR gvComstart QTAGS sRdinAddress ADDRESS QBAD VAN QRCONNECT 5000 TIMOUTMS VALUE gvComReset RESET ENO TRUE COUNTABLE ENO Figure 15 T communication example S7 300 57 400 7 v Static 8 6 sledName String 24 ED 0002 9 4a sEnMsg Bool true 10 ya SEnTCON Bool true na sIPAddr String 15 140 80 160 14 12 lt a sInterfacelD HW_ANY 262 DB1 1EC61850_ COM DB FBS15 IEC61850 COM CONNECT QERR QERR NO QPARF EN QCOMF W 16 8001 RED CONNECT QB CR D slPAddr IP ADDR OB EN RP 1 CON ID QSTATE W 16 1 TSAP RID QSNDACT sinterfacelD Interface ID QSNDDIAG L 1000 TIMEOUT QRCVDAT 2 MODE QRCVDIAG sledName ED NAME QLEN 0 DS CONF OP QMSG ERR D5 NAME QMSG DONE 0 RP CONF OP QMSG SUP X RP DSADDR QMSG STAT 20 RP CTRL ADDR QMSG ACK 0 1 SAMPLE T QRACK NO sEnMsg EN MSG QSLOT NO 10 0 QBLOCKS gvStartCom STRT_COM QTAGS 10 1 QRCONNECT gvResetCom RESET ENO Figure 16 Communication Example S7 1500 A documentation paper issued by Siemens O Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 21 2 4 Configuring IEC 61850 addresses via StatCon The delivery of the IEC
48. Monitoring and control objects gt LL Documentation templates LL WinAC MP Figure 1 Open library After the library was opened you can find out all objects for using the library under neath the directory Master copies This directory contains e An instruction profile for compiling the library not 57 1500 e ThelEC61850 data types e ThelEC61850 symbols e ThelEC61850 program blocks vw 1 Lib TIA v121 IEC61850 Client 300 CP Types Y Master copies v ks Common data v Gi Instruction profiles NG IEC61850 57 300 profile v Es PLC vis data types iP IEC61850 57 300 CP data types v program blocks 8 IEC61850 57 300 CP blocks vis tags E EC61850 57 300 CP symbols gt f Common data Figure 2 Library structure A documentation paper issued by Siemens O Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 Copy the libraries instruction profile to your project instruction profiles and activate it by context menu Open the profile in editor and change the value in combo box CPU family to the type you are using v gd common data CPU family 57 300 ford Ca Alarm classes Instructions S Text list ici i ext lists gt Basic instructions gt gil i i 095 m Extended instructions il Instruction profiles m Technology Add fil icati Ei Add new profile M Communication NG IEC61850 57 300 profile Figure 3 Common instruction profiles
49. OM ERRO BOOL 1 Communication IEC61850 COM block 0 not ok 1 os soon f1 Data vali ALARM REAL NE Alarm value BOOL mest or ne stamp of Value Q QMSG_ ME o Je one Jon Jo i ALARM BDONE 9 o MSG_ERR BOOL 1 ALARM 8 Error lo MSG SUP BOOL o 1 Message suppression active o MSG_STAT WORD o ALARM_8P STATUS Output A documentation paper issued by Siemens O Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 48 VO De lo MSG ack WORD lo ALARM 8P STATUS Output Table 19 IEC REP I O description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 3 8 IEC_CTRL 3 8 1 Block screenshot 28 lt gt IEC CTRL Instance IEC CTRL e 29 4 sCtrl ddress String 52 Ha CTRU Q8CSWIT CO Pos 30 lt a sctriCtrival Bool ng true IEC CTRL Instance FB523 MEG CTRL EN DB2 DBD242 1EC61850_ COM DB CONNECT RO CONNECT RT CONNECT sCulAddress ADDRESS J00 TIMOUTMS TRUE COUNTABLE SIEMENS ORIGIN 3158 WITHILOCK QERRO WITHSYNCHR QERRI false TEST OCOMERRO sCtriCtrival CTRLVAL QCOMERR1 TRUE SBO QBAD 10 2 QDONE gvCtrlTrigger CTRL ENO Picture 7 IEC CTRL screenshot 3 8 2 Block description IEC CTRL controls an IEC 61850 device switch using the IEC 61850 Control S
50. OS is updated and works with messages your PLC programm Check if all connections to the PLC are established and working IEC REP block should update the timestamp after the report was generated Compare IEC REP timestamp with tag timestamp get by IEC 61850 browser RP EN QBis set to 1 Something failed enabling Reporting with the Report Control block Check if your RP DS ADDRO 1 match with DataSet address get by IEC 61850 browser USER MANUAL PCS7 V7 1 Client Library IEC61850 92 No Problem Possible Reason Soon o O Reporting was not activated with Please follow up the procedure described in DIGSI System Configurator using a A Appendix 1 1 Report configuration with DIGSI if SIPROTEC using a SIPROTEC device If using a different device follow up the manual instructions to add a Report ap plication ZYKLCOM state is reached but IEC61850 COM block does not keep this state communication gets instable IEC61850 COM TIMEOUT to small Increase TIMEOUT value Table 29 Troubleshooting IEC 61850 communication USER MANUAL PCS7 V7 1Client Library IEC61850 93 A Appendix 1 1 Report Configuration with DIGSI A 1 1 Prearrangement e Make sure DIGSI isinstalled and your SIPROTEC device exists in the Devices folder If not please install DigSi and then add the SIPROTEC device to your Device Folder The complete Device MLFB number is necessary for this operation e Make sure an IEC61850 Station exists in yo
51. R QRACK NO 41 TSAP RID QSLOT NO 680 CPU ID QBLOCKS 1 TCON ID QTAGS STAT COM ORCONNECT RESET ENO Figure 6 IEC61850_COM block e ThelEC61850 COM block inputs and outputs are explained detailed in chapter Block description IEC61850 COM e MODE Here you can choose the mode for the cyclically reading of tags It is important to choose the correct mode for your application A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 11 If your device supports DataSets we recommend using this option because it is the fastest way for communication The following configurations are possible Input name DataSet supported No DataSet supported Dynamic DataSets Only static DataSets Device does not support supported supported DataSets use LIST Device allows dynamic DataSets can only be a LEE IE blocks are put together creation of DataSets created with an external to one READ request with IEC61850_COM engineering tool q block DATASET DATASET LIST DS CONF OP SUPPORTED NOT SPTED NOT SPTED DS NAME DataSet name of your Enter the DataSet name choice Will be created which was previously in device automaticly configured with the ex by the library Entering ternal engineering tool only a DataSet name GE ra will put the DataSet to Ke EE the root directory VMD specific area e g
52. S Please note in Step 7 you have to replace with Note These IEC61850 address strings can also be generated and copied via the StatCon configuration tool For further information see Configuring IEC61850 addresses via StatCon o Forthe simple tag blocks e EC RD BS BITSTRING IEC RD IN INT e EC RD RL REAL IEC RD BO BOOL The full path including the object attribute has to be entered starting with the IEC 61850 domain name A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 14 e g CTRL LLNO ST Loc stVal for a BOOL tag block o Forthe complex tag blocks e IEC ALARM BOOL with timestamp e IEC REPORT BOOL on change with timestamp e EC CTRL uses IEC61850 control mechanism Only the path to the object name itself has to be entered e g CTRL LLNO ST Loc for a REPORT tag block In Case of IEC CTRL the path excluding Oper SBO object has to be set up e g CTRL LLNO CO LEDRs Interface Name Data type Offset Default value 1 lt gt Input 2 Av Output 3 as QvalueBool Bool 4 a QValuelnt Dint 5 s QValueReal Real 6 n OvalueBs DWord B 680 E a Add ne sl 8 4 Inout 9 lt e Static 10 lt Q sComledName String 24 IED 0002 1121 sEnMsg Bool true 12 4 gt IEC RD IN Instance IEC RD IN 18 4 IEC RD BO Instance IEC RD BO 14 ais gt IEC RD RL Instance IEC RD AL
53. STRING IEC RD IN INT IEC RD RL REAL The following tag blocks read values on change with the IEC61850 reporting mecha nism IEC REPORT BOOL on change with timestamp A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 13 Switches can be controlled with e EC CTRL uses IEC61850 control mechanism Additionally tags can be written e g substitution values with the following blocks e IEC WR BO BOOL e IEC WR BS BITSTRING e IEC WR IN INT e IEC WR RL REAL 2 2 3 Engineer tag blocks e Add e g one IEC RD IN block e Set RO CONNECT to the data block value IEC61850 COM DB CONNECT For the following tag blocks always use the same order of RO CONNECT gt Block title Singular communication hd Network 1 1EC61850 communica tion block bi Network 2 1EC61850 Read integer value 4082 HIEC RD IN IEC61850 Instance COM DB mn FB518 SE IEC RD IN IEC61850 COM Fu CONNECT u GER QERRO QERR NO QERRI EN QRACKF QCOMERRO 8001 RED CONNECT QPARF QCOMERRI 16 3FFD LADDR QCOMF sAddressint ADDRESS QBAD 1 CONN ID QB CR DS 000 TIMOUTMS VALUE L 1000 TIMEOUT QB EN RP TRUE COUNTABLE ENO 2 MODE QSTATE Figure 7 Set RO Connect to DB value CONNECT e Enter the IEC61850 address string on input ADDRES
54. T RO CONNECT QERRI R1 CONNECT QCOMERRO sWritelntAddress ADDRESS QCOMERR1 0 TIMOUTMS QBAD TRUE COUNTABLE QDONE HIN Writelntvalue VALUE RETVAL RETRANS ENO Picture 10 IEC WR IN screenshot 3 12 2 Block description With the IEC WR IN block a Integer variable can be written in a IEC61850 Server Device This block can be used for example to write substitution val ues Input Output description is equal to IEC WR BO Block description Please see chapter 3 10 2 Block description 3 12 3 Called blocks Declaration Block number Declaration Block name UDTA BST INT UDT8 LINK_INFO FC10 EQ_STRING FC21 LEN SFC20 BLKM OV SFC64 TIME TCK Table 25 IEC WR IN called blocks A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 87 3 12 4 VO description VO De pagabi fault leo connect ANviStructi __ Connection to IEC61850 COM block DB faporess STRINGIS iec61850 tag address mmeouTs mr sooo Timeoutin ms countas eoor J linternalvalwe vawe font Ji tegvaluetobewrittenindevice i RETRANS BOOL Retransmission of value QERRO BOOL 1 1 Connection to IEC61850 COM block 0 faulty dl QCOMERRO BOOL Ed Communication IEC61850 COM block 0 not ok o Josap Jana Ir lo patavaid N o QDONE BOOL FEE Addressed value as BITSTRIN
55. TCON QMSG SUP IP ADDR QMSG STAT V 16 7 TSAP RID QMSG ACK CPU ID QRACK NO ies TCON ID QSLOT NO 10 0 QBLOCKS gvComStart STRT_COM QTAGS 210 1 QRCONNECT gvComReset RESET ENO Figure 22 screenshot IEC61850 COM block S7 300 S7 400 A documentation paper issued by Siemens Siemens AG 2015 All rights reserved 23 USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 7 lt y Static 8 lt Q sledName String 24 ED 0002 9 q sEnMsg Bool true 10 4 sEnTCON Bool true noua sIPAddr String 15 140 80 160 14 12 9 sinterfacelD HW ANY 262 DB1 IEC61850_ COM DB FB515 EC61850 COM CONNECT QERR QERR NO QPARF IEN QCOMF 41688001 RED CONNECT OBICRIDS slPAddr P ADDR OB EN RP 1 CON ID QSTATE 01421631 TSAP RID QSNDACT sinterfacelD Interface ID QSNDDIAG 1000 TIMEOUT QRCVDAT 2 MODE QRCVDIAG sledName IED_NAME QLEN 0 DS CONF OP QMSG ERR DS NAME QMSG DONE 0 RP CONF OP QMSG SUP RP DSADDR QMSG STAT RP_CTRL_ADDR QMSG ACK 0 1 SAMPLE T QRACK NO sEnMsg EN MSG QSLOT NO 210 0 QBLOCKS gvStartCom STRT COM QTAGS 10 1 QRCONNECT gvResetCom RESET ENO Figure 23 screenshot IEC61850 COM block S7 1500 3 1 2 B
56. V13 Client Library IEC61850 17 To create a new connection press button Add on dialog Create new connec tion and close the dialog on Close button The new connection was added to the connection table on tab Connections Select the new connection and choose tab Properties EX Network Connections ISO on TCP connection v 42 Relations NG i 100 E CPU 4174 RC K n E Network overview Connections Relations VO communication VPN YP Local connection name Local end point Local ID hex Partner ID hex Partner ISOonTCP Connection 1 DA PLC 1 1 si D Unknown General IO tags Texts General Local ID Special connection prope Block parameters Address details Options Local ID he 1 1 ID W 16 3FFD ILADDRI Figure 11 The new ISO on TCP connection Choose general entry Special connection properties and make sure Active connection establishment is selected active amp Properties d General 10 tags Texts General Local ID Special connection prope Address details Options Name 15OonTCP Connection 1 Special connection properties Local end point Via CP CP 443 1 1 PROFINET interface 1X1 MA Active connection establishment Figure 12 Properties ISO on TCP connection Special connection properties Choose Local ID and note down the Block Parameters ID and LADDR These
57. _CTRL IEC_REPORT Although the tags blocks can be connected to the IEC61850_COM block they will not work properly DATASET 1 stands for DataSet mode This means at beginning a list DataSet is created in the IEC 61850 device When running in ZYKLCOM all variables are read with requesting the list name Not all devices support the services to create a DataSet dynamically over the IEC61850 protocol but allow configuring a Da taSet with a Engineering Tool Therefore it is important to know the existing Da taSet with the containing tags This can be done accessing the device with the IEC61850 browser DS CONF OP can be set to NOT SPTED and the connected tag block schedule order should correspond to the order in the DataSet existing in the device LIST 2 mode reads all the connected tags within one request Therefore a list of tags containing all addresses is read cyclically This mode is very scan time con suming It should only used for devices which not support DataSets May be the TIMEOUT variable has to be increased This is indicated if IEC61850 COM block reaches ZYKLCOM state but does not keep it stable It is recommended to set MODE to DATASET due to the fact it is the fastest way to poll tags cyclically If your IEC 61850 device does not support datasets use LIST mode DEBUG mode should only used to detect address configuration faults LIST mode as well as DATASET mode require a RESET for engineering changes add de
58. ag address rmeouts mr 5ooo Timeoutin ms countas eoor imemalvawe vawe fra Ji Tagvaluetobewritten in device i RETRANS BOOL Retransmission of value QERRO BOOL 1 1 Connection to IEC61850 COM block 0 faulty dl QCOMERRO BOOL Ed Communication IEC61850 COM block 0 not ok o Josap Jana Ir lo patavaid N o QDONE BOOL FEE Addressed value as BITSTRING o RETVAL are Jo Retumcode O Table 28 IEC RD IN VO description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL PCS7 V7 1 Client Library IEC61850 90 4 Troubleshooting No fen bt lato IEC61850_COM does not get into MODE DATASET some of the tag ad Change mode into LIST to see which tags keep QBAD QSTATE ZYKLCOM dresses are not valid TRUE Check tag addresses with the IEC 61850 browser tool MODE DATASET DataSet modifica Either check if static DataSet can be used Set tions are not supported with IEC DS CONF OP to FALSE and ensure your tag block 61850 deivce seguence is the same like your tag order in the exist ing DataSet Another possibility is to use LIST mode instead of DATASET mode TIMEOUT or SAMPLE T are not set Check TIMEOUT value It s the time the block waits for properly a successful response to its requests It should be at minimum 1000ms Running in LIST mode it should be at minimum 2000ms Check SAMPLE T It should represent the current scan time 100 IEC
59. al values ee 53 Gell E Ee E 53 ee WEE le E 53 Called BSES nee 57 VO description UNI RPOOR20 black ee 58 VO description UNI RPOOR20 2 block tenes 69 IEC WR BO E 81 Block screenshot MAAL AE ER EE EE 81 A documentation paper issued by Siemens Siemens AG 2014 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 3 10 2 Block description er TI TE EE 81 3 10 3 A TET 83 3 10 4 ER se atk kaa tiga EE a date EE 83 3 11 IEC 03 84 3 11 1 Block Screenshot ee 84 3 11 2 Block deseription ar AE 84 3 11 3 Called Je ed serien 84 3 11 4 Jet le Le EE 85 3 12 IEC WR IN PARA 86 3 12 1 Block EAT eee eee aaa eee eee aaa eee eea nae eee see aaeeeeeeaaaeeeeeaes 86 3 12 2 Block description ae area here 86 3 12 3 Called spa ne ee 86 3 12 4 hede eine en LETT 87 3 13 IEC 3 88 3 13 1 Block screenshot AO EE 88 3 13 2 A een en 88 3 13 3 Called 0 od EE 88 3 13 4 FAE Eeg RE 89 4 Troubleshooting PERE viste EE EE RR EE Ee 90 A APP ria 93 1 1 Report Configuration with DIGSI rrernnunvnnnunnnnnunnnnnnnnnnnnnnnnnnernnnnennn 93 A 1 1 Prearrangement RE EA RE 93 A 1 2 Introduction Report Applications 94 A 1 3 Adding Report Application 95 A documentation paper issued by Siemens Siemens AG 2014 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 1 Software Requirements
60. creenshot 3 9 2 Block description The UNI RP60R20 FB555 block and its extension block UNI RP60R20 2 FB556 manages up to 60 Report tags and up to 20 Real value tags The advantage of this universal block over single report and real blocks is the less time and effort for setting up the project Only report values with BOOL type are supported BITSTRING values are not supported To use this block the IEC 61850 device has to support the IEC61850 service Report Further a DataSet containing the tag addressed with IEC REP has to exist in the device The DataSet name and its address for Reporting have to be set in IEC61850 COM RP DSADDR Furthermore enabling Reporting has to be executed successfully IEC61850 COM QB EN RP has to be O after initialization If you are using UNI RP60R20 and UNI RP60R20 2 together you have to connect the value of Output QALARM from the UNI RP60R20 2 data block A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 54 DB to the input ALARM 2nd BLK of the UNI RP60R20 block like shown in picture 27 In the following the most important inputs and outputs will be explained detailed RO 1 CONNECT RO CONNECT input has to be connected to the IEC61850 COM block CON NECT output TIMOUTMS TIMOUTMS specifies the time in ms the quality gets bad if there is no actu alization of the value EN MSG EN MSG
61. dditional character has to replaced with in STEP 7 Note The IEC61850 address strings can also be generated and copied via the StatCon configuration tool Example for address CTRL LLNO ST LEDRs stVal A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 82 TIMOUTMS TIMOUTMS specifies the time in msthe quality gets bad if the IEC61850 device does not respond with a positive acknowledge in between VALUE Represents the Boolean value which should be written to the IEC61850 de vice Write is performed on value change RETRANS If RETRANS is set to TRUE the current value will be retransmitted Input resets automatically to FALSE QERRO QERRO is set if the CFC connection to the IEC61850 COM block can not be found or is faulty QCOMERRO QCOM ERRO is set if the IEC 61850 communication the IEC61850_COM handles is not working properly IEC61850 COM QSTATE ZYKLCOM QBAD QBAD is set if the value is not valid anymore Possible reasons are e No connection to any IEC61850_COM block e No IEC 61850 communication running e Address string not set properly value was not written successfully in between specified timeout e Access rights no permission for writing value value cannot be overwritten DONE Done will be set to TRUE after transmission of value RETVAL RETVAL shows thelEC61850 Write ret
62. eilure power fault CPU error A o Jose Joo fo Ir Parameter assignment error module A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 32 VO De ans we IE QCOMF BOOL 1 Communication error Communication not running in ZYKLCOM o og CR os poor f CreateDataSetfailed o losen mee sooL 1 subscribing Report failed o josmr wr Jo ntemalstate o joswpcr moot JO a aatasent o losnooas luang Jo Detailedsendstatus o lorcvpar Jon Jo a aatareceiwed o jomvpaG WORD ju Detailedreceiwestatus o Jon Jr Jo ltengthofreceiveddata o lamsa ERRept Jon Jo 1 ALARMBPEmMOor o QMSG surtopt BOOL Jo 1 Messagesuppression active o Joes sTAT opt woro Jo Juan BP STATUSOUtput o MSG acktopt WORD o ALARM BP ACKNOWLEDGE Output lo QRACK NO INT o cPRackNumber QSLOT_NO CP Slot Number INT o QBLOCKS mr fo Number of connected blocks o QTAGS INT lo Number of connected tags o ORCONNECT WORD 16 00 Bed Communication output Table 7 IEC61850 VO description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 33 3 2 IEC_RD_BO BOOL tag 3 2 1 Block screenshot 14 lt gt IEC RD BO Instance IEC RD BO 15 4 a sAddressBool String 52 E CTRULLNO ST LEDRs stVal HIEC RD BO Instance FB517
63. enables Alarming in WinCC Special messages can be specified Please see chapter 2 3 3 Set up user defined WinCC messages for a explana tion on how do setup individual WinCC messages for a function block ALARM 2nd Block UNI RP60R20 This input only exists on UNI RP60R20 block It has to be connected to the output QALARM of the second block UNI RP60R20 2 QALARM UNI RP60R20 2 This output only exists on UNI RP60R20 2 block It has to be connected to the input ALARM 2nd Block of the first block UNI RP60R20 DSC Reportxx DSC Reportxx xx with the number from 01 to 60 is the description text for the report configured at AD Rerportxx It is shown in the WinCC faceplate for the related report AD Reportxx A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 55 AD Reportxx xx with the number from 01 to 60 has to be set up with the address of the data object within the report dataset The address hasto be entered as IEC61850 address string without the IEC 61850 objects attribute name only the IEC 61850 object name has to be set Note The additional character has to replaced with SS in STEP 7 Example for address CTRL LLNO ST LEDRs AD_Realxx AD_Realxx xx with the number from 01 to 20 has to be set up with the address of the real value data attribute within IEC61850 server device The address has to be e
64. ence parameter from network view Table 3 AG_ L SEND AG_ L RECV parameter settings 2 3 2 Using program block configuring T communication settings The following Input parameters have to be setup for the IEC61850 COM block using singular communication A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 input name Description PLC type EN TCON This Input should be set to 1 enabling T 57 300 57 communication and disabling AG L SEND AG L RECV 400 S7 1500 IP ADDR Enter the IEC61850 server IP address protection relay 57 300 S7 400 57 1500 TSAP RID Enter the IEC61850 server TSAP number default no S7 300 S7 0001 400 57 1500 CPU ID Select the communication port Enter the CPU type if S7 300 S7 400 you use the CPUs PN IO port Select Win AC if you use a modular Embedded Controller Select CP443 if you want to run T CON communication explicit with an CP 443 1 module TCON ID TCON ID has to be unique for every IEC61850 commu 57 300 57 400 nication instance running on a S7 CPU We recommend subsequent numbering for every instance starting with aq Interface ID Hardware identifier of the local interface Find out this 57 1500 ID in properties of your communication module CON ID CON ID has to be unique for every IEC61850 communi cation instance running on a 57 CPU We recommend subsequent numbering for every ins
65. eportag eoor J vawereporepo0Lag o rsreroRres Ime MY o Qro Reporas Jon fo o Joe Reports Jon fo o los Reportes feor o o o v Reportas Boo Jo valuereporBo0tas o j mmeoms mme o Qro Reports BoL fo o Joe gesong Jon o o o los Reportes Jon fo o y o v Reportas BOOL Jo VaweReprtEOOL4 o jmmeromae Ime LL o lago Repora7 Joo Sof S y O BOOL o Jos Reporta7 loot o v Reporta7 BOOL Jo valuereporBo0La7 gt o rsReroRra7 Ime LL o Qro Reporag BoL fof S o loc Reports Jon fof S o los Reportes BoL fo IL o v Reportas feoor Jo valuereporBooLde o j mmeoms mme o Qro Reports BoL fo o Joe Ross Jon fo S y o los Reportes Jon o oo o v Reporag soo Jo jVaueRepotBOOL49 A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 76 o TS reports TIME o Jaro Reporso BOOL o Joe Reportso BOOL BOOL o JV Reportso Jesoo Jo ValueReportBooLso0 o rsrerorrso mme Il y O o logo Repors1 Boo fo o Jo reports Boo Jo o Jos reports Boo fo o JV Reports1 soon o jVaueReprtBOOLS o Immo mme Il y O o Jo Reports2 BOOL o Jos Repors2 log o JV Reports2 BOOL Jo ValueReportBooLs2 msmEORS2 mme oc oc lo Joko Reports3 soon UU o Jo Reports BOOL o BOOL o JV Reports3 BOOL Ts REPORTS3 m
66. ervice If CTRL is set to 1 a Control command is executed with the Con trol value CTRLVAL ADDRESS The address has to be set without the IEC 61850 objects attribute name only the IEC 61850 object name has to be set Addresses for Control objects contain the function constraint CO Note The IEC61850 address strings can also be generated and copied via the StatCon configuration tool Example for address CTRL LLNO CO LEDRS ORIGIN Specify the command source Actor This string cannot be empty Default value is SIEMENS A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 50 WITHILOC If WITHILOC is set before executing control command an Interlock check is done in the device WITHSYNC If WITHSYNC is set before executing control command a Synchro check is done in the device TEST If TEST is set the switch command is only for testing real switching is not executed CTRLVAL Specifies the Command value 0 stands for close 1 represents open SBO Specifies if Select before Operate should be used If Select before Operate is selected first a Select telegram is sent to the IEC61850 device after acknowledging a second Operate telegram is sent to control the switch If SBO is disabled only Operate telegram is sent to the device QBAD If DONE bit is not raised up for time TIMOUT
67. g Address for Report Bool22 Jos ween STRNG S2 DescriptionforReportBooI23 AD report23 STRNG S2 Tag Address for Report Bool 23 oscreport24 STRNGIS2 DescriptionforReportBool24 AD Reportza STRINGES2 Tag Address for Report Bool 24 i psc Reports STRNG S2 Description for Report Bool 25 AD Reportos STRINGES2 Tag Address for Report 800125 foscreport26 sTriNGES2 Description for Report Bool 26 A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 60 VO De pot Ks fault AD Report26 STRINGIS2J Tag Address for Report Bool26 Dscreport27 STRNG S2 pescription for Report Bool 27 AD Reportz7 STRNG S2 Tag Address for Report Bool27 psc Reporeza STRNGIS2 Description for Report Bool 28 AD Reportog STRINGES2 Tag Address for Report Bool 28 Jos reportza STRNG S2 pescription for Report Booi29 ap Reporeza STRNG S2 Tag Address for Report Bool 29 i psc Reports STRINGES2 pescription for Report Booi30 ap Reportso STRNG S2 Tag Address for Report 800130 Jusen SrRNG S2 ragaddressReal0l gt Jesag mr Jo scalingFactorRea0 gt AD Resio2 Januar fragmaaressRealo2 o ScalingactorReal02 gt i AD Real03 STRING 52 EN Tag Address Real 03 o scaling Factor Real03 gt
68. lete blocks address change Please see also table DATASET configuration IED NAME The IED name has to be set with this input IED Intelligent Electronic Device The IED name is a string and is set up with your engineering tool e g IED 0010 It can be read out with the IEC 61850 browser tool DS CONF OP DS CONF OP stands for DataSet Configuration Operations These can either be sup ported or be not supported dynamic create delete DataSets Check your device de scription if these operations are supported DS NAME The DataSet name is a string to identify your DataSet to cyclically read tags The DataSet A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 26 is placed in the IEC61850 device VMD area entering only the DataSet name like DS1 or in the Device Domain Item area like CTRL LLNO DS1 RP CONF OP RP CONE OP stands for Reporting Configuration Operation If the IEC 61850 device supports subscribing and unsubscribing Reports select SUPPORTED otherwise select NOT SPTED If subscribing to reports is selected the IEC61850 COM block enables the buffered Re porting for all tags included in the DataSet specified with RP DSADDR whole address with the trigger on change Therefore a free Report Control block address which con tainsthe RP DSADDR in entry DataSet has to be specified in RP CTRL ADDR If RP
69. lock description 1EC61850_COM block handles the IEC 61850 protocol It manages all connected tag blocks It recognizes cyclic read tags creates read requests and dispatches the values to the connected blocks Furthermore Reports are dispatched to the dedicated blocks In the following the most important inputs and outputs will be explained detailed RED_CONNECT Do not change default value of this input default value 1648001 This input is just necessary for H systems and these systems will not be supported by TIA Portal LADDR CONN_ID LADDR input and CONN ID specify the used NetPro connection between the CP 443 1 CP and the IEC 61850 device when using AG_ L SEND AG_ L RECV communication CONN_ID LADDR input and CONN ID specify the used NetPro connection between the CP 443 1 CP and the IEC 61850 device when using AG_ L SEND AG_ L RECV communication A documentation paper issued by Siemens O Siemens AG 2015 All rights reserved 24 USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 25 MODE Mode input configures the way the IEC61850_COM block requests the cyclically read values DEBUG_MODE 0 means the IEC_61850_COM block is running in debug mode It sends a read request for every tag which should be read cyclically and evalu ates its response In that mode it can be verified if an IEC61850 tag address is not set up correctly QBAD TRUE This mode is only for debugging Caution This mode does not support IEC
70. me o Joko Reportsa BOOL o Joe Reportsa BOOL o Jos Reportsa BOOL o JV Reportsa soon Jo ValueReportBooLs4 o Immo mme Il y O lo Joen reports Immo Jo o Joe1eporss Boo o o Jos Reporss Boo fo o JV Reportss soon Jo ValueReportBooLss o mHsmeorss nm Il A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 77 VO De de ES fault QEO Report56 Joo aa Value Report BOOL 56 lo BOOL o Jas Reportse Jmo fo moo lo o rsperorrss Jm oe Reports soo o o Joe Reporis7 mo fo o QBRepores7 eoor fo BooL Jo valuereportBOoL57 TS REPORTS7 Ime IT o loro Rpotse eoor fo o Jet Repotsa mot fo Ir o Jas reporsg eoor fo o v Reportsa Iso Jo valwekeportB00158 o rsperorrss mme oe Reportss Joo o TI o Joe Reporse mo fo o Jo Reports mo Jo o vReporeso soo lo valuereporiBooLs9 o rspeporrso rme LI oe Report o Joo fo OC o Joe Reporso ma fo LI o QBReporeso mo fo LI o vRepoteo Iso Jo VatuemeportmooLso o rsrerorrso mme O o loro Reli eoor Jo LI o forran Joo fo o lommen eoor LI o v Res fer foo jVaueRALI lO v scaledrean1 RAL foo ScaledValueREAL11 o joe men Joo fo PG A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client
71. nd paste address value lec61850 57 400 Test PLC 1 CPU 416 2DP Program blocks gt IEC61850 Communication FB1 dis amp Balla IERE Ran STE Interface Name Data type Offset Default value Visible in Setpoint lt gt Input lt gt Output lt a Inout lt v Static MU sRdinCtlLoevel String Sl a Hinzuf gen lt y Temp Dr BR KOMS D Hinzuf n Figure 21 Paste address to TIA Portal program block A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 3 Block description 3 1 IEC61850 COM 3 1 1 Block screenshot 5 4a sComledName String 24 zi IED 0002 6 Sa sRepConfOp Int co 1 7 ea sRepDataSetAddress String 52 ees CTRL LLNO DataSet2 8 Sa sRepctrlAddress String 52 E CTRL LLNO BR brcbAO1 9 aa sEnMsg Bool ES true DB2 1EC61850_ COM_DB FB515 EC61850 COM EN CONNECT W 16 8001 RED CONNECT QERR W 16 3FFD LADDR QERR NO 1 CONN_ID QRACKF L 1000 TIMEOUT QPARF 2 MODE QCOMF sComledName ED NAME op CR D5 DS CONF OP OB EN RP DS NAME QSTATE sRepConfOp RP CONF OP QSNDACT HsRepDataSetAdd QSNDDIAG re55 RP DSADDR QRCVDAT sRepCtrlAddress RP CTRL ADDR QRCVDIAG 0 1 SAMPLE T QLEN sEnMsg EN MSG QMSG ERR 1680000 0001 MSG EVID QMSG DONE e EN
72. ntered as IEC61850 address string with the IEC 61850 objects attribute name Note The additional character has to replaced with in STEP 7 Example for address CTRL LLNO ST LEDRs stVal SF_Realxx On SF Realxx xx with the number from 01 to 20 the scaling factor for the real value addressed on AD_Realxx can be set AD_Error This input has to be set up with the address of the data attribute bool val ue which represents the error status of the connected IEC61850 server device For a Siprotec it is the attribute CTRL CALH1 ST GrAlm stVal This attribute is preconfigured on AD Error AD_Warning This input has to be set up with the address of the data attribute bool val ue which represents the warning status of the connected IEC61850 server device For a Siprotec it is the attribute CTRL CALH1 ST GrWrn stVal This attribute is preconfigured on AD_Warning QERRO 1 QERRO 1 is set if the CFC connection to the IEC61850 COM block can not be found or is faulty QCOMERRO 1 QCOMERRO L is set if the IEC 61850 communication the IEC61850 COM handles is not working properly IEC61850 COM QSTATE ZYKLCOM A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 56 QBAD QBAD is set if the values of one or more real tags or reports are not valid anymore or if the bool value ad dressed with AD Err
73. nterface Find out this ID in properties of your commu nication module kI m General 10 tags Texts gt General End of topology discovery Module parameters gt Options gt gt Hardware identifier Ethernet interface X1 DNS configuration gt FTP server configuration SNMP b Security Hardware identifier Hardware identifier 262 Figure 24 Example for an interface ID of a CP module TCON ID CON ID TCON ID has to be unique for every IEC61850 communication instance running on a 57 CPU We recommend subsequent numbering for every instance starting with 1 Con figuration is only necessary if T communication is used SAMPLE T CFC uses SAMPLE T to write the block OB cycle time in ms 100 This input should never be 0 0 It is used for TIMOUT calculation EN MSG Enables WinCC messaging if set to 1 STRT COM OFF deactivates the communication via IEC61850 ON starts the communication again RESET Reset deactivates the IEC61850 communication set all internal variables to INIT value and re organizes the internal block list It has to be excecuted if for example a tag block is removed or added or a address has changed CONNECT CONECT output has to be connected with the tag block RO 1 CONNECT input singular mode connect only RO CONNECT redundant mode connect RO CONNECT when IEC61850 COM is connected with CP Rack 0 otherwise connect RI CONNECT QERR O
74. omrza mme o Joe poro BoL o j o BOOL o fom Reposo soos o lv Reposo eoor Jo vauereportsoorso o rsrerorrso Ime LL o Joe san Jon o o y o Joe Reaio1 Jon o o foreo Jon o o vreor Je foo vaere i O o vscaledrealo1 REAL O 0 ScalelValueREALOL gt o oro sa Jon fo oo o jorge f r Jo o o jose Jon o _ _ o vreao rar foo vawweReaL02 O o vscatedrealo2 REAL oo ScatedValueREALO2Z gt o Joe mao Jon fo CJ o aex mess Jonn o Jos Resio3 Jaen gt o lv Realos REAL foo vauerearos O lo v scaledrea03 REAL oo ScatedValueREALO3 gt o Joe sam Jon o o Joe sam Jon fo o o joel Jon fo _ _ o vResios Je foo vaere O O V Scaledreaoa REAL oo scaled ValueREALOS gt soor fo O o ori res Jon o IL o oBRealos Jon o o o lv Realos Jaen low jVaueRALOS gt A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 67 o naa lo v ScaledRealos REAL loo Scaled Value REAL 05 QEO Real06 BOOL o Joe reais loot BOOL o vResios frea oo vauerearos O o Vscaledreal06 frea oo Scaled ValueREALO6 gt soor lo o lat rem feor o Jf o oBRealo7 Jon o o lv Realo7 frem foo JVaueREALOT O o Vscaledrealo7 REAL 0 0 ScatedValueREALO7 gt o oro meos Joo fo o oer rede Jon o o Jogesios Jon fo o vResios
75. or and AD Warning aren t valid anymore QE0_Reportxx QE0_Reportxx xx with the number from 01 to 60 is set if the IEC 61850 communication of the related internal report is not working properly first IEC61850_COM block QE1 Reportxx QE1 Reportxx xx with the number from 01 to 60 is set if the IEC 61850 communication of the related internal report is not working properly second IEC61850 COM block QEO Realxx QEO Realxx xx with the number from 01 to 20 is set if the IEC 61850 communication of the related internal real value is not working properly first IEC61850 COM block OE1 Realxx QE1_Realxx xx with the number from 01 to 20 is set if the IEC 61850 communication of the related internal real value is not working properly second IEC61850 COM block QB Reportxx Bad value QB Reportxx xx with the number from 01 to 60 is set if the value of the related internal report is not valid anymore Possible reasons are e No connection to any IEC61850 COM block block internal e No IEC 61850 communication running e Address string not set properly value was not updated for time TIMOUTMS QB Realxx Bad value A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 57 QB Realxx xx with the number from 01 to 60 is set if the value of the related internal real tag is not valid anymore Possible reasons are
76. portst STRNG S2 Description for Report Booisa AD Reports STRNG S2 Tag Address for Report Bool 54 Jos Reports 7 STRNG S2 Description for Report Bool5s 234 ap Reportss STRNG S2 Tag Address for Report Bool 55 psc Reportss STRINGES2 Description for Report Bool 56 AD reports6 STRNG S2 rag Address for Report Boorse psc Report STRNG S2 DescriptionforReportBooI57 gt ap Reports7 STRINGES2 Tag Address for Report Bool57 psc Reporese_ STRNG S2 Description for Report Boo1 58 ap Repos STRNG S2 Tag Address for Report Boorse psc Reportse STRNG S2 Description for Report Booris ap Reportse STRNG S2 Tag Address for Report Bool 59 oscreportso STRINGES2 DescriptionforReportBool 0 AD Reportso STRNG S2 Tag Address for Report Boreo LIR Remi STRNG S2 ragaddressreal gt Jena mr_ JO scalingFactorRea0 gt ao Resin2 STRNG S2 TagAddressReal12 gt A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 72 VO De pk fault 1 SE reana mr_ Jo scalingractorre gt lao ren STRNG S2 rag Address Real 13 st Reais mr jo scalingFactorRea13 0 ap Reang Januar an Address Real 14 SE Reana mr Jo Scalmgfactorreaii4 00 lap Reans STRN
77. rt STRT_COM QTAGS 5000 TIMOUTMS VALUE Qvaluelnt MOI QRCONNECT RUE COUNTABLE ENO gvComReset RESET ENO Figure 8 Example Tag block configuration e Set up user defined WinCC messages o IEC ALARM BOOL with timestamp The tag blocks IEC_RD_RL_ Instance FB519 EC RD RL EN DB2 DBD242 L IEC61850_ PERRO COM DB QERRI CONNECT RO CONNECT QCOMERRO RI_CONNECT QCOMERRI sAddressReal ADDRESS QBAD 5000 TIMOUTMS VALUE QValueReal TRUE COUNTABLE ENO HIEC RD B3 Instance FB522 IEC_RD_BS EN DB2 0BD242 IEC61850_ BERND COM_DB QERRI CONNECT pp CONNECT QCOMERRO RI CONNECT QCOMERR sAddressBS ADDRESS QBAD 5000 TIMOUTMS VALUE QValueBS TRUE COUNTABLE ENO A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 15 o IEC REPORT BOOL on change with timestamp can be configured to generate messages in WincC The message texts can be specified like described in the following o Open the PLC alarms in editor o If you are using a single instance DB for your IEC ALARM or IEC REPORT block you can change the default text of the subalarm entries of MSG EVID of the block These text entries are used for each single in stance DB of this block o If you are using a multi instance DB for your IEC ALAR
78. ry IEC61850 41 3 5 4 1 O description VO De ula fault me RO CONNECT ANY Struct Ld Connection to IEC61850 COM block DB NI ADDRESS STRING 52 EN 1EC61850 tag address TIMEOUTS INT 5000 Timeout in ms COUNTABLE BOOL d QERRO BOOL 1 1 Connection to IEC61850 COM block 0 faulty o QCOMERRO BOOL Communication IEC61850_COM block 0 not ok o QBAD BOOL 0 Data valid VALUE REAL Addressed value as Floating point value REAL Table 15 IEC_RD_RL 1 O description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 42 3 6 IEC_ALARM BOOL tag with timestamp 3 6 1 Block screenshot 25 4 K IEC ALARM Instance IEC ALARM S 26 4 a sAlarmAddress String 52 CTRULLNO ST Loc 27 4 sAlarmMsgEvID C Alarm t HIEC ALARM Instance FB521 IEC_ALARM QERRO QERR1 EN QCOMERRO DB2 DBD242 SE EC61850 QBAD COM DB ALARM CONNECT RO CONNECT TIMEST R1 CONNECT MSG DONE sAlarmAddress ADDRESS QMSG ERR 5000 TIMOUTMS QMSG SUP TRUE COUNTABLE MSG STAT TRUE EN_MSG MSG ACK HsAlarmMsgEvID MSG EVID ENO Picture 5 IEC ALARM screenshot 3 6 2 Block description IEC ALARM reads one BOOL value cyclically with its timestamp which is updated if the variable changes This block is not supported by S7 300 CPUs Note The addres
79. s Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 10 2 2 TIA Portal IEC 61850 Client Block setup 2 2 1 Setup a singular communication e Add a new cyclic organization block e g 0B35 to your PLC e Adda new Function Block FB to your PLC e Open the organization block in editor drag the new FB into a network and add the instance data block to your program K Block title Cyclic Interrupt Network 1 IEC61850 connection DB1 7 400 IEC61850 COM DB FB1 7 400 1EC61850 COM Figure 5 Cyclic OB Call FB e Open the function block in editor e Select function block IEC61850 COM underneath the IEC61850 group directory in your PLC and drag it to a network in your function block e Add the instance data block to your program gt Block title Singular communication v Network 1 1EC61650 communication block DB2 IEC61850_ COM DB FB515 EC61850_COM CONNECT OER QERR NO EN QRACKF RED CONNECT QFARF 16 3FFD LADDR QCOMF CONN_ID QB CR DS TIMEOUT OB EN RP 2 MODE QSTATE IED_NAME QSNDACT D CONF OP QSNDDIAG DS NAME QRCVDAT RP CONF OP ORCVDIAG RP DSADDR QLEN RP_CTRL_ADDR QMSG ERR 0 1 SAMPLE T QMSG DONE EN MsG QMSG SUP 1680000 0001 MSG EVID QMSG_STAT EN TCON QMSG LACK IP ADD
80. s has to be set without the IEC 61850 objects attribute name only the IEC 61850 object name has to be set Note The IEC61850 address strings can also be generated and copied via the StatCon configuration tool Example for address CTRL LLNO ST LEDRs EN MSG EN MSG enables Alarming in WinCC Special messages can be specified Please see chapter 2 3 3 Set up user defined WinCC messages for a explana tion on how do setup individual WinCC messages for a function block Further Input Output description is equal to IEC_RD_BO Block description Please see chapter 3 3 2 Block description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 43 3 6 3 Called blocks Declaration Block number Declaration Block name FB530 UTCcalc SFB35 ALARM 8P UDT3 BST BOOL UDT8 LINK INFO FC10 EQ STRING FC21 LEN SFC20 BLKM OV SFC64 TIME TCK Table 16 IEC ALARM called blocks 3 6 4 1 O description Caas bes Less ES GN neck EE bes jer ba beet Cat noe o us en 1 Connection to IEC61850_COM block QERRO BOOL 0 faulty a QCOM ERRO BOOL M ILLI Communication IEC61850 COM block 0 not ok a lo Data lO Datavalid O o o aam o o Je or Timestampofvalue o Jee pone een Jo 1 ALARMBDONE o Jose om Jon Jo 1 ALARMB8ErO o lose sup Jon Jo 1 Message suppression ac
81. stVal Bon 1ED_0002MEAS IED_0002DR Drag TED 0002CTRL UND General ST gt Mod Mode Bel Figure 17 Drag Data Object to tag table With the checkbox in table column Alarm Report you can select if the address is used on a tag block or on an alarm or report block If you want to use the address on an alarm or report block activate the checkbox After this the address did not contain the address part of the IEC61850 Data Attribute name anymore Server IED Name IEC61850 path Equipme Variable type Alarm Report a Siprotec TED 0002 TRL LLNOSSSTSSLOcS stVal Boolean Figure 18 Address for tag block Server IED Name IEC61850 path Equipme Variable type Alarm Report z Siprotec IED 0002 CTRL LLNOSSSTS Loc Boolean S Uu Figure 19 Address for alarm or report block A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 To copy the IEC61850 address open the context of the corresponding tag by a right click on mouse and select context entry Copy address to clipboard 1EC61850 Client Basic Library IEC61850 Client Server IED Name IEC61850 path Equipment id gt Siprotec TED 0002 CTRULLY LH Copy address to Clipboard X Delete Figure 20 Copy address form StatCon tag After this switch to your TIA Portal program block a
82. tance starting with 1 n Table 4 T communication parameter settings A documentation paper issued by Siemens Siemens AG 2015 All rights reserved 19 USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 4 lt Static 5 lt q sComledName String 24 0 0 ED 0002 M E 6 a sComEnMsg Bool 26 0 true m E 7 a 5ComEnTcon Bool 26 1 true M EJ 8 as sComlPaddr String 15 28 0 140 80 160 14 m o 9 aa sComCpulD Byte 45 0 5 A O 10 4 IECRD IN Instance IEC RD IN 46 0 kl 11 4 a3 sRdinAddress String 52 398 0 CTRULLNOSSST m m DB1 IEC61850_ COM DB Kaap IEC61850 COM CONNECT QERR 01 RED CONNECT QERR NO 1680 LADDR QRACKF d QPARF QCOMF 2 MODE QB CR DS sComledName IED NAME QB_EN_RPF 0 Ds CONF op QSTATE 5000 DS NAME QSNDACT 0 IRP CONF OP QSNDDIAG RP DSADDR QRCVDAT RP_CTRL_ADDR QRCVDIAG IEC AD IN 0 1 jSAMPLE T QLEN Instance sComEnMsg EN MSG QMSG ERR FB518 1640000 0001 MSG EVID QMSG DONE IEC_RD_IN sComEnTcon EN TCON QMSG_SUP EN sComiPaddr IP ADDR QMSG STAT E 1 6 1 TSAP RID QMSG Acki liar ca QERRO sComCpulD CPU ID QRACK NO COM DB QERRI W 16 1 4TCON_ID QSLOT_NO CONNECT gp CONNECT QCOMERRO woo QBLOCKS v R1 CONNECT QCO
83. tive o ms zm Joan o Jam SPSTATUSOUput A documentation paper issued by Siemens Siemens AG 2015 All rights reserved e MSG EVID DWORD Alarm_8 message ID USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 44 VO De o MSG ack WORD lo ALARM 8P STATUS Output Table 17 IEC ALARM UO description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 45 3 7 IEC REP Report BOOL tag with timestamp 3 7 1 Block screenshot 22 43 b IEC REP Instance EC REP 75 23 0 sRepAddress String 52 CTRULLNO ST Loc 24 4 sRepMsgEvID C Alarm t IEC REP Instance FB520 IEC REP QERRO QERRI EN QCOMERRO DB2 DBD242 seg EC61850_ Be COM DB ALARM CONNECT RO CONNECT BS R1 CONNECT TIMEST sRepAddress ADDRESS MSG DONE 00 TIMOUTMS QMSG ERR COUNTABLE QMSG SUP UE EN MSG MSG STAT alse BS VALUE MSG ACK RsRepMsgEvID MSG EVID ENO Picture 6 IEC REP screenshot 3 7 2 Block description IEC REP reads one BOOL value or one BITSTRING value asynchronous via IEC 61850 Report mechanism with its timestamp This block is not sup ported by S7 300 CPUs To use this Report block the IEC 61850 device has to support the IEC61850 service Report Further a DataSet containing the tag addressed with
84. two different messages depending on the value data type BOOL or BITSTRING For both messages the timestamps of the 1EC61850 report event e g switch change time in IEC61850 server device is delivered to Win CC BOOL value BS VALUE FALSE Message no Block parameters Default message text Message class 1 ALARM Report Alarm Message 1 ALARM high BITSTRING value BS VALUE TRUE Message no Block parameters Default message text Message class 2 ALARM Bitstring value changed Value 1 ALARM high x 6x Associated value Block parameters il BS A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 47 3 7 4 Called blocks Declaration Block number Declaration Block name SFB35 ALARM 8P UDT18 BST REP UDT8 LINK INFO FC10 EQ STRING FC21 LEN SFC20 BLKM OV SFC64 TIME TCK Table 18 IEC REP called blocks 3 7 5 1 0 description VO De ee fault fro CONNECT fanv Struct Connection to 1EC61850_COM block DB BOOL 1 IEC 61850 tag address rimeours nr 5ooo Timeoutinmilliseconds countase Jena Ir lintemalvalue jENMsG Boot 1 enableatarminginwincc h Jes vae Boo To 1 valuewith BITRSTING type Jusen oworn alarm 8 message ID 1 QERRO BOOL 1 Connection to IEC61850 COM block 0 faulty QC
85. ur Device Folder If not right click in your Device Folder select Insert new Object and then EC61850 Station e Right click onto the IEC61850 Station Select Object Properties Go to the topic Communicator select your device and execute Add Your device is now part of the IEC61850 station Press Ok and leave the Properties dialog 8 De Se amp BE dale 25 t lt No Filter gt Jy Ye SEM e G7 Source IECB1850 1003 el Source EC61850 300 akt Cj Globale Deklarationen CJ Ger te Properties IEC61 850 station General Information Communicator Update Available IEC61850 devices IED Name MEA System hierarchy ation communicator IECB1850 ClientDev Standard Ebene v ow Ela System hierarchy 9 IED 0026 9 IED 002c IEC61850 ClientDev Standard Ebene 7VK610 V4 6 Ic 1EC61850_ClientDev Standard Ebene 7UT613 V4 6 IEC61850 ClientDev Standard Ebene 7VE611 V4 6 IECB1850 ClientDev Standard Ebene 7UM623 V4 6 4 communicators Cancel Help Picture 12 Adding a SIPROTEC device to the IEC61850 Station A documentation paper issued by Siemens Siemens AG 2015 All rights reserved IEC61850 ClientDev Object name Symbolic name Size Author Last R SIMATIC 315 2DP Q 754633 v4 6 SIPROTEC device DAC fl SIMATIC 317 2PN_DP 7UM623 V4 6 SIPROTEC device K SR 400_H_L_V_50 D zurerava s SIPROTEC
86. urn value A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 83 3 10 3 Called blocks Declaration Block number Declaration Block name UDT3 BST BOOL UDT8 LINK INFO FC10 EQ STRING FC21 LEN SFC20 BLKM OV SFC64 TIME TCK Table 21 IEC WR BO called blocks 3 10 4 I O description VO De Ro CONNECT ANY Struct connection to IEC61850 COM block DB ADDRESS STRINGIS2 lec61850tagaddress QERRO BOOL 1 1 Connection to IEC61850 COM block 0 faulty QCOM ERRO BOOL Aii 1 Communication IEC61850 COM block 0 not ok oo Joo Ju addressedvalueasBITSTRING senn Je lo leetumeode Table 22 IEC RD BS VO description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 3 11 IEC_WR_BS 3 11 1 Block screenshot RIEC WR BS Instance FB528 EC WR BS EN DB2 DBD242 EC61850 COM DB CONNECT RO CONNECT R1 CONNECT QERRO sWriteBsAddress ADDRESS QERRI 5000 TIMOUTMS QCOMERRO COUNTABLE QCOMERR1 IN SE WriteBsAddressVa ODONE lue VALUE RETVAL RETRANS ENO Picture 9 IEC_WR_BS screenshot 3 11 2 Block description With the IEC_WR_BS block a Bitstring variable can be written in an 1EC61850 Server Device This block can be used
87. utput 0 la N QMSG ERR7 BOOL nu 1 ALARM 8P Error o QMSG_SUP7 BOOL o 1 Message suppression active o msc Doves Boor fo MSG STAT8 WORD 164000 ALARM 8P STATUS Output E MSG ACK8 WORD 164000 ALARM 8P ACK STATE Output 0 o QMSG_ERR8 BOOL nu 1 ALARM 8P Error o QMSG_SUP8 BOOL o 1 Message suppression active o QMSG SUP BOOL ME 1 Message suppression active Table 35 UNI RP60R20 2 VO description A documentation paper issued by Siemens Siemens AG 2015 All rights reserved USER MANUAL TIA Portal V12 1 V13 Client Library IEC61850 3 10 IEC WR BO 3 10 1 Block screenshot RIEC WR BO Instance FB525 EC WR BO EN DB2 DBD242 1EC61850_ COM DB CONNECT po CONNECT RI_CONNECT sWriteBoolAddre QERRO 55 ADDRESS QERRI 5000 TIMOUTMS QCOMERRO E COUNTABLE QCOMERRI 10 3 Sehr gvWriteBoolvalu QDONE e VALUE RETVAL RETRANS ENO Picture 8 IEC WR BO screenshot 3 10 2 Block description With the IEC WR BO block a Boolean variable can be written to an 1EC61850 Server Device This block can be used for example to write substi tution values RO 1 CONNECT RO CONNECT input hasto be connected to the IEC61850 COM block CON NECT output ADDRESS The address for the tag has to be configured with the input ADDRESS The address has to be entered as IEC61850 address string including the IEC61850 objects attribute name Note The a
88. values 3 9 1 Block screenshot 38 lt a sRep01Dsc String 52 5686 0 Report 01 39 lt J m sRepD1Address String 52 5740 0 CTRULLNOSSSTSSLoc DB3 UNI_RP6OR20_ UNI_RP6ORZ0_ DB FB555 FB556 UNI_RP6OR20 UNI_RPSOR20_2 QERRO QERRO QCONERRO QCONERRO QERR1 QERRI QCONERR1 QCONERR QBAD QBAD QB Repo e on e QB Reporten DB2 DBD242 DB2 DBD242 V Report60 IEC61850_ GEO Report30 IEC61850_ TS_REPORTEO COM DB R COM DB CONNECT RO CONNEGI E L CONNECT RO CONNECT an L V Report30 al MANA QB Real11 TS REPORT30 V Beet QEO Real01 oe EEE sa IDB4 DBX3948 5 GET Real01 Hagar EE UNI RP6OR20 ALARM 2nd QB Realo1 MSG EVID2 QE0_Real12 2 DB QALARM BLK VIRESIDTI 28 MSG EVID3 QE1 Real12 1680000 0006 MSG EVIDT m 16 0000_002C MSG EVID4 QB Real12 1680000 0007 MSG_EVID2 ScaledReal01 DSC_Report31 V Resl12 1680000 0008 MSG_EVID3 GED Real02 AD Report31 DE NEM 16 0000_0009 MSG_EVID4 QE1_Real02 1680000 000A MSG EVIDS OB Real 2 sRep01Dsc DSC Report 1 v_Real02 RsRep lAddress AD Report 1 DSC Report02 AD Report02 QEO Report01 ums ScaledReal02 QEO_Real03 OFT Realna eU Report31 53 Picture 27 UNI RP60R20 and UNI RP60R20 2 s
Download Pdf Manuals
Related Search
Related Contents
XYR6000 Smart Transmitter Series 100 Flange Mounted Liquid LCD 108 - Grundfos 524 Installation/Service Manual Concentric Ring - Cole Manual do operador 3) スピード・スプレヤー スピード・スプレヤー スピード・スプレヤー VM 050 - Phonocar DiMAX® 530S Motor/Switch Decoder 8156001 Palm Meeting Scheduler - Santa Clara University Copyright © All rights reserved.
Failed to retrieve file