Home
IEC60870 Configurator
Contents
1. General requirement limits Max ASDUs RMSP Receive Single point information 200 IEC60870 Master Client functions RMDP Receive Double point information 200 RMSTP Receive Step position 100 RMBS Receive Bit string 50 RMMVN Receive Measured value Normalized 200 RMMVS Receive Measured value Scaled 200 RMMVF Receive Measured value short floating 200 RMIT Receive Integrated totals 200 SCSP Send single command 200 SCDP Send double command 200 SCRS Send regulating step command 100 SCNV Send normalized value set point command 200 SCFV Send short floating set point command 200 SCBS Send bitstring command 50 RCSP Single command 200 IEC60870 Server Slave functions RCDP Double command 200 RCRS Regulating step command 100 RCBS Bit String command 50 RCMVN Setpoint command Normalized 200 RCMVF Setpoint command short floating 200 SMSP Single point information 400 SMDP Double point information 200 SMSTP Step position 100 SMBS Send Bit string 50 SMMVN Measured value Normalized 200 SMMVF Measured value short floating 200 SMIT Send integrated totals 200 RM3_T1 Receive time tagged message 400 1EC60870 5 103 Master functions RM3_T2 Receive time tagged message with relative time 200 RM3_T9 Receive measurands II 200 SC3_GLC General command 200 Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark T
2. 7 Y Name 2 Value Type Dim Attrib Syb Init value User Tag Description IEC60870 S104 MVN1 16383 INT L1 Send Al0 as measured value normalised IOA 4001 SMMVN current value no IEC60870 S104 MVN1 BL BOOL Blocked or not CrByGen IEC60870 S104 MVN1 IV BOOL Invalid or not CrByGen IEC60870 S104 MVN1 NT BOOL L1 Topical or not CrByGen IEC60870 S104 MVN1 Nx TON Cyclic scan next report time CrByGen IEC60870 S104 MVN1 O 16383 INT Last sent value CrByGen IEC60870 S104 MVN1 OV BOOL Overflow or not CrByGen IEC60870 S104 MVN1 Q 0 SINT MV quality bits CrByGen IEC60870 S104 MVN1 QO 0 SINT MV quality bits last scan CrByGen IEC60870 S104 MVN1 QP 255 USINT Parameter QPM CrByGen IEC60870 S104 MVN1 S BOOL MV Force sending CrByGen IEC60870 S104 MVN1 SB BOOL Substituted or not CrByGen IEC60870 S104 MVN1 SM 0 INT Smoothing factor parameter CrByGen IEC60870 S104 MVN1 TH 163 INT Threshold value parameter CrByGen IEC60870 S104 MVN1 TM 0 LINT Timestamp If different from 0 then this timestamp will be sent CrByGen In general you will find description of the variables in the description row in the Brodersen WorkSuite variable list Variables used for managing and controlling the IEC60870 5 104 Client driver The general management and controlling functions are handled in the Brodersen WorkSuite application by using the variables created by the IEC60870 Co
3. 51 lacte 51 IEC60870 Configurator V1 50 V1 45 V1 40 and V1 30 can co exists on same computer 51 Mersiom 1 45 Updates ect eed E bcm red caus oncctsuvuacsecdydieie cine tbe rQveuyyaceenvesecteuvoeasdvaegnatavensustoveveaecgesveaetees 51 103 Master QFIVBE scie cree EREETUR DENN A a E MIAS EXTR RISE A EET EHE ege eI EUER UP evened casi EE EEEE E 51 New Optionis inthe Generator eoi rrr REPE Pet cet ove tete ert re esee tree voee eee cete vr eese ev ve eure eun 51 STRATON Workbench V8 3 Installer SUPPOFtO ccsccesscesssesssecsseeessecessecsneesaeecsaeesseecsaeeeuecseeeseneesaeessaeeuaueseneesuessateseneeseessuessseesenees 51 Version 1 40 Updates E 51 1 of N SELECT BREAK OFF EXECUTE confirmation essent nnt nennen there rete tnt tne tee trennt teer trt nnn tne nne tne nnns 51 Individual Short Long Pulse Duration for each Command sss nennen nnne enne nnne nnne tenni ensi nn ennt nn sensns 52 Enable Spontaneous Information Event in Monitor Direction esesseessseeseeeeeeee nennen enne nnne nnne nennen nnns 52 Single Double point information suppress time filter Longer variable NAMES cccscsseesssesseessseesseessteesseeeees Extension to the XML language Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email
4. RTU32 firmware version 1 52 or newer is required in the RTU32 Series IEC60870 Generator updates The PLC runtime is updated to use cyclic time calculation instead of RTC for SMMVF and SMMVN Fixed that the PLC code line Inc IEC60870_ MainPrgName __SendTestTSC in some OS configuration needs the semi colon Mask bit 3 as it is not an LB error Just indicates that a variable is accessing invalid module Installed files The program is now in general installed in a BRODERSEN folder instead of the BRODERSEN RTU32 folder All Excel examples are updated with v150 IEC60870 Configurator V1 50 V1 45 V1 40 and V1 30 can co exists on same computer An effort has been made to make it possible to have the older versions of the Configurator on the same computer This ensures that projects made with older versions of the Configurator do not need to be upgraded to V1 50 unless you plan to do it Version 1 45 updates Following updates have been made since version 1 40 103 Master driver New driver or Main program type added IEC60870 103 Master Now there are two 103 drivers available in the XML file IEC60870 103 Master and IEC60870 104 Server 103 Master Command direction implemented in both 103 drivers and new signal types added RM3 T1 RM3 T2 RM3 T9 and SC3 GLC This update requires RTU32 firmware 1 524 New Options in the Generator The generator contains new Options window and is able to start STRATON Workbench a
5. BOOL Blocked or not IF true then command is blocked SINT Current SQ state SingleCmd SINT Old SQ state RCDP Receive in Control Direction Double Command IEC60870 MPN Vari IEC60870 MPN Var2 IEC60870 MPN Vari BL IEC60870 MPN Vari IEC60870 MPN Vari Q IEC60870 MPN Var1 DC BOOL Double command lIOA 2101 RCDP BOOL Double command lIOA 2101 RCDP BOOL Blocked or not IF true then command is blocked SINT SINT DoubleCmd RCMVN Receive in Control Direction Setpoint Command Normalized IEC60870 MPN Vari IEC60870 MPN Vari BL IEC60870 MPN Vari TR IEC60870 MPN Vari NSP IEC60870 MPN Vari INT Normalised set point IOA 2401 RCMVN BOOL Blocked or not IF true then command is blocked BOOL New command received SetPointCmdNV INT RCMVF Receive in Control Direction Setpoint Command Floating IEC60870 MPN Vari IEC60870 MPN Vari BL IEC60870 MPN Vari TR IEC60870 MPN Vari NSP IEC60870 MPN Vari REAL Floating set point IOA 2501 RCMVF BOOL Blocked or not IF true then command is blocked BOOL New command received SetPointCmdMVF REAL RCRS Receive in Control Direction Regulating Step Command IEC60870_ lt MPN gt _ lt Var1 gt IEC60870 MPN Vari TR IEC60870 MPN Vari BL IEC60870 MPN Vari RS USINT Regulating step IOA 2201 RCRS BOOL New command received
6. IV IEC60870 MPN Vari TM BOOL BOOL SINT SINT BOOL BOOL BOOL BOOL LINT Double point IOA 1101 SMDP Double point IOA 1101 SMDP Old DIQ state Current DIQ state Blocked or not IF true then information is blocked Substituted or not Topical or not Invalid or not Timestamp If different from O then this timestamp will be sent SMMVN Send in Monitor Direction Measured Value Normalized IEC60870 MPN Vari IEC60870 MPN Vari TH IEC60870 MPN Vari SM IEC60870 MPN Vari BL IEC60870 MPN Vari SB IEC60870 MPN Vari NT IEC60870 MPN Vari IV IEC60870 MPN Vari OV IEC60870 MPN Vari O IEC60870 MPN Vari Q IEC60870 MPN Vari QO IEC60870 MPN Vari Nx IEC60870 MPN Vari S IEC60870 MPN Vari QOP IEC60870 MPN Vari TM INT INT INT BOOL BOOL BOOL BOOL BOOL INT SINT SINT LINT BOOL USINT LINT Norm value IOA21401 SMMVN current value not normalized Threshold value parameter Smoothing factor parameter Blocked or not IF true then information is blocked Substituted or not Topical or not Invalid or not Overflow or not Last sent value MV quality bits MV quality bits last scan Cyclic scan next report time MV Force sending Parameter QPM Timestamp If different from O then this timestamp will be sent SMMVF Send in Monitor Direction Measured Value Floating Point IEC60870 MPN V
7. gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 6 Filter functions on SOE and Double Point Information eene enne nennen nnne nn nens nnne nn nennen 29 uli 29 Filter functions TOK SOE RC C PH 29 Debounce filter function for SOE RM 30 Chatter filter function TORSOB 2 niece eed Hee a eee oe eet Rade ee eet tees heen ae evn eet ec ee eee 30 Double point intermediate suppression filter nennen enne nnne nennen nnne nennen nnne nennen nennen nenne nnne 31 7 The project in Brodersen WorkSuite 2 5 8 tiec re re epe ce he te tvi Re e eee des eed cde ev eed oe 33 Cic 33 Programs arid f nctlols 3 niet eor EEEN Rd EIER hauaeuees LEEREN ES CARTER Y DI Mas AAE E P Peri ad eke ne x Rcx Mega SHEET xa R MR EEEE ESAE en 34 Variables for driver and ASDU types 101 Slave and 104 Server nennen enne nnne nennen nennen nn 35 Global driver variables 101 Slave and 104 Server ccccssccccsscccssseeecssseecessseccesseecessseecesssecceesecessseecessseceesasecesssseceeaseecesseeeesseeesenseeeees 36 Variables used for managing and controlling the IEC60870 5 104 Client driver eene 36 8 The XML Database File General m The Sections of the XML file The MainCode Section Th
8. s ccssccssecsseessecesseceseecssecseecsneecsuessaeessaeesenecsneecseecsaeesneseaeessuessatesueseaeessaesseeesenseesteess 9 Tende e E 9 3 Installation andOpekatlOn tte Rt ER RR Vert c AR It nie soie iie TINH S Irsa E E s Cures T IRIe pe eres eR 10 Installation Details a i i i E s 10 Operation Procedure 4 MS Excel File the general work sheet Workbook Structure How to get Help Work Sheet Main Main Configuration parateters ce ect cipe erecti aee eaa les be magie E pria biased suadabieiissntadevedsdevasceasedseadebectuescesdede 12 Work Sheet Variables iet inrer ERR ER EPAREXEOERAA EERBARAEF ERAS EI PARAE EL RUE oaao ian ERE RE a Saai ede bees Regen kb ame nA ERE eue Ree na cae 13 Normalized Measured valu tetti rd ext teas RE RUE E ELE AE E EFI DESEE aN IA ane u PARES D REEE Ei 14 Short Floating point measured value ir eee pee ete ee dede reste ver bea ge dide eo PES ERTE dhe cus vico det 14 How to link Signal Types or ASDUs to physical I O cccccsccsssssesscesscssecsecssecsesssessecssecsesssesseseassseserssaecsaesaeseuecsesassaeseescaeseessaesesseneseeees 14 Work Sheet E E vatbeusveasdaaveaedbes 16 Main Configuration parameters sisisi snien reens r EEE AC Er N ESE ASE E IONE ET PEE E NE ENI rT E ENE NRS 16 IEC60870 5 101 Controlled Station
9. Double point intermediate suppression filter The transmission of double point intermediate DPI 0 and indeterminate state DPI 3 see IEC60870 5 101 104 can be prevented by specifying Intermediate suppress time in the RTU32 IEC60870 Configurator for each SMDP Send in Monitor direction Double Point information signal type The time is entered in number of 100 ms units from 1 to 65000 100 ms to 6500 seconds A value of 0 disables the filter Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 Signal state Double Point Information DPI DPI state 01 00 10 11 OFF Intermediate ON Indeterminate faulty 1 ae VAR1 OFF 0 EES a 1 VAR2 ON 0 Suppression timer Case 1 lt gt Case 2 wi gt lt t1 t2 t3 tla t2a t3a The figure shows the signal definition for the DPI Double indication is represented by two DI There are no requirements to the position of these two DI on the I O board They can in fact be on placed on two different I O boards The normal state of a DPI is either 01 or 10 OFF or ON When the DPI enters either OO or 11 state a suppression timer is started If the timer runs out and the state is still either 00 or 11 Case 1 t2 or 1 t2a then a DP information message is sent to the controlling station with DPI O or 3 The message is sent at time t2 The repor
10. MPN Vari S IEC60870 MPN Vari TM IEC60870 MPN Vari P DINT Integrated totals IOA 1601 SMIT Integrated Total current value USINT Sequence Byte that contains IV CA CY SQN USINT Old value of Sequence Byte that contains IV CA CY SQN USINT Sequence number BOOL Carry BOOL Counter adjusted BOOL Invalid or not LINT Cyclic scan next report time BOOL Integrated totals Force sending LINT Timestamp If different from O then this timestamp will be sent TPulseEveryMin Generates a pulse to control the desired send interval Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 47 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 103 Master Driver RM3_T1 Receive in Monitor Direction TypID 1 Time tagged message IEC60870 MPN Vari USINT IEC60870 MPN Vari COT USINT IEC60870 MPN VAR1 SIN USINT IEC60870 MPN VAR1 Updated BOOL IEC60870 MPN VAR1 TM LINT Received value Received Cause of Transmission Received SUPPLEMENTARY INFORMATION Set to TRUE when New value is received Time received from 103 device RM3 T2 Receive in Monitor Direction TypID 2 Time tagged message with relative time IEC60870 MPN VAR1 USINT IEC60870 MPN VAR1 SIN USINT IEC60870 MPN VAR1 UD BOOL IEC60870 MPN VAR1 TM LINT Received value SUPPLEMENTARY INFORMATION Set to TRUE
11. See comments in the Excel sheet for details In the Excel sheet you will find comments and syntax descriptions for the different data just put you cursor to the header to get details Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 Work Sheet 101 Slave The work sheet 101 Slave includes the 101 Slave configuration parameters Relevant if you have selected 101 Slave in the Main sheet Main Configuration parameters x ud die TEC60870104Server_ example V150 xls Compatibility Mode Microsoft Excel cv f s File Home Insert Page Layout Formulas Data Review View Add Ins Qo PX B Parameters if IEC60870_101_Slave is selected as Main Program Type 2 IEC60870 5 101 Controlled Station Parameters Value 3 Allow Reverse Direction False 4 Select Execute timeout sec 6 COA size 7 IOA size 8 Add orginator address 9 Slave link address size 10 Short Pulse Length ms 11 Long Pulse Length ms 12 13 Main Communication Port 16 Slave link address 17 Use E5 18 Use dial function 19 Active Dial 20 Dial Delay 21 Phone Numbers 22 No of Subscribers to call 23 Debug Parameters 24 Log Link transfer in 911 log 25 Log ASDU in 911 log 26 27 Secondary Communcation Port 28 Use Second COM port redundant 29 Second COM port redundant 30 Second CO
12. 64 26 RCMVN Receive Setpoint command Normalized 48 61 104 accepts either but never both in same application Selection is made by 27 RCMVF Receive Setpoint command short floating 50 63 the Accept Commands with Timetag parameter See 104 Server sheet 28 Receive in monitor direction 29 RMSP Receive Single point information 1 2 30 All the specified TypelDs are accepted The Time Tag Size parameter is not 30 RMDP Receive Double point information 3 4 31 used for RMxxx types 31 RMSTP Receive Step position 5 6 32 When receiveing types without timetag the time is generated by the RTU32 at 32 RMBS Receive Bit string 7 8 33 receing time and putted into the VART TM variable 33 RMMVN Receive Measured value Normalized 8 10 34 When receiving TyplD with 3 bytes time the time is extracted from the frame 34 RMMVS Receive Measured value Scaled 711 12 35 and putted into the VAR1 TM variable There is no compensation for the EE RMMVF Receive Measured value short floating 13 14 36 missing time information When receiving TypID with 7 bytes time the time is 36 RMIT Receive Integrated totals 15 16 37 extracted from the frame and putted into the VAR1 TM variable 3f Send command in control direction SCSP Send single command 45 58 These commands are only used by Controlling Station 101 master or 104 SCDP Send double command 46 59 client SCRS Send regulating step command 47 60 Send normalised value set point com
13. CR LF INS Ready Each driver section contains a list of Userlnput sections that declares which input is needed and where to read the input from the Excel sheet with indication of a sheet row and colon number It also contains list of globalvar sections that declares which global Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com IEC60870 Configurator for RTU32x Doc 40236 March 2014 variables are to be created for each driver Then there is a lt Code gt section where the structure text code for the driver is entered The code section also specifies the filename and the folder name of the structure text program The SignalType Section The SignalType section contains all signal types that can be selected in the Signal Type colon of the Excel Sheet There is a separate section for each Signal Type This section also contains the lt Variables gt section which declares how the Variables sheet should be read by the configurator amp Programmer s Notepad IEC60870 V150xxml Sa File Edit Search View Tools Window Help amp x DAlBelslae g h Dim Find IEC60870 V150 xml 4bx lt xml version 1 0 encoding UTF 8 standalone yes StratonCodeParts XVersionInfo version V150 sheet 2 row 2 col 1 gt lt GeneratorOptions gt lt MainCode gt lt FunctionBlocks gt lt SignalTypes gt variables swsP lt SM
14. DINT DINT Description in Brodersen WorkSuite Variable list All Measured values are blocked Counts number if IOA received during General Interrogation Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 40 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 Master Client Receive in Monitor Direction RMSP Receive Monitor Direction Single Point IEC60870 MPN Vari IEC60870 MPN Vari SIQ IEC60870 MPN Vari NT IEC60870 MPN Vari COT IEC60870 MPN Vari TM IEC60870 MPN Vari UPD RMDP Receive Monitor Direction Double Point IEC60870 MPN Vari IEC60870 MPN Var2 IEC60870 MPN Vari DIQ IEC60870 MPN Vari NT IEC60870 MPN Vari COT IEC60870 MPN Vari TM IEC60870 MPN Vari UPD BOOL SINT BOOL DINT LINT BOOL BOOL BOOL SINT BOOL DINT LINT BOOL Single point IOA 1 RMSP Current SIQ state Topical or not Last COT received Last receive time The point is now updated Double point IOA 101 RMDP Double point IOA 101 RMDP Current DIQ state Topical or not Last COT received Last receive time The point is now updated RMMVN Receive Monitor Direction Measured Value Normalized IEC60870 MPN Vari IEC60870 MPN Var1 QDS IEC60870 MPN Vari NT IEC60870 MPN Var1 COT IEC60870 MPN Vari TM IEC
15. IEC60870 S104 SP test BL BOOL Blocked or not RTU32 SOE Version 1 Module 0 BitNo 0 Inv FALSE Debounce 0 ChatT 0 ChatC 1 605 Recreating IEC60870 S104 SP test TM LINT Timestamp If different from 0 then this timestamp will be sent RTU32 SOE Version 1 Moc 605 Recreating IEC60870 S104 DP test BOOL Send internal variable as double information 10A 2003 SMDP RTU32DigIO2 Version 2 Module t 605 Recreating IEC60870 S104 DP test 2 BO0L Send internal variable as double information IOA 2003 SMDP RIU32DigIO2 Version 2 Module 605 Recreating IEC60870 S104 DP test BL BOOL Blocked or not RTU32 SOE Version 1 Module 0 BitNo 0 Inv FALSE Debounce 0 ChatT 0 ChatC 1 605 Recreating IEC60870 S104 DP test 2 BL BOOL Blocked or not RTUS2 SOE Version 1 Module 0 BitNo 1 Inv FALSE Debounce 0 ChatT 0 Chatt 615 Recreating IEC60870 S104 DP test TM LINT Timestamp If different from 0 then this timestamp will be sent RTU32 SOE Version 1 Moc 615 Recreating IEC60870 S104 DP test 2 TM LINT Timestamp If different from 0 then this timestamp will be sent RTU32 SOE Version l 615 Recreating IEC60870 S104 IT1 SB USINT Sequence Byte that contains IV CA CY SQN 615 Recreating IEC60870 S104 IT1 SO USINT Old value of Sequence Byte that contains IV CA CY SQN 615 Recreating IEC60870 S104 IT2 SB USINT Sequence Byte that contains IV CA CY SQN 615 Recreating IEC60870 S1
16. Parameters cccecsecsecesseceseeeceseeeesaecseeeaeeseseaecaecaeeaesaesaeseesseesaesaesaeeaesaesaeseeesaeeeeesaeseeseaeeneees 16 Main Communication PONE sssini 17 Secondary COMMUNICATION POPE s ecserin soiin iiiar iiini ai Eai AEAEE EE NEATE aE AEEA EEE aaea NAAA aaa 18 Third COMMUNICATION POTT wciscvzscsecsccapeesstenetesschaesdssucesctssteapsnadncssadedastesteancansissceudesacaeedzeassustacandavensteanetdesadansnsacuectussedsndaracdleacearsheteaactic 18 Work Sheet 101 Masten oirisem Re E DRIED ER X AERE A br wen EXER a A aE ete esas EAEE 19 Main Configuration paramet 5 5 E E EE N eed cass EO anata eed eed SoU dee ee 19 IEC60870 5 101 Controlling Station Parameters e is m ER ee wld Debug Parameters cccscccsscssecsseeesessteessees m E ss m i oi 120 Work Sheet 104 Server 21 Main Configuration parameters sys E is ie Hand IEC60870 5 104 Controlling Station Parameters 21 Debug Parameters tet extre d end tu setas EE EAE a ect chee dele crossed u gere aiia sdachcuadedesuscedvadedssatedianscecdexe 22 linis etel m 23 Main Configuration parameters ccccssccsssecssscssecssseeceecsnscsseessseecseecsaeessneceeeceseeseeceseesnecsaeesenesuaeeseaeecseeesaeesauessaeesseeseaeeseneeenseesasesaes 23 IEC60870 5 104 Controlling Station Parameters ccscccescssscssssccsseecseessseesceceseecseeceseesnecsaeesssessaeesenseceessaeeseesese
17. group you must make an Excel sheet and make a code configuration for each redundancy group Each redundancy group should be generated in the same WorkSuite program but have different Main Program Name in the Main sheet The work sheet aAa Xie IEC60870 104Server example V150 xls Compatibility Mode Microsoft Exel 5 S Home Insert Page Layout Formulas Data Review View Add Ins B Parameters if IEC60870 104 Server is selected as Main Program Type 1EC60870 5 104 Controlled Station Parameters Value Description Allow Reverse Direction False Used for Information in Reverse Direction Select Execute timeout sec 60 Max time for execute selected command ih Command Timeout sec Short Pulse Length ms Long Pulse Length ms Accept Commands with Timetag Number of Priority Queues K parameter W parameter Allowed clients IP1 IP2 IP6 Active Switch Over Debug Parameters Log Link transfer in 911 log Log ASDU in 911 log 120 500 5000 False 4 12 8 192 168 1 116 True False False with t0 t1 t2 t3 for each connection b For test For test lt Variables 101 Slave lt 101 Master 104 Client 103 Master Main Configuration parameters 1EC60870 5 104 Controlling Station Parameters Allow Reverse Direction When set to true sending data in Reverse Direction is enabled NOTE This is a special function Select Execute timeout sec Time from an output is sel
18. is finished you will find a shortcut to the IEC60870 Code generator on the desktop and in the START PROGRAMS BRODERSEN RTU32 IEC60870 CONFIGURATOR v1 50 Here you will also find a shortcut to the Excel sheet used for configuration and setup parameters The IEC60870 Configurator Setup will install the following on your PC Description Files Default folder Excel sheet examples for IEC60870 101Slave example V150 xls C RTU32 the 6 driver types IEC60870 104Server example V150 xls IEC60870 101Master example V150 xls IEC60870 104Client example V150 xls IEC60870 104Server 103Master example V150 xl IEC60870 103Master example V150 xls XML database file 1EC60870_150 XML C RTU32 IEC60870 Application Code RTU32 870Gen EXE C Program Generator program Files Brodersen WorkSuite 1 0 0 0 RTU32 IEC870 Code 40236 PDF c Program Generator help file this Files Brodersen IEC60870ConV1 50 doc When using Brodersen WorkSuite If using STRATON WorkBench the files shall be installed where you have your STRATON software installed according to your selection during installation Brodersen WorkSuite should be version 1 0 0 0 or newer STRATON WorkBench should be version 8 5 and you shall have the RTU32 CD v1 50 or newer installed RTU32 version is required to be version 1 52 or newer Operation Procedure e After installing the IEC60870 Configurator files you are ready to go e To set up the IEC60870 driver deta
19. keep track of which changes are made between versions e MainCode section contains the driver types that defined E g 101 Master 101 Slave 104 Server etc e FunctionBlocks this section together with the MainCode Section contains definitions of all function blocks that the Configurator can add to a project It is possible to add your own function blocks here e SignalTypes section contains definition of what code and variables are created for each row in the Excel sheet e Macros section contains different code that function blocks and signal types repeatedly uses The MainCode Section The MainCode section contains code for all the drivers defined in the XML file Here it is possible for experienced user to add new drivers if needed which then could be selected from the Excel sheet Main s File Edit Search View Tools Window Help DAIRE E k T M uar A IEC60870 V150 xml lt xml version 1 0 encoding UTF 8 standalone yes lt StratonCodeParts gt VersionInfo version V150 sheet 2 row 2 col 1 gt lt GeneratorOptions gt lt MainCode gt IEC60870 101 Master lt IEC6087 104 Server XIEC60870 104 Server 103 Master IEC60870 103 Master IEC60870 104 Client i lt IEC6 87 101 Slave Umi lt FunctionBlocks gt lt SignalTypes gt lt Macros gt lt StratonCodeParts gt r EHEHEIAMEHEHEHEHEHEHTHEHEHU 1
20. stamp Point A State change is delayed 250 ms Debounce and chatter filter figure due the 250 ms debounce filter setting However time stamp used is the time where the physical input actually 10250 changed state Point B C Pulse width is less than 250 ms in both cases and hence filtered out First event pass through the chatter filter without further delay and is placed in the SOE FIFO queue Chatter times counter C is incremented to 1 Point E F Second and third events pass mb b through the chatter filter without further delay and is placed in the SOE FIFO queue As events at point E and F both occur so the pulse width is less than the chatter filter time Ty C is incremented to 3 5250 L2 5050 e Point G Time between point F and D events is 1000 ms which is longer than chatter filter time T so chatter times counter C was reset and incremented to 1 at point G 0 1 0o 0 500ms 800 ms Lock out time 37505 Lock out time expired Point H At this point C reach 4 and the filter turns ON All further 32505 b o input state transition will be 27550 b N blocked until the input state is stable for a period longer than 22505 lock out time R 1 i u A input state transition occur s 2 i 500 ms after previous 1250 amp o ri 8 transition which is within lock 5 out time R The time is
21. suppress time Disable Row E o di Signal Description o Intermediate suppress time Measured value parameters A HW Address A for Vart SOE Settings A HW Address n Select and Execute for Yart A for Var2 IO address H Long Pulse ms BIIOA A Si B o S 101 Slave 104Server Send in monitor direction Send DI0 0 as single information SMSP Send DI0 1 as single information SMSP Send DI0 2 as single information SMSP Send DI0 3 as single information SMSP Send DI0 4 SOE as single information SMSP Send DI0 5 SOE as single information SMSP Send internal variable as single inforr SMSP x Send DI0 8 9 as double information SMDP Send DI0 10 11 as double informatic SMDP Send internal variable as double infor SMDP Send DI0 0 as integrated totals SMT Send DI0 1 as integrated totals SMT Send internal variable as integrated ti SMIT IT test Send Al0 as measured value normali SMMVN MVN1 Send internal variable as normalised SMMVN MVN2 tes 1 Send Alt as measured value short fh SMMVF MVF1 1 Send internal variable as short float SMMVF MVF2 tesi 1 5002 Send bit string SMBS BS test 1 6001Qp 7 Send step position SMSP STP test 1 7001 7 101 Slave 104Server Receive command in control direction Receive single command to DO0 0 RCSP sco 1501 Receive single command to DO0 1 RCSP Sci 1502 Receive single command to DO0 1 RCSP sc2 1503 Receive double command to DO0 2 RCDP Dco 2501 Receive n
22. the IP address of the RTU32 target in the WorkSuite Tool Communication parameters menu Main Program Type Defines what type of driver you want to configure Only one driver can be created by the specific Excel sheet Select if you want to create a 101Master 101Slave etc driver When you have selected the wanted driver only the specific driver work sheet has to be configured E g if you select the 104 Server you should only configure the 104 Server work sheet The other driver specific work sheet will be ignored NOTE You can create multiple drivers or Redundancy Groups in the same RTU32 project You just have to define each driver individually in its own Excel Workbook and assign unique Main Program Names for each driver Main Program Name Defines the name of the RTU32 driver program Can freely be selected but ONLY 5 characters See comments in the Excel sheet for more details Work Sheet Variables The work sheets Variables after the Main sheet define the specific driver data settings for variables ASDU types addresses etc xl id 9 c Ble C60870 104Server example V150 xls Compatibility Mode Microsoft Exc ESI File Home Insert Page Layout Formulas Data Review View Add Ins 9 o o P X RES N o P T gt me Tag Size nable sport information event in monitor directiot oi SMIT parameters S Single Double point Short Pulse ms
23. when new value is received Time received from 103 device RM3 T9 Receive in Monitor Direction TypID 9 Measurands II IEC60870 MPN VAR1 REAL IEC60870 MPN VAR1 IV BOOL IEC60870 MPN VAR1 OV BOOL IEC60870 MPN VAR1 UD BOOL Received value Received Invalid flag Received overflow flag Set to TRUE when new value is received SC3 GLC Send in Control Direction TypID 20 General command IEC60870 MPN VAR1 BOOL IEC60870 MPN VAR1 RII SINT IEC60870 MPN VAR1 SIN USINT IEC60870 MPN VAR1 COT USINT IEC60870 MPN VAR1 Send BOOL IEC60870 MPN VAR1 Timer TON IEC60870_ lt MPN gt _ lt VAR1 gt _TimerTrigger BOOL IEC60870 MPN VAR1 Timeout BOOL Value of the command RII Return Information Identifier Incremented and sent in the command SUPPLEMENTARY INFORMATION returned in the response Cause of Transmission of received response User must set this to TRUE to trigger Send command Running timer to measure timeout on the command Timer trigger To control if the timer should be running Command timeout flag activated if slave does not respond to the command Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 48 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 11 Appendix 3 Maximum ASDUS to be handled by the IEC60870 Configurator
24. 0 as single information SMSP SPO 1 VAR OV overflow bit 6 Send DI0 1 as single information SMSP SP1 1 VAR_TM Time stamp Eal Send DI0 2 as single information SMSP SP2 1 VAR_TH Threshold for measued values 8 Send DI0 3 as single information SMSP SP3 1 VAR_S Used to trigger send for measured values and integrated totals 9 x Send DI0 4 SOE as single information SMSP SOE4 1 VAR xx and many others used for timing and transmission states 10 x SendDI0 5 SOE as single information SMSP SOE 1 w Send internal variable as single inforr SMSP SP test 1 You can see all the variables in the variable list of STRATON WB when the project is 12 created 13 Send DIO 8 9 as double information SMDP DPO 1 14 Send DI0 10 11 as double informatic SMDP DP1 1 2002 7 10 20 RTU32DigO2 0 D X 10 15 Send internal variable as double infor SMDP DP test 1 2003 7 16 17 Send DI0 0 as integrated totals SMIT m 1 3000 7 RTU32DigO2 0 ZI D 18 Send DI0 1 as integrated totals SMT m2 1 302 7 RTU32DigO2 2 Zi D 19 Send internal variable as integrated ti SMIT T test 1 3003 7 20 M 4 gt W Man Variables 101 Slave 101 Master 104 Server 104 Clent 103 Master lt Yours Ref 9 7 l W gir 777 7 Cell E1 commented by Ole Borgbjerg H 100 OQ V 4 Work Sheet Main In the Main work sheet all basic driver setting are entered see figure below fra Ha C60870_ _example_V150 xls Compatibility Mode Microsoft Exc Home Insert Page Layout Fo
25. 03 slaves and forward them automatically to the 104 protocol You will need to adjust both the 104 Server and 103 Master sheets Following signal types are supported SMMVF SMIT RM3 T1 RM3 T2 RM3 T9 and SC3 GIC Signal types supported SMMVF This can take measurands II TypID 9 data on the 103 protocol and forward them as floating point to the 104 connection Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 24 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 SMIT This can take counters TypID 205 on the 103 protocol and forward the as integrated total to the 104 connection TypID 205 is Siemens P50 55 private definition data RM3 T1 Is used to receive TyplD 1 data time tagged messages from 103 slaves and put it into Brodersen WorkSuite variables RM3 T2 Isused to receive TypID 2 data time tagged messages with relative time from 103 slaves and put into Brodersen WorkSuite variables RM3 T9 Isused to receive TypID 9 data measurands II from 103 slaves and put it into Brodersen WorkSuite variables SC3 GLC Is used to send TypID 20 command general command to 103 slaves The 103 Master supports multi drop connections When using multi drop connections tests has shown that external converters RS232 RS485 used on RTU32 RS232 COM ports gives the best performance The work sheet to 00 4 C Cn wiry 11 13 18 19 Gud e
26. 04 IT2 SO USINT Old value of Sequence Byte that contains IV CA CY SQN 615 Recreating IEC60870 S104 IT test UDINT Send internal variable as integrated totals IOA 3003 SMIT Integrated Total current value 615 Recreating IEC60870 S104 IT test SB USINT Sequence Byte that contains IV CA CY SQN 615 Recreating IEC60870 S104 IT test SO USINT Old value of Sequence Byte that contains IV CA CY SQN 625 Recreating IEC60870 S104 MVN2 test INT Send internal variable as normalised IOA 4002 SMMVN current value not normalized RTU32Dic 625 Recreating IEC60870 S104 MVFZ2 test REAL Send internal variable as short float IOA 5002 SMMVF MVF current value RIU3ZDigIO2 Vers 625 Recreating IEC60870 S104 BS test UDINI Send bit string IOA 6001 SMBS Current Bitstring state RTUS2DigIO2 Version 2 Module 0 I0 625 Recreating IEC60870 S104 STP test BOOL Send step position IOA 7001 SMSP RTUSZ2DigIO2 Version 2 Module 0 IOType DI DataType I 625 Recreating IEC60870 S104 STP test BL BOOL Blocked or not RTU32 SOE Version 1 Module 0 BitNo 0 Inv FALSE Debounce 0 ChatT 0 ChatC Recreating IEC60870 S104 STP test TM LINT Timestamp If different from 0 then this timestamp will be sent RTU32 SOE Version i Mc Recreating IEC60870 S104 SC2 BOOL Receive single command to DO0 1 IOA 1503 RCSP RTU32DigIO2 Version 2 Module 0 IOType DI Dat Recreating IEC60870 S104 S
27. 04 Server driver must be defined here The IP address can be followed by specific timeout settings The timeout are defined in table below If no timeout is defined the default values will be used Syntax of entering IP and timeouts see the notes in the Excel sheet The t to t are defined in the 104 standard according to the description below Time out for acknowledges in case of no data messages t lt t ts 205 Time out for sending test frames in case of a ong idle state Active Switch Over Active switch over is used for enabling that the connection to a 104 Client automatically is switched over to a new client that is trying to get connections using the STARTDT activate command If Active switch is set to FALSE no new Clients are allowed to get connection as long as one is already active Debug Parameters Log Link transfer in 911 log Enable to log Link communication in the RTU32 system log that can be review with Telnet on port 911 This parameter should be set to false during normal operation Log ASDU in 911 log Enable to log application data communication in the RTU32 system log that can be review with Telnet on port 911 This parameter should be set to false during normal operation Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com IEC60870 Configurator for RTU32x Doc 40236 March 2014 Work Sheet 104 Client The 104 Client driver
28. 104 GiloaCRt E H m number of IEC60870 S104 SPO TM 0 NT 22 S104ACRMF1 IEC60870 5104 UnknownIOA o 4 IEC60870 S104 SPO Suppress TSpDpSup 8 STDAAERCFI if TRUE IEC60870 S104 SendCOA O 0 then IEC6087 IEC60870 S104 SP1 FA BOOL Gy RCMVN SendCmdInterrog Handle 1 IEC60870 S104 SendCOA 0 IEC60870 S104 SP1 0 SINT 22 STDAACRMNT IEC60870 S104 sSendGI False IEC60870 S104 SP1 Q 0 SINT 2 STOAAERCNT end if IEC60870 S104 SP1 BL FA BOOL Ga RCRS J EMEN irccova S104 ae eee TT IEC60870 S104 SP1 SB A BOOL s if FALSE endCloc ic FALSE ie BOO i bei if TRUE IEC60870 S104 SendCOA 0 then IEC6087 Esel die ead BOOL SendCmdClockSync Handle 1 IEC60870 S104 SendCOA S 2 E RESP IEC60870_5104__SendClockSync False IEC60870 S104 SP1 TM 0 LINT a STO4ACRCS1 E end if g e IEC60870 S104 SP1 Suppress TSpDpSup 8 STO4AERSPT reverse direction enabled then IEC60870 S104 SP2 TRUE BOOL a STO4ARCSPI send General Interrogation when a conneciton is IEC60870 S104 SP2 1 SINT c3 SMBS established This code is only for the 104 protocol IEC60870 S104 SP2 Q SINT E sere a T5 EG rr goo ConnectionNo 0 lt gt IECG0B70 S104 SP2 BL co x SUEDE printf New active connection 1d 1d IEC60870 I s e SIDMASDPI IEC60870 S104 ConnectNo IEC60870 S104 Stat Seraph oor a IEC60870 5104 GiloaCnt o Count number 5104 SP 1 a SMIT IEC60870 S104 UnknownIOA IEC60870 S104 SP2 TM LINT Pa S1044SSIT1 SendCmdInterrog Handle 0 16 ffff 20 Config870 79 IEC608
29. 26 27 Fax 45 45 35 26 29 Email sales brodersen com 41 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 RMMVF Receive Monitor Direction Measured Value Floating point IEC60870 MPN Vari IEC60870 MPN Vari QDS IEC60870 MPN Vari NT IEC60870 MPN Vari COT IEC60870 MPN Vari TM IEC60870 MPN Vari UPD IEC60870 MPN Vari PAR IEC60870 MPN Vari QPM IEC60870 MPN Vari CT IEC60870 MPN Vari NK IEC60870 MPN Vari SE IEC60870 MPN Vari AV IEC60870 MPN Vari TR IEC60870 MPN Vari TT IEC60870 MPN Vari TE REAL USINT BOOL DINT LINT BOOL REAL USINT DINT BOOL BOOL BOOL TON BOOL BOOL RMSTP Receive Monitor Direction Step Position IEC60870 MPN Vari IEC60870 MPN Vari QDS IEC60870 MPN Vari NT IEC60870 MPN Var1 COT IEC60870 MPN Vari T IEC60870 MPN Vari TM IEC60870 MPN Vari UPD SINT USINT BOOL DINT BOOL LINT BOOL RMBS Receive Monitor Direction Bitstring Value IEC60870 MPN Vari IEC60870 MPN Vari QDS IEC60870 MPN Vari NT IEC60870 MPN Vari COT IEC60870 MPN Vari TM IEC60870 MPN Vari UPD UDINT USINT BOOL DINT LINT BOOL RMIT Receive Monitor Direction Integrated Totals IEC60870 MPN Vari IEC60870 MPN Vari SEQ IEC60870 MPN Vari NT IEC60870 MPN Var
30. 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 16 x gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 Add originator field Use originator byte octet in 101 frames Normally NOT used Slave link address size Define the Link address size in bytes octets Short Pulse Length ms Short pulse length for Single and Double Commands in ms Long Pulse Length ms Long pulse length for Single and Double Commands in ms Main Communication Port COM port Primary COM port used for 101 Slave driver Note that the port cannot be used for any other driver in RTU32 If only one port is required for your 101 Slave driver this is the one If you use dial modem on the 101Slave connection it should be selected here COMx means direct Null Modem connection and MCOMx means that you use dial modem on the actual COM port Baudrate Baudrate used on selected COM port Slave link address Define the Link address of 101 Slave Note that the address range depend on the size selected above Use E5 Enable using E5 acknowledge Use dial function Enable dial modem function Used when the 101 Slave connection is via a dial modem like PSTN or GSM The dial function includes modem management and passive active dial functions NOTE The modem SHALL be configured to 8 data bit Even parity and 1 stop bit Active Dial Enable active dial out function Enable the function of the RTU32 to
31. 5 26 29 Email sales brodersen com 34 IEC60870 Configurator for RTU32x Doc 40236 March 2014 Variables for driver and ASDU types 101 Slave and 104 Server 2 Brodersen WorkSuite Server10 f File Edit View Insert Project Tools Window Help x ab Abd QO il de 98 Gh GE Sq MM 2 e a RUN Mas UT Workspace 0000 UP S104 LAES 5 A 1Ec60870 a 3 This subprogram is for the RTU32 programmer to make hf Value Type Dim Attrib amp eH FB a his own code at the end of each cycle of 104 101 prot Jjj IEC60870 S104 Connected ALSE BOOL B 5104 This sub program will not be overritten by the IECG0870 S104 GiloaCnt 0 DINT E Ga Protocol ay i eed E pci eae IECG0870 S104 AllBlocked FALSE BOOL m COAT if BASS 1EC60870 S104 SendTestCmd then IEC60870 S104 SendCOT 0 DINT Ga RCBS if TRUE IEC60870 S104 SendCOA 0 0 then IEC6087 IEC60870 S104 SPO TRUE BOOL Ta STDAACRBT Inc IEC60870 S104 SendTestISC gb IEC60870 S104 SPO 1 SINT 22 S104AEBST IEC60870 5104 SendTestCmdMis False IEC60870 S104 SP0 Q 1 SINT 3 Ga RCDP SendCmdTestCmd Handle IEC60870 S104 SendCOA o IEC60870_S104_SP0_BL FALSE BOOL 2a STO4ACRCD1 IEC60870 S104 SendTestCmd False IEC60870 S104 SP0 SB F BOOL 8 S1O44ERD1 nd irs IEC60870 S104 SPO NT A BOOL a 2 STDAARCDPI a incen pon to Send GI M cn IEC60870 S104 SPO IV A BOOL amp Ba RCMVF li 1EC60870 5
32. 60870 MPN Vari UPD IEC60870 MPN Vari PAR IEC60870 MPN Vari QPM IEC60870 MPN Vari CT IEC60870 MPN Vari NK IEC60870 MPN Vari SE IEC60870 MPN Vari AV IEC60870 MPN Vari TR IEC60870 MPN Vari TT IEC60870 MPN Vari TE INT USINT BOOL DINT LINT BOOL INT USINT DINT BOOL BOOL BOOL TON BOOL BOOL Norm value IOA2401 RMMVN Current QDS state Topical or not Last COT received Parameter Time to be used when sending command The point is now updated Parameter new value Parameter QPM value Parameter COT Last received Cause of Transmission Parameter NAK Negative acknowledge Parameter Trigger Send cmd Parameter Activation confirmation set true if COT 7 is received Parameter Running timer to measure timeout on the command Parameter Timer trigger To control if the timer should be running Parameter Timeout error flag typically activated if time windows are not synchronized RMMVS Receive Monitor Direction Measured Value Scaled IEC60870 MPN Vari IEC60870 MPN Vari QDS IEC60870 MPN Vari NT IEC60870 MPN Vari COT IEC60870 MPN Vari TM IEC60870 MPN Vari UPD INT USINT BOOL DINT LINT BOOL Scaled value IOA 402 RMMVS Current QDS state Topical or not Last COT received Last receive time The point is now updated Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35
33. 60870 Type Identities For each ASDU type you can define several options E g for a Double Command you can define the variable name used in Brodersen WorkSuite the IOA address time tag size select and execute options etc The Configurator support Measured Values type Normalized and Short Floating point For these types please note that the following parameters have to be configured Normalized measured value Analog resolution has to be setup 14 bit for RTU32 internal AI AO and some I O expansion 12 bit for standard I O Expansion For the physical I O you have to define the full resolution in both ScaleMin ScaleMax and AI AOMin AI AOMax Threshold must be configured in 96 Short Floating point measured value Analogue resolution shall NOT be configured For the physical I O you have to define the wanted ScaleMin and ScaleMax The full resolution in AI AOMin AI AOMax has to be configured Threshold must be configured in actual value according to scaled range How to link Signal Types or ASDUs to physical 1 0 The Configurator gives you the option to any link any ASDU to either direct online physical I Os or for Single or Double Point information in Monitor Direction also to Sequence Of Event data I O The figure below shows you example of how this is configured Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 14 IEC60870 Configurator for RTU32x D
34. 70 Configurator for RTU32x Doc 40236 March 2014 5 The IEC60870 Code Generator General The IEC60870 Code Generator is the program that takes all the information entered into the Excel sheet and generates the Brodersen WorkSuite application project program code It will also compile the project and if selected download it into the RTU32 and start it If the Brodersen WorkSuite project does already exist it will just update the existing one And it will not compromise any other programs already implemented in the Brodersen WorkSuite project If the Brodersen WorkSuite project does not exists the code generator will create a new project with the name defined in the Excel sheet User Interface A normal user should only use the Generate bottom to activate the code generation The system event window gives the user details of the code generating process Simple errors like wrong file names etc will be reported here 4filj RTU32x Code generator V1 50 2014 03 07 XE Macros Options Help Select Excel Workbook s Use active sheet in Excel F Select More Excel Workbooks Generating IEC60870 S104 Protocol COA1 RCRS S104ACRS1 283 Generating IEC60870 S104 Protocol COA1 RCRS S104AERS1 465 Generating IEC60870 S104 Protecol MP_S104 605 Recreating IEC60870 S104 SP test BOOL Send internal variable as single informa IOA 1013 SMSP RTU32DigI02 Version 2 Module 0 IO 605 Recreating
35. 70 S104 SP2 Suppress TSpDpSup E E SMMVF end if IECG0870 S104 SP3 BOOL 8 S104ACMF1 end if 1EC60870_S104_SP3_ SINT 2 S104AIMFI LastConnectionNo 0 IEC60870 S104 Status Connectio IEC60870 S104 SP3 Q SINT 8 S104AMMFI ee connote a Frocees command IEC60870 S104 SP3 BL BOOL cn HMM if TRUE IEC60870 S104 SendCOA O 0 then IEC6087 IEC60870 S104 SP3 SB BOOL 23 STO4ACMNT if TRUE QRP i o then QRE Ol 1 end if IEC60870 S104 SP3 NT E BOOL Tg STOAMIMNT SendCmdResetProc Handle IEC60870 S104 SendCOA IEC60870 S104 SP3 IV FALSE BOOL Za S104AMMN1 SendResetProcess False 1EC60870_S104_SP3_TM 0 LINT a SMSP end_if 1EC60870_S104_SP3_Suppress TSpDpSup 8 STOAAESPI x IECG0870 S104 SP test A BOOL a 1044SSP1 The IEC101SlvState function can be used to see and co IEC60870 S104 SP test 0 SINT Ea connection status of the 101 slaves a gon taat i B RAE OpStatel IECi01SlvState IEC60870 S104 Slave Handle Lu ml i ia OpState2 IECi01SlvState IEC60870 S104 Second Handle _ mu mmm isses cte ee 2 MS S104 Gi User 8 E en a Ze UH S104 bl LP Blocks Sovist Define ENUM Pa UL S104 s we s104 ur s104 UH s104 Fa UP S104 Server104 192 168 1 159 502 x a Racine T i Bud Crossreferences Runtime Caistsck Breakpomts Diatsisampinatrace Prompt HMI Ready RUN 192 168 1 159 502 fM 0 4914 0x0 0 0 100 d In Brodersen WorkSuite you will find both some general drivers variables and a number of v
36. BOOL Blocked or not IF true then command is blocked RegStepCmd RCBS Receive in Control Direction Bitstring Command IEC60870 MPN Vari IEC60870 MPN Vari BL IEC60870 MPN Var1 SB IEC60870 MPN Var1 UDINT Bitstring command IOA 2301 RCBS BOOL Blocked or not IF true then command is blocked SetBitString UDINT Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 45 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 Slave Server Send in Monitor Reverse Direction SMSP Send in Monitor Direction Single Point Information IEC60870 MPN Vari IEC60870 MPN Vari IEC60870 MPN Vari Q IEC60870 MPN Vari BL IEC60870 MPN Vari SB IEC60870 MPN Vari NT IEC60870 MPN Vari IV IEC60870 MPN Vari TM BOOL SINT SINT BOOL BOOL BOOL BOOL LINT Single point IOA 1001 SMSP Old SIQ state Current SIQ state Blocked or not IF true then information is blocked Substituted or not Topical or not Invalid or not Timestamp If different from O then this timestamp will be sent SMDP Send in Monitor Direction Double Point Information IEC60870 MPN Vari IEC60870 MPN Var2 IEC60870 MPN Vari IEC60870 MPN Vari Q IEC60870 MPN Vari BL IEC60870 MPN Vari SB IEC60870 MPN Vari NT IEC60870 MPN Vari
37. DP gt i lt RCSP gt RCDP SMMVN smwvr lt SMIT gt lt RCMVN gt lt RCMVE gt RCRS SMSTP lt SMBS gt RCBS lt CrBOOL gt lt CrDINT gt CrREAL j RMSP lt RMDP gt lt RMSTP gt lt RMBS gt lt RMMVN gt lt RMMVS gt lt RMMVE gt lt RMIT gt lt SCSP gt lt SCDP gt i lt SCRS gt j SCNV j ScrFv ScCBS RM3 T1 RM3 T2 RM3 T9 sca LC lt SignalTypes gt lt Macros gt lt StratonCodeParts gt EER EHEHEHEHEHEHEHEHEHEHEHEHEHEHEHEHEHEHEHEHEHEHSEHEHEHSEHEHEHSEHEHEHEHEHEHEHTHEHEHEHEHTI lt m J D EELE mm 1 1 7680 ANSI CR LF INS Ready More details of the XML file are provided in the RTU32 IEC60870 Training contact us for more details about training Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 38 IEC60870 Configurator for RTU32x Doc 40236 March 2014 The time line is relative in ms just to simplify 9 Appendix 1 the diagram In reality this is a full time
38. IEC60870 Configurator for RTU32x Series User Manual for IEC60870 configurator V1 50 version 2 50 March 2014 Doc 40236 Mp BRODERSEN simplifying systems gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 Table of Content 1 Customer Information Disclaimer mE Life Support POlICy ueniret ber R biet Tones E iu esaana de cnesscesscessB esses iei deer ie ed e Iit ERIT R Brodersen Customer Services ciet en Frei SEE oen S iir EEEE EAE CETERO GE Xe uR cma XN ENE NR A OEE NEENA NE KENN secduevauesevdunteialgaaecssstanussauceasasesens 5 dresses 5 PROGUCE Ul fe E 6 YA vigore E msm 7 Before you Begin Please Note M I MRRRR 7 RIW32 IEC60870 Configurator Features rrt hte ico esce ree ecd ved pre riv ec eee eet Pe viv eae 7 Excel WOnKIBOOK c ht bo petii i b radi E iei A ipit en Int I I IRE 7 IEG608 70 Code GEMeraton EE 7 XML Database File ONLY CHANGED OR EDITED WHEN USED IN SPECIAL APPLICATIONS eese 7 IEC60870 5 104 Enhanced functions NUC functions OPTIONAL cc cccccccccccsccccsssesccsssscccsseececsesecesusseseseeeseceeeeseusesecusesecueseeseueesenees 7 BIOGK Did Faint RE EET EIE DTE m 8 Supported IEC60870 Drivers in the Configurator
39. M port baudrate 31 Second COM port link address 32 Use E5 33 34 Third Communcation Port 35 Use Third COM port redundant 36 Third COM port redundant 37 Third COM port baudrate 38 Third COM port link address 39 Use E5 E Description Used for Information in Reverse Direction Max time for execute selected command 1 or 2 octets bytes 1 2 or 3 octets bytes 1 or 2 octets bytes Defines the time for short pulse commands Defines the time for long pulse commands Support both direct and modem connections 1 254 or 1 65534 4 Use E5 acknowledge Used when active dial is used and redundanct connections enabled Phone numbers separated by semicolons Number of phone numbers For test For test Support direct conne ipns only Enable the port 1 254 or 1 65534 Use E5 acknowledge Support direct connections only Enable the port 1 254 or 1 65534 Use E5 acknowledge 1EC60870 5 101 Controlled Station Parameters Allow Reverse Direction 104 Client_ 103 Master Enable the function of reading Information s in reverse directions Select Execute timeout sec Time from an output is selected till it must be executed In case of timeout time is elapsed the output must be selected again before executed COA size Common Address of ASDU COA address size in bytes octets IOA size Information Object Address IOA address size in bytes octets Brodersen A S Islevdalvej 187 DK
40. Master will send a new Slave request a few msec after getting a reply Some 103 Slaves do not manage to handle this speed so it is recommended to define a scan delay to prevent communication failures Depending on the actual configuration it is recommended that you set the Scan delay to e g 5Omsec You can then try to decrease the delay until you get communication failures but remember to leave a good margin to prevent occasional retries Link Retries Number of retires before the Slave is demoted See under Demote time Demote time After a Slave has been requested for data the number of retires defined above the Slave will be demoted for a period of time Demote Time It means that the Slave is not requested for data for this period The Demote function is used for keeping the Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 25 IEC60870 Configurator for RTU32x Doc 40236 March 2014 data flow running in a multi drop application even if one or more Slaves are not replying If the demote function is not used a single Slave that is not responding will slow down the complete communication as the driver would constantly be waiting for answers for the missing Slave Debug Parameters Log Link transfer in 911 log Enable to log Link communication in the RTU32 system log that can be review with the Event Viewer or Telnet on port 911 The log is made by the 103 link lay
41. OVAL OF BRODERSEN A S As used herein 1 Life support devices or systems are devices or systems which a are intended for surgical implant into body or b support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in significant injury to the user 2 A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness Brodersen Customer Services Your satisfaction is our primary concern Here is a guide to Brodersen customer services To ensure you get the full benefit of our services please follow the instructions below carefully Technical Support We want you to get the maximum performance from your products So if you run into technical difficulties we are here to help For the most frequently asked questions you can easily find answers in the product documentation These answers are normally a lot more detailed than the ones we can give over the phone So please consult this manual first To receive the latest version of the user manual please visit our Web site at http www brodersen com Choose the product in question under product search and under each product you will find accompanying data sheets manuals user guides etc If you still cannot find th
42. PN_test INT Receive norm setpoint command IOA 4502 RCMVN RTUS2DigIO2 Version 2 Module 0 IOType DI Recreating IEC60870 S104 SPF test REAL Receive float setpoint command IOA 5501 RCMVF RTUS2DigIO2 Version 2 Module 0 IOType DI 635 Recreating IEC60870 S104 RBS test UDINT Receive bit string IOA 6501 RCBS RTU32DigIO2 Version 2 Module 0 IOType DI DataType 1 835 Recreated 26 variables 845 Following Straton Project Options are Enabled 855 Store complex variables in a separate segment B55 Allow large jump instructions 865 Debug code generation 865 Embed symbols of all variables Finished STRATON project generation EXCEL Workbook IEC60870 104Server example V150 xls Calling compiler om i T m Code Generation Details The code generator is using all the data and settings defined in the Excel sheet to generate a Brodersen WorkSuite application program All settings and references for the code generation that is not defined in the Excel sheet are defined in the XML database file See XML database file section for details When you activate the code generation it will search for the Brodersen WorkSuite project defined in the Excel sheet If there is a Brodersen WorkSuite project it will open it and ADD the IEC60870 driver code to this project in Structured Text ST If there is no existing Brodersen WorkSuite project the generator will create a new project according to the name def
43. V IEC60870 MPN Vari T IEC60870 MPN Vari TM SINT Step position IOA 1201 SMSTP Current StepPos state SINT VTI Old state SINT VTI current state SINT Quality bits SINT Old Quality bits BOOL Blocked or not IF true then information is blocked BOOL Substituted or not BOOL Topical or not BOOL Invalid or not BOOL Overflow or not BOOL Current StepPos transient state LINT Timestamp If different from O then this timestamp will be sent SMBS Send in Monitor Direction Bitstring Value IEC60870 MPN Vari IEC60870 MPN Vari IEC60870 MPN Vari Q IEC60870 MPN Vari QO IEC60870 MPN Vari BL IEC60870 MPN Vari SB IEC60870 MPN Vari NT IEC60870 MPN Vari IV IEC60870 MPN Vari OV IEC60870 MPN Vari TM UDINT Bitstring IOA 1301 SMBS Current Bitstring state UDINT Last scan BitString state SINT Quality bits SINT Last scan quality bits BOOL Blocked or not IF true then information is blocked BOOL Substituted or not BOOL Topical or not BOOL Invalid or not BOOL Overflow or not LINT Timestamp If different from O then this timestamp will be sent SMIT Send in Monitor Direction Integrated Totals IEC60870 MPN Vari IEC60870 MPN Vari SB IEC60870 MPN Vari SO IEC60870 MPN Vari SQ IEC60870 MPN Vari CY IEC60870 MPN Vari CA IEC60870 MPN Vari IV IEC60870 MPN Vari Nx IEC60870
44. WorkSuite should be started o WorksSuite uses the file appli xml to remember which programs and windows were open when the project was last edited WorkSuite may in some situations not show the protocol files created by the generator in correct program folders If you experience this then deleting the appli xml will ensure that the all folders and program files are displayed correctly Brodersen WorkSuite project settings e Force Generate debug code This project settings option embeds some debugging code to allow online break points e Force Embed symbols of all variables This project settings option instructs Brodersen WorkSuite to embed and download the names of all variable to the RTU e Force Store complex variables in a separate segment This project setting option is a mandatory option and cannot be disabled e Force Allow large jump instructions This project setting option is a mandatory option and cannot be disabled The Brodersen WorkSuite project settings are the same as those that also can be altered from within the Brodersen WorkSuite Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 28 IEC60870 Configurator for RTU32x Doc 40236 March 2014 XML Debug Information 2 RTU32 IEC60870 Code generator V1 45R Help View Options Show XML Debug Information ican Select More Excel Workbooks The Show XML Debug Infor
45. a useful tool e ThelEC60870 Configurator has an upper limit in number of ADSUs to be created for a driver Please see section about Work sheet Variables for details RTU32 IEC60870 Configurator Features The RTU32 IEC60870 Configurator is a tool that contains three basic elements Excel Work Book The IEC60870 driver parameters variables and ASDU types are entered by the user in an Excel sheet Brodersen provide a standard Excel sheet for setting up all necessary parameters in an RTU32 driver If required you can define or use your own Excel sheet if you get an introduction and training of the Configurator setup details IEC60870 Code Generator The IEC60870 Code Generator is the Brodersen WorkSuite program generator which takes user configuration values defined in a MS Excel sheet and build up a Brodersen WorkSuite program download it to the RTU32 and get it started As the Code Generator uses the Brodersen WorkSuite compiler it is required that the Brodersen WorkSuite is installed on your PC XML Database File ONLY CHANGED OR EDITED WHEN USED IN SPECIAL APPLICATIONS The IEC60870 Application layer is written as Brodersen WorkSuite structured text ST code All this code including basic driver settings and functions and definitions of Excel sheet data readings are stored in a XML file The database XML file does include all settings used by the Configurator Tool formatted and in clear text An experienced user can enter own spec
46. ari IEC60870 MPN Vari TH IEC60870 MPN Vari SM IEC60870 MPN Vari BL IEC60870 MPN Var1 Q IEC60870 MPN Vari SB REAL REAL REAL BOOL SINT BOOL Float value IOA 1501 SMMVF MVF current value Threshold value parameter Smoothing factor parameter Blocked or not IF true then information is blocked Quality bits Substituted or not Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 46 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 IEC60870 MPN Vari NT IEC60870 MPN Vari IV IEC60870 MPN Vari OV IEC60870 MPN Vari VO IEC60870 MPN Vari QO IEC60870 MPN Vari Nx IEC60870 MPN Vari S IEC60870 MPN Vari QOP IEC60870 MPN Vari TM BOOL Topical or not BOOL Invalid or not BOOL Overflow or not REAL MV last reported SINT MV quality bits last scan LINT Cyclic scan next report time BOOL MV Force sending USINT Parameter QPM LINT Timestamp If different from O then this timestamp will be sent SMSTP Send in Monitor Direction Step position IEC60870 MPN Vari IEC60870 MPN Vari VO IEC60870 MPN Vari VC IEC60870 MPN Vari Q IEC60870 MPN Vari QO IEC60870 MPN Vari BL IEC60870 MPN Vari SB IEC60870 MPN Vari NT IEC60870 MPN Vari IV IEC60870 MPN Vari O
47. ari QU IEC60870 MPN Vari SC IEC60870 MPN Vari CT IEC60870 MPN Vari NK IEC60870 MPN Vari SS IEC60870 MPN Vari SE IEC60870 MPN Vari DE IEC60870 MPN Vari RS IEC60870 MPN Vari AV IEC60870 MPN Vari AT IEC60870 MPN Vari TM IEC60870 MPN Vari TR IEC60870 MPN Vari TT IEC60870 MPN Vari TE SCDP Send in Control Direction Double Command IEC60870 MPN Vari IEC60870 MPN Vari QU IEC60870 MPN Vari DC IEC60870 MPN Vari CT IEC60870 MPN Vari NK IEC60870 MPN Vari SS IEC60870 MPN Vari SE IEC60870 MPN Vari DE IEC60870 MPN Vari RS IEC60870 MPN Vari AV IEC60870 MPN Vari AT IEC60870 MPN Vari TM IEC60870 MPN Vari TR IEC60870 MPN Vari TT IEC60870 MPN Vari TE BOOL SINT SINT DINT BOOL BOOL BOOL BOOL BOOL BOOL BOOL LINT TON BOOL BOOL BOOL SINT SINT DINT BOOL BOOL BOOL BOOL BOOL BOOL BOOL LINT TON BOOL BOOL Single command IOA 2001 SCSP QU part of SCO byte Current SCO byte COT Last received Cause of Transmission NAK Negative acknowledge Trigger Send Select cmd Trigger Send Execute cmd Trigger Send deactivation cmd Reset all send states Activation confirmation set true if COT 7 is received Activation termination Set to true if COT 10 is received Time to be used when sen
48. ariables for each declared ASDU data type The general variables are placed in the main program variable folder e g MP IEC104 and the ASDU specific variables are placed in the Global variables folder Each variable has its own specific function in the driver and changing anything may lean to errors and a not functional driver A few guidelines for the most often used variables is however necessary for the user Each variable include a description that explain what the variable is used for For the most commonly used variables we have included some sections with explanations see the next sections In addition this manual will be updated with an Appendix with details of all the possible system and ASDU related variables in a Brodersen WorkSuite application project Look at our homepage to get the latest version of this document Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 35 IEC60870 Configurator for RTU32x Doc 40236 March 2014 Global driver variables 101 Slave and 104 Server The Global variable folder contains all the ASDU specific variables used by the driver If you sort the variables after names they will be listed according to the variables names you have defined in the Excel sheet For each declared ASDU type variable a number of Brodersen WorkSuite variable is created Each of them can be described as driver protocol control parameters The Sing
49. ase Note That e ThelEC60870 Drivers for RTU32 is made for utility applications with the RTU32 working as an Outstation System Gateway or small data concentrator e ThelEC60870 Drivers are a standard option in the RTU32 Series e ThelEC60870 Configuration tool does in general take IEC60870 application layer data from a MS Excel Work Book file and generates a RTU32 application program It supports the most commonly used driver features and does automatically generate the RTU32 application program code and download it into the RTU32 If you have special requirements you can edit and or add any wanted IEC60870 function in Brodersen WorkSuite e The basic IEC60870 Drivers in RTU32 are implemented as link drivers That means that you in the Brodersen WorkSuite application programming environment do develop the application layer with a standard set of functions Please note that this gives you the advantage to adjust the drivers to almost any requirements within the scope of the IEC60870 driver specifications But it also requires knowledge of the protocol options e You must NOT have the RTU project you are generating open in the Brodersen WorkSuite When you want to generate code be sure that Brodersen WorksSuite is closed e Itis required that the Brodersen WorkSuite version 1 0 0 0 or newer or STRATON WorkBench version 8 5 or newer is installed on your PC to run the Configurator tool e Ifyou just want to create variables the Code generator is also
50. ble Commands used by the Signal Types RMSP and RMDP Here it is possible to configure both short and long pulse length for each command If the cell is kept empty then the default pulse lengths from the driver main sheet is used Enable Spontaneous Information Event in Monitor Direction This parameter Colon L is used by RCSP and RCDP commands If enabled the change of output caused by the Single or Double commands will cause a spontaneous message in monitor direction Default settings is now False In prior versions this could not be configured and the parameter was always True Single Double point information suppress time filter This parameter Colon N defines how long the single and double point states must be stable before it is sent This filter is used by the signal types SMSP and SMDP The filter time is entered in number of 100 ms units Longer variable names Brodersen WorkSuite has since version 7 4 been able to manage long variable names The IEC60870 Configurator uses this now to make more structured naming of GLOBAL variables created by the Configurator All variables names are now prefixed as follows IEC60870 oooxx These variables are global variables that are shared by on ore more Excel Workbook can be used by many drivers redundancy groups All these variables are created by the XML file IEC60870 main program name gt __ lt xxxxx gt These variables are global variables that belong to a specific Excel Workbook a
51. bleCmd Enable reverse direct IEC60870 TimeMS DINT E TintermedSuppr z Enable reverse direch IECG0870 S104 AllBlocked BOOL fri TPulseEvenMin see DOC MAREE IEC60870 S104 CommandDelayed DINT 8 TSendBitString catia r TSendDP Config870 2 r TSendintTotals Config870 3 r TSendMVFloat Config870 4 A ci r TSendMVN Config870 5 FM SE False AllowRevDirMaster IEC60870 S104 SendClockSync FALS BOOL EA TSendSP Config870 6 TRUE TRUE Slave not master IEC60870 S104 SendCOA ri TSendStepPos CoaSize NNNM n2 IEC60870 S104 SendCOT E TSetPointCmdMVF Orginatorsize Ba PRES IoaSize 3 ii TSetPoiriCmdNV IecShortPulse t 500ms fa Cm AD E TSingleCmd E TecloannPr a8 r SO0nnma E TSpDpSuppress a 5104 CD Protocol Event description Es COAT i MP S104 Pa MS S104 5 A User IOA size IEC60870_S104__Connected LSE BOOL TRUE Use orginator addr IEC60870 S104 ConnectNo DINT TRUE 2 byte COA IEC60870 S104 GiloaCnt DINT FALSE AllowReverseDirec 1EC60870_S104__IncorrectAsdu DINT Buia Crossreferences Runtime Caistack Breakpoimts Digitaisampiinatrace Prompt HMI RUN 192 168 1 159 502 al 0 0 Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com IEC60870 Configurator for RTU32x Doc 40236 March 2014 Programs and functions Under the IEC60870 folder a numbe
52. d erm File Home Insert Page Layout Formulas Data Review View Add Ins 9 o cg ES Al Y fe Parameters if IEC60870 103 Master is selected as Main Program Type s 1 D E F G F IEC60870 5 103 Controlling Station Parameters Value Description COM port COM1 Baudrate 9600 Even paritiy is used Response Timeout ms 1500 Max time to wait for a slave response Scan Delay ms 500 Additional delay een slave requests Link Retry 3 Number of consecutive retries before current scanned slave is demoted and next slave is scanned 10 Demote Time ms 20000 Time the current slave is demoted if link retries is exceeded 12 General Interrogation Interval minutes 10 0 Means no interval 14 Debug Parameters 15 Log Link transfer in 911 log 16 Log formatted ASDU frames in 911 log 17 Log COM port activity Parameters if IEC60870 103 Master is selected as Main Program Type 0 l4 4 gt M Main lt Variables 101 Slave lt 101 Master _ 104 Server lt 104 Client 103 Master Yours Ref lt 3 Ready Main Configuration parameters 1EC60870 5 103 Controlling Station Parameters COM port The COM port used for 103 Master Note that the port cannot be used for any other driver in Brodersen WorkSuite Baudrate Baudrate used on selected COM port Response Timeout ms Define the maximum time the master should wait for the Slave to answer before it sends a retry Scan Delay ms As the RTU32 is a powerful communicator the
53. dial the 101 Master Station in case of data in the queue If not enabled the 101 Master is ALWAYS responsible for establishing connections to the RTU32 Dial Delay Define the delay for dial out to 101 Master in case of data in the queue Only relevant if active dial out is enabled Phone Numbers Define the phone number s of the host to dial Up to 10 numbers can be defined should be separated by a semi colon No of subscribers to call Define the total number of phone numbers to call if the connection with the first dialed number fails if busy not connected etc If set to 2 as default the RTU32 will try call the first and second number defined in the Phone Numbers cell Debug Parameters Log Link transfer in 911 log Enable to log Link communication in the RTU32 system log that can be review with Telnet on port 911 Should be disabled under normal operation Log ASDU in 911 log Enable to log application data communication in the RTU32 system log that can be review with Telnet on port 911 Should be disabled under normal operation Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 17 IEC60870 Configurator for RTU32x Doc 40236 March 2014 Secondary Communication Port Use Second COM port redundant Enable to use a second 101 Slave Link connection to the main Link driver data queue The second link establishes a mirror of the data queue availabl
54. ding command Running timer to measure timeout on the command Timer trigger To control if the timer should be running Timeout error flag typically activated if time windows are not synchronized Double command IOA 2101 SCDP QU part of DCO byte Current DCO byte COT Last received Cause of Transmission NAK Negative acknowledge Trigger Send Select cmd Trigger Send Execute cmd Trigger Send deactivation Reset all send states Activation confirmation set true if COT 7 is received Activation termination Set to true if COT 10 is received Time to be used when sending command Running timer to measure timeout on the command Timer trigger To control if the timer should be running Timeout error flag typically activated if time windows are not synchronized SCNV Send in Control Direction Setpoint Command Normalized IEC60870 MPN Vari IEC60870 MPN Vari QD IEC60870 MPN Vari CT IEC60870 MPN Vari NK IEC60870 MPN Vari SS IEC60870 MPN Vari SE IEC60870 MPN Vari DE IEC60870 MPN Vari RS IEC60870 MPN Vari AV IEC60870 MPN Vari AT INT SINT DINT BOOL BOOL BOOL BOOL BOOL BOOL BOOL Normalised set point IOA 2401 SCNV normalized value Current QDS byte COT Last received Cause of Transmission NAK Negative acknowledge Trigger Send Select cmd Trigger Send Execute cmd Trigger Send deactivation Reset all send states Activation confirmatio
55. e SignalType Section 9 Appendix 1 cernes Debounce and chatter filter figure 10 Appendix 2 Brodersen WorkSuite Variable list eene nnnm nennen nennen nennen inen nnne nnn sen nnne 40 Variables Global to All Drivers Redundancy GrOUDPS scccccssssssesscssceseesssesecsesesssescseceessaecsscsecseseaesaescseceessassescaesessaesessasseaseassesseaseeaees 40 Variables Global to Single Driver Redundancy GrOUP cccccsssessesscsscsssessccsecsesesecsesesecessseceesesecsesesssessesecessassescaeseessaeseseseseeseasseeseaeeenees 40 Master Client Receive in Monitor Direction cccccccccccccccccccssssccsssscccscsecccsessscsussccceeeeseceusacucssssseeeasecususceauueseceesescusacsesusesesessesenssaesenees 41 RMSP Receive Monitor Direction Single Point eene eene nennen nnne nennen nnns nnne nien nennen 41 RMDP Receive Monitor Direction Double Point 0 0 ceeeecseeeesesseeeceeeeeeaeeeeeeeeeseeeaeeaecsaeesecsaeseeseaeeaesaesaecseessessaesaeseeeeaesaeeaeseeseaeeeeees 41 RMMVN Receive Monitor Direction Measured Value Normalized sseeeeeeeeeennen eene nnn enirn nsns enn nna 41 RMMVS Receive Monitor Direction Measured Value SCaled ccccccccccccccessccsseeeccceesseceececcccesueeesecsuceeeeeeeueceeeeeseseeeesesssneeeeueesseeees 41 RMMVF Receive Monitor Direction Measured Value Floating point enne nnne nnns 42 RMSTP Receive Monitor Direction Step Position esseeeeeeeessseseseseeeess
56. e answer gather all the information or questions that apply to your problem and with the product close at hand call your dealer Our distributors are well trained and ready to give you the support you need to get the most from your Brodersen products In fact most problems reported are minor and are able to be easily solved over the phone In addition technical support is available from Brodersen engineers every business day We are always ready to give advice on application requirements or specific information on the installation and operation of any of our products Please do not hesitate to call or e mail us on support brodersen com Denmark Brodersen A S Islevdalvej 187 DK 2610 Roedovre Tel 45 45 35 26 27 Fax 45 45 35 26 29 sales brodersen com www brodersen com Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 Product Warranty Brodersen warrants to you the original purchaser that each of its products will be free from defects in materials and workmanship for two years from the date of purchase This warranty does not apply to any products which have been repaired or altered by persons other than repair personnel authorized by Brodersen or which have been subject to misuse abuse accident or improper installation Brodersen assumes no liability under the terms of this warranty a
57. e via the main port It is import that the host is managing the connections as if the data queue is emptied the data is lost and cannot be re established Second COM port redundant Second COM port used for 101 Slave driver Note that the port cannot be used for any other driver in RTU32 Second COM port baudrate Baudrate used on selected COM port Second COM port link address Define the Link address of second 101 Slave Note that the address range depend on the size selected above Use E5 Enable using E5 acknowledge Third Communication Port Use Third COM port redundant Enable to use a second 101 Slave Link connection to the main Link driver data queue The second link establishes a mirror of the data queue available via the main port It is import that the host is managing the connections as if the data queue is emptied the data is lost and cannot be re established Third COM port redundant Second COM port used for 101 Slave driver Note that the port cannot be used for any other driver in RTU32 Third COM port baudrate Baudrate used on selected COM port Third COM port link address Define the Link address of second 101 Slave Note that the address range depend on the size selected above Use E5 Enable using E5 acknowledge Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 18 IEC60870 Configurator for RTU32x Doc 40236 March 2014 Wor
58. ected till it must be executed In case of timeout time is elapsed the output must be selected again before executed Command Timeout sec Defines the time for a command to be invalid If a command is newer or older than the defined Command timeout the command is not executed Short Pulse Length ms Short pulse length for single and double commands in ms Long Pulse Length ms Long pulse length for single and double commands in ms Accept Commands with Timetag Process information in control direction may be sent with or without a time tag but must not be mixed Select between commands with time tags CON 58 64 or without time tag CON 45 51 Default is false Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 21 IEC60870 Configurator for RTU32x Doc 40236 March 2014 Number of Priority Queues Define the number of transmit queues for 104Server Up to 7 can be defined Data in a high priority queue will always be sent before data lower priority queues K parameter The Maximum differences receive sequence number to send state variable APDUs This according to the 104 protocol standard default values is most likely to be used W parameter Latest acknowledge after receiving W format APDUs This according to the 104 protocol standard default values is most likely used Allowed clients IP1 IP2 IP6 Any 104 Client connecting to the RTU32 1
59. ed Setup needs to install RTU32 extenstions to WorkSuite STRATON WB You must to specify the folder where WorkSuite STRATON Workbench is installed Setup has tried to identify the folder but you should verify if the folder is correct WorkSuite STRATON Workbench Folder IC Program Files Brodersen WorkSuite 1 0 0 0 Space required 6 5MB Space available 87 0GB It is important that the IEC60870 Code generator is installed in the directory with WorkSuite or STRATON main program If you use Brodersen WorkSuite the path in Windows7 is normally C Program Files Brodersen WorkSuite 1 x x x Next step is to define the location of where to install the Excel demo sheets and the XML project template file Choose the folder in which to install RTU32 IEC60870 Configurator V1 50 Excel demo sheets and the XML project template NOTE The IEC60870 configurator installs demo Excel sheets so you can easily start your own The demo Excel sheets uses C RTU32 as default path for the IEC60870 V150 XML file so if you want to change this path then be sure that you change this in the Excel sheets as well Excel Sheets and XML file Folder Space available 87 0GB It is recommended to keep the default location C RTU32 Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 10 IEC60870 Configurator for RTU32x Doc 40236 March 2014 When the installation
60. eeeeee nennen nennen nnn nnne rnnt nn nnnnte senis ennt nnne nnne snnt re teneri nnne RMBS Receive Monitor Direction Bitstring Value ccsccssscssssccssecsseeessecsnecsseessneceseesuecsseessneesseeseaeecseeseseessuescaeessuesessesenesensesseesaes RMIT Receive Monitor Direction Integrated Totals Master Client Send in Control DIFeCHODs sito reo oreet tero eee te de E ettet ete cete der Evene ede eee bv esee e usse eee uv eoe coveneec countess E SS SCSP Send in Control Direction Single Command SCDP Send in Control Direction Double Command SCNV Send in Control Direction Setpoint Command Normalized Es ae He SCFV Send in Control Direction Setpoint Command Floating ae des n ee 44 SCRS Send in Control Direction Regulating Step Command SCBS Send in Control Direction Bitstring Command cccccscccesecsscesssecsseecssecsseeescecsaeeeseecseeesueccseessaecuseeseaeeeueceaeeseneseeessaessenesenees 44 Slave Server Receive in Control Direction ccccccccscccscsesccsssccccesscceseeescceesescusseceeeasseusasscauseseceesuseeusaseesusssesesauecusasecassesesuseeeeesaseeseenees 45 RCSP Receive in Control Direction Single Command sssssssssesseeeeeee eene nn nennen nnn nnne rnnt nns 45 RCDP Receive in Control Direction Double Command ccescccsseesssessceesseecsaeeessecsseessuecsaeesseeesseeceaeeeeessseeuseeseseeserssseeseneeeseeesneesaes 45 RCMVN Receive in Control Direct
61. egrated Totals us sis n xs 47 HEN ECdbIg ge M E is ss 48 RM3 T1 Receive in Monitor Direction TypID 1 Time tagged message RM3 T2 Receive in Monitor Direction TypID 2 Time tagged message with relative time RM3 T9 Receive in Monitor Direction TypID 9 Measurands ll nenne eene een nnnneen nennen nnns entres nnns innert enn 48 SC3 GLC Send in Control Direction TypID 20 General command ccssccessesseeseecsseesssecsseessneecseessaeesanessaeeseecsaeeseneseaeessneesenessaees 48 11 Appendix 3 Maximum ASDUs to be handled by the IEC60870 Configurator cccccccscccssscsseeesseecseecsseessneseseecsesseseessneseaeessaeessnesenees 49 12 Appendix 4 Excel Ref Sheet cccccssssesssecssscsssecsseessuecsseessnsesssecsssessssesesecuecsssecsessseusssueussscsssesnecsseessesssenecssesssessasesenessseessnsesenessnees 50 13 Appendix 5 Update MIStORY 5 tree Eae recte ec Vere ev Tee ct ee Y E Ne E EVE SE EEr couv tre ee ve eva ve ev Eve eeu Y Eee du 51 Version ASO PO ate Seo ao PERO IB HERE TERES IR E E WIRES IRR NRECHIR VENERE ROSE ERR VS ETE NNUS RPUN 51 Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 einem 51 JEC60870 Generator updates e
62. el 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 49 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 12 Appendix 4 Excel Ref Sheet The Excel workbook contains a Ref sheet that contains a short description for each signal type available It also describes which ASDU type IDs are generated for each signal type 4 ld 9 c C60870 104Server example V150 xls Compatibility Mode Microsoft Exc S File Home Insert Page Layout Formulas Data Review View Add Ins 9 o c gg ES 122 v fe Iv FASES B cx D E m 4 Defined signal types Type ID used Type ID and Time Tag Size ws 13 Send in monitor direction 14 sMsP Single point information 1 2 30 SMxxx types The Time Tag Size 0 3 7 controls which type ID is used for 15 SMDP Double point information 554 31 spontaneous messages 16 SMSTP Step position 5 6 32 f f 17 SMBS Bitstring of 32 bit 7833 Responses to general interrogation are always sent without timetag 18 SMMVN Measured value Normalized 9 10 34 110 19 SMMVF Measured value short floating 13 14 36 112 20 sMIT Send integrated totals 15 16 37 21 Receive in control direction RCSP Receive Single command 45 58 The Time Tag Size parameter is ingored for RCxxx types 23 RCDP Receive Double command 46 59 24 RCRS Receive Regulating step command 47 60 101 accepts only the lowest TypelD types without time 25 RCBS Receive Bit String command 51
63. ent 103 Master linked to 104 Server e 103 Master Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 11 IEC60870 Configurator for RTU32x Doc 40236 March 2014 e Yours e Refs ASDU type reference list to ASDU TYPE IDENT numbers How to get Help The Excel sheets contain a lot of pop up help windows A help box will pop up when the mouse is moved over the cells that contain the little red triangle in the right upper corner See the picture below frs Hd 104Server example V150 xls Compatibility Mode licrosoft Exc EE 3 Home Insert Page Layout Formulas Data Review View Add Ins 9 o c zs El bd fe Vari M Lu E 0 m e 6 4 AT B C F G H M N O P T W X JY Z jAA AB AC AD AE AF AGAM 5 STRATON Variable name a bi The variable name used in STRATON for this signal In fact the configurator will x H 2 E create many variables for each signal type e g E a 8 is lg lt is 2 n z 2 E 3553 3 E E MAR the actual value 8 98 82 bree 8 2s BiBlz s BE Z V150 VAR IV invalid bit in the quity bye ss for Var1 E SNE VAR SB substituted bit 4 x 101 Slave 104Server Send in monitor direction VAR NT none topical bit S Send DI0
64. er function This parameter should be set to false during normal operation Log formatted ASDU frames in 911 log Enable to log application data communication in the RTU32 system log that can be review with the Event Viewer or Telnet on port 911 This parameter should be set to false during normal operation Below is shown a log where the master is sending command to slave address 101 568 0A 0A 68 73 65 14 81 14 00 FF 20 02 01 A3 16 gt gt SLV 101 Typ 20 General command COT 20 general command COA 0 FUN 255 INF 32 Val 2 ON RII lt lt R101 ACK User data accepted lt lt 68 0E 0E 68 28 65 01 81 14 00 FF 20 02 23 A1 36 11 01 50 16 lt lt SLV 101 Typ 1 Time tagged message positive acknowledgement of command COA 0 FUN 255 INF 32 Val 2 ON SIN 68 0E 0E 68 08 65 01 81 0C 00 FF 20 02 23 A1 36 11 01 28 16 lt lt SLV 101 Typ 1 Time tagged message COT 12 remote operation COA 0 FUN 255 INF 32 Val 2 ON SIN OO00000000000555505700 LLL GA GP GPS uS RRR US aS aS uS aS aS aS am au Log COM port activity Enable to log comport activity into the RTU32 system log that can be review with the Event Viewer or Telnet on port 911 Here the log is made by the low level serial driver This parameter should be set to false during normal operation Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 26 gt IEC608
65. esssessaeeseaeesssessasesaes 23 D bug Parameters ienecenetenehmd tenu uae cue MU M ME IS 24 Multiple 104 Client COnNMECtIONS ERR 24 Work Sheet 102 MaStet oett cs OB OI GRO HERO EM REIUNRON ERSTER URINE taueazi sd IS ri a EEE S REIHE AE en 24 Main Configuration parameters ride tentent dase nace eiaei Aeae e oeh aa Aea ra Tena ata eieaa RE EEE eia aaseista 25 IEC60870 5 103 Controlling Station Parameters sessi nnn nenne nennen innen nennen nnns 25 Debug Paratrieters eese teorici ibm eis Por vet dcs UTOR ELI qU SITES MAREC ERROR iaugews la RO RR ROTE MAREC RR TR RRER EQ ENSE A ROKR RN MRECKE 26 5 THE IEC608 70 gen Ec cepm M 27 cidcm 27 Ur Hr cmt isona 27 Code Generation Details ora e RR RORERE OR EENXRRREM UR FIL a EA TIR H t IEEVER A ERES ERE FER ca die FU 27 Configuration Options Window 28 Optional actions after successful code generation 28 Brodersen WorkSuite project settings S as m i i 28 XML Debug InfOrtriatiOnm eic Gee Siete OUI CORNER HER ERN RGE C GUI EGER E IRIS TERRENT IE EISHRXUS TIERE Ue S VEEEE EHE AE SY Re RUE IS 29 Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com
66. for the same input e g disturbance influences due to slowly changing inputs because the hysteresis is possibly set to small Debounce filter function for SOE An adjustable debounce filter is provided for each digital input On detection of an input change a timer with the filter time T is started for the changed input and forwarding of the information is suppressed If the input changes back to the original state before the timer has expired the timer is cancelled If the input doesn t changes back and the timer expire the new input state is forwarded The time stamp forwarded is the time when the actual input change was detected The value range for the filter time is O to 32767 millsec the value 0 deactivates the debounce filter The figure shows an example of a debounce filter in action sas NNN cu SN NNN cA oc o gt o occo c cc ccc ccc c ccc c ao ooo c5 c D 000 D DDD DDD D D n Mtn oH n n cnc cn cn n o popoa Oo AAE HA a n c Lx A n c MPA co YVA Y Y wv v Y Y v Y v Y Y Y 0 4 710 14 34 37 414447 5154 Figure shows an example of how SOE events are handled by the filter at T 10ms e Stable ON Event at 7 04 06 515 is forwarded at 7 04 06 525 with time stamp 7 04 06 515 e Stable OFF Event at 7 04 06 555 is forwarded at 7 04 06 565 with time stamp 7 04 06 555 If filter time T 25 milliseconds no event is recorded with these settings Chatter filter function for SOE An ad
67. i COT IEC60870 MPN Vari TM IEC60870 MPN Vari UPD Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel DINT USINT BOOL DINT LINT BOOL Float value IOA 501 RMMVF Current QDS state Topical or not Last COT received Parameter Time to be used when sending command The point is now updated Parameter new value Parameter QPM value Parameter COT Last received Cause of Transmission Parameter NAK Negative acknowledge Parameter Trigger Send cmd Parameter Activation confirmation set true if COT 7 is received Parameter Running timer to measure timeout on the command Parameter Timer trigger To control if the timer should be running Parameter Timeout error flag typically activated if time windows are not synchronized Step position IOA 102 RMSTP Current QDS state Topical or not Last COT received Transient state Last receive time The point is now updated Bitstring IOA 301 RMBS Current QDS state Topical or not Last COT received Last receive time The point is now updated Integrated totals IOA 601 RMIT Current QDS state Topical or not Last COT received Last receive time The point is now updated 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 42 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 Master Client Send in Control Direction SCSP Send in Control Direction Single Command IEC60870 MPN Vari IEC60870 MPN V
68. ial configuration parameters and functions to this XML file IEC60870 5 104 Enhanced functions NUC functions OPTIONAL The RTU32 and the IEC60870 5 10x Code Generator supports the latest IEC60870 5 104 protocol specifications and NUC Norwegian User Convention requirements which includes support for redundancy groups several Client connections and multiple COA The Code generator supports in details Up to 6 redundancy groups e Each redundancy group has up to 8 prioritized transmission data queues e Each redundancy group is generated in a separate Excel sheet Each redundancy group support up to 6 Client connections e The Clients are specified as allowed IP connections e Timing setting can be adjusted individually for each Client connection e ThelEC60870 5 104 Server support up to 6 local COAs This means that the RTU32 can be given up to 6 different COA addresses that are assigned in the IOA list in the Excel sheet Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com IEC60870 Configurator for RTU32x Doc 40236 March 2014 Multiple COAs in an RTU32 e Any ASDU type can be assigned its own COA address It means that one physical RTU32 on the same link can represent several COAs You just assign the COA in the ASDU list and the RTU32 will report as several single units with its own COA It means that if you send a General Interrogation for a specific COA it
69. ils open a relevant IEC60870 example Excel file e Open the Main work sheet to setup the main settings for the WorkSuite Project name and IP address of RTU32 You may also define your own settings for used Excel sheet name e Open the Variables work sheet Define all the variables assign descriptions ADSU type addresses and settings etc After adding the data you must save the file e Now you are ready to generate the code for the RTU32 Open the Code Generator and activate Generate to create the RTU32 application program You will have to select in the Option menu if you do not want to open the Brodersen WorkSuite with the generated program If you select to open Brodersen WorkSuite default you must make sure that it is not already running if it is running it must be closed e Ifyou select to download the configuration to the RTU32 the application program will be compiled downloaded and started in the RTU32 with the IP address defined in the Excel sheet Main work sheet 4 MS Excel File the general work sheet Workbook Structure The Excel file is the basic user interface for the Configurator All settings for setting up an IEC60870 driver are added here The purpose for using the Excel sheets is to provide a well know working environment and give the user the opportunity to add own documentation etc The Excel workbook file includes several work sheets e Main e Variables 101 Slave e 101 Master e 104 Server 104 Cli
70. ined in the Excel sheet Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 27 IEC60870 Configurator for RTU32x Doc 40236 March 2014 Configuration Options Window The Code generator has option menu that is used to configure what should be done during and after protocol code generation XE Macros o B x Options Help Select Excel Loses Options fe Use active HE Select i Optional actions after successful code generation 12 19 56 12 19 56 Rege cel Download project to RTU32 12 19 56 12 19 57 Iv Start WorkSuite with the downloaded project 12 19 57 12 19 57 IV Delete appli xml 12 19 57 12 19 57 12 19 574 WorkSuite project settings 12 19 57 12 19 57 12 19 57 2574 9 574 Force Allocate status flags for variables with embedded properties 19 57 12 19 57 IV Force Embed symbols of all variables 12 19 57 12 19 57 Vv 12 19 57 12 19 57 m 12 19 57 12 19 57 12 19 57 12 19 57 IV Force Generate debug code Optional actions after successful code generation e Download project to RTU32 o When this option is enable the generated Brodersen WorkSuite project will be downloaded to the RTU using the IP address that is specified on the main sheet of the Excel workbook e Start Brodersen WorkSuite with the downloaded project o Here you select if the Brodersen
71. ion Setpoint Command Normalized sess 45 RCMVF Receive in Control Direction Setpoint Command Floating cccccccsccssscsssessecsseecssecsseeseseecseessaeesuessseessnessseeseneeesseesseesaes 45 RCRS Receive in Control Direction Regulating Step Command nennen nennen nennen nennen enn nennen nnns 45 RCBS Receive in Control Direction Bitstring Command ccscccsseeesseeseeeseecsseeessecsaeeseueceaeessnessseecsueeceecsaeesnessaeessueseaeesenesenseeseesaes 45 Slave Server Send in Monitor Reverse Direction cccccccccscccccscccescescesesscccsesecccseesscuessccauseseceesuseusaseceussseceeeuecusaseeaseesesuseecseseseeeeenns 46 SMSP Send in Monitor Direction Single Point Information eene nnne nennen nnne 46 SMDP Send in Monitor Direction Double Point Information c ccescccssessssesseeesscecsseeeseecsseessneesseessaessaeeceaeesseeeseesseeeseeessaessseesenees 46 SMMVN Send in Monitor Direction Measured Value Normalized cccccccccccsssscsccecccecsssccesecccecsseceeecceeseceuseeeececesssesseuecesesnseseeeess 46 SMMVF Send in Monitor Direction Measured Value Floating Point eene enne nennen nennen nnn nnns 46 SMSTP Send in Monitor Direction Step position eeccecessecceeseeeeeenneeeseaeeeeeeaeeeeeaaeeseeaeeesesaeeeeeaaeesseaaeeseeaeeeseaueeeseaaeesseaeeeeeaaeeeseaaes 47 SMBS Send in Monitor Direction Bitstring Value ies 5 ES s is 247 SMIT Send in Monitor Direction Int
72. is used for managing connections to 104 servers The work sheet a xii r T ONES C60870 1045 File Home Insert example V150 xls Page Layout Formulas Data Review View Add Ins Parameters if IEC60870 104 Client is selected as Main Program Type 1 2 1EC60870 5 104 Controlling Station Parameters Value 3 Allow Reverse Direction 4 Select Execute timeout sec 5 Command Timeout sec False 60 120 Description Used for Information in Reverse Direction Max time for execute selected command Y 7 _8 Accept Commands with Timetag False 9 10 K parameter 12 11 W parameter 8 IP address of the server 192 168 0 with t0 t1 t2 t3 for each connection Debug Parameters Log Link transfer in 911 log Log ASDU in 911 log For test For test Variables 101 Slave 101 Master 104 Server A 103 Master E 100 Main Configuration parameters 1EC60870 5 104 Controlling Station Parameters Allow Reverse Direction When set to true sending data in Reverse Direction is enabled NOTE This is a special function Select Execute Timeout sec Time from an output is selected till it must be executed In case of timeout time is elapsed the output must be selected again before executed Command Timeout sec Defines the time for a command to be invalid If a command is newer or older than the defined Command timeout the command is not executed K parameter The Maximum differe
73. justable chatter filter is provided for each digital input A digital input is disabled if the number of state changes encountered during a defined time interval is excessively high While the chatter filter is ON all state transitions are ignored While it is OFF state transitions are gated through without further delay Events are reported whenever the chatter filter state changes from OFF to ON or from ON to OFF Three parameters are used to adjust the filter and is individual adjustable for each input Filter time T The filter time T define the minimum time a state must be stable in order not to increment the Chatter times counter when state change occur However every time a state is stable longer than the filter time the Chatter times counter is reset The filter time is configurable from 0 1 to 6553 5 sec in units of 100 ms If set to O the chatter filter is disabled Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 30 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 Chatter times changes C The maximum allowable numbers of consecutive state transitions C that can occur with state width less than the filter time without turning the chatter filter ON If the number is exceeded the chatter filter will turn ON and any further transitions will be ignored for the duration of the lock out period The maximum numbe
74. k Sheet 101 Master The Configurator 101 Master is a limited version supporting only point to point meaning only one Slave can be connected The work sheet mas c Ly TE En Server ample ViS0 xi Compatibity Modd Microsoft Excel ecce 5 ES File Home Insert Page Layout Formulas Data Review View Add Ins 9 o cg ES fe B Parameters if IEC60870_101_Master is selected as Main Program Type 1EC60870 5 101 Controlling Station Parameters Value Description Allow Reverse Direction False Select Execute timeout sec COA size IOA size Add orginator address COM port Baudrate Link address size 1or2 Slave link address 1 254 or 1 65534 Short Pulse Length ms 500 Long Pulse Length ms 5000 Debug Parameters Log Link transfer in 911 log False Log ASDU in 911 log False Variables 101 Slave 101 Master 104 Server lt 104 Client 103 Master Main Configuration parameter 1EC60870 5 101 Controlling Station Parameters Allow Reverse Direction When set to true sending data in Reverse Direction is enabled NOTE This is a special function Select Execute timeout sec Time from an output is selected till it must be executed In case of timeout time is elapsed the output must be selected again before executed COA size Common Address of ASDU COA address size in bytes octets IOA size Information Object Address IOA address size in bytes octets Add originator field Use originator b
75. le Point Information with the Brodersen WorkSuite variable name SP1 includes the following variables SP1 SINT Actual input value SP1 BOOL Old input value SP1_BL BOOL When set to true the information is blocked SP1_IV BOOL Invalid bit part of quality octet SP1_NT BOOL Non Topical part of quality octet SP1_Q SINT Quality octet is the SINT value which include then single bits SP1_SB BOOL Substitute bit part of quality octet SP1_TM LINT Time stamp in Win32 format Name Dim Attrib Syb Init value User Tag Description IEC60870 S104 SP1 BOOL oO Send DI0 1 as single information IOA 1002 SMSP CrByGen IEC60870 S104 SP1 0 SINT Old SIQ state ICrByGen IEC60870 S104 SP1 BL BOOL Blocked or not ICrByGen IEC60870 S104 SP1 IV BOOL o Invalid or not ICrByGen IEC60870 S104 SP1 NT BOOL Topical or not CrByGen IEC60870 S104 SP1 Q 0 SINT Current SIQ state ICrByGen N IEC60870 S104 SP1 SB BOOL Substituted or not ICrByGen i IEC60870 S104 SP1 Suppress TSpDpSup ICrByGen IEC60870 S104 SP1 TM 0 LINT LJ Timestamp If different from 0 then this timestamp will be sent CrByGen The analogue variables include more variables as for threshold values etc One of the interesting variables is e g xxxx_S which is used for forcing transmission of a Measured value Description of variables is in the Brodersen WorkSuite application
76. mand 48 61 The Time Tag Size parameter is used to select if the command should be Send short floating set point command 50 63 sent with or without time Time Tag Size 0 or 7 is supported Send bitstring command 51 64 103 Slaves Receive in monitor direction from 103 slaves Receive Typ 1 Time tagged message n These signal types are only used by drivers that are using the 103 master Receive Typ 2 Time tagged message w rel time 2 driver Measurands eE a aa a 51 52 53 54 55 56 57 58 EQ M gt gt Main lt Variables 101 Slave 101 Master 104 Server lt 104 Client 103 Master Yours Rf INE m M Ready B Creates Global STRATON variables that can be with or without connection to the hardware VO profiles Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 13 Appendix 5 Update history Version 1 50 updates Following updates have been made since version 1 45 General IEC60870 Configurator version 1 50 does work with new Brodersen WorkSuite v1 0 0 x and STRATON WorkBench 8 5 Older versions of STRATON WorkBench are not supported If you use STRATON WorkBench v8 5 you must ensure that the RTU32 CD v1 50 or newer has been installed It is required to have the correct hardware library in STRATON WorkBench
77. mation options is used to show the Code Generator extended XML debug facility which is default disabled The debug facility provides useful information for the experienced user when the XML file is edited 6 Filter functions on SOE and Double Point Information General RTU32 provide functions to handle firmware buffed events with accurate time stamps and filtering The Sequence Of Event SOE I O Driver in RTU32 is handling this All settings for enabling and configure the filters and events are done in the Excel Variable sheet as described under the section Work Sheet Variables A Double Point intermediate suppression filter in the IEC60870 Driver is available when using the IEC60870 Configurator The filters are used for suppressing both Intermediate and indeterminate faulty state reporting from slow double point data processes NOTE At the time of this v1 50 release only RTU32 RTU32R supports SOE RTU32E and RTU32S do not support SOE Filter functions for SOE In general the filter functions for SOE data include provide e Buffering of digital input events in the firmware independent of the PLC runtime application cycle and that means time stamping accuracy of 2 3ms for internal DI and better than 10ms on Expansion I O DI e Available for the first 200 digital inputs on a RTU32 node which include internal DIs and Expansion module DI that mean e g 200 Single Point Information or 100 double point information e Support debounce a
78. n set true if COT 7 is received Activation termination Set to true if COT 10 is received Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 43 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 IEC60870 MPN Vari TM IEC60870 MPN Vari TR IEC60870 MPN Vari TT IEC60870 MPN Vari TE LINT TON BOOL BOOL Time to be used when sending command Running timer to measure timeout on the command Timer trigger To control if the timer should be running Timeout error flag typically activated if time windows are not synchronized SCFV Send in Control Direction Setpoint Command Floating IEC60870 MPN Vari IEC60870 MPN Vari QD IEC60870 MPN Vari CT IEC60870 MPN Vari NK IEC60870 MPN Vari SS IEC60870 MPN Vari SE IEC60870 MPN Vari DE IEC60870 MPN Vari RS IEC60870 MPN Vari AV IEC60870 MPN Vari AT IEC60870 MPN Vari TM IEC60870 MPN Vari TR IEC60870 MPN Vari TT IEC60870 MPN Vari TE REAL SINT DINT BOOL BOOL BOOL BOOL BOOL BOOL BOOL LINT TON BOOL BOOL Floating set point IOA 2501 SCFV short float value Current QDS byte COT Last received Cause of Transmission NAK Negative acknowledge Trigger Send Select cmd Trigger Send Execute cmd Trigger Send deactivation Reset all send state
79. nces receive sequence number to send state variable APDUs This according to the 104 protocol standard default values is most likely used W parameter Latest acknowledge after receiving W I format APDUs This according to the 104 protocol standard default values is most likely used Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 23 IEC60870 Configurator for RTU32x Doc 40236 March 2014 IP address IP address of the RTU32 used by the Configurator to locale where to download the application The IP address must indicate port 502 502 If you just generate the application program and open Brodersen WorkSuite you need to setup the IP address of the RTU32 target in the WorkSuite Tool Communication parameters menu Debug Parameter Log Link transfer in 911 log Enable to log Link communication in the RTU32 system log that can be review with Telnet on port 911 This parameter should be set to false during normal operation Log ASDU in 911 log Enable to log application data communication in the RTU32 system log that can be review with Telnet on port 911 This parameter should be set to false during normal operation Multiple 104 Client Connections Each Excel sheet configures a single connection to single 104 server If you need to connect to more than one server then you will need to configure an Excel Worksheet for each connection Each client wo
80. nd chattering filter functions with properties adjustable in the Variable Sheet e Blocking of DPI data when chatter filter is active The firmware buffered events with time stamp are moved to the IEC60870 Driver transmission queue according to the selected driver and the other configuration settings The SOE filter is a multi stage processing filter that handles the physical value before presenting it as a SOE value The processing of the value is individually adjustable for each SOE Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 29 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 Filter block diagram TRE Inversion Debounce Digital input Inversion Filter Time stamped Event FIFO event The multistage include the following functions level before the data sets are sent to the event FIFO e Inversion of input value Used for inverting the input value transmitted to the next level e Debounce filter Debounce filter can be used on the first 200 inputs and prevents the processing of fast state changes of the inputs like for example those caused by contact bouncing Signal changes are ignored depending on the preset time e Chatter filter Chatter filter can be used for the first 200 inputs It limits the number of events to a configurable value during a configurable time period This should prevent multiple event registrations
81. nfigurator The Configurator generates the driver and all information s and commands are read controlled via the generated global variables The variables used in monitor direction and in control direction are listed in the Appendix 2 Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 8 The XML Database File General The XML file is a database file for the Code Generator and is normally not subject for change But experienced users may see it as a way to add application specific parts or changes This way the code generator can be used in special application It includes more or less all settings for the Code Generator which are not entered in the Excel sheet The Sections of the XML file Eoo opum d CS File Edit Search View Tools Window Help alx DAIRIS e g A A hu IE v Find 7 60870_V150 xml 4bx lt xml version 1 0 encoding UTF 8 standalone yes 5 lt StratonCodeParts gt lt VersionInfo_version V150 sheet 2 row 2 col 1 gt lt GeneratorOptions gt lt MainCode gt lt FunctionBlocks gt lt SignalTypes gt m Q lt Macros gt lt StratonCodeParts gt EHEHEHEHEHEHTI 4 mes u CR LF INS Ready The picture shows the main sections of the XML file They are e VersionInfo which is used to
82. ng IEC60870__SendDP IEC60870__SendiIntTotals IEC60870 SendMVFloat IEC60870__SendMVN IEC60870__SendSP IEC60870__ SendStepPos IEC60870 LBusStatus IEC60870__ CommandlInProgress IEC60870 CurrentTime IEC60870__CommandDelayed IEC60870__TimeMS IEC60870 CurrDate IEC60870 CurrTime IEC60870 SummerTimeAdj IEC60870 SetSuBit Type TSendBitString TSendDP TSendIntTotals TSendMVFloat TSendMVN TSendSP TSendStepPos UINT BOOL LINT DINT DINT DINT DINT LINT BOOL Description in Brodersen WorkSuite Variable list Used to send Bitstrings Used to send Double Points Used to send Integrated Totals Used to send Single Points Used to send Single Points Used to send Single Points Used to send StepPosition Used to test if a command SC DP select execute is in progress Set SU bit in time field Mainly used when sending commands Set to true before sending if SU should be set Variables Global to Single Driver Redundancy Group Name IEC60870 MPN IncorrectAsdu IEC60870 MPN AllBlocked IEC60870 MPN UnknownlOA IEC60870 MPN SendCOA IEC60870 MPN SendTestCmd IEC60870 MPN SendClockSync IEC60870_ lt MPN gt __SendGl IEC60870 MPN SendTestTSC IEC60870 MPN SendTestTSCRec IEC60870 MPN SendTestCmdMis IEC60870 MPN ConnectNo IEC60870 MPN Connected IEC60870_ lt MPN gt __GiloaCnt IEC60870_ lt MPN gt __SendCOT Type DINT DINT DINT DINT BOOL BOOL BOOL DINT DINT BOOL DINT BOOL
83. oc 40236 March 2014 lude c C60870_104Server_example_V150 xls Compatibility Microsoft Exc Sex File Home Insert Page Layout Formulas Data Review View Add Ins 9 o o gl eg a X Y Z AA AB AC AD AE AF JAG G H M N O P SOE Chatter fitter SOE Chatter fiter S count Single Double point suppress time SMIT parameters i SOE Debounce time ms time 01s out time LA SOE Settings Intermediate SOE Chatter lock IO address Measured value suppress time A HW Address for Yari AAO Min rdware address for Var1 parameters Profile COA IOA gt 3 A 2 S S 8 RTU32DiglO2 0 RTU32DiglO2 0 RTU22DiglO2 0 RTU32DiglO2 0 RTU32 SOE 0 RTU32 SOE 0 RTU32DiglO2 0 RTU32DiglO2 0 RTU32DiglO2 0 RTU32DiglO2 2 MVN1 1 RTU32AnalO 0 16383 0 16383 MVN2 tes 1 MVF1 1 MVF2 tesi 1 BStest 1 All physical I O and SOE data are linked using the Profile I O Driver for RTU32 in Brodersen WorkSuite The field that needs to be configured is defined in this example For SOE Sequence Of Event and filtering options see separate section in this manual Upper limit in number of ASDUs to use with the IEC60870 Configurator The IEC60870 Configurator for RTU32 is not limited to any specific number of ASDUs but we recommend that do not exceed the number that is listed in Appendix 3
84. orm setpoint command AO RCMVN SPN_AOO 4501 Receive norm setpoint command RCMVN SPN test 4502 Receive float setpoint command AO1 RCMVF SPF AO1 5501 Receive float setpoint command RCMVF SPF_test 5501 Receive bit string RCBS RBS test 6501 Receive regulating step RCRS RRS test 7501 True 101 Slave 101 Master 104 Server 104 Client lt 103 Master Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 13 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 The variable work sheet defines the project variables and IEC60870 data types You list your ASDU data types and link them together with variables and RTU32 physical I O if required The Variable work sheet is divided into sections that you can open and close open or hide columns Each section has a specific configuration function e g configuration parameters for Measured Values or SOE settings The Signal Types or ASDU types are named according to their function See the figure below that indicates how the ASDU type names and communication directions are supposed to be understood 101 Master 104 Client 101 Slave 104 Server RMxx SMxx Receive in Monitor direction Send in Monitor direction Monitor direction e Control direction p SCxx RCxx Send in Control direction Receive in Control direction In the work sheet named Ref is a reference from ASDU naming and IEC
85. r of state transitions is configurable from 1 to 255 changes Lock out time R The Lock out time R is defined as the time during which the chatter filter is ON if triggered before turned OFF again It is programmable from 0 1 to 6553 5 sec in units of 100 ms Chatter function diagram S 4d o o S N N w w D a oo Relative e S e a e a o e o e R o s o e o o o o ON Time tag o o o o o o on Debounced input Time T 250 ms osz 0S4 P oszz P osze gt 0Szr State passed to chatter filter with time tag from physical input change M o0s z p 094 Lan oszg vo Y Y Vy ozi Chatter filter Example C 3 T 700 ms R 800 ms Event send to FIFO osz gt 087 gt oszi gt oszz gt 0942 gt osze gt 097 gt osos vy oszs gt Binary state rat Yy 4 ut tat H Q Q tjt Block state 0 Q 0 0 y 0 E yi 0 Chatter times count 1 2 3 1 2 3 4 0 700 ms 500 ms 800 ms Filter time A Lock out time 1 ELIGE HIT Expira a Lock out time expired cause chatter times reset NOTE Relative time tag is used in example in real life it is full time stamp The example of the chatter filter functions includes also the debounce filter as they are interconnected and will often both be used on applications Detailed diagram with comments to be found in Appendix 1
86. r of sub folders are generated The FB folder includes all the Function blocks used by the driver The Function blocks are handling IEC870 driver functions and are fixed code blocks that cannot be edited The folder called S104 as above is the name you give it in the Excel Main sheet as the Main Program Name It includes again 2 sub folders Protocol which have the driver handling programs and User which have some examples of user programs Under Protocol you will find folders with sub program generated to handle all the ASDU types for each COA defined SO Brodersen WorkSuite Serveri04 File Edit View Insert Project Tools Window Help il 3 4 XK P Server104 RUN E Graphic a E Ll Programs A IECE0870 gu me dcm 7 s Pa L giustSuT ime ee 5 EujFBDA 2 ExtractTime b re RegStepCmd 2a SendCmdClockSync 2a SendCmdlnterrog t a SendCmdResetProc 7 2 SendCmdTestCmd a SendEOl t a SendParamFY 2a SendParamNV r5 SetBitString F TDoubleCmd F TintermedSuppr F TPulseE veryMin t TSendBitString r TSendDP F TSendIntT otals F TSendMVFloat fe TSendMVN fe TSendSP F TSendStepPos 8 TSetPointCmdMVF E F TSetPointCmdNV F TSingleCmd F TSpDpSuppress 5 A 5104 a Protocol Bl COAT si MP_S104 a MS S104 User am Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 3
87. rate project folder named IEC60870 ICI MN NU File Edit View Insert Project Tools S d s Xx S GO fili 8 53 t E S02 MM Workspace mmm MP_s104 P Servert04 RUN E This code was autogenerated at 12 03 2014 14 42 4 4 hf Value ype Attri Ca Graphic XML 2C RTUS2 TEC60870_V150 sm1 o s QETETITEE 3 Programs dei a a E IEC60870 CommandinProgress FALSE BOOL 3 cE IECEOB70 2 00870_ Current Time ClockGet1 1 60870__CurrDate 1319902 DINT E Loe IEC60870__CurrTime 50109275 DICurTime gettir E Ga re i IEC60870 CurrDate 131990284 CREE M IEC60870 CurrentTime 1303910 LINT 5 AdustSuTime 3 IEC60870 TimeMS 9191 DIMs IEC60870 CurrTime 501 EC60870 CumTime 50109275 DINT 2 ExtractlDA ifSERESED not Initialized TRUE then IEC60870 LBusStatus 0 UINT Pa ExtractTime CommandTimeout 120 120 IEC60870 SendBitString TSendBitSt re RegStepCmd la IEC60870 5104 AllBlocked LSE False IEC60870 SendDP TSendDP 2a SendCmdClockSync COR i 3COA S IEC60870__SendintTotals TSendintTo 8 SendCmdinterog A IEC60870 SendMVFloat TSendMVF 8 SendCmdResetProc I CanfigRT0 definition IEC60870 SendMVN TSendMVN 2 SendCmdTestCmd 5 IEC60870 SendSP TSendSP 2 SendEDI IEC60870 SendStepPos TSendSte 2a SendParamFV J number of IOA bytes 1 IEC60870__SetSuBit S BOOL Pa SendParamNV p add orginator addres IEC60870 SummerTimeAdj LINT ir SetBitString 2 byte COA address IEC60870 Timelnvalid BOOL ir TDou
88. rk sheet must define same Straton WorkSuite project The Main Program Name must be different for each connection as this identifies the specific driver connection inside the generated program fa xx d9 c ls IEC60870 104Server example V150 xls Compatibility Mode Microsoft Excel icy Home Insert Page Layout Formulas Data Review View Add Ins B6 fe 104 A NENNEN c General Project Information Comments XML file CARTU32 IEC60870_V150 xml Used XML configuration file Straton project CARTU32 Projects 60870_DEMO_150 Server104 STRATON project max 15 chars IP address 192 168 0 1 502 RTU32 communication settings for STRATON progra Main Program Type IEC60870 104 Server Select Client Slave driver Main Program Name E g 2 ueonrAur Max 5 chars Variables 101 Slave lt 101 Master 104 Server 104 Client 103 Master Work Sheet 103 Master The 103 Master driver comes in two flavors in this version 1 IEC60870 103 Master This configuration is used to setup the 103 master driver to receive data from 103 slaves and enter them into Brodersen WorkSuite variables Following signal types are supported RM3 T1 RM3 T2 RM3_T9 and SC3 GLC 2 EC60870 104 Server 103 Master As the first configuration this is used to setup the 103 master driver to receive data from 103 slaves and enter them into Brodersen WorkSuite variables Furthermore this configuration enables a 104 server which can take the values received from the 1
89. rmulas Data Review View Add Ins c 1 General Project Information Comments 2 XML file C ARTU32 EC60870_V150 xml Used XML configuration file 3 Straton project CARTU32 Projects 60870_DEMO_150 Server104 STRATON project max 15 chars 4 Paddress 192 168 0 1 502 RTU32 communication settings for STRATON programming Ex _ Main Program Type IEC60870 104 Server Select Client Slave driver 6 Main Program Name 104 IMPORTANT Max 5 chars Main Configuration parameters XML file This field defines the name and location of the XML file used by the Configurator The XML file contains source code functions macros etc used by the Configurator The inexperienced user should here keep the default settings Straton Brodersen WorkSuite project This field defines the name of the RTU32 application program You can freely define the name If you are updating existing project you must remember to keep the same name Note Project name maximum length is 15 characters Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 12 IEC60870 Configurator for RTU32x Doc 40236 March 2014 IP address This field defines the IP address of the RTU32 It is used by the Configurator when downloading the application The IP address must indicate port 502 502 If you just generate the application program and open Brodersen WorkSuite you need to setup
90. s Activation confirmation set true if COT 7 is received Activation termination Set to true if COT 10 is received Time to be used when sending command Running timer to measure timeout on the command Timer trigger To control if the timer should be running Timeout error flag typically activated if time windows are not synchronized SCRS Send in Control Direction Regulating Step Command IEC60870 MPN Vari IEC60870 MPN Vari QU IEC60870 MPN Vari RC IEC60870 MPN Vari CT IEC60870 MPN Vari NK IEC60870 MPN Vari SS IEC60870 MPN Vari SE IEC60870 MPN Vari RS IEC60870 MPN Vari AV IEC60870 MPN Vari AT IEC60870 MPN Vari TM IEC60870 MPN Vari TR IEC60870 MPN Vari TT IEC60870 MPN Vari TE SCBS Send in Control Direction Bitstring Command IEC60870 MPN Vari IEC60870 MPN Vari CT IEC60870 MPN Vari NK IEC60870 MPN Vari SE IEC60870 MPN Vari RS IEC60870 MPN Vari AV IEC60870 MPN Vari AT IEC60870 MPN Vari TM IEC60870 MPN Vari TR IEC60870 MPN Vari TT BOOL SINT SINT DINT BOOL BOOL BOOL BOOL BOOL BOOL LINT TON BOOL BOOL UDINT DINT BOOL BOOL BOOL BOOL BOOL LINT TON BOOL Regulating step IOA 2201 SCRS FALSE next step LOWER TRUE next step HIGHER QU part of RCO byte Current RCO byte COT Last received Cause of Transmi
91. s a consequence of such events Because of Brodersen s high quality control standards and rigorous testing most of our customers never need to use our repair service If a Brodersen product is defective it will be repaired or replaced at no charge during the warranty period For out of warranty repairs you will be billed according to the cost of replacement materials service time and freight Please consult your distributor for more details If you think you have a defective product follow these steps 1 Collect all the information about the problem encountered For example Product type and s n hardware and software version etc Note anything abnormal and describe the error in a product failure report 2 Call your distributor and describe the problem Please have your manual product and any helpful information readily available 3 If your product is diagnosed as defective make arrangement with your distributor about this 4 Carefully pack the defective product a complete failure report and a photocopy of proof of purchase date such as your sales receipt in a shippable container A product returned without proof of the purchase date is not eligible for warranty service 5 Ship it to your distributor Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 2 Introduction Before you Begin Ple
92. sales brodersen com gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 1 Customer Information Copyright Notice Copyright 2014 Brodersen A S ALL RIGHTS RESERVED No part of this document may be reproduced copied translated or transmitted in any form or by any means electronic or mechanical for any purpose without the prior written permission of the original manufacturer Trademark Acknowledgement Brand and product names are trademarks or registered trademarks of their respective owners Disclaimer Brodersen A S reserves the right to make changes without notice to any product including circuits and or software described or contained in this manual in order to improve design and or performance Brodersen A S assumes no responsibility or liabilities for the use of the described product s conveys no license or title under any patent copyright or mask work rights to these products and makes no representations or warranties that these products are free from patent copyright or mask work right infringement unless otherwise specified Applications that are described in this manual are for illustration purposes only Brodersen A S makes no representation or warranty that such application will be suitable for the specified use without further testing or modification Life Support Policy BRODERSEN A S s PRODUCTS ARE NOT FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE PRIOR WRITTEN APPR
93. single driver redundancy group These variables are created by the XML file IEC60870 main program name Varx from Excel sheet gt Variables that belong to a specific Excel Workbook single driver redundancy group These variables are created by the user using Var1 and Var2 colons in the Variable sheet Extension to the XML language The XML language tag var can now have a new attribute init value E g var name Initialized type BOOL init False gt This is used to enter initial values to the variables defined in the XML file The format of the init value must apply to how Brodersen WorkSuite formats init values Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com
94. ssion NAK Negative acknowledge Trigger Send Select cmd Trigger Send Execute cmd Reset all send states Activation confirmation set true if COT 7 is received Activation termination Set to true if COT 10 is received Time to be used when sending command Running timer to measure timeout on the command Timer trigger To control if the timer should be running Timeout error flag typically activated if time windows are not synchronized Bitstring command IOA 2301 SCBS bit string COT Last received Cause of Transmission NAK Negative acknowledge Trigger Send cmd Reset all send states Activation confirmation set true if COT 7 is received Activation termination Set to true if COT 10 is received Time to be used when sending command Running timer to measure timeout on the command Timer trigger To control if the timer should be running Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 44 gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 IEC60870 MPN Vari TE BOOL Timeout error flag typically activated if time windows are not synchronized Slave Server Receive in Control Direction RCSP Receive in Control Direction Single Command IEC60870 MPN Vari IEC60870 MPN Vari BL IEC60870 MPN Vari Q IEC60870_ lt MPN gt _ lt Var1 gt SC IEC60870_ lt MPN gt _ lt Var1 gt _ BOOL Single command IOA 2001 RCSP
95. t any possible function defined in the IEC60870 5 101 and 104 standards Work Flow When developing an IEC60870 Driver in the RTU32 the work flow would be as shown below Open the Excel sheet Enter the basic tool and driver settings e Brodersen WorkSuite Project name e Driver type e g IEC60870 5 104 Server Addresses etc List the ASDU types and variables e g Single point information SPI Variable name INPUT 1 alarm IOA Information object address Time tag type Physical I O link e g input 1 Open the Code generator and e Select to generate project code download it direct to RTU32 and run it Select to generate project code and open Brodersen WorkSuite for editing Will generate new project and programs if not existing or edit existing project BRODERSEN WORKSUITE MUST ALWAYS BE CLOSED WHEN CODE IS GENERATED Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 3 Installation and Operation Installation Details Insert the Installation CD in your PC and start the installation application Make sure that Brodersen WorkSuite is closed and follow the guidelines in the installation program E3 RTU321EC60870 Configurator V1 5R Setup 12 03 2014 t emo WorkSuite STRATON Workbench Folder G Setup need to know where WorkSuite STRATON Workbench is install
96. ted time tag depends on the hardware profile that is used RTU32 SOE profile reports time tag t1 as reported by the debounce and chattering filters RTU32DiglO2 reports time tag t2 In Case 2 the suppression timer does not run out t3 or t3a before signal enters normal state and thus no DPI 0 or 3 message is generated Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 7 The project in Brodersen WorkSuite General The Brodersen WorkSuite project is generated after a fixed template with one or more IEC10x program and a number of Function Blocks The IEC101 or IEC104 are programs which include all the specific code for that actual project The Functions Blocks are fixed and are just added in as standard functions depending of what ASDU types that are required in the project The generated IEC10x program is generated in Structured Text code and structured in order to maintain the same template for all possible driver options We have included comments in the Structured Text code for helping experienced users to edit the project If you are not experience Brodersen WorkSuite programmer and familiar with the basic IEC60870 protocol specifications we must highly recommend that you ask your local distributor for training The Brodersen WorkSuite project code that is generated by the generator is placed in a sepa
97. then 4 750 8 amp vs reset and a new full lock out o period R with stable input 20 e z E state is required before the g chatter filter is turned OFF e SE 21 7 Point J Input state is stable longer s EE eo g E than 800 ms which cause the Eo 225 Re S g lock out timer to expire and B 2g 37 HE gr s gE the chatter filter to turn OFF A gs E v B s 83 gt EL E chatter filter generated event afar SE ae sy S ess with block state OFF and Hee om Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com gt IEC60870 Configurator for RTU32x Doc 40236 March 2014 10 Appendix 2 Brodersen WorkSuite Variable list List of variables generated in Brodersen WorkSuite application program Each ASDU type will beside the value it selves include some additional variable for qualifier status etc The list below is of possible ASDU types and their global variables in Brodersen WorkSuite NOTE It is only a guide list see the Brodersen WorkSuite application for details Each variable created by the generator has a description The lt MPN gt in the variable name will be replaced by the Main Program Name entered in the Main sheet The Var1 and Var1 will be replaced with that is entered into the colon Var1 and Var2 in the variable sheet Variables Global to All Drivers Redundancy Groups Name IEC60870 SendBitStri
98. vailable since V8 W6Main STRATON Workbench V8 3 Installer supported STRATON WorkBench V8 3 is now installed using the InstallShield installer that installs STRATON WorkBench in Program Files and ProgramData folders This is now detected and support by the Configurator Installer Version 1 40 updates Following updates have been made since version 1 30 1 of N SELECT BREAK OFF EXECUTE confirmation While a Single or Double Command is selected and the 101 Slave or 104 Server is waiting for Execute no other select or execute is accepted This rule is applicable per controlled station When a select and execute command single command TyplD 45 58 or double command TypID 46 59 has been given to the controlled station no new select and execute or direct command except for TypID 47 48 50 51 or 60 61 63 64 is accepted by the 101 Slave or the 104 Server until the ongoing select and execute command is either completed postponed or reach timeout Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 51 IEC60870 Configurator for RTU32x Doc 40236 March 2014 The Configurator creates the variable EC60870__CommandinProgress that is set to true while a command execution is being processed Individual Short Long Pulse Duration for each Command The Variable sheet now contains two new colons Colon J and K to configure the pulse lengths for Single and Dou
99. will send only the ASDUs defined for the specific COA To read all COAs the broadcast address OxFFFF must be used Data transmission in Reverse Direction e The actual Server link connection can receive and monitor data send in reverse direction just like it was working as a Controlling Station Client Block Diagram The figure below shows Configurator tool components and their links MS Excel sheet E Microsoft Excel IEC870profect Skrivebeskyttet XML Database file Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com IEC60870 Configurator for RTU32x Doc 40236 March 2014 Supported IEC60870 Drivers in the Configurator The RTU32 IEC870 Configurator supports the following IEC60870 drivers e 1EC60870 5 101 Slave including dial connections e EC60870 5 101 Master single connection only IEC60870 5 104 Server communication in Normal and Reverse direction IEC60870 5 104 Client communication in Normal and Reverse direction IEC60870 5 103 Master with a link to IEC60870 5 104 Server e 1 C60870 5 103 Master The RTU32 IEC60870 Interoperability documents define all driver parameters supported by the IEC60870 Configurator program The Interoperability does NOT reflect the basic Brodersen WorkSuite link driver options as the application layer is built up in Brodersen WorkSuite and supports almos
100. yte octet in 101 frames Normally NOT used COM port COM port used for 101 Master Note that the port cannot be used for any other driver in RTU32 Baudrate Baudrate used on selected COM port Master link address size Define the Link address size in bytes used octets Slave link address Define the Link address of 101 Slave to connect Note that the address range depend on the size selected above Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com IEC60870 Configurator for RTU32x Doc 40236 March 2014 Short Pulse Length ms Short pulse length for Single and Double Commands in ms Long Pulse Length ms Long pulse length for Single and Double Commands in ms Debug Parameters Log Link transfer in 911 log Enable to log Link communication in the RTU32 system log that can be review with Telnet on port 911 Should be disabled under normal operation Log ASDU in 911 log Enable to log application data communication in the RTU32 system log that can be review with Telnet on port 911 Should be disabled under normal operation Brodersen A S Islevdalvej 187 DK 2610 Roedovre Denmark Tel 45 45 35 26 27 Fax 45 45 35 26 29 Email sales brodersen com 20 IEC60870 Configurator for RTU32x Doc 40236 March 2014 Work Sheet 104 Server The 104 Server configurations support one single redundancy group If you need more than one redundancy
Download Pdf Manuals
Related Search
Related Contents
PSAP 1-5,GB CM_PDP_ACT Birdhouse Manual Samsung SM-S902LZKATFN Health and Safety Guide ERGO PC 13 Z30 DMX-512 LED CONTROLLER User Manual Ver 1.0 eng Catalogue Formations CJD 2015 - 2016 ステイティム カセットオートクレーブ™ Copyright © All rights reserved.
Failed to retrieve file