Home
SIXNET IPm IEC-60870-5 Slave Protocol Driver User`s Manual
Contents
1. 70 Table 40 ST 1 section 72 Table 41 M 1 parameters 73 Table 42 M ME 1 74 Table 43 M ME NC 1 Section nnns 75 Table 44 M IT NA 1 section nennen nnns 76 Table 45 C SC NA 1 section Ennn 78 Table 46 C NA 1 section 79 Table 47 C RC 1 section parameters 000000000000 81 Table 48 C SE 1 section 83 Table 49 C SE NB 1 section 84 Table 50 C SE NC 1 section parameters 2 nnns 86 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 5 Preliminary Rev r03 11 5 2008 3 Document Revision History pps 09 15 04 GMS First preliminary draft Circulated around SIXNET for comments and approval 12 11 06 UNES EE Approved for implementation o for implementation 04 20 07 BuU en after a second detailed review of IEC 60850 5 specification documents and to include object mapping design strategy and tables con
2. 39 Table 24 Supported Command 40 Table 25 SIXNET Y pairs to IEC DC 1 object 8 0 41 Table 26 SIXNET Y to IEC C RC NA 1 object 43 Table 27 SIXNET AY to IEC C SE 1 object 46 Table 28 SIXNET AY to IEC C SE NB 1 object 47 Table 29 SIXNET FY to IEC SE NC 1 object 50 Table 30 Event reporting type eene nennen nennen 53 Table 31 Station interrogation 2 54 Table 32 Configuration File 62 Table 33 General section 63 Table 34 SxIPmStation section parameters eene enne 63 Table 35 LinkLayer section ener rennes 65 Table 36 ApplicationLayer section parameters 67 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 4 Preliminary Rev r03 11 5 2008 Table 37 M SP 1 section parameters 68 Table 38 Group Reporting Mask Bits 69 Table 39 M DP 1
3. 85 63 Sample Configuration File reete nie aed e foe t e an e utes ax 87 6 4 SIXNET IPm IEC 60870 5 101 Protocol interoperability 96 6 5 SIXNET IPm IEC 60870 5 104 Protocol interoperability 97 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 3 Preliminary Rev r03 11 5 2008 2 Index of Tables Table 1 Supported IEC 60870 5 data 11 Table 2 Maximum number of information 13 Table 3 Information object addressing 17 Table 4 SIXNET X to IEC M SP 1 object 19 Table 5 SIXNET Y to IEC M SP 1 object 19 Table 6 SIXNET X pairs to M DP 1 object 21 Table 7 SIXNET Y pairs to IEC M DP NA 1 object 21 Table 8 SIXNET AX to IEC M ST 1 object mappings Analog step position mode 24 Table 9 SIXNET AX to M ST 1 object mappings Analog step position mode 24 Table 10 M ST 1 object mappings for monitoring NA 1 Analog step position mod
4. Table 17 SIXNET AX to IEC M ME NB 1 object mappings 2 and 3 octets Configurable The actual number of SIXNET AX registers that can be mapped to M ME NB 1 objects can be lower depending on how many AX registers have been mapped to other compatible IEC types see Table 1 and database capacity n Configured starting SIXNET AX address of the M ME NB 1 mapped block SIXNET AY Registers to IEC M ME NB 1 Object Mappings 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET M ME NA 1 SIXNET M ME 1 SIXNET M ME NA 1 Register IOA Register IOA Register IOA OxEO 0x7000 0x007000 AY m 224 Arim 28672 AY m 28672 OxE1 0x7001 0x007001 AY m 1 225 1 28673 AY m 1 28673 OxE7 Ox73FF x 0x0073FF AY m 7 239 AY m 1023 29695 AY m 1023 29695 Table 18 SIXNET AY to IEC M_ME_NB_1 object mappings Configurable The actual number of SIXNET AY registers that can be mapped to M ME NB 1 objects can be lower depending on how many AY registers have been mapped to other compatible IEC types see Table 1 and I O database capacity m Configured starting SIXNET AY address of the C SE NB 1 mapped block SIXNET registers mapped as IEC 608 070 5 101 104 Monitored Scaled Measured Information points will be reported as follows e Scaled Valu
5. 52 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 2 Preliminary Rev r03 11 5 2008 5 3 3 Cyclic data transmission tee et Eq ER ees 52 5 3 4 Acquisition of events ce EU eco ue Led est ecd 52 5 3 5 General Interrogatlon wee eee Lee og ee eee pe ape da ea 53 5 3 6 Glock Synchronizatio icri e rece ede ofa fs 54 5 3 7 Command Transmission 54 5 3 8 Transmission of integrated totals 55 5 3 9 Parameter Loading e eee ve de deel ee qu des 56 5 3 10 TestProcedure iR Edmund 56 5 3 41 Transfer ni cte RR RM RM 56 5 3 12 Acg lsition of time delay ende nen er exeo Ree AEPA 56 53 13 Background Scan t entiende ace boite tin ease 56 5314 Read Procedure 4 1 1 to ORE t tug eee geo eade ed an aed 57 54 EC 60870 5 58 5 4 1 Communicatilons Setup een e edt ela de e re dd 58 5 4 2 Real Time Data Trace nete en e to etd eye e ette tene 58 6 Run Time Driver configuration 59 6 1 Configuration tool 60 6 2 Configuration File format Eee a 62 6 2 1 General Section par
6. TYPE INFORMATION OBJECT ADDRESS RANGE IEC 60870 DATA IN HEXADECIMAL FORMAT 5 101 DESCRIPTION REPRESENTA Paragraph TION Type ID 1 Octet IOA 2 Octet IOA 3 Octet IOA 0 0 00 0 000 00 OxOFFF 0x000FFF Monitored Normalized 0 18 0 1 0 1000 0 001000 Measured Value Normalized OxOSFF P1 Ox0003FF P1 This data type is used values 7 2 6 6 0x20 0x27 P1 M ME NA 1 for analog input data are stored in a 0x1400 0x001400 7 3 1 9 Associated time word 16 bit 0x28 Ox2F M1 Ox17FF M1 0x0017FF M1 9 tagged event data area with a information for this range of 1 1 0x30 0x37 M2 0x1800 0x001800 type M ME 1 2 15 Ox1BFF M2 2 10 and 0x38 0x3F M3 M_ME_TD_1 34 0x1C00 0x001C00 Ox1FFF 0 2000 0 002000 Ox23FF 0x0023FF Monitored Scaled Measured Value 0 2400 0 002400 data type is used Scaled values 0x48 0x4F P1 Ox27FF P1 0x0027FF P1 M ME NB 1 OF analog input data 7 2 6 7 are 7 3 14 1 Associated time stored in a word 0x50 0x57 M1 0x2800 0x002800 11 tagged event 16 bit data area Ox2BFF M1 0x002BFF M1 information for this with a range of 0x58 Ox5F M2 type are M ME TB 1 2 2 1 0 2 00 0x002C00 12 and Ox2FFF M2 Ox002FFF M2 M ME TE 1 35 0x60 0x67 M3 0x3000 0x003000 Ox33FF M3 Ox0033FF M3 0 3400 0 003400 Monitored Measured Ox37FF 0x0037FF value short fl
7. M IT TB 1 37 Monitored Normalized Measured EPL Cad inta Al 24 M ME ND 1 Value without quality descriptor T word 16 bit data area AO 7 3 1 21 This data type is used for analog with a range of 1 1 2 READ input data 15 Single point Command ume 15 e 45 C SC NA 1 This command is used to control 0 E Off DO 7 3 2 1 a single binary point such as a and WRITE relay 1 On Double Command Double point Command 7 2 6 16 with 46 C DC NA 1 This command is used to control 0 lt Not permitted DO 7 3 2 2 a dual point binary control 1 Off WRITE device such as a trip close relay 2 On 3 Not permitted Regulating Step Regulating Step Command e TED d 47 C RC NA 1 This command is used to control 0 Not permitted DO 7 3 2 3 a stepping device such as a WRITE transformer 1 Next step lower 2 7 Next step higher 3 Not permitted IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 10 Preliminary Rev 03 11 5 2008 CORRESPONDING MAPPABLE DESCRIPTION REPRESENTATION SIXNET I O TYPE AND ACCESS DIRECTION Normalized values Setpoint Command Normalized 7 2 6 6 are stored in a 48 CE vet Value word 16 bit data area a 7 3 2 4 This command is used to control with arange of WRITE an analog device 1 Ee Setpoint Command Scaled Scaled values 7 2 6 7 49 1 stored in a word AO 7 3 2 5 This command is use
8. timeSynchFreq 0 65535 Time synchronization request timeout minutes The driver will request time synchronization to the master via IV bit of time tag of information objects if no time synchronization command from the master has been received during the time specified by this parameter SpontaneousReportTime 0 65535 This parameter defines the time period in ms the driver checks if the event buffer contains events to report If 0 the timed check of the event queue is disabled ventQueueThreshold 0 1024 If the number of non reported events in the event queue is greater that this parameter the events will be reported immediately If 0 the number of events in queue check is disabled eventQueueLength 0 8192 Master Event queue size If 0 event collection and reporting is disabled IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 66 Preliminary Rev 03 11 5 2008 Section Item Key Range Type Description Enable Disable event collection reporting masterEventEnable Yes No This parameter defines the Select execute timeout for all controlled outputs ms selectTimeout 0 65535 If O the Select Execute function will be disabled and the driver will operate in direct command output mode Short pulse duration for short shortPulseDuration 100 5009 pulse commands in ms Long pulse duration for short longPulseDuration
9. The first conf igured M ME NA 1 object provided fo r monitoring of C SE NA 1 command information objects has the following IEC information object address IOA OxDO if length of Information Object Address is 1 octet e 0x6800 if length of Information Object Address is 2 octets 0x006800 if length of Information Object Address is octets The n umbers of SIXNE T AX and AY regi sters mapp ed to M ME 1 informatio n obj ects a re independently configurable If the user sets the number of M ME 1 objects mapped to SIXNET AX registers to 0 no SIXNET registers will be reported as M ME NA 1 objects by the IPm or P ME 1 parameter objects will exist within the IPm IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 28 Preliminary Rev r03 11 5 2008 If the user sets the number of C SE 1 single control information objects mapped to SIXNET AY registers to 0 no SIXNET AY registers will be reported as M ME 1 objects by the IPm If the user sets both the number of M ME 1 objects map ped to SIXNET AX and the num ber of C SE 1 objects mapped to SIXNET AY registers to 0 no M ST NA 10rP ME NA 1 information objects at all will exist within the IPm The followi ng tables sho w the actual mapping addressing sche me for M M E NA 1andP ME NA 1 objects as a function of the configured IEC information object address length SIXNET AX Registers to IEC M ME NA 1 and P ME NA 1 Object Mappings 1 octet Object Addres
10. point 3 point 4 point 5 point 6 point 7 point 8 will will will will will will De De De De De De will in counter group 1 and in general counter requests 2 will be in counter group 2 and in general counter requests in counter group 3 and in general counter requests in counter group 4 and in general counter requests reported in general counter requests reported in general counter requests reported in general counter requests reported in general counter requests Number of IEC objects in this category Starting address of SIXNET registers mapped block Enable monitoring of outputs Enable event generation on monitoring objects Event reporting priority 0 highest Type ID used to report events point will be event reported in group 7 and in general requests IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 92 Preliminary Rev r03 11 5 2008 GMO001 0x00000081 point 2 will be event reported in group 7 and in general requests GM0002 0x0000008 point 3 will be event reported in group 7 and in general requests GM0003 0x00000081 point 4 will be event reported in group 7 and in general requests GM0004 0x8000008 point 5 will be reported cyclic in group 7 and in general requests GM0005 0x80000081 point 6 will be reported cyclic in group 7 and in general requests GM0006 0x8000008 point 7 will be reported cyclic
11. 20480 OxA1 0x5001 0x005001 zm 161 20481 1 20481 7 2 0x53FF m 0x0053FF Y m 7 167 Y m 1023 21503 Y m 1023 21503 Table 5 SIXNET Y to IEC M SP NA 1 object mappings Configurable The actual number of SIXNET Y registers that can be mapped to M SP NA 1 objects can be lower depending on how many Y registers have been mapped to other compatible IEC types see Table 1 and I O database capacity m Configured starting SIXNET Y address of the C SC NA 1 mapped block SIXNET X and Y regi sters m apped a s IEC 6080 70 5 101 104 Single Point Information With Quality Descriptor points are reported as follows Single Point Information SPI Bit BitO 0 or 1 current state of SIXNET X register e Reserve RES Bit 1 70 Reserved IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 19 Preliminary Rev r03 11 5 2008 e Reserve RES Bit 2 7 0 Reserved e Reserve RES Bit 3 70 Reserved e Blocked BL Bit 4 0 Not Blocked e Substituted SB Bit 5 0 Not Substituted e Not Topical NT Bit 6 0 Topical e Invalid IV Bit 7 0 Valid This means that the value reported for the mapped SIXNET register is 0 01 if the rresponding binary register is ON or 0x00 if the corresponding register is OFF 5 2 3 2 Double point information M DP NA 1 One block of up to 1024 8 for 1 byte information object address see Table 2 of contiguous IEC 60870 5 101 104 M DP NA 1 doubl
12. 1 objects that will be mapped to AY registers Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 no C SE 1 objects will be mapped to AY registers FirstAY 0 8192 This parameter specifies the SIXNET address of the first AY register mapped to the block MonitorM ME Yes No This parameter specifies if M ME NA 1 monitor objects will be mapped MonitorEvents Yes No If monitor M ME NA 1 objects are mapped this parameter specifies if they will generate events EventPrio 0 7 If monitor M ME NA 1 events are enabled this parameter defines the reporting priority assigned to M ME NA events 0 highest Highest priority events will be reported first Events of same IEC 60870 5 101 type assigned to the same priority are reported in chronological order Note M ME 1 section exists same setting in M ME NA 1 section will override this setting EventReportAs M ME NA 1 or M ME TA 1 or M ME TD 1 If monitor M ME NA 1 events are enabled this parameter defines the type ID used to report IEC 60870 5 101 M ME NA change events Note If ME NA 1 section exists same setting in M ME NA 1 section will override this setting IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 82 Preliminary Rev 03 11 5 2008 Section Item Key Range Type Description Def
13. Each measured value has a user assigned deadband value This parameter can be set and read by the controlling device master Smoothing factor filtered time constant NOT SUPPORTED Low limit for transmission of metered values Each measured value has a user assigned low limit value This value is used as the lower limit for event generation When the measured variable falls below this limit the variable value is reported This parameter can be set and read by the controlling device master High limit for transmission of metered values Each measured value has a user assigned high limit value This value is used as the higher limit for event generation When the measured variable goes above this limit the variable value is reported This parameter can be set and read by the controlling device master Reserved for standard definitions of standard NOT SUPPORTED 32 to 63 Reserved for special use NOT SUPPORTED Table 12 Parameter qualifiers In addition tothe P ME 1 object the SIXNET driver cre ates automat ically three M ME NA 1 objects in order to provide for monitoring capabilities of the current values of threshold high limit and low limit parameters The information object address of the first created P ME 1 parameter object is 0x20 if length of Information Object Address is 1 octet IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 27 Preliminary Rev r03 11 5 2008 0x1000 if leng
14. IOA Register IOA Register IOA 0x98 0 4 00 0 004 00 zm 152 sim 19456 smi 19456 0x99 0 4 01 0 004 01 Y m 1 153 Y m 1 19457 Y m 1 19457 9 Ox4FFF 4 Y m 7 154 Y m 1023 20479 Y m 1023 20479 Table 23 SIXNET Y to IEC C SC NA 1 object mappings e Configurable The actual number of SIXNET Y registers that be mapped to M SC NA 1 objects can be lower depending on how many Y registers have been mapped to other compatible IEC types see Table 1 and database capacity m Configured starting SIXNET Y address of the C SC 1 mapped block IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 39 Preliminary Rev r03 11 5 2008 SIXNET Y registers mapped as IEC 608070 5 101 S SC NA 1 Single Point Command will be controlled by sending to the IPm the following information object value e Single Command State SCS Bit0 0 or 1 turns mapped SIXNET DO register OFF ON e Reserve RES Bit 1 Ignored Reserved Qualifier QU Bits 2 6 See below and Table 24 0 No additional Definition 1 Short Duration Pulse 2 Long Duration Pulse 3 Persistent Output 4 81 Not implemented Reserved Select Execute S E Bit 7 0 Execute 1 Select The IPm accepts and implements the following Command Qualifiers No additional definitions The IPm will use persistent output for this qualifier selection Short pulse duration circuit breaker du
15. The first configured C 5 NA 1 single point inform ation object within the blo ck has the f ollowing IEC information object address IOA 0x98 if length of Information Object Address is 1 octet e 0x4COO if length of Information Object Address is 2 octets e 0x004CO0 if length of Information Object Address is 3 octets For each C SC 1 Single Point Command information object a M SP 1 single point information object will be created and mapped to the same Y register in order to provide for monitoring capabilities to C SC NA 1 discrete output control objects For further information regarding addressing scheme and how to access the monitoring objects please refer to paragraph 5 2 3 1 and Table 5 The number of SIXNET Y registers mapped to C SC NA 1 Single Point Command information objects is configurable If the user sets the number of C SC 1 objects mapped to SIXNET Y registers to 0 no CS NA 1 objects will exist within the IPm nor SIXNET Y registers will be mapped toM SP NA 1 objects The following table shows the actual mapping addressing scheme for C NA 1 objects as a function of the configured IEC information object address length SIXNET Y Registers to IEC C SC NA 1 Object Mappings 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET C SC 1 SIXNET C SC NA 1 SIXNET C SC 1 Register
16. a response to a primary message Do not set this parameter too small or timeout conditions may prevent successful data transmission If the timeout is elapsed the message will be retransmitted up to the number of times specified in the linkRetries parameter testLinkTimer 0 65535 This parameter specifies the number of ms that must elapse without any link transmission activity to send link layer TEST LINK messages to the master station Keepalive messages A value of 0 will disable the function IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 64 Preliminary Rev 03 11 5 2008 Section Item Key Range Type Description AorBStationIsA Yes No This parameter controls the value of the DIR bit in the control octet of link frames sent by the IPm station If set to YES the DIR bit will be 1 A to B direction If set to NO the DIR bit will be 0 B to A direction Because the IPm is a controlled B station it is recommended to set this parameter to NO BalancedMode Yes Np Use balanced mode of communications layerType 101 or 104 This parameter specifies the communications interface mode of the driver 101 Serial port IEC 60870 5 101 slave 104 TCP server based IEC 60870 5 104 slave 104t1 Number Timeout ms to acknowledge a sent packet before closing the connection 104t2 Number Timeout ms when to
17. in group 7 and in general requests GMO007 0x80010081 point 8 will be reported cyclic in groups 16 7 and in general requests C DC NA 1 Size 4 Number of IEC objects in this category FirstY 16 Starting address of SIXNET registers mapped block MonitorM DP Yes Enable monitoring of outputs MonitorEvents Yes Enable event generation on monitoring objects EventPrio 1 Event reporting priority 0 highest EventReportAs M DP TB 1 Type ID used to report events GMO000 0x00000401 point 41 will be event reported in group 10 and in general requests GMO001 0x80000401 point 2 will be reported cyclic in group 10 and in general requests GM0002 0x00000401 point 3 will be event reported in group 10 and in general requests GM0003 0x80010401 point 4 will be reported cyclic in groups 16 10 and in general requests C NA 1 Size 8 Number of IEC objects in this category FirstY 24 Starting address of SIXNET registers mapped block Discrete outs MonitorM ST Yes Enable monitoring of outputs via dedicated M ST points FirstAX 30 Monitoring Analog part when Mixed Analog Discrete input interfacing FirstX 92 Monitoring Discrete part when Mixed Analog Discrete input interfacing or Discrete positon input when Discrete input mode AnalogMode No Monitoring Interfacing type if no read only M ST NA 1 objects defined No Discrete input interfacing 8 discrete bits Bits 0 6 position
18. m 216 Axm 27648 AY m 27648 0xD9 0x6C01 0x6C01 AY m 1 217 AY m 1 27649 AY m 1 27649 OxDF j Ox6FFF y Ox6FFF AY m 7 223 AY m 1023 28671 AY m 1023 28671 Table 28 SIXNET AY to IEC C SE NB 1 object mappings e Configurable The actual number of SIXNET AY registers pairs that be mapped to C SE NB 1 objects can be lower depending on how many AY registers have been mapped to other compatible IEC types see Table 1 and database capacity m Configured starting SIXNET AY address of the S SE NB 1 mapped block IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 47 Preliminary Rev r03 11 5 2008 SIXNET AY registers mapped as IEC 608070 5 101 104 C SE NB 1 Setpoint Command Scaled Value points will be controlled by sending to the IPm the following information object e Scaled Value SVA Bits 0 15 2 9 2754 32768 32767 16 Bit Integer Value Qualifier of Setpoint QL Bits 16 30 Ignored Heserved Select Execute S E Bit 31 0 Execute 1 Select The IEC 608070 5 101 104 Slave Driver will convert the value received in the command operation to the resolution of the mapped SIXNET register and then set the mapped SIXNET register to the converted value during the Setpoint operation execute phase 5 2 4 10 Setpoint Command with time tag Normalized Value C SE TB 1 IEC 60870 5 104 only This object t ype op erates the same way as C SE NB 1 obj ects se
19. two s complement binary Bit 7 transient bit Yes Analog input interfacing discrete transient bit AX is position value Integer 64 to 63 X is transient bit MonitorEvents Yes Enable event generation on monitoring objects EventPrio 2 Event reporting priority 0 highest if no read only M ST 1 objects defined EventReportAs M ST TB 1 Type ID used to report events reported back as M ST points if read only M ST NA 1 objects defined GMO000 0x00000801 point 1 will be event reported in group 11 and in general requests GMO001 0x80000801 point 2 will be reported cyclic in group 11 and in general requests GM0002 0x00000801 point 3 will be event reported in group 11 and in general requests GM0003 0x80000801 point 4 will be reported cyclic in group 11 and in general requests GM0004 0x00000801 point 5 will be event reported in group 11 and in general requests GMO005 0x80000801 point 6 will be reported cyclic in group 11 and in general requests IEC 60870 Slave Protocol Driver V2 0 0 Page 93 Preliminary Rev 03 11 5 2008 GM0006 GM0007 requests SE NA 1 8 Size FirstAY 0 MonitorM ME MonitorEvents 3 EventPrio EventReportAs DeadBand 5 GM0000 GM0001 GM0002 GM0003 GM0004 GM0005 GM0006 GM0007 requests C SE NB 1 8 Size FirstAY 8 MonitorM ME MonitorEvents EventPrio 4 EventReportAs DeadBand
20. 0 0 Page 75 Preliminary Rev 03 11 5 2008 Section Item Key Range Type Description This parameter defines the reporting priority assigned to M IT events 0 highest EventPrio 0 7 Highest priority events will be reported first Events of same IEC 60870 5 101 type assigned to the same priority are reported in chronological order M IT NA 1 Me This parameter defines the type EventReportAs M IT TA 1 ID used to report IEC 60870 5 of 101M SP change events M IT TB 1 Mode A B C D Counter mode of operation Bye Ter K mber Internal freeze period for modes A or B ms Only send frozen counter events EvtFrozenChgOnly Yes No when frozen counters change modes A and D This parameter defines the group 0x00000000 reporting mask for the first GM0000 mapped point point number 0000 See Table 38 0 00000000 This parameter defines the group GM Size reporting mask for the last 0000 mapped point See Table 38 Table 44 M IT NA 1 section parameters Determined by Size parameter 6 2 12 C SC NA 1 Section parameter description Section Item Key Range Type Description IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 76 Preliminary Rev 03 11 5 2008 Section Item Key Range Type Description Size 0 to 1024 This parameter specifies the number of C SC NA 1 objects that will be
21. 10 GM0000 GM0001 GM0002 GM0003 GM0004 GM0005 GM0006 GM0007 requests 11 8 Size FirstFY 0 MonitorM ME MonitorEvents EventPrio 5 IPm IEC 60870 Slave Protocol Driver V2 0 0 0x00000801 0x80010801 Yes Yes M ME TD 1 0x00001001 0x80001001 0x00001001 0x80001001 0x00001001 0x80001001 0x00001001 0x80011001 Yes Yes M ME TE 1 0x00002001 0x80002001 0x00002001 0x80002001 0x00002001 0x80002001 0x00002001 0x80012001 Yes Yes point 7 will be event reported in group 11 and in general requests point 8 will be reported cyclic in group 16 11 and in general Number of IEC objects in this category Starting address of SIXNET registers mapped block Enable monitoring of outputs Enable event generation on monitoring objects Event reporting priority 0 highest Type ID used to report events Default deadband for event reporting point will be event reported in group 12 and in general requests point 42 will be reported cyclic in group 12 and in general requests point 43 will be event reported in group 12 and in general requests point 44 will be reported cyclic in group 12 and in general requests point 45 will be event reported in group 12 and in general requests point 46 will be reported cyclic in group 12 and in general requests point 7 will be event reported in group 12 and in general requests point 48 will be reported cyclic in group
22. 100 10000 pulse commands in ms This parameter defines if M SP M DP with cause of transmission 11 is sent to the master after execution of output commands IEC 60870 5 101 RETURN function returnInfControlComplete Yes This p arameter is used to define the number of milliseconds between cyclic updates If set to be 1000 the driver will internally set this parameter to 1000 ms cyclicTimer 0 864000000 Send ACTTERM after processing C SEActt See Yes No C_SE commands Background poll timer m s 0 BackgroundTimer Number Disable Allowed tim e windo w ms to apply contro comm ands whe n receiving 104 time tagge d allowedCtrlTime Number controls Discard commands that have bee n delaye din transmission for more than a maximum this permissible time Table 36 ApplicationLayer section parameters 6 2 5 M SP 1 Section parameter description Section Item Key Range Type Description IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 67 Preliminary Rev r03 11 5 2008 Section Item Key Range Type Description Size 0 to 1024 This parameter specifies the number of M SP NA 1 objects that will be mapped to X registers Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 SP 1 objects will be mapped to X registers F
23. 104 8 6 analog device or 63 computation IPm IEC 60870 Slave Protocol Driver V2 0 0 Table 3 Information object addressing scheme Page 17 Preliminary Rev r03 11 5 2008 Notes C Object address in control direction Write M Object in monitor direction Read P1 Parameter 1 Deadband in control direction Write M1 Parameter 1 Deadband in monitor direction Read M2 Parameter 2 High limit for event transmission of metered values in monitor direction Read M3 Parameter 3 Low limit for event transmission of metered values in monitor direction Read 5 2 3 Supported IEC 60870 5 101 104 Monitoring Types 5 2 3 1 information M SP NA 1 One block of up to 1024 8 for 1 byte information object address see Table 2 of contiguous IEC 60870 5 101 104 M SP NA 1 single point Information variable s can b e defined a nd mappedto SIXNET X registers within any given IPm station The starting address of the mapped SIXNET X blo ck i e the a ddress of the f irst mapped X register as well as the number of M SP NA 1 objects i e the number of mapped X registers are configurable The first conf igured M SP NA 1 single point info rmation object within the block has the fo llowing IEC information object address IOA e 0x00 if length of Information Object Address is 1 octet e 0x0000 if length of Information Object Address is 2 octets e 0x000000 if length of Inf
24. 16 12 and in general Number of IEC objects in this category Starting address of SIXNET registers mapped block Enable monitoring of outputs Enable event generation on monitoring objects Event reporting priority 0 highest Type ID used to report events Default deadband for event reporting point will be event reported in group 13 and in general requests point 2 will be reported cyclic in group 13 and in general requests point 43 will be event reported in group 13 and in general requests point 44 will be reported cyclic in group 13 and in general requests point 45 will be event reported in group 13 and in general requests point 46 will be reported cyclic in group 13 and in general requests point 7 will be event reported in group 13 and in general requests point 48 will be reported cyclic in group 16 13 and in general Number of IEC objects in this category Starting address of SIXNET registers mapped block Enable monitoring of outputs Enable event generation on monitoring objects Event reporting priority 0 highest Page 94 Preliminary Rev 03 11 5 2008 EventReportAs DeadBand 10 0000 0 00004 0001 0x80004 GM0002 0 00004 GM0003 0x80004 0004 0x00004 GM0005 0x80004 GM0006 0x00004 GM0007 0x80014 requests M ME TF 1 001 001 001 001 001 001 001 001 Type ID used to report events Default deadband point point point point point p
25. 24577 X k 15 24577 X k 8184 Ox63FE X k 8184 0x0063FF X k 8191 25599 X k 8191 25599 Table 11 M ST 1 object mappings for monitoring C RC 1 Digital step position mode Configurable The actual number of SIXNET AX X registers that can be mapped to M ST NA 1 objects can be lower depending on how many AX X registers have been mapped to other compatible IEC types see Table 1 and database capacity j k Configured starting SIXNET AX and X address of the C RC NA 1 monitoring M ST NA 1 mapped block SIXNET AX or AY regi e VTI e Transient State T IPm IEC 60870 Slave Protocol Driver V2 0 0 sters map ped as IEC 608070 5 101 104 M ST 1 Step Position Point Information With Quality Descriptor points will be reported as follows Bits 0 6 SIXNET AX Register Analog mode or SIXNET X registers X k toX k 6 Digital mode Step 64 to 63 Bit 7 SIXNET X register Analog mode or SIXNET Register X k 7 Digital mode Transient State Page 25 Preliminary Rev r03 11 5 2008 The quality descriptor byte will be reported as follows IPm IEC 60870 Slave Protocol Driver V2 0 0 Overflow OV Reserve RES Bi Bi Reserve RES Bi Bi t t Reserve RES Bi Blocked BL Bit Substituted SB Not Topical NT Invalid IV Bit N gt O Bit 5 Bit 6 N Page 26 7 0 Reserved 70 Reserved 3 0
26. 5 101 104 data types Single Points 1 bit discrete I O Monitor READ and Control WRITE Double Points 2 bit 4 state discrete I O Monitor READ and Control WRITE e Step positio n informatio n 128 state enco ded variabl es I O Monitor READ and Control WRITE e Measured Values Normalized or Scaled or Fl oating Point analog I O values Monitor REA D and Control WRITE e Integrated Values 32 bit counters Monitor READ Any of these data types can be requested in the monitor direction with or without time tag information Every SIXNET IPm I O po int within the Databa se can be m apped into ne IEC 6 0870 5 101 104 point address as described in Table 1 Every SIXNET IPm st ation running the IEC 60870 5 101 104 slave protocol driver maintain a database containing one block of a configurable number of contiguous IEC 60870 5 101 104 points for every IEC 60870 5 101 104 d ata type su pported by the drive r see Table 1 Each on e of these blocks will be mapped into a corresponding block of contiguous SIXNET registers of a compatible type see Ta ble 1 The SIXNET point addre ss of the first point in h map ped block is confi gurable Any SIXNET variable that has a tag or a module assigned can be mapped into any IEC 60870 5 point as long as the involved IEC 6087 0 5 101 104 point and the corresponding SIXNET regi ster are type compatible as specified in Table 1 The IEC 608 70 5 101 104 Informa
27. 60870 5 101 104 provides a communication profile for sending basic telecontrol messages between two systems which uses permanent directly connected data circuits between them The IEC Techni cal Committee 57 Working Group 03 have developed a pr otocol standard for Telecontrol Telep rotection and associated telecommunications for ele ctric power systems The re sult of this work is IEC 60870 5 Five documents specify the base IEC 60870 5 The documents are e EC 60870 5 1 Transmission Frame Formats EC 60870 5 2 Data Link Transmission Services IEC 60870 5 3 General Structure of Application Data e EC 60870 5 4 Definition and coding of Information Elements IEC 60870 5 5 Basic Application Functions The IEC Te chnical Committee 57 ha s also g enerated two companion standards IEC 60870 5 101 IEC 60870 5 104 especially oriented for basi c telecontrol tasks a pplications The IEC 6087 0 5 101 104 standards are based on the five documents IEC 60870 5 1 to 5 The IEC 60870 5 101 104 Slave protocol for SIXNET I Pm make IPm devices behave like an IEC 6 0870 5 101 outstation an d uses V24 RS 232 communication lines which can be connected directly to the Master Unit or to a communication channel Also networking support over Ethernet TCP IP as specified by IEC 60870 5 104 standard is supported The IEC 60870 5 101 104 slave proto col driver for SIXNET IPm allows an IEC 6 0870 5 101 104 master station to retrieve data a nd send commands
28. I O database capacity n Configured starting SIXNET Y address of the C DC NA 1 mapped block IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 21 Preliminary Rev r03 11 5 2008 SIXNET X and Y gister pairs ma pped a s IEC 6 08070 5 101 Dou ble Point Information With Q uality Descriptor points are reported as follows Double Point Information Bits Reserve RES Bit Reserve RES Blocked BL Bit Substituted SB Not Topical NT Invalid IV Bit Bit 0 Bit1 SIXNET DI Register 1 and Register 2 00 Indeterminate 01 OFF 10 ON 11 Indeterminate N 0 Reserved 3 0 Reserved 4 0 Not Blocked Bit5 0 Not Substituted Bit 6 7 0 Valid 0 Topical This means that the val ues reported will be 0 0 0 0x01 0x02 or 0x03 depending on the corresponding value of the mapped X or Y register pair IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 22 Preliminary Rev r03 11 5 2008 5 2 3 3 Step point Information M ST NA 1 The SIXNET IPm IEC 60870 5 slave driver can be configured to read the all the Step Position Information objects in one of the two following modes e Analog Step Position Mode In this mode the step position part of the M ST NA 1 object is read from an AX register and the transient bit of the M 5 NA 1 is read from an X register so in this mode of ope ration one AX registe r and one X r egister must be mappe d for each M ST NA 1 information object e Dig
29. NA 1 Objects Mappings 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET C SE 1 SIXNET C SE 1 SIXNET C SE 1 Register Register Register 0x6400 0x006400 EIN 200 AY Im 25600 AY Im 25600 9 0x6401 0x006401 AY m 1 201 AY m 1 25601 AY m 1 25601 Ox67FFE 0 0067 AY m 7 207 1023 26623 AY m 1023 26623 Table 27 SIXNET AY to IEC C SE 1 object mappings e Configurable The actual number of SIXNET AY registers pairs that can be mapped to C SE 1 objects be lower depending on how many AY registers have been mapped to other compatible IEC types see Table 1 and database capacity m Configured starting SIXNET AY address of the S SE NA 1 mapped block SIXNET AY registers ma pped as IEC 608 070 5 101 104 Setpoint Command Normalized Value points will be controlled by sending to the IPm the following information object e Normalized Value NVA Bits 0 15 1 1 275 1 0 999969482421875 16 Bit Integer Normalized Value Bits 16 30 Ignored Heserved Bit 31 0 Execute 1 Select e Qualifier of Setpoint QL Select Execute S E The IEC 608070 5 101 104 Slave Driver will convert the value received in the command operation to the resolution of the mapped SIX
30. are enabled This parameter GM0000 defines the group reporting mask OxFF81FFFF for the first mapped point point number 0000 See Table 38 If monitor M SP NA 1 objects 0x00000000 are enabled This parameter GM Size defines the group reporting mask OxFF81FFFF for the last mapped point See Table 38 Table 45 C SC NA 1 section parameters Determined by Size parameter 6 2 13 C DC NA 1 Section parameter description Section Item Key Range Type Description This parameter specifies the number of C DC 1 objects that will be mapped to Y register pairs Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 If 0 no C DC 1 objects will be mapped to X register pairs Size 0 to 1024 This parameter specifies the SIXNET address of the first Y register of the first Y register pair mapped to the block FirstY 0 8192 This parameter specifies if MonitorM DP Yes No M DP 1 monitor objects will be mapped If monitor M DP NA 1 objects are mapped this parameter specifies if they will generate events MonitorEvents Yes No IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 78 Preliminary Rev r03 11 5 2008 Section Item Key Range Type Description EventPrio 0 7 If monitor M DP NA 1 events are enabled this parameter defines the reporting priority assigned to M DP
31. command is not valid it might return some other error with Cause of Transmission lt 44 gt lt 47 gt If the ACTCON is returned to the select the controlling master station can assume that the controlled IPm station has correctly selected the control object and started a Select timer The controlli ng ma ster station then i ssues the ex ecute A CT message Th e cont rolled IPm station responds with either A CTCON or Negative ACTCO N If the Select timerh expired the Neg ative ACTCON will be sent If a gative ACTCON is sent this terminates the procedure and there is no subsequent ACTTERM sent to the master from the IPm The controlled IPm station will ignore the execute ACT message and send a negative ACTCON response if the Select timer has expired when the execute ACT message is received The driver can be co nfigured to optiona send ACTTERM me ssages at the end of the SE control sequences The SIXNET IEC 60870 5 101 104 slave driver can be configured to send RETURN for control operation complete RETURN INF monitored obje ct responses will be sen t out to the master station before the ACTTERM message Extended IEC 60870 5 104 time tagged controls are supported when the driver is configured in the IEC 60870 5 104 mode Upon reception of a time tagge d control the IPm compares the time tag inclu ded in the receive d time tag ged obje ct with the date an d clo ck time of reception in orde r to calculate
32. events events events events reported reported reported reported reported reported reported as as as as as as M SP M DP TB M ST TB M ME TD M ME TE M ME M IT TB Single point information with time tag CP56Time2a Double point information with time tag CP56Time2a Step position information with time tag CP56Time2a Measured value normalized value w time tag CP56Time2A Measured value scaled value with time tag CP56Time2A Measured value floating point value w time tag Integrated totals with time tag CP56Time2A M SP M DP M ST NA M ME NA M ME NB M ME NC M IT NA events events events events events events events will next next next next next last be reported priority priority priority priority priority priority first priority 0 The event queue will be checked for queued events to report every 10s Also events will be reported if there are more than 5 non reported events in queue Page 88 Preliminary Rev 03 11 5 2008 General Project C SIXNET Tools MProjectsNtest iec60870 5 101 6pj IPmStation SixtrakIpm Version 200 SxIPmStation EnableDataTraces No Enable debugging output DeviceDataTraces nvram sxiec60870drv log Device to send debugging output blank stdout NumberTraces 10000 Number of debug output lines 0 no limit DataLinkLayer layerType
33. events 0 highest Highest priority events will be reported first Events of same IEC 60870 5 101 type assigned to the same priority are reported in chronological order Note If M DP 1 section exists same setting in M DP NA 1 section will override this setting EventReportAs M DP NA 1 or M DP TA 1 or M DP TB 1 If monitor M DP NA 1 events are enabled this parameter defines the type ID used to report IEC 60870 5 101 M DP change events Note If M DP 1 section exists same setting in M DP 1 section will override this setting GM0000 0x00000000 OxFF81FFFF If monitor M DP NA 1 objects are enabled This parameter defines the group reporting mask for the first mapped point point number 0000 See Table 38 GM Size 0x00000000 OxFF81FFFF If monitor M DP 1 objects are enabled This parameter defines the group reporting mask for the last mapped point See Table 38 Table 46 C SC NA 1 section parameters Determined by Size parameter 6 2 14 C RC 1 Section parameter description Section Item Key Range Type Description IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 79 Preliminary Rev 03 11 5 2008 Section Item Key Range Type Description This parameter specifies the number of C RC 1 objects that will be mapped to AY registers Note If oaddrLen parameter in Applicatio
34. information object address 0x90 if length of Information Object Address is 1 octet 0x4800 if length of Information Object Address is 2 octets e 0x004800 if length of Information Object Address is octets The number of SIXNET LX registers mapped to M ME NC 1 information objects is configurable If the user sets the number of M IT NA 1 objects mapped to SIXNET LX registers 0 no SIXNET LX registers will be reported as M IT NA 1 objects by the IPm The following tables show the actual mapping addressing scheme for M IT NA 1 objects as a function of the configured IEC information object address length IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 37 Preliminary Rev r03 11 5 2008 SIXNET AY Registers to IEC M IT NA 1 Object Mappings 1 octet object address Up to 8 registers SIXNET Register LX LX 1 LX m 7 M IT NA 1 IOA 0x90 144 0x91 145 0x97 151 2 octet object address Up to 1024 registers 3 octet object address Up to 1024 registers SIXNET M IT NA 1 SIXNET M IT NA 1 Register IOA Register IOA 0x4800 0x004800 EX m 18432 18432 0x4801 0x004801 LX m 1 18433 LX m 1 18433 Ox4BFF 0x004BFF LX m 1023 19455 m 1023 19455 Table 22 SIXNET LX to IEC M IT NA 1 object mappings Configurable The actual number of SIXNET LX registers that be mapped to M IT 1 o
35. mapped to Y registers Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 no C SC 1 objects will be mapped to Y registers FirstY 0 8192 This parameter specifies SIXNET address of the first Y register mapped to the block MonitorM SP Yes No This parameter specifies if M SP 1 monitor objects will be mapped MonitorEvents Yes No If monitor M SP NA 1 objects are mapped this parameter specifies if they will generate events EventPrio 0 7 If monitor M SP NA 1 events are enabled this parameter defines the reporting priority assigned to M SP events 0 highest Highest priority events will be reported first Events of same IEC 60870 5 101 type assigned to the same priority are reported in chronological order Note If M SP 1 section exists same setting in M SP NA 1 section will override this setting EventReportAs M SP 1 or M SP TA 1 or M SP TB 1 If monitor M SP NA 1 events are enabled this parameter defines the type ID used to report IEC 60870 5 101 M SP change events Note If M SP 1 section exists same setting in M SP NA 1 section will override this setting IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 77 Preliminary Rev 03 11 5 2008 Section Item Key Range Type Description If monitor M SP NA 1 objects 0x00000000
36. run time debugging output will be redirected If data traces is enabled and this value is left blank the output will be sent to the controlling terminal from where the driver was launched NumberTraces String If the device to where the run time debugging output is redirected is a file this parameter specifies the maximum number of lines that will be written to the file Table 34 SxIPmStation section parameters 6 2 3 DataLinkLayer Section parameter description Section Item Key Range Type Description IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 63 Preliminary Rev 03 11 5 2008 Section Item Key Range Type Description thisStationLinkAddr 0 254 1 octet or 0 65534 2 octets This parameter specifies the Link address of the station LinkAddrLen 10r2 This parameter specifies the number of octets used to define the Link address of the station ctrlMaxFrameLen 32 255 This parameter specifies the maximum number of octets of data portion of link frames in control direction monMaxFrameLen 32 255 This parameter specifies the maximum number of octets of data portion of link frames in monitor direction linkRetries 0 255 This parameter specifies the number of link transmission retries if a response is not received linkTxTimeout 0 65535 This parameter specifies the minimum number of ms to wait for
37. send S format message to acknowledge pending Rx messages 104t3 Number Timeout ms on an idle line to send TESTFR act messages 104k Number Number of unacknowledged messages the unit will buffer 104w Number Number of messages to receive when there are no l format messages to send before sending S format ACK message wStartDT Yes No Wait for STARTDT con message after TCP connection from master before starting to exchange data clUnackBuff 104 Yes No Clear transport interface unacknowledged transmit buffer on connect IPm IEC 60870 Slave Protocol Driver V2 0 0 Table 35 LinkLayer section parameters Page 65 Preliminary Rev 03 11 5 2008 6 2 4 ApplicationLayer Section parameter description Section Item Key Range Type Description cotLen T orf This parameter specifies the number of octets used to define the ASDU Cause of transmission COT oaddrLen 1 20r3 This parameter specifies the number of octets used to define the address of an information object IOA or point address commAddrLen 10r2 This parameter specifies the number of octets used for the common address of ASDU commAddrASDU 0 254 1 octet or 0 65534 2 octets This parameter specifies the common address of the ASDU station address for access the data in the station There is only one value entered for access to all data in the station
38. single or to a combination of any group on a point by point basis The current values of all mapped SIXNET points and monitored parameters with the exception of the points being reported by t he cyclic transmission function will be reported when th e station receives a global interrogation command The following table shows the ASDUS involved in the station interrogation procedure Direction C Control d si Qualifier of M Monitor Type Identification Cause of transmission interrogation 20 Global C 10 0 C IC NA 1 6 ACT 21 46 Group 1 16 20 Global M 10 0 C IC NA 1 7 ACTCON 21 46 Group 1 16 1 SP NA 1 3 M DP NA 1 5 ST NA 1 20 INROGEN 9 M ME 1 21 46 INRO1 16 11 M ME NB 1 13 M ME NC 1 M 10 0 C IC NA 1 7 ACTTERM oribus 21 46 Group 1 16 Table 31 Station interrogation procedure 5 3 6 Clock Synchronization The SIXNET IPm IEC 60870 5 101 104 driver implements the Clock Synchronization function as defined in IEC 60870 5 5 6 7 and IEC 60870 5 101 7 4 6 The driver send s time synchronization objects CS NA 1 with COT 3 SPONTANE OUS to the master every change hour of the IPm calendar clock Also the driver will request time sy nchronization to the controlling master station by setting the IV bit o f the qualifier octet of time objects The request for time syn chronization to the
39. the transmission delay of the cont rol If the smission d elay e xceeds the maximum all owable del ay configurable on a per station basis the control is ignored The received object s time tag contains the time at which the control is initiated in the controlling station 5 3 8 Transmission of integrated totals Counters The SIXNET IPm IEC 60870 5 101 104 driver implements the Transmission of integrated totals fun ction as defined in IEC 60870 5 101 7 4 8 The drive r supports all four Lo cal free ze wi th spontan eous tran smission B loca freeze with counter transmission by interrogation command C counter interrogation freeze commands with counter transmission by interrog ation comm counter interrogatio n free ze commands with spontaneous transmission counters mode of operation Only one counter mode of operation A B Cor D can be configured and in use at any given time When configured in modes A or B automatic periodic local freeze of counters by internal clock the local freeze peri od is config urable Also in these modes the co unter mem orizing optio n MEMO RIZE COUNTER freeze or MEMORIZE INCREMENT freeze and reset is configurable on a p oint by point counter by counter basis Mapped IEC 60870 5 101 104 counter objects can be assigned at configuration time to a specific or to a combination of any counter group 1 to 4 on a point by point basis In co unter m odes B a nd C
40. the master station in the control direction to configure the Threshold deadband value of variation from the last reported eve nt value to generate events The supp orted P ME NC 1 parameter qualifiers are shown in Table 12 Parameter qualifiers The information object address IOA of the first created P ME 1 parameter object is e 0x70 if length of Information Object Address is 1 octet 0x3800 if length of Information Object Address is 2 octets e 0x003800 if length of Information Object Address is octets In addition to the P ME NC 10 bject the SIXNET driver creates auto matically three M ME 1 objects in order to provide for monitoring capabilities of the current values of threshold high limit and low limit parameters The inform ation obje ct ad dress of the firs t created M ME 1 for m onitoring the associ ated Threshold parameter is 0x78 if length of Information Object Address is 1 octet e 0x3CO00 if length of Information Object Address is 2 octets e 0x003C00 if length of Information Object Address is 3 octets The information object address of the first created M ME NC 1 for monitoring the associated High Limit parameter is 0x80 if length of Information Object Address is 1 octet 0x4000 if length of Information Object Address is 2 octets 0x004000 if length of Information Object Address is 3 octets IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 34 Preliminary Rev r03 11 5 2008 Th
41. 0870 5 101 unbalanced communications mode Background messages will include all non M IT NA 1 counter objects not configured to be reported by the cyclic periodic transmission function Background scan reports non time tagged objects IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 56 Preliminary Rev r03 11 5 2008 5 3 14 Read Procedure The SIXNET IPm IEC 60 870 5 101 driver implements the Read Procedure function as defined in IEC IEC 60870 5 101 7 4 13 Any monito red obj ect can be re quested by th e Read C RD 1 command including M IT NA 1 counters Only non time tagged objects are returned IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 57 Preliminary Rev r03 11 5 2008 5 4 IEC 60870 5 Communications The SIXNET IPm IEC 60870 5 Slave Driver im plementation supports RS 232 and RS 485 two and four wires over serial port communications in point to point and multi point modes IEC 60870 5 101 as well as TCP IP server over LAN WAN communications IEC 60870 5 104 The SIXNET IPm IEC 60870 5 101 104 Slave Driver accepts commands from an attached master unit on the network and will gen erate u nsolicited messa ges These la st set s of m essages can be eithe r spontaneous or cyclic Data transferred to the ho st is derived f rom the IP m IEC 60870 5 101 104 Slave Driver internal database T he remote master device will be able to read and control data in the database and hence the SIXNET registers mapped to the
42. 1 Section parameter description Section Item Key Range Type Description Size 0 to 1024 This parameter specifies the number of M ST 1 objects that will be mapped to AX registers Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 noM ST 1 objects will be mapped to AX X registers IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 70 Preliminary Rev 03 11 5 2008 Section Item Key Range Type Description This parameter specifies SIXNET address of the first AX register FirstAX Number mapped to the block Analog part when Mixed Analog Discrete input interfacing This parameter specifies SIXNET address of the first X register mapped to the block Discrete FirstX Number part when Mixed Analog Discrete input interfacing or Discrete positon input when Discrete input mode Interfacing type No Discrete input interfacing 8 X discrete bits per object X Bits 0 6 position two s complement binary X Bit 7 transient bit AnalogMode Yes No Yes Analog input interfacing discrete transient bit AX is the position value Integer 64 to 63 X is the transient bit This parameter defines the reporting priority assigned to M ST events 0 highest EventPrio 0 7 Highest priority events will be reported first Events of same IEC 60870 5 101 type assigned to the same priority are r
43. 104 101 104 The Link layer will be IEC 60870 5 101 104 The following is used if layerType is 101 thisStationLinkAddr 1 Link address of the station LinkAddrLen 1 Link address number of octets ctrlMaxFrameLen 249 Maximun length of data portion of link frames in control direction monMaxFrameLen 249 Maximun length of data portion of link frames in monitor direction linkRetries 1 Number of link transmission retries linkTxTimeout 2000 Link trasnmission communications timeout ms testLinkTimer 0 Link layer keepalive send TEST LINK frames time ms 0 disable AorBStationIsA No This is a controlling A station Yes or a controlled B station No BalancedMode No The driver will operate in Link Layer Balanced mode 101 mode only The following is used if layerType is 104 10461 15000 Timeout ms to acknowledge sent packet before closing the connection 104t2 10000 Timeout ms when to send S format message to acknowledge pending Rx messages 104t3 20000 Timeout ms idle line to send TESTFR act messages 104k 12 Number of unacknowledged messages the unit will buffer 104w 8 Number of messages to receive before sending S format ack message and no I format msg to send wStartDT Yes Wait for STARTDT con before starting to exchange data clUnackBuff 104 FALSE Clear transport interface unack d transmit buffer on connect ApplicationLayer timeSynchFreq
44. 20000 0x00020000 0x00020000 0x00020000 1 8 SP Yes ents Yes 0 rtAs SP TB 1 0 00000081 point 6 will be event reported in group 4 and in general requests point 7 will be event reported in group 5 and in general requests point 48 will be event reported in groups 1 16 and in general requests Number of IEC objects in this category Starting address of SIXNET registers mapped block Event reporting priority 0 highest Type ID used to report events point point point point point point point point Number 1 will N Deaband for event reporting will be will be 4 will be will be 6 will be 7 will be 8 will be be reported cyclic in group 1 and general requests reported cyclic in group 1 and general requests reported cyclic in group 1 and general requests event reported in group 2 and general requests event reported in group 3 and general requests event reported in group 4 and general requests event reported in group 5 and general requests event reported in groups 1 16 and in general requests of IEC objects in this category Starting address of SIXNET registers mapped block Event reporting Type ID used to Counter mode of Internal freeze priority 0 highest report events operation period for modes A or B ms Only send frozen counter events when frozen counters change modes A point point
45. 3 8 M NB 11 0 2000 0 2007 lt gt 00014 00021 IEC 60870 Slave Protocol Driver V2 0 0 Page 87 Preliminary Rev r03 11 5 2008 co M ME M IT NA 1 C SC NA M SP NA C DC NA M DP NA RC NA M ST NA M ST 1 M ST NA 1 C SE NA 1 M ME NA 1 C SE NB 1 M ME NB 1 C SE NC 1 M ME NC 1 0x3400 0x3407 0x4800 0x4807 0 4 00 0 4 07 0 5000 0 5007 0 5400 0 5403 0 5800 0 5803 0 5 00 0 5 07 0 6000 0 6007 0 6000 0 6007 0 6000 0 6007 0 6400 0 6407 0 6800 0 6807 0 6 00 0 6 07 0 7000 0 7007 0 7400 0 7407 0 7800 0 7807 Monitored Controls lt gt lt gt X lt gt lt gt lt gt lt gt lt gt lt gt lt gt M ST 1 in Analog interface mode 00000 00007 00000 00007 00008 00015 00008 00015 00016 00023 00016 00023 00024 00039 00030 00037 00092 00099 00092 00155 00000 00007 00000 00007 00008 00015 00008 00015 00000 00007 00000 00007 M ST NA 1 in discrete interface mode Event reporting configuration events as M SP NA 1 M DP NA 1 M ST NA 1 M ME NA 1 M ME NB 1 M ME NC 1 CP56Time2A IPm IEC 60870 Slave Protocol Driver V2 0 0 M IT NA 1 events events
46. 3600000 Time synchronization request timeout ms cotLen 2 Cause of transmission COT number of octets 1 or 2 oaddrLen 3 Object address IOA length 1 2 or 3 commAddrLen 2 Common address of ASDU number of octets 1 or 2 commAddrASDU 1 Common address of ASDU for this station i e This station address spontaneousReportTime 10000 Time to trigger report of events ms 0 no timed report eventQueueThreshold 5 Number of events in event queue to trigger event report 0 no check masterEventEnable Yes Enable Disable event collection and reporting IEC 60870 Slave Protocol Driver V2 0 0 Page 89 Preliminary Rev r03 11 5 2008 eventQueueLength 512 Main event queue maximum length selectTimeout 2000 Select execute timeout for all select execute outputs ms 0 will disable function direct command shortPulseDuration 500 Duration in ms for Short Pulse controls longPulseDuration 2000 Duration in ms for Long Pulse controls returnInfControlComplete Yes Send M SP M DP M SE M ST data after execute commands RETURN INF C SEActterm No Send ACTTERM after processing C SE commands cyclicTimer 300000 Cyclic poll timer ms backgroundTimer 900000 Background poll timer ms 0 Disable allowedCtrlTime 10000 Time window ms to apply control commands in 104 time tagged controls Discard commands that have been delayed in transmission for more than a maximum this permi
47. 697 OxEF Ox77FE 0x0077FF m 7 239 m 1023 30719 m 1023 30719 Table 29 SIXNET FY to IEC C SE NC 1 object mappings e Configurable The actual number of SIXNET FY registers pairs that be mapped to C SE NC 1 objects can be lower depending on how many FY registers have been mapped to other compatible IEC types see Table 1 and database capacity m Configured starting SIXNET FY address of the S SE NC 1 mapped block SIXNET FY registers mapped as IEC 608070 5 101 104 C SE NC 1 Setpoint Command Short Floating Point Value points will be controlled by sending to the IPm the following information object e FP Value R32 IEEE STD 574 Bits 0 31 EEE STD 574 Floating point value e Qualifier of Setpoint QL Bits 32 38 Ignored Reserved Select Execute S E Bit 39 0 Execute 1 Select The IEC 608070 5 101 104 Slave Driver will convert the value received in the command operation to the resolution of the mapped SIXNET I O register and then set the mapped SIXNET register to the converted value during the Setpoint operation execute phase 5 2 4 12 Setpoint Command with time tag Normalized Value C SE TC 1 IEC 60870 5 104 only This obj ect type operates the same way as S E NC 1 objects se e 5 2 4 11 with the followin 9 exception Upon reception of a C SE TC 1 command the IPm compares the time tag included in the C SE TC 1 object with the date and c
48. 870 5 101 M ME NC EventReportAs M ME TC 1 change events Note If M NC 1 section exists same setting in M ME TF 1 M ME NC 1 section will override this setting Default deadband for event reporting DesdBand Floating Point Note ME NC 1 section Number exists same setting in M ME NC 1 section will override this setting If monitor M ME NC 1 objects 0x00000000 are enabled This parameter GM0000 defines the group reporting mask OxFF81FFFF for the first mapped point point number 0000 See Table 38 If monitor M ME NC 1 objects 0x00000000 are enabled This parameter GM Size defines the group reporting mask OxFF81FFFF for the last mapped point See Table 38 Table 50 C SE NC 1 section parameters Determined by Size parameter IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 86 Preliminary Rev 03 11 5 2008 6 3 Sample Configuration File The following is an excerp t of a workin sample configuration file for a Versa TRAK Pm controller model VT MIPM 131 D This file is included in the installable run time package In addition to the Onboard I O provided by the mini I Pm controller the station has b een configured with additional virtual modules that provide for point s types not present in the Onboard module The event reporting scheme has been configured so that events will be reported to the controlling station whenever there are more than 5 non reported eve
49. AY register as well as the number of C SE NA 1 objects i e the number of mapped AY registers are configurable The first configured C SE NA 1 Setpoint Command Normalized Value object within the block has the following IEC information object address IOA 0xC8 if length of Information Object Address is 1 octet e 0x6400 if length of Information Object Address is 2 octets 0x006400 if length of Information Object Address is 3 octets Forea ch C SE NA 1 Setpoint Co mmand Normalize d Val ct aM ME NA 1 Monitored Normalized Measured Value information object will be created and mapped to the same AY register in order to p rovide for mo nitoring capabilities to C SE 1 objects For furth er inform ation rega rding addressing schem e and h ow to a ccess the monito ring objects please referto paragraph 5 2 3 4 and Table 15 The num ber of SIXNET AY registe rs mapped to C SE NA 1 Setpoint Command Normalized Value objects is configurable Ifthe ser sets the nu mberof C SE NA bjects m to SIXNET AY gistersto 0 n C SE 1 objects will exist within th e IPm nor SIXNET AY registers will be mapped to M ME NA _ objects 1 The following table shows the actual mapping addressing scheme for SE 1 objects as a function of the configured IEC information object address length IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 45 Preliminary Rev r03 11 5 2008 SIXNET AY Registers to IEC C SE
50. Counter rep orting by in terrogation com mands the d river responds to controlling station s counter interrogation requests via C CI NA 1 ASDU me ssages The driver acce pts and responds to general counter requests RQT 5 and to specific counter group 1 to 4 interrogation requests RQT 1 to 4 In counter modes C and D Freeze freeze a nd reset operations by interro gation commands the driver supports freeze and freeze and reset counter operations on all or specific group of counters as described above IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 55 Preliminary Rev r03 11 5 2008 5 3 9 Parameter Loading The SIXNET IPm IEC 608 70 5 101 104 driver imple ments the Pa rameter loading function as define d in IEC 60870 5 101 7 4 9 The d river creates ME NA 1 P ME NB 1 andP ME NC 1 objects automaticall y for each M ME NA 1 M ME NB 1and M ME NC 1 measuring object respectively The driver supports and implements the loading of Threshold High Limit and Low Limit parameters for each measuring M ME object Also the driver creates and maps three M ME objects for each created P ME object in order to provide with monitoring capabilities of the current values of Threshold High Limit and Low Limit parameters The m onitoring M ME bjects will b e incl uded i n gen eral a nd g roup Int errogation in terrogations responses using the same group assignments as the associated measuring object and in background scan messages F
51. DECIMAL FORMAT 5 101 DESCRIPTION REPRESENTA Paragraph TION Type ID 1 Octet IOA 2 Octet IOA 3 Octet IOA Monitored Single point Information This data type is used to store a single M SP NA 1 binary input point Single bit value 7 3 1 1 Associated time 7 2 6 1 with 0x00 0x07 1 tagged event 0 and 1 On information for this type areM SP TA 1 2 and M SP TB 1 30 Monitored Dual point Dual bit status Information 7 2 6 2 with This data type is used 00b 0 decimal to store a dual point indeterminate binary input value or intermediate MED el i e valve status 01b 1 decimal 29 002108 7 3 1 3 Associated time Off 0x08 0x0F OxO7FF 0x0007FF 3 tagged event 10b 2 decimal information for this On type are M_DP_TA_1 4 and M_DP_TB_1 11b 3 decimal 31 indeterminate Monitored Step point e Intonation stored in a single This data type is used character value for step position of A transformers or other 2 veces representing the 7 3 1 5 value for the position position and 10 0 17 DERE 5 ranges from 64 to 63 Associated time rit resenting the tagged event ollowing states information for this 0 Equipment is type are M ST TA 1 not in transient 6 and M ST TB 1 E 32 quipment in transient state IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 14 Preliminary Rev 03 11 5 2008
52. E DESCRIPTION REPRESENTATION SIXNET UO TYPE AND ACCESS DIRECTION Monitored Single point Information This data type is used to store a M SP NA 1 single Bind input point inge D value DI 7 2 6 1 with 7 3 1 1 Associated time tagged event 0 Off and 1 On READ information for this type are i M_SP_TA_1 2 and M_SP_TB_1 30 Dual bit status 7 2 6 2 Monitored Dual point with Information 00b 0 decimal This data type is used to store indeterminate 3 M DP NA 1 dual point binary input value intermediate DI 7 3 1 3 i e valve status Associated 01b 1 decimal Off READ time tagged event information 10b 2 decimal On for this type are DP 1 4 and and M DP 1 31 11b 3 decimal indeterminate Step data 7 2 6 5 is Monitored Step point stored in a single Information character value with DI Transient state This data type is used for step bits 0 6 64 to 63 Al Step position position of transformers or other representing the step 5 M_ST_NA_1 step position information The position and bit 7 Or 7 3 1 5 value for the position ranges representing the from 64 to 63 Associated time following states DI Transient and tagged event information for this 0 Equipment is not in position states type are M_ST_TA_1 6 and transient state READ M_ST_TB_1 32 1 Equipment in transient state Monitored Normalized Measured Value Normalized values M ME NA 1 This data
53. ME NA 1 mapped block Page 29 Preliminary Rev 03 11 5 2008 SIXNET AY Registers to IEC M ME NA 1 Object Mapping 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET M ME NA 1 SIXNET M ME 1 SIXNET M ME NA 1 Register IOA Register IOA Register IOA OxDO 0x6800 0x006800 TUM 16 Ax Und 26624 mM 26624 OxD1 0x6801 0x006801 AY m 1 17 AY m 1 26625 AY m 1 26625 OxD7 Ox6BFF d m 7 23 m 1023 27647 m 1023 27647 Table 15 SIXNET to IEC M 1 object mappings Configurable The actual number of SIXNET AY registers that can be mapped to M ME NA 1 objects can be lower depending on how many AY registers have been mapped to other compatible IEC types see Table 1 and database capacity m Configured starting SIXNET AY address of the C SE NA 1 mapped block SIXNET AX and AY registers ma pped as 6 08070 5 101 M ME NA 1 Monitored Norm alized Measured Information points will be reported as follows e Normalized Value NVA Bits 0 15 1 1 25 1 0 999969482421875 16 Bit Integer Normalized Value The 608070 5 Slave Driver will normalize the value of the mapped SIXNET register accordi ng to a pre configured maximum value for the va riable If the current value of t he variable exce e
54. ME NB 1 information objects at all will exist within the IPm The following tables sho w the actual mapping addressing sche me for M M E NB 1 ME 1 objects as a function of the configured IEC information object address length SIXNET AX Registers to IEC M ME NB 1 and P ME NB 1 Object Mappings 1 octet Object Address Up to 8 registers SIXNET M ME NB 1 P ME NB 1 M ME NB 1 M ME NB 1 M ME NB 1 Reaister IOA IOA IOA IOA IOA 9 Mapped AX Parameter Threshold High Limit Low Limit 0x40 0x48 0x50 0x58 0x60 AX n 64 72 80 88 96 0x41 0x49 0x51 0x59 0x61 AX ntt 65 73 81 89 97 0 47 4 57 5 0x67 we 71 79 87 95 103 IPm IEC 60870 Slave Protocol Driver V2 0 0 Table 16 SIXNET AX to IEC M ME NB 1 object mappings 1 octet Page 32 Preliminary Rev 03 11 5 2008 SIXNET AX Registers to IEC M ME NB 1 and P ME NB 1 Object Mappings 2 and 3 octet Object Address Up to 1024 registers SIXNET M ME NB 1 P ME NB 1 M ME NB 1 M ME NB 1 M ME NB 1 Reaister IOA IOA IOA IOA IOA 9 Mapped AX Parameter Threshold High Limit Low Limit AXIn 0x2000 0x2400 0x2800 0 2 00 0 3000 n 8192 9216 10240 11264 12288 AX n 1 0x2001 0x2401 0x2801 0 2 01 0 3001 8193 9217 10241 11265 12289 0x23FF 0x27FF Ox2BFF Ox2FFF 0x37FF AX 1023 9215 10239 11263 12287 14335
55. NET register and then set the mapped SIXNET register to the converted value during the Setpoint operation execute phase 5 2 48 Setpoint Command with tag Normalized Value C SE TA 1 IEC 60870 5 104 only This object t ype op erates the same way a s SE 1 obj ects see 5 2 4 7 with t he follo wing exception Upon reception of a C SE TA 1 command the IPm compares the time tag included in the C SE TA 1 object with the date and clock time of reception at the IPm in order to calculate the transmission delay of the command If the transmissio n delay exceeds the maximum allowable delay configurable on a p er station basis the command is ignored The C SE TA 1 time tag contains the time at which the command is initiated in the controlling station IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 46 Preliminary Rev r03 11 5 2008 5 2 4 9 Setpoint Command Scaled Value C SE 1 One block of up to 1024 8 for 1 byte information object address see Table 2 of contiguous IEC 60870 5 101 104 C SE NB 1 Setpoint Command S caled Valu e o bjects can b e defin ed and m apped to SIXNET AY registers within any given IPm station The starting address of th e mapped SIXNET AY regist er block i e the addre ss of the first mapped AY register as well as the number of SE NB 1 objects i e the number of mapped AY registers are configurable The first con figured C SE NA 1 Set point Com mand Scaled Value obje ct within the
56. Register IOA AX n 0x10 AX n 0x0800 0x000800 X m 16 X m 2048 X m 2048 1 1 0 11 AX n 1 0x0801 AX n 1 0x000801 X m 1 17 X m 1 2049 X m 1 2049 AX n 7 0 17 AX n 1023 OxOBFF AX n 1023 0x000BFF X m 7 23 X m 1023 3071 X m 1023 3071 Table 8 SIXNET AX to IEC M ST NA 1 object mappings Analog step position mode SIXNET AX and X Registers to IEC M ST NA 1 Object Mapping Digital Step Position Mode 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET M ST 1 SIXNET M ST 1 SIXNET M ST 1 Register IOA Register IOA Register IOA X m 0x10 X m 0x0800 X m 0x000800 X m 7 16 X m 7 2048 X m 7 2048 X m 8 0x11 m 8 0x0801 X m 8 0x000801 X m 15 17 X m 15 2049 X m 15 2049 X m 56 Ox17 X m 8184 OxOBFE X m 8184 0x000BFF X m 63 23 X m 8191 3071 X m 8191 3071 Table 9 SIXNET AX to IEC M ST NA 1 object mappings Analog step position mode Configurable The actual number of SIXNET AX X registers that can be mapped to M ST NA 1 objects can be lower depending on how many AX registers have been mapped to other compatible IEC types see Table 1 and database capacity n m Configured starting SIXNET AX and X address of the M ST NA 1 mapped block Preli
57. Reserved 70 Not Blocked 7 0 Not Substituted 0 Topical 0 Valid 0 If not overflow 1 if overflow Preliminary Rev 03 11 5 2008 5 2 3 4 Normalized Measured Value M ME 1 One block of up to 1024 8 for 1 byte information object address see Table 2 contiguous IEC 60870 5 101 104 M ME 1Monitored Normalize d Mea sured Value Information o bjects can b e defined and mapped to SIXNET AX registers within any given IPm station The starting address of the mapped SIXNET AX block i e the address of the first mapped AX register as well as the number of M ME 1 objects i e the number of mapped AX registers are configurable The first configured M ME NA 1 object mapped to AX registers within the block has the following IEC information object address 0x18 if length of Information Object Address is 1 octet e 0x0COO if length of Information Object Address is 2 octets e 0 000 00 if length of Information Object Address is 3 octets Each AX ma pped M ME NA 1 object has an associated P ME 1 parameter of me asured value information o bject th at ca n be used by the ma ster station in t he control di rection to configure the Threshold deadband val ue the High alarm limit and th e L ow alarm limit of variation f rom th e la st reported event value to generate even ts The su pported P ME NA 1 parameter qualifiers are sho wn in the following table Parameter Qualifier Threshold value deadband
58. SIXNET SIXNET IPm IEC 60870 5 a 29 Slave Protocol Driver User s Manual Open DC 10 Di IEC 60870 Slave Protocol Driver V2 0 0 Page 1 Preliminary Rev r03 11 5 2008 1 Table of contents 1 Table ot Contents AA AONA rase rege 2 2 Index of Fables 5 tmc eed eie e 4 3 Document Revision HIStory 222 ierit t e tette He ce e doe pet eire Tete e do e doe ev eu 6 4 Introduction iode eR edite ele eed HR Eee BEP 7 5 SIXNET IPm IEC 60870 101 104 8 5 1 IEC 60870 5 Slave Driver Implementation 9 5 2 SIXNET I O to IEC 60870 5 Point Mappings sse 12 5 2 1 m 12 5 2 2 Supported IEC 60870 5 101 104 Object 13 5 2 3 Supported IEC 60870 5 101 104 Monitoring 18 5 2 3 1 Single point information M SP NA 41 seem eene 18 5 2 3 2 Double point information M DP 20 5 2 3 3 Step point Information M ST NA 1 00 emnes 23 5 2 3 4 Normalized Measured Value M ME 1 27 5 2 3 5 Scaled Measured Value M ME 1 emen 31 5 2 3 6 Short floating point measured value M NE NGC 41 emm 34 5 2 3 7 Integrated Totals point Information M I
59. T NA 41 37 5 2 3 8 Normalized Measured Value without quality descriptor M ME ND 1 38 5 24 Supported IEC 60870 5 101 104 Command 39 5 2 4 1 Single point Command SC NA 1 02 2 eere 39 5 2 4 2 Single point Command with time tag C SC 1 IEC 60870 5 104 only 40 5 2 4 3 Double point Command DP NA 41 seen nnn 41 5 2 4 4 Double point Command with time tag C DC 1 IEC 60870 5 104 only 42 5 2 4 5 Regulating Step Command RC NA 1 eene 43 5 2 4 6 Regulating Step Command with time tag C RC 1 IEC 60870 5 104 only 44 5 2 4 7 Setpoint Command Normalized Value SE 1 45 5 2 4 8 Setpoint Command with time tag Normalized Val ue SE 1 IE C 60870 5 104 only 46 5 2 4 9 Setpoint Command Scaled Value SE NB 41 eee 47 5 2 4 10 Setpoint Command with time tag Normalized Val ue C SE TB 1 IE C 60870 5 104 only 48 5 2 4 11 Setpoint Command Short Floating Point Value SE NC 1 49 5 2 4 12 Setpoint Command with time tag Norm alized Value C SE 1 608 70 5 104 only 50 5 3 60850 101 104 Driver Application Functions 52 5 3 1 Stations IMitialiZathOn sz Em 52 5 3 2 Data acquisition by 0
60. X m 2 0x0401 X m 2 0x000401 3 9 X m 3 1025 X m 3 1025 X m 14 OxOF X m 2046 OxO7FE X m 2046 0x0007FF X m 15 15 X m 2047 2047 X m 2047 2047 Table 6 SIXNET X pairs to IEC M_DP_NA_1 object mappings Configurable The actual number of SIXNET X register pairs that can be mapped to M_DP_NA_1 objects can be lower depending on how many X registers have been mapped to other compatible IEC types see Table 1 and I O database capacity m Configured starting SIXNET X address of the M DP NA 1 mapped block SIXNET Y Registers to IEC M DP NA 1 Object Mapping 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET M DP 1 SIXNET M DP 1 SIXNET M DP 1 Registers IOA Registers IOA Registers IOA Y n OxBO Y n 0x5800 Y n 0x5800 Y n 1l 176 Y m 1 22528 Y nl 22528 Y n 2 OxB1 Y n 2 0x5801 Y n 2 0x5801 Y n 3 177 Y n 3 22529 Y n 3 22529 Y n 14 OxB7 Y n 2046 Ox5BFF Y n 2046 Ox5BFF Y n 15 189 Y n 2047 23551 Y n 2047 23551 Table 7 SIXNET Y pairs to IEC M DP NA 1 object mappings Configurable The actual number of SIXNET Y registers that can be mapped to M DP NA 1 objects can be lower depending on how many Y registers have been mapped to other compatible IEC types see Table 1 and
61. address length SIXNET AY Registers to IEC C RC NA 1 Objects Mappings 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET C RC NA 1 SIXNET C RC NA 1 SIXNET C RC NA 1 Register IOA Register IOA Register IOA Y m OxB8 Y 0x5C00 Y m 0x005C00 Y m 1 184 Y m 1 23552 Y m 1 23552 Y m 2 0 9 Y m 2 0x5C01 Y m 2 0x005C01 Y m 3 185 Y m 3 23553 Y m 3 23553 Y m 14 OxBF Y m 2046 Ox5FFF Y m 2046 0 005 Y m 15 191 Y m 2047 24575 Y m 2047 24575 Table 26 SIXNET Y to IEC C RC NA 1 object mappings e Configurable The actual number of SIXNET Y register pairs that can be mapped to C RC NA 1 objects can be lower depending on how many Y registers have been mapped to other compatible IEC types see Table 1 and database capacity m Configured starting SIXNET Y address of the C RC 1 mapped block IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 43 Preliminary Rev r03 11 5 2008 SIXNET AY registers mapped to an IEC 60870 5 101 104 C RC NA 1 Regulating Step Command point will be controlled by sending to the IPm the following information object Regulating Step Command State RCS Bits 0 1 00 Not permitted 01 Next Step LOWER 10 Next Step HIGHER 11 Not permitted Qualifier QU Bits 2 6 See below and Table 24 0 No addition
62. al Definition 1 Short Duration Pulse 2 Long Duration Pulse 3 Persistent Output 4 31 Not implemented Reserved e Select Execute S E Bit 7 0 Execute 1 Select See Table 24 Supported Command Qualifiers for details on how the SIXNET IPm IEC 6 0870 5 101 104 implements and supports the command qualifiers QU field 5 2 4 6 Regulating Step Command with time tag C RC TA 1 IEC 60870 5 104 only This obj ect type operates the same as C RC 1 obj ects se e 5 2 4 5 with the followin 9 exception Upon reception of a RC TA 1 command the IPm compares the time tag included in the C RC TA 1 object with the date and clock time of reception at the IPm in order to calculate the transmission delay of the command If the transmissio n delay exceeds the maximum allowable delay configurable on a p er station basis the command is ignored The 1 time tag contains the time at which the command is initiated in the controlling station IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 44 Preliminary Rev r03 11 5 2008 5 2 4 7 Setpoint Command Normalized Value SE NA 1 One block of up to 1024 8 for 1 byte information object address see Table 2 of contiguous IEC 60870 5 101 104 C SE NA 1 Setpoint Com mand Normalized Value objects can be defined and ma pped to SIXNET AY registers within any given IPm station The starting address of th e mapped SIXNET AY regist er block i e the addre ss of the first mapped
63. ameter description 63 6 2 2 SxIPmStation Section parameter 63 6 2 3 DataLinkLayer Section parameter 63 6 2 4 ApplicationLayer Section parameter description 66 6 2 5 M SP 1 Section parameter 67 6 2 6 M DP 1 Section parameter 69 6 2 7 M ST 1 parameter 70 6 2 8 M ME 1 Section parameter description 72 6 2 9 M NB 1 Section parameter description 73 6 2 10 M ME 1 Section parameter 74 6 2 11 IT 1 Section parameter 75 6 2 12 C SC 1 Section parameter description 76 6 2 13 C DC 1 Section parameter description 78 6 2 14 C RC 1 Section parameter description 79 6 2 15 C SE 1 Section parameter description 81 6 2 16 C SE NB 1 Section parameter description 83 6 2 17 C SE NC 1 parameter
64. ault deadband for event reporting DeadBand 1 32767 Integer Note If M ME 1 section exists same setting in M ME NA 1 section will override this setting If monitor M ME NA 1 objects 0x00000000 are enabled This parameter GM0000 defines the group reporting mask OxFF81FFFF for the first mapped point point number 0000 See Table 38 If monitor M ME NA 1 objects 0x00000000 are enabled This parameter SMS defines the group reporting mask OxFFe1FFFF for the last mapped point See Table 38 Table 48 C SE 1 section parameters Determined by Size parameter 6 2 16 C SE NB 1 Section parameter description Section Item Key Range Type Description This parameter specifies the number of SE NB 1 objects that will be mapped to AY registers Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 If 0 no C SE NB 1 objects will be mapped to AY registers Size 0 to 1024 This parameter specifies the FirstAY 0 8192 SIXNET address of the first AY register mapped to the block This parameter specifies if MonitorM ME Yes No M ME NB 1 monitor objects will be mapped IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 83 Preliminary Rev r03 11 5 2008 Section Item Key Range Type Description MonitorEvents Yes No If monitor M ME NB 1 objects are mapped this paramet
65. b lock has the following IEC information object address OxD8 if length of Information Object Address is 1 octet e 0x6CO00 if length of Information Object Address is 2 octets e 0 006 00 if length of Information Object Address is 3 octets For eachC SE NB 1 Setpoint Command S caled Valu e o bject aM NB 1 Monitored Scale d Measured Value inform ation obje ct will be create d and ma pped to the sam e AY registe r in ord er to provide for monitoring capabilities to C SE NB 1 o bjects For fu rther information regarding addressing scheme and how to access the monitoring objects please refer to paragraph 5 2 3 5 and Table 18 The number of SIXNET AY registe rs mapped to C SE NB 1 Setpoint Command Scaled Value objects is configurable Ifthe ser sets the nu mberof C SE NB bjects m apped to SIXNET AY gistersto 0 n C SE NB 1 objects will exist within th e IPm nor SIXNET AY re gisters will be mapped to M ME objects 1 The following table shows the actual mapping addressing scheme for C SE NB 1 objects as a function of the configured IEC information object address length SIXNET AY Registers to IEC C SE NB 1 Objects Mappings 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET C SE NB 1 SIXNET C SE NB 1 SIXNET C SE NB 1 Register IOA Register IOA Register IOA OxD8 0x6C00 0x6C00 AY
66. be reported cyclic in group 1 and in general requests GM0003 0x00010003 point 4 will be event reported in group 1 16 and in general requests M ST NA 1 Size 8 Number of IEC objects in this category Starting addresses of SIXNET registers mapped block FirstAX 22 Analog part when Mixed Analog Discrete input interfacing FirstX 28 Discrete part when Mixed Analog Discrete input interfacing or Discrete positon input when Discrete input mode IEC 60870 Slave Protocol Driver V2 0 0 Page 90 Preliminary Rev r03 11 5 2008 AnalogMode Yes Interfacing type No Discrete input interfacing 8 discrete bits Bits 0 6 position two s complement binary Bit 7 transient bit Yes Analog input interfacing discrete transient bit AX is position value Integer 64 to 63 X is transient bit EventPrio 2 Event reporting priority 0 highest EventReportAs M ST TB 1 ID used to report events GMO000 0x00000003 point 41 will be event reported in group and in general requests GMO001 0x00000003 point 2 will be event reported in group and in general requests 0002 0x00000003 point 3 will be event reported in group and in general requests GM0003 0 00000003 point 4 will be event reported in group and in general requests GM0004 0x00000003 point 5 will be event reported in group and in general requests GM0005 0x00000003 point 6 will be even
67. bjects can be lower depending on how many LY registers have been mapped to other compatible IEC types see Table 1 and database capacity m Configured starting SIXNET LX address of the M IT NA 1 mapped block LX SIXNET registe rs m apped as IEC 6080 70 5 101 104 M IT 1 Monitored Integ rated Total p oint Information points will be reported as follows Counter Value BCR e Sequence SQ e Carry CY e Adjusted CA e Invalid IV Bits 0 31 Counter Value 32 Bit Integer 2 2 1 Bits 32 36 0 0 31 Bit 37 0 No carry Bit 39 0 Valid Bit 38 Set when counter is reset 5 2 3 8 Normalized Measured Value without quality descriptor M_ME_ND_1 Same as the mapping type described in paragraph 5 2 3 4 but without quality descriptor byte IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 38 Preliminary Rev r03 11 5 2008 5 2 4 Supported IEC 60870 5 101 104 Command Types 5 2 4 1 Single point Command C SC 1 One block of up to 1024 8 for 1 byte information object address see Table 2 of contiguous IEC 60870 5 101 104 NA 1 Single Point Com mand i nformation o bjects can b e defin ed and map ped to SIXNET Y registers within any given IPm station The starting address of the mapped SIXNET Y blo ck i e the a ddress of the f irst mapped Y register as well as the number of NA 1 objects i e the number of mapped Y registers are configurable
68. cts events C CS NA 1 to the controlling station when a change hour event of the IPm calendar clock occurs The driver supports priority based event reporting Different reporting priorities can be assigned to M SP M DP and M ME events at configuration time Eight 8 priority levels for event reporting ranging from 0 to 7 are available to the user The level 0 has the highest priority Each supported event reporting IEC 60870 5 101 104 type can be assigned to any of the available priority levels at configuration time Events with higher priorities are reported first Events with the same priority level assignment are reported in chronological order It is recommended to assign priorities by object type i e do not assi gn the same priority level to more than one object type Follo wing this re commendation will maximize the packing of objects in fewer ASDUs when reporting events thus improving performance 5 3 5 General Interrogation The SIXNET IPm IEC 60870 5 101 104 driver implements the General Interrogation function as defined in IEC 60870 5 101 7 4 5 The driver responds to controlling station s interrogation requests via C IC NA 1 ASDU messages The driver accepts global and group 1 16 interrogation requests Qualifier of interrogation 20 and 21 to 36 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 53 Preliminary Rev r03 11 5 2008 Mapped monitored IEC 60870 5 101 104 objects can be assigned at configuration time to a
69. d to control 16 bit data area with a WRITE an analog device range of Q9 2 94 Setpoint Command Short Float Short floats 7 2 6 8 Value are stored in a double C SE NC 1 50 7 32 6 This command is used to control 32 bit data area WRITE an analog device or computation in IEEE STD 754 format IPm IEC 60870 Slave Protocol Driver V2 0 0 Table 1 Supported IEC 60870 5 data types Page 11 Preliminary Rev 03 11 5 2008 5 2 SIXNET I O to IEC 60870 5 Point Mappings 5 2 1 General Every register within the IPm Database can be mapped into supported IEC 60870 5 data types as described in Table 1 Due to the high amount of I O registers available within the IPm database and therefore the high amount of IEC 60870 5 data points that can be made available to master devices response messages to master group read requests can b ecome very large in size In order to limit the size of response messages the user is given the ability to limit per IEC 60870 5 data type the number of points availabl e in the IEC 60870 5 virtual database This feature is configurable in the SIXNET Tool Kit using the SIXNET IPm IEC 60870 5 Slave Driver configuration add on IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 12 Preliminary Rev r03 11 5 2008 5 2 2 Supported IEC 60870 5 101 104 Object Types The SIXNET IPm IEC 60 870 5 101 104 Slave Driver supports the follo wing 60870
70. database using standard control messages supported in the protocol 5 4 1 Communications Setup Before the S IXNET IPm IEC 6 0870 5 101 104 Slave Dr iver can exchan ge req uests with a ma ster station a number of run time communications parameters must be properly configured to match those of the master station The SIXNET To ol Kit add on configuration tool for th e SIXNET IPm IEC 6 0870 5 101 104 Slave Drive rovides the u ser with th e ability to define and configure such run time driver communications parameters The follo wing com munications parameters can be config ured with the SIXNET I O To ol Kit add o n configuration tool for the SIXNET IPm IEC 60870 5 101 104 Slave Driver e Data Link communi cations M ode of Ope ration Serial rt 101 o rT CP 10 4 based communications e Serial Port to attach to the driver for Serial Port 101 mode of operation e Data Link Layer Services as per IEC 60870 5 101 Serial port based communications and IEC 60870 5 104 LAN WAN based communications over TCP 5 4 2 Real Time Data Trace The IPm IEC 608 70 5 101 104 Slave Driver can be configured to generate real time data trace of every Master Slave transa ction for diagn osis and deb ugging purpo ses The real ti me comm unications data traces b e enabled disabled at any time from the SIXNET I O Tool Kit Configuratio n add on and its ASCII output can be redirected either to a text file wi thin the IPm file system f
71. dress IOA of the first created P ME NB 1 parameter object is 0x48 if length of Information Object Address is 1 octet 0x2400 if length of Information Object Address is 2 octets e 0x002400 if length of Information Object Address is octets In addition to the P ME 105 ect the SIXNET driver cre ates automat ically three ME NB 1 objects in order to provide for monitoring capabilities of the current values of threshold high limit and low limit parameters The info rmation obje ct ad dress of the firs t created M ME NB 1 monitoring th e asso ciated Threshold parameter is e 0x50 if length of Information Object Address is 1 octet 0x2800 if length of Information Object Address is 2 octets 0x002800 if length of Information Object Address is 3 octets The information object address of the first created M ME NB 1 for monitoring the associated High Limit parameter is 0x58 if length of Information Object Address is 1 octet 0x2C00 if length of Information Object Address is 2 octets e 0 002 00 if length of Information Object Address is 3 octets IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 31 Preliminary Rev r03 11 5 2008 The information object address IOA of the first created M ME NB 1 for monitoring the associated Low Limit parameter is 0x60 if length of Information Object Address is 1 octet e 0x3000 if length of Information Object Address is 2 octets e 0x003000 if length of Informa
72. ds the pre configured maximum value the OV bit in the quality descriptor byte will be set The quality descriptor byte will be reported as described in paragraph 5 2 3 3 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 30 Preliminary Rev r03 11 5 2008 5 2 3 5 Scaled Measured Value M ME 1 One block of up to 1024 8 for 1 byte information object address see Table 2 contiguous IEC 60870 5 101 104 ME 1M onitored Sca led Mea sured Value Information obj ects canbe defined an d mapped to SIXNET AX registers within any given IPm station The starting address of the mapped SIXNET AX block i e the address of the first mapped AX register as well as the number of M ME NB 1 objects i e the number of mapped AX registers are configurable The first configured M ME NB 1 object mapped to AX registers within the block has the following IEC information object address e 0x40 if length of Information Object Address is 1 octet 0x2000 if length of Information Object Address is 2 octets e 0x002000 if length of Information Object Address is octets Each AX mapped M ME 1 object has an associated P ME NB 1 parameter of measured value that can be used by the master station in the control direction to configure the Threshold deadband value of variation from the last re ported event value to generate events The su pported P ME NB 1 parameter qualifiers are shown in Table 12 Parameter qualifiers The information object ad
73. e 25 Table 11 M ST NA 1 object mappings for monitoring C NA 1 Digital step position mode 25 Table 12 Parameter qualifiers 2 edet ed dea Da ee de de ce edo d 27 Table 13 SIXNET AX to IEC M ME 1 object mappings 1 octet 29 Table 14 SIXNET AX to IEC M ME NA 1 object mappings 2 and 3 octets 29 Table 15 SIXNET AY to IEC M ME NA 1 object 8 0000 0000000 ee 30 Table 16 SIXNET AX to IEC M ME NB 1 object mappings 1 octet 32 Table 17 SIXNET AX to IEC M ME NB 1 object mappings 2 and 3 octets 33 Table 18 SIXNET AY to IEC M ME NB 1 object 8 2 002 0 000000 0 0 33 Table 19 SIXNET FX to IEC M ME NC 1 object mappings 1 octet 36 Table 20 SIXNET FX to IEC M ME NC 1 object mappings 2 and 3 octets 36 Table 21 SIXNET FY to IEC M ME NC 1 object 37 Table 22 SIXNET LX to M IT 1 object 38 Table 23 SIXNET Y to IEC C SC 1 object
74. e SVA Bits 0 15 2 2 1 32768 32767 16 Bit Integer Value The IEC 608070 5 101 Slave Driver will convert the value of the mapped SIXNET I O register to a 16 Bit integer value If the current value of the variable cannot be represented as a 16 Bit Integer value the OV bit in the quality descriptor byte will be set The quality descriptor byte will be reported as described in paragraph 5 2 3 3 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 33 Preliminary Rev r03 11 5 2008 5 2 3 6 Short floating point measured value M NE 1 One block of up to 1024 8 for 1 byte information object address see Table 2 contiguous IEC 60870 5 101 104 M ME NC 1 Monitored Measured Value Short Floating Point Num ber Information objects can be defined and mapped to SIXNET FX registers within any given IPm station The starting address of the mapped SIXNET FX block i e the address of the first mapped FX register as well as the number of M ME NC 1 objects i e the number of mapped FX registers are configurable The first configured M ME NC 1 object mapped to FX registers within the block has the following IEC information object address 0x68 if length of Information Object Address is 1 octet 0x3400 if length of Information Object Address is 2 octets e 0x003400 if length of Information Object Address is octets Each FX mapped M ME NC 1 object has an associated P ME NC 1 parameter of measured value that can be used by
75. e 5 2 4 9 with t he follo wing exception Upon reception of a C SE TB 1 command the IPm compares the time tag included in the C SE TB 1 object with the date and clock time of reception at the IPm in order to calculate the transmission delay of the command If the transmissio n delay exceeds the maximum allowable delay configurable on a p er station basis the command is ignored The C SE TB 1 time tag contains the time at which the command is initiated in the controlling station IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 48 Preliminary Rev r03 11 5 2008 5 2 4 11 Setpoint Command Short Floating Point Value C SE NC 1 One block of up to 1024 8 for 1 byte information object address see Table 2 of contiguous IEC 60870 5 101 104 C SE NC 1 Setpoint Co mmand Sh ort Floating P oint Value objects can be define d a nd mapped to SIXNET FY registers within any given IPm station The starting address of the mappe d SIXNET FY re gister block i e the address of the first mapped FY register as well as the number of C SE NC 10bjects i e the number of mapped FY registers configurable The first configured C SE NC 1 Setpoint Command Short Floating Point Valu e object within the blo ck has the following IEC information object address IOA e OxE8 if length of Information Object Address is 1 octet 0x7400 if length of Information Object Address is 2 octets 0x007400 if length of Information Object Address is 3 octets Fo
76. e ability to configure at least the following e Mapping of Supported IEC 60870 5 101 data objects to SIXNET IPm database I O registers Communication m ode Serial Port based IEC 60870 5 101 or TCP IP based IEC 60870 5 104 e Communications parameters Baud rate timeouts retries etc The communications between the Configuration Add On and the Run Time module shall be via an ASCII text file generated and maintained by the Configuration Add On and downloadable to the IPm stations by the means of the User Files download function of the SIXNET Tool Kit The configuration Add On prog ram shall ma ke u se ofall current sxaddon dll functio ns rder to automate a s long a s possible the configuration process In pa rticular the co nfiguration a dd on shall perform at least the following functions e Read the list of IPm stations defined in the current project e Maintain an ASCII configuration file for every station that has an IEC 60870 5 driver installed and configured e If required maintain master IEC 60870 5 ASCII configuration file for the whole SIXNET I O Tool Kit project e Allow the user to selecta particular station from the project station list and to define it s IEC 60870 5 101 slave driver configuration e Once the user selects a station to configure allow the user to define the run time slave driver communications mode IEC 608070 5 101 or 104 and parameters e Automatically upd ate the Comm
77. e information input i e the address of the first mappe d X register as wellas the number ofM ST 1objects i e the numb er of mappe d X registe rs configurable Eight 8 X registers must be allocated per M ST NA 1 object The first conf igured M ST NA 1 Step Point Information obje ct within the blo ck has the fol lowing IEC information object address e 0x10 if length of Information Object Address is 1 octet e 0x0800 if length of Information Object Address is 2 octets e 0x000800 if length of Information Object Address is 3 octets Also If any C NA 1 regulating step command information objects register block have been mapped to Y register pairs see 00 the user must also create one block of up to 1024 8 for 1 byte information object address see Table 2 of contiguous M ST NA 1 step point information objects in a M ST NA 1 object per RC 1 object basi s in orderto provide for m onitoring ca pabilities to C RC NA 1 regulating step command objects and then map the so created M ST 1 either to their own sets of contiguous AX X register pairs if the driver has been configured in the Analog step position information mode or to their own sets of contiguous groups of eight 8 X registers if the driver has been configured in the digital step position information mode The first conf igured M ST NA 1 step point information object provided for m onitoring of C RC NA 1 regulating step command information objec
78. e information object address of the first created M ME NC 1 for monitoring the associated Low Limit parameter is 0x88 if length of Information Object Address is 1 octet 0x4400 if length of Information Object Address is 2 octets e 0x004400 if length of Information Object Address is octets Also If any C SE NC 1 S etpoint Command Short Float ing Point Value information obje cts block ha s been map ped to FY registers see 5 2 4 11 one block of up to 1024 8 for 1 byte information object address see Table 2 of contiguous M ME NC 1 objects will be mapped to the sa me FY registers in order to provide for monitoring capabilities to SE NC 1 setpoint command scaled value information objects The first configured M ME NC 1 object provided for monitoring of C SE NC 1 command information objects has the following IEC information object address IOA OxFOif length of Information Object Address is 1 octet 0x7800 if length of Information Object Address is 2 octets 0x007800 if length of Information Object Address is octets The numb ers of SIXNET FX and FY registe rs mapped ME NC 1information objectsa re independently configurable If the user sets the number of M ME NC 1 objects mapped to SIXNET FX registers to 0 no SIXNET FX registers will be reported as M ME 1 objects by the IPm o ME NC 1 parameter objects will exist within the IPm If the user se ts the numberof C SE NC 1 Setpoi nt Command Sh
79. e point Informatio n o bjects ca n b e defined a nd mapped SIXNET X registers within any given IPm station One X register p air two contiguous X regi sters will be ma pped per eachM DP NA 1 double point information object The starting address of the mappe d SIXNET X block i e the addre ss ofthe first X registe r of the first mapped X register p air as well a s the number of M DP NA 1 objects i e the numbe of mapped X register pairs are configurable The first configured M DP NA 1 Double Point Information object within the block which is mapped to the first X register pair has the following IEC information object address IOA 0x08 if length of Information Object Address is 1 octet e 0x0400 if length of Information Object Address is 2 octets e 0x000400 if length of Information Object Address is 3 octets Also If any C DC NA 1 double control objects block has been mapped to Y registers pairs see 5 2 3 2 one block of up to 1024 8 for 1 byte information object address see Table 2 of contiguous M DP NA 1 Single Point Information variabl es will be ma ppedto same Y registe r p airs in o rder to provide for monitoring capabilities to C DC NA 1 discrete output control objects The first configured M DP NA 1 control monitoring double point Information object has the following IEC information object address IOA OxBO if length of Information Object Address is 1 octet e 0x5800 if length of Information Object Address is 2
80. ects per row At least t he following information columns shall be displayed for each mapped SIXNET Register IE C Informatio n Obje ct Ad dress Sixnet I O Address SIXNET Tag Na me SIXNET Module Name SIXNET T ag Descriptor and IEC Group Reporting Mask Bits Th e form shall allow the user to select any mapped object row and to open a dialog box to configure the G roup Reporting Mask Bits T he Group Reporting Mask Bits configuration dialog box shall contain 24 check boxes one che ck box per roup Reporting Mask Bit se e Table 38 Each row the mapped object list shall generate a GMxxxx entry in the corresponding IEC object type section whose value shall reflect the G roup Mask Bits value in hexad ecimal format see Ta ble 37 Table 38 and section 6 3 Sample Configuration File The default value for th e Group Mask Bits shall be 0x00000001 All the forms that make part of the configuration tool shall be org anized in a hierarchical tree or tabbed fashion IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 61 Preliminary Rev r03 11 5 2008 6 2 Configuration File format The sxiec60870drv ini file contains the following sections Section Description General info rmation not used by the General driver For information purpose only Debugging trace output SxIPmStation configuration and time synchronization configuration Configuration of Link Layer parameters su ch as statio
81. ed Qualifier QU Bits 2 6 See below and Table 24 0 No additional Definition 1 Short Duration Pulse 2 Long Duration Pulse 3 Persistent Output 4 81 Not implemented Reserved e Select Execute S E Bit7 O0 Execute 1 Select See Table 24 Supported Command Qualifiers for details on how the SIXNET IPm IEC 6 0870 5 101 104 implements and supports the command qualifiers QU field 5 2 44 Double point Command with time tag DC TA 1 IEC 60870 5 104 only This obj ect type operates the same as C DC NA 1 obj ects se e 5 2 4 3 with the followin g exception Upon reception of a C DC TA 1 command the IPm compares the time tag included in the C DC TA 1 object with the date and clock time of reception at the IPm in order to calculate the transmission delay of the command If the transmissio n delay exceeds the maximum allowable delay configurable on a p er station basis the command is ignored The C DC 1 time tag contains the time at which the command is initiated in the controlling station IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 42 Preliminary Rev r03 11 5 2008 5 2 4 5 Regulating Step Command C RC 1 One block of up to 1024 8 for 1 byte information object address see Table 2 of contiguous IEC 60870 5 101 104 C RC NA 1 Regulating Step Command information objects can be defined and map ped to SIXNET Y register pairs within any given IPm station two Y registers mapped per C NA 1 objec
82. ed FX Parameter Threshold High Limit Low Limit 0 3400 0 3800 0x3C00 0x4000 0x4400 13312 14336 15360 16384 17408 FX n 1 0x3401 0x3801 0x3C01 0x4001 0x4401 13313 14337 15361 16385 17409 E Ox37FF Ox3BFF Ox3FFF Ox43FF 4 7 10231 14335 15359 16383 17407 18431 Table 20 SIXNET FX to IEC M ME 1 object mappings 2 and 3 octets Configurable The actual number of SIXNET FX registers that can be mapped to M ME NC 1 objects can be lower depending on how many FX registers have been mapped to other compatible IEC types see Table 1 and database capacity n Configured starting SIXNET FX address of the M ME NC 1 mapped block IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 36 Preliminary Rev 03 11 5 2008 SIXNET AY Registers to IEC M ME NC 1 Object Mappings 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET M ME NC 1 SIXNET M ME NC 1 SIXNET M ME NC 1 Register IOA Register IOA Register IOA 0 0 0 7800 0 007800 PET 240 30720 FY m 30720 OxF1 0x7801 0x007801 FY m 1 241 FY m 1 30721 FY m 1 30721 a OxF7 Ox7BFFE 0x007BFF FY m 7 247 m 1023 31743 m 1023 31743 Table 21 SIXNET FY to IEC M ME NC 1 object mappings Configurable The actua
83. eported in chronological order M ST NA 1 or This parameter defines the type EventReportAs M ST TA 1 ID used to report IEC 60870 5 101 M ST change events or M ST TB 1 This parameter defines the group 0x00000000 reporting mask for the first OxFF841FFFF mapped point point number 0000 See Table 38 GM0000 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 71 Preliminary Rev r03 11 5 2008 Section Item Key Range Type Description 0x00000000 This parameter defines the group GM Size reporting mask for the last OxFF81FFFF mapped point See Table 38 Determined by 5 parameter 6 2 8 M ME NA 1 Section parameter description Table 40 M ST NA 1 section parameters Section Item Key Range Type Description Size 0 to 1024 This parameter specifies the number of M ME 1 objects that will be mapped to AX registers Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 If 0 noM ME 1 objects will be mapped to AX registers FirstAX 0 8192 This parameter specifies SIXNET address of the first AX register mapped to the block EventPrio 0 7 This parameter defines the reporting priority assigned to M ME NA events 0 highest Highest priority events will be reported first Events of same IEC 60870 5 101 type assigned to the same priority are re
84. er specifies if they will generate events EventPrio If monitor M ME NB 1 events are enabled this parameter defines the reporting priority assigned to M ME NB events 0 highest Highest priority events will be reported first Events of same 1 60870 5 101 type assigned to the same priority are reported in chronological order Note If M ME NB 1 section exists same setting in M ME NB 1 section will override this setting EventReportAs M ME NA 1 or M ME TB 1 or M_ME_TE_1 If monitor M ME NB 1 events are enabled this parameter defines the type ID used to report IEC 60870 5 101 M ME NB change events Note If M ME NB 1 section exists same setting in M ME NB 1 section will override this setting DeadBand 1 32767 Integer Default deadband for event reporting Note If M ME NB 1 section exists same setting in M ME NB 1 section will override this setting GM0000 0x00000000 OxFF81FFFF If monitor M ME NB 1 objects are enabled This parameter defines the group reporting mask for the first mapped point point number 0000 See Table 38 GM Size 0x00000000 OxFF81FFFF If monitor M ME NB 1 objects are enabled This parameter defines the group reporting mask for the last mapped point See Table 38 Determined by Size parameter IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 84 Table 49 C SE NB 1 section parameters P
85. eri s configurable by th e mea ns of a Microsoft Windows based configuration add on tool which is integrated to the SIXNET Tool Kit via the SIXNET s sxaddon dll lib rary Using the configuration tool the user has th e ability to configure the following e Mapping of Supported IEC 60870 5 101 data objects to SIXNET IPm database I O registers Communication mode Serial Port based IEC 60870 5 101 or TCP UDP IP based IEC 60870 5 104 e Communications parameters Baud rate timeouts TCP port etc The communications between the Configuration Add On and the Run Time module is done via an ASCII text file generated and maintained by the Configuration Add On and downloadable to the IPm stations by the means of the User Files download function of the SIXNET Tool Kit The configuration Add On program makes use of all current sxaddon dll functions in order to automate as long as possible the configuration process In p articular the configuration add on perform the follo wing functions e Read the list of IPm stations defined the current project e Maintain an ASCII config uration file fo every station that has a n IEC 60 870 5 101 104 d river installed and configured e Maintain a master ASCII configuration file for the whole SIXNET I O Tool Kit project e Allow the user to selecta particular station from the project station list and to define it s IEC 60870 5 101 104 slave driver configuration e Allow the user
86. ers to 0 oM SP NA 1 Single point information objects at all will exist within the IPm The following tables show the actual mapping addressing scheme for M SP NA 1 objects as a function of the configured IEC information object address length SIXNET X Registers to IEC M SP NA 1 Object Mapping 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET M SP NA 1 SIXNET M SP NA 1 SIXNET M SP NA 1 Register IOA Register IOA Register IOA 0x00 0x0000 0x000000 X n 0 X n 0 X n 0 0x01 0x0001 0x000001 X n 1 1 X n 1 1 X n 1 0x07 x OxO3FE re 0x0003FF X n 7 7 X n 1023 1023 X n 1023 1023 Table 4 SIXNET X to IEC M_SP_NA_1 object mappings Configurable The actual number of SIXNET X registers that can be mapped to M_SP_NA_1 objects can be lower depending on how many X registers have been mapped to other compatible IEC types see Table 1 and I O database capacity n Configured starting SIXNET X address of the M_SP_NA_1 mapped block SIXNET Y Registers to IEC M_SP_NA_1 Object Mapping 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET M SP NA 1 SIXNET M SP NA 1 SIXNET M SP NA 1 Register IOA Register IOA Register IOA 0xA0 0x5000 0x005000 TUM 160 srm 20480 Tim
87. est EventReportAs M ME TE 1 Type ID used to report events DeadBand 2 Default deadband for event reporting GMO000 0x80000003 point 41 will be reported cyclic in group 1 and in general requests GM0001 0x80000003 point 2 will be reported cyclic in group 1 and in general requests GM0002 0x80000003 point 3 will be reported cyclic in group 1 and in general requests GM0003 0x00000005 point 4 will be event reported in group 2 and in general requests GM0004 0x00000009 point 5 will be event reported in group 3 and in general requests IEC 60870 Slave Protocol Driver V2 0 0 Page 91 Preliminary Rev 03 11 5 2008 0005 0006 0007 M ME Size 8 FirstFX EventPrio EventRepo DeadBand 0000 0001 0002 0003 0004 0005 0006 0007 M IT Size 8 FirstLX EventPrio EventRepo Mode FreezeTim EvtFrozen and D 0000 0001 GM0002 0003 0004 0005 0006 GM0007 SC Size 8 FirstY MonitorM MonitorEv EventPrio EventRepo 0000 0 00000011 0x00000021 0 00010003 1 0 i 5 rtAs M ME TF 1 0 5 0 80000003 0 80000003 0x80000003 0x00000005 0x00000009 0x00000011 0 00000021 0x00010003 1 0 6 rtAs M IT TB 1 er 5000 ChgOnly Yes 0x00060000 0x000A0000 0x00120000 0x00220000 0x000
88. figuration tool requirements specifications and sample INI file sections 06 16 07 3 GMS Updated after implementation of the first release of the run time driver IPm part to SIXNET driver version 2 0 0 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 6 Preliminary Rev r03 11 5 2008 4 Introduction The purpose of this do cument is to d escribe the preliminary specifications of the IEC 6 0870 5 101 104 Slave Protocol Driver for the SIXNET IPm family of open controllers and RTUs The IEC 60 870 5 101 104 slave driver for SIXT RAK and VERS ATRAK IPm controlle rs implements a SLAVE device function It has been designed to enable data exchange with all types of I O within the devices and to obtain the maximum advantage of IP m features while providing full com pliance with IEC 60870 5 101 104 standards The IEC 60870 5 101 1 4 slave is highly configurable It include s a Windows configuration utility which integrates into the SIXNET I O Tool Kit The configur ation utility is callabl e from the ools Menu of the SIXNET I O Tool Kit and enables the user to completely define and customize the run time behavior of the slave driver The SIXNET IPm Slave protocol driver implements the following IEC 60870 5 standard parts IEC 60870 5 101 Basic telecontrol tasks e IEC 60870 5 104 TCP IP Network access for IEC 60870 5 101 The IEC 60870 5 101 1 04 protocol provides a standardized way to co mmunicate with oth er systems IEC
89. hest priority events will be reported first Events of same IEC 60870 5 101 type assigned to the same priority are reported in chronological order IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 74 Preliminary Rev r03 11 5 2008 Section Item Key Range Type Description M ME NC 1 A This parameter defines the type EventReportAs M ME TC 1 ID used to report IEC 60870 5 101 M ME NC change events M ME TF 1 Floating Point Default deadband for event Number reporting This parameter defines the group 0x00000000 reporting mask for the first GM0000 OxFF841FFFF mapped point point number 0000 See Table 38 0x00000000 This parameter defines the group GM Size reporting mask for the last OxFF81FFFF mapped point See Table 38 Table 43 M ME NC 1 section parameters Determined by Size parameter 6 2 11 M IT NA 1 Section parameter description Section Item Key Range Type Description Size 0 to 1024 This parameter specifies the number of M IT NA 1 objects that will be mapped to LX registers Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 no M IT 1 objects will be mapped to LX registers FirstLX 0 8192 This parameter specifies SIXNET address of the first LX register mapped to the block IPm IEC 60870 Slave Protocol Driver V2
90. io has been extracted from the ginal IEC 60870 5 104 document section 9 an d has been filled up to reflect the i nteroperability data of the SIXNET IEC 60870 5 104 Slave Proto col Driver The paragraph numbering scheme of the origina document source has been maintained to ea se the comparison oft his spe cification again st other systems specifications for interoperability issues assessment and resolution SI XNET I EC60870 5 104 1 nteroperability IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 97 Preliminary Rev r03 11 5 2008
91. ion The fo rm shall include buttons for Saving Applying or celing cha nges to the stations DataLinkLayer INI file section If th e user selects 101 link layer communications mode serial port based a serial port selection list shall be presented to the user In this case when the user saves the configuration values for this form the configuration tool shall automatically update the Communication Port Settings assignments in the SIXNET Tool Kit station s configuration A form to display maintain and configure the application layer parameters specified in the INI file s ection ApplicationLayer forthe selected station The form shall include buttons for Saving Applying or Can celing anges to the station S ApplicationLayer INI file section Aformo setofform stodi splay maintain configu the obje ct mapping parameters spe cified in each one of the IEC 60 870 5 101 104 obj ect mapping an d configuration INI file se for the selected station Se ctions M SP NA 1 M DP NA 1 M ST NA 1 M ME NA 1 M ME NB 1 M ME NC 1 M IT NA 1 C SC 1 C DC NA RC NA 1 C SE NA 1 C SE C SE 1 A form callable from the o bject mapping parameters configuration form to display the list of SIXNET registe rs mapped to the corresponding IEC 60 870 5 101 04 typ e The list shall display one mapp ed SIXNET register gister p air for M S DCIEC obj
92. irstX Number This parameter specifies SIXNET address of the first X register mapped to the block EventPrio 0 7 This parameter defines the reporting priority assigned to M SP events 0 highest Highest priority events will be reported first Events of same IEC 60870 5 101 type assigned to the same priority are reported in chronological order EventReportAs M SP 1 or M SP 1 or M SP TB 1 This parameter defines the type ID used to report IEC 60870 5 101M SP change events GM0000 0x00000000 OxFFFFFFFF This parameter defines the group reporting mask for the first mapped point point number 0000 See Table 38 GM Size 0x00000000 OxFFFFFFFF This parameter defines the group reporting mask for the last mapped point See Table 38 Determined by Size parameter The follo wing table d efines the group reporting assignments con figuration The configuration tool shall generate the appropriate mask for each mapped point Table 37 M SP NA 1 section parameters GROUP MASK DESCRIPTION 0x00000001 Interrogated by general interrogation station or global 0x00000002 Interrogated by group 1 interrogation IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 68 Preliminary Rev 03 11 5 2008 Freeze and Reset counter 1 Freeze counter 0 Table 38 Group Reporting Mask Bits definition 6 2 6 M DP 1 Section parameter desc
93. ital Step Position Mode In this mo de both the step p osition and th e transient bit are read from a co ntiguous blo ck of eight 8 X regi sters so eight contig uous 8 X registe rs must be mapped for each M ST NA 1 information object The first seven 7 X register are interpreted as the step position information in 2s complement binary representation 64 to 63 values and the eighth 8 n bit is the Transient State bit One block of up to 1024 8 for 1 byte information object address see Table 2 contiguous IEC 60870 5 101 104 M ST NA 1 Monitored Step Point Information variables can be defined and mapped to SIXNET AX and X register p airs when the drive r is co nfigured in the anal og step p osition mode or to blocks of eight 8 X registers when the driver is configured in the binary encoded digital step position mode When the driver is config ured in the analog ste p position mo de the sta add ress of the ma pped SIXNET AX block for position information input and the starting address of the SIXNET X block f or transient state input i e t he address of the first ma pped AX X registe r pair as well as the number of M ST 1 objects i e the number of mapped AX X re gister pairs are configurable One 1 AX and one 1 X register must be allocated per M ST NA 1 object When the driveris configured in the digital ste p p osition mode the sta rting add ress of the map ped SIXNET X block for position and transient stat
94. ithout affecting overall response time a nd performance of other ru nning processes withi n the IPm The event detectio n rate depends on the number of objects configured and in any case is never lower than 20 ms The maximum number of Event Objects that can be queued is configurable The driver can be configured to report events eithe r in a timely fashi on timeout is co nfigurable or when a number configurable of non reported events in the event queue is reached Events are collected and reported for M SP M DP and M ME objects The IEC 60870 5 101 104 Object Type Identification sed to report M SP M DP and M is configurable according to t he following table IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 52 Preliminary Rev r03 11 5 2008 Event Object Type Can be reported as M SP NA 1 Single point information or M SP TA 1 Single point information with CP24 time tag or M SP TB 1 Single point information with CP56 time tag M SP M DP 1 Double point information or M DP TA 1 Double point information with CP24 time tag or M DP TB 1 Double point information with CP56 time tag M ME 1 Measured value normalized or M ME 1 Measured value normalized with CP24 time tag or M ME TD 1 Measured value normalized with CP56 time tag Table 30 Event reporting type configuration In addition to M SP M DP and M_M E events the dr iver sends time syn chronization o bje
95. l number of SIXNET FY registers that can be mapped to M ME NC 1 objects can be lower depending on how many FY registers have been mapped to other compatible IEC types see Table 1 and database capacity m Configured starting SIXNET FY address of the C SE NC 1 mapped block SIXNET registers map ped as IEC 60 8070 5 101 Monitored Sh ort Floating Point Measured Informatio n points will be reported as follows e FP Value R32 IEEE STD 574 Bits 0 31 EEE STD 574 Floating point value The IEC 608070 5 101 Slave Driver will convert the value of the mapped SIXNET register to an IEEE STD 754 floating point value If the current value of the variable cannot be represented as a floating point value the OV bit in the quality descriptor byte will be set The quality descriptor byte will be reported as described in paragraph 5 2 3 3 5 2 3 7 Integrated Totals point Information M IT NA 1 One block of up to 1024 8 for 1 byte information object address see Table 2 contiguous IEC 60870 5 101 104 M IT 1 Monitored Integrated Total point Information objects can be defined and mapped to SIXNET LX registers within any given IPm station The starting address of the mapped SIXNET LX block i e the address of the first mapped LX register as well as the number of M IT NA 1 objects i e the number of mapped LX registers are configurable The first configured M IT NA 1 object mapped to LX registers within the bl ock has the foll owing IEC
96. lock time of reception at the IPm in order to calculate the transmission delay of the command If the transmissio n delay exceeds the maximum allowable delay configurable on a p er station basis the command is ignored The C SE TC 1 time tag contains the time at which the command is initiated in the controlling station IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 50 Preliminary Rev r03 11 5 2008 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 51 Preliminary Rev r03 11 5 2008 5 3 IEC 60850 101 104 Driver Application Functions 5 3 1 Station Initialization The SIXNET IEC 608 70 5 101 104 driver will se nd an ENDINIT message when the driv er starts or gets reloaded because of a configuration change Before sending the ENDINIT message the driver clears the event queue and all communication buffers The En d of Initializatio n ENDINIT message i s aM EI NA 1 ASDU me ssage with Cau se of Initialization information object set to 0 Unchanged local parameters Local power switch 5 3 2 Data acquisition by polling The SIXNET IPm IEC 60 870 5 101 104 drive r impl ements the a cquisition by polli ng function as defined in IEC 60870 5 5 6 2 and IEC 60870 5 101 7 4 2 In IEC 60870 5 101 unbalanced mode Class 1 and Class 2 polls are supported ASDUs having Cause of Transmission periodic cyclic and background scan are assigned to be transmitted with the link layer data Class 2 low priority data O
97. master will occur when a config urable timeout time after the last time synchronization command received from the master elapses When the driver receives clock synchronization commands the time in formation contain ed in the clock synchronization command is corrected with the value received in the previous load delay command see 5 3 12 and then applied to the IPm internal calendar clock 5 3 7 Command Transmission Controls The SIXNET IEC 60870 5 101 104 driver implements the Command transmission function as defined in IEC 60870 5 101 7 4 7 The driver supports timed out Select Execute and Direct command transmission procedures on any of the supported command types The user can select between Select Execute and Direct command operation mode at configuration time IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 54 Preliminary Rev r03 11 5 2008 When the Select Execute mode is conf igured then the Select timeout time must be co nfigured The same configured select timeout value will be used for all command points However each Selected I O point will maintain its own timer The Select timeout sets the time after a select command is received in which to wait for a valid execute command The Select Execute function operates as follows When the master controlling station issues a select ACT message to a valid control object the controlled IPm station will respond with either an ACTCON or a Negative ACTCON message If the
98. mation object address length SIXNET Y Register pairs to IEC C DC NA 1 Objects Mappings 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET C DC NA 1 SIXNET C DC NA 1 SIXNET C DC NA 1 Register IOA Register IOA Register IOA Y m OxA8 Y 0x5400 Y m 0x005400 Y m 1 168 Y m 1 21504 Y m 1 21504 Y m 2 9 Y m 2 0x5401 Y m 2 0x005401 Y m 3 169 Y m 3 21505 Y m 3 21505 Y m 14 OxAF Y m 2046 57 Y m 2046 0x0057FF Y m 15 175 Y m 2047 22527 Y m 2047 22527 Table 25 SIXNET Y pairs to IEC C DC NA 1 object mappings e Configurable The actual number of SIXNET Y registers pairs that can be mapped to C DC NA 1 objects can be lower depending on how many Y registers have been mapped to other compatible IEC types see Table 1 and database capacity m Configured starting SIXNET Y address of the C DC NA 1 mapped block IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 41 Preliminary Rev 03 11 5 2008 Any pair of SIXNET Y registe r pairs mapped as IEC 608 070 5 101 104 S NA 1 Double Point Command will be controlled by sending to the IPm the following information object e Double Command State DCS Bits 0 1 00 Not permitted 01 OFF Turns first DO ON second DO OFF 10 ON Turns first DO OFF second DO ON 11 Not permitt
99. meter defines the reporting priority assigned to M ST events 0 highest Highest priority events will be reported first Events of same 60870 5 101 type assigned to the same priority are reported in chronological order Note If M ST 1 section exists same setting in ST 1 section will override this setting EventReportAs M ST NA 1 or M ST TA 1 or M ST TB 1 If monitor M ST 1 events are enabled this parameter defines the type ID used to report IEC 60870 5 101 M ST change events Note If M ST 1 section exists same setting in M ST 1 section will override this setting GM0000 0x00000000 OxFF81FFFF If monitor M ST NA 1 objects are enabled This parameter defines the group reporting mask for the first mapped point point number 0000 See Table 38 GM Size 0x00000000 OxFF81FFFF If monitor M ST NA 1 objects are enabled This parameter defines the group reporting mask for the last mapped point See Table 38 Table 47 C RC NA 1 section parameters Determined by 5 parameter 6 2 15 C SE 1 Section parameter description Section Item Key Range Type Description IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 81 Preliminary Rev 03 11 5 2008 Section Item Key Range Type Description Size 0 to 1024 This parameter specifies the number of C SE
100. minary Rev 03 11 5 2008 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 24 SIXNET AY X Registers to IEC M ST NA 1 Object Mapping for C RC NA 1 monitoring Analog Step Position Mode 1 octet object address Up to 8 registers SIXNET M ST 1 Register IOA X k 192 AX j 1 X k 1 193 3 7 OxC7 POR M ES 199 2 octet object address Up to 1024 registers 3 octet object address Up to 1024 registers SIXNET M ST 1 SIXNET M ST NA 1 Register IOA Register IOA AX j 0x6000 35 0 006000 X k 24576 X k 24576 AX j 1 0x6001 AX j 1 0x006001 X k 1 24577 X k 1 24577 3 1023 Ox63FF 3 1023 0x0063FF X k 1023 25599 X k 1023 25599 Table 10 M ST 1 object mappings for monitoring C RC 1 Analog step position mode SIXNET AX X Registers to IEC M ST NA 1 Object Mapping for C RC NA 1 monitoring Digital Step Position Mode 1 octet object address Up to 8 registers SIXNET M ST 1 Register IOA X k X k 7 192 X k 8 1 X k 15 193 X k 56 OxC7 X k 63 199 2 octet object address Up to 1024 registers 3 octet object address Up to 1024 registers SIXNET M ST 1 SIXNET M ST NA 1 Register IOA Register IOA X k 0x6000 X k 0x006000 X k 7 24576 X k 7 24576 X k 8 0x6001 X k 8 0x006001 X k 15
101. n link DataLinkLayer address lin k tran smission timeout s and nu mber of retrie s an d link u ser data length Configuration of Common Application layer parameters su chasho w to ApplicationLayer report event s obje ct and station addressing and appli cation layer frame format M SP NA 1 M DP NA 1 M ST NA 1 M ME NC 1 Configuration of IEC 608 070 5 101 104 object block parameters such as block ength SIXNET mappi ng C SC NA 1 event rting andi X nterrogation object grouping Table 32 Configuration File Sections IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 62 Preliminary Rev r03 11 5 2008 6 2 1 General Section parameter description Section Item Key Range Type Description Project String Name of the SIXNET Tool Kit project this configuration belongs to Not used by the driver Information only IPmStation String Station Name Not used by the driver Information only Version Number Version number of the run time this configuration file is intended to Not used by the driver Information only Table 33 General section parameters 6 2 2 SxIPmStation Section parameter description Section Item Key Range Type Description EnableDataTraces Yes No Enable Disable run time debugging trace output DeviceDataTraces String Device to where the
102. nLayer section is 1 1 byte IOA this value can t be greater than 8 no C RC 1 objects will be mapped to AY registers Size 0 to 1024 This parameter specifies the FirstY 0 8192 SIXNET address of the first Y register pair mapped to the block Monitoring Analog part when FirstAX 0 8192 Mixed Analog Discrete input interfacing Monitoring Discrete part when Mixed Analog Discrete input interfacing or Discrete positon input when Discrete input mode FirstX 0 8192 Monitoring Interfacing type if no read only M ST NA 1 objects defined in section M ST NA 1 section No Discrete input interfacing 8 X discrete bits per object X Bits 0 6 position two s complement binary X Bit 7 transient bit AnalogMode Yes No Yes Analog input interfacing discrete transient bit AX is the position value Integer 64 to 63 X is the transient bit Note If M ST 1 section exists same setting in M ST 1 section will override this setting This parameter specifies if MonitorM ST Yes No M ST NA 1 monitor objects will be mapped IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 80 Preliminary Rev r03 11 5 2008 Section Item Key Range Type Description MonitorEvents Yes No If monitor M ST NA 1 objects are mapped this parameter specifies if they will generate events EventPrio 0 7 If monitor M ST NA 1 events are enabled this para
103. nts of same IEC 60870 5 101 type assigned to the same priority are reported in chronological order M ME NB 1 This parameter defines the type EventReportAs M ME TB 1 ID used to report IEC 60870 5 101 M ME NB change events or M ME TE 1 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 73 Preliminary Rev r03 11 5 2008 Section Item Key Range Type Description DeadBand 1 32767 Integer Default deadband for event reporting This parameter defines the group 0000 0 00000000 reporting mask for the first 0 001 mapped point point number 0000 See Table 38 0x00000000 This parameter defines the group GM Size reporting mask for the last 0xC001FFFF mapped point See Table 38 Table 42 M ME 1 parameters Determined by Size parameter 6 2 10 M ME NC 1 Section parameter description Section Item Key Range Type Description This parameter specifies the number of M ME NC 1 objects that will be mapped to FX registers Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 If 0 noM ME NC 1 objects will be mapped to FX registers Size 0 to 1024 This parameter specifies SIXNET FirstFX 0 8192 address of the first FX register mapped to the block This parameter defines the reporting priority assigned to M ME NC events 0 highest EventPrio 0 7 Hig
104. nts queue or every 10 s Setting the selectTimeout parameter to 0 has disabled the select Execute function This puts the station in the Direct Operate mode KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK Sample IEC 60870 5 101 104 slave driver configuration file Target device VersaTRAK mIPm VT MIPM 131 D KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK Configured modules Onboard 12 DI 8 DO 6 AI MSP NA 1 virtual DI 8 DI MDP NA 1 virtual DI 8 DI MST NA 1 virtual AI 8 AI MST NA 1d virtual DI 64 DI MME NA 1 virtual AI 8 AI MME NB 1 virtual AI 8 AI MME NC 1 virtual FI 8 FI MME IT 1 virtual LI 8 LI NA 1 virtual DO 8 DO DC NA 1 virtual DO 8 DO NA 1 virtual DO 16 DO MRC NA 1 virtual AI 8 AI MRC NA virtual DI 64 DI SE NA 1 virtual AO 8 AO SE 1 virtual AO 8 AO SE NC 1 virtual FO 8 FO I O Mappings configuration defined in this file IEC 60870 5 101 104 Object address length 2 octets Qty IEC OBJECTS SIXNET REGISTERS 7 8 5 NA 1 0x0000 0x0007 X 00012 00019 2 4 MDP NA 1 0x0400 0x0403 X 00020 00027 8 M_ST_NA_1 0x0800 0x0807 lt gt AX 00022 00029 8 ST NA 1 0x0800 0x0807 X 00028 00035 5 8 5 1 0 0800 0 0807 lt gt X 00028 00091 8 M NA 1 0 0 00 0 0 071 lt gt 00006 0001
105. oating point number Short floating 0 3800 0 003800 data type is used point number 0x70 0x77 P1 Ox3BFF P1 Ox003BFF P1 M ME NC 1 analog input data 7 2 6 9 are 7 3 1 13 Associated time stored ina 0x78 0x7F M1 0 3 00 0 003 00 13 tagged event double word 32 Ox3FFF M1 OxOO3FFF M1 information for this bit data area in 0x80 0x87 M2 type are IEEE STD 754 0x4000 0x004000 M ME 1 14 format Ox43FF M1 0x0043FF M1 0x88 0x8F M3 om we 36 0x4400 0x004400 Ox47FF M3 0x0047FF M3 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 15 Preliminary Rev 03 11 5 2008 TYPE INFORMATION OBJECT ADDRESS RANGE IEC 60870 DATA IN HEXADECIMAL FORMAT 5 101 DESCRIPTION REPRESENTA Paragraph TION Type ib 1 Octet IOA 2 Octet IOA 3 Octet IOA Monitored Integrated Total point Information Binary counter This data type is used data 7 2 6 9 is M IT NA 1 0 Store meter or stored in a 0x4800 0x004800 7 3 1 15 id double word 32 0x90 0x97 Ox4BFF 0 004 15 bit value with ragged 2 range of information for this 231 4531 4 type are M IT TA 1 16 and M IT TB 1 37 Monitored Normalized Normalized values 7 2 6 6 M ME ND 1 Measured Value are stored in a 5 7 3 1 21 without quality word 16 bit 0x18 0x1F 2 21 descriptor data area with a This data type is used range of 1 1 for analog input da
106. octets e 0x005800 if length of Information Object Address is octets The numb ers of SIXNET X and Yr gt egisters p airs mapped to double point information objects independently configurable If the user sets the number of M DP 1 objects mapped to SIXNET X register pairs to 0 SIXNET X register pairs will be reported as M DP NA 1 objects by the IPm If the user sets the number of C DC 1 double control objects mapped to SIXNET Y register pairs to 0 no SIXNET Y register pairs will be reported as M DP NA 1 objects by the IPm IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 20 Preliminary Rev r03 11 5 2008 If the user sets both the number of M DP NA 1 objects mapped to SIXNET X pairs and the number of C DC NA 1 objects mapped to SIXNET Y register pairs to 0 no M DP 1 Double point information objects at all will exist within the IPm The following tables show the actual mapping addressing scheme for M DP 1 objects as a function of the configured IEC information object address length SIXNET X Registers to IEC M DP NA 1 Object Mapping 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET M DP NA 1 SIXNET M DP NA 1 SIXNET M DP NA 1 Registers Registers Registers X m 0x08 X m 0x0400 X m 0x000400 1 8 11 1024 11 1024 X m 2 0x09
107. oint point point 1 2 3 will will will will will will will will IPm IEC 60870 Slave Protocol Driver V2 0 0 De De De De De De De De for event reporting event reported reported cyclic event reported reported cyclic event reported reported cyclic event reported reported cyclic Page 95 in group 14 and in general requests in group 14 and in general requests in group 14 and in general requests in group 14 and in general requests in group 14 and in general requests in group 14 and in general requests in group 14 and in general requests in group 16 14 and in general Preliminary Rev 03 11 5 2008 6 4 SIXNET IPm IEC 60870 5 101 Protocol interoperability Document Note The content of this sectio n has been extracted from the ori ginal IEC 60870 5 101 document section 8 an d has been filled up to reflect the i nteroperability data of the SIXNET 60870 5 101 Slave Proto col Driver The paragraph numbering scheme of the origina document source has been maintained to ea se the comparison oft his spe cification again st other systems specifications for interoperability issues assessment and resolution SI XNET I EC60870 5 101 1 nteroperability IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 96 Preliminary Rev r03 11 5 2008 6 5 SIXNET IPm IEC 60870 5 104 Protocol interoperability Document Note The content of this sect
108. or furth er d etails regarding P ME an d monitoring M ME object addressing and ma pping refer to the appropriate paragraph 5 2 3 4 5 2 3 5 and 5 2 3 6 5 3 10 Test Procedure The SIXNET IPm IEC 60870 5 101 104 driver implements the Test Procedure function as defined in IEC 60870 5 5 6 12 and IEC 60870 5 101 7 4 10 The IEC 60870 5 101 104 driver will receive parse and mirror both C TS NA 1 IEC 60870 5 101 and 104 and C TS TA 1 IEC 60870 5 104 ASDU messages 5 3 11 File Transfer The File T ransfer function is not impl emented in the current V 2 0 0 version of the SIXNET IPm IEC 60870 5 101 104 slave driver 5 3 12 Acquisition of time delay The SIXNET IPm IEC 60870 5 101 driver implements the Acquisition of time delay function as defined in IEC IEC 60870 5 101 7 4 12 The driver accepts C CD NA 1 spontaneous load delay messages from the master station and records the delay information contained in the C CD NA 1 The driver uses the value received in the load delay command to correct the time information included in clock synchronization commands 5 3 13 Background Scan The SIXNET IPm IEC 608 70 5 101 driver implements the Backg round Scan fu nction as defined in IEC IEC 60870 5 101 7 4 13 The background scan transmission period is configurable If the transmission period is 0 the background scan function is disabled Background data will be reported as link layer Class 2 data when the driver operates in the IEC 6
109. or later upload to a dumb terminal attached to an unassigned serial port of the IPm or even to a remote telnet terminal session over the TCP IP network IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 58 Preliminary Rev r03 11 5 2008 6 Run Time Driver configuration The run time behavior and functionality of the sl ave driver is defined by a n ASCII text INI file whi ch is located in the etc stacfg directory of the IPm flash filesyste The name ofthe INI file is sxiec60870drv ini The sxiec60870drv ini shall be created and maintained with the Windows Tool Kit configuration Add On and downloaded to the IPm station using the SIXNET Tool Kit User Files download feature The d river monitors eve ry 10 seconds fo r config uration ch anges i n Nl andi n th e se rial port configuration files and reloads if either file changes Note When the driver reloads all non reported events in the event queue and all communication frames in receive and transmit buffers are cleared IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 59 Preliminary Rev r03 11 5 2008 6 1 Configuration tool requirements The Run Time SIXNET IPm IEC 6 0870 5 slave driver shall be configurable by the me ans of a Micro soft Windows based configuration add on tool which sh all be integrat ed to the SIXNET Tool Kit via the SIXNET s sxaddon dll library The configuration add on tool shall be developed in Microsoft Visual Basic 6 The user shall have th
110. ormation Object Address is 3 octets Also If any C 1 single control information objects block have been mapped to Y registe rs see 5 2 4 one block of up to 1024 8 for 1 byte i nformation object address s ee Table 2 of contiguous M SP NA 1 single p oint information variables will be mapped to the sam e Y regi sters in orde r to provide for monitoring capabilities to C SC NA 1 discrete output control objects The first configured M SP 1 discrete output monitoring single point information o bject ha s th e following IEC information object address IOA OxAO if length of Information Object Address is 1 octet e 0x5000 if length of Information Object Address is 2 octets e 0x005000 if length of Information Object Address is octets The nu mbers of SIXNET X and Y registers ma pped to single point info rmation IEC obje cts a re independently configurable If the user sets the num ber of M SP 1 cts mapped to SIXNET X regi sters to 0 no SIXNET X registers will be reported as M SP NA 1 objects by the IPm If the user sets the number of C SC 1 single control i nformation o bjects mapped to SIXNET Y registers to 0 no SIXNET Y registers will be reported as M SP NA 1 objects by the IPm IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 18 Preliminary Rev r03 11 5 2008 If the user sets both the number of M SP NA 1 objects map ped to SIXNET X and the numbe rof C SC 1 obje cts ma pped to SIX NET Y re gist
111. ort Floatin g Point Value informati on objects mapped to SIXNET FY regi sters to 0 no SI XNET FY registers will be reported as M ME NC 1 objects by the IPm If the user sets both the number of M ME NC 1 objects mapped to SIXNET FX and the num ber of C SE NC 1 objects mapped to SIXNET FY registers to 0 no M ME NC 10r P ME NC 1 information objects at all will exist within the IPm The follo wing tables show the a ctual mapping addressing scheme for M M E NC 1 and P ME NC 1 objects as a function of the configured IEC information object address length IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 35 Preliminary Rev r03 11 5 2008 SIXNET FX Registers to IEC M ME NC 1 and P ME NC 1 Object Mappings 1 octet Object Address Up to 8 registers SIXNET M ME NC 1 P ME NC 1 M ME NC 1 M ME NC 1 M ME NC 1 Reaister IOA IOA IOA IOA IOA 9 Mapped AX Parameter Threshold High Limit Low Limit FX n 0x68 0x70 0x78 0x80 0x88 104 112 120 128 136 0x69 0x71 0x79 0x81 0x89 Frins 105 213 121 129 137 0 Ox77 Ox7F 0x87 Ox8F 111 11 9 127 135 143 Table 19 SIXNET FX to IEC M NC 1 object mappings 1 SIXNET FX Registers to IEC M ME NC 1 and P ME NC 1 Object Mappings 2 and 3 octet Object Address Up to 1024 registers SIXNET M ME NC 1 P ME NC 1 M ME NC 1 M ME NC 1 M ME NC 1 Reaister IOA IOA IOA IOA IOA 9 Mapp
112. ported in chronological order EventReportAs M ME NA 1 or M ME 1 or M ME TD 1 This parameter defines the type ID used to report IEC 60870 5 101 M ME change events DeadBand 1 32767 Integer Default deadband for event reporting IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 72 Preliminary Rev 03 11 5 2008 Section Item Key Range Type Description This parameter defines the group 0x00000000 reporting mask for the first OxFF841FFFF mapped point point number 0000 See Table 38 0x00000000 This parameter defines the group GM Size reporting mask for the last OxFF81FFFF mapped point See Table 38 Table 41 M ME NA 1 section parameters Determined by Size parameter 6 2 9 M ME NB 1 Section parameter description Section Item Key Range Type Description This parameter specifies the number of M ME NB 1 objects that will be mapped to AX registers Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 ME NB 1 objects will be mapped to AX registers Size 0 to 1024 This parameter specifies SIXNET FirstAX 0 8192 address of the first AX register mapped to the block This parameter defines the reporting priority assigned to M ME NB events 0 highest EventPrio 0 7 Highest priority events will be reported first Eve
113. r each SE NC 1 Setpoint Command Short Floating Point Value object ME NC 1 Monitored Short Floating Point Mea sured e information o bject will b e cre ated an d mapped to the sam FY register in o rder to p rovide for monito ring capabilities to C SE 1 objects For furth er information regarding a ddressing scheme a nd h ow to a ccess the monito ring obj ects p lease refer t o paragraph 5 2 3 6 and Table 21 The number of SIXNET F Y registers mapped to C SE NC 1 Setpoint Command Short Floating Point Value objects is configurable Ifthe ser sets the nu mberof SE NC 1 objects apped to SIXNET FY regi stersto 0 n C SE NC 1 objects will exist within th e IPm nor SI XNET FY registers will be mapped to M ME objects 1 The following table shows the actual mapping addressing scheme for SE 1 objects as a function of the configured IEC information object address length IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 49 Preliminary Rev r03 11 5 2008 SIXNET FY Registers to IEC C SE NC 1 Objects Mappings 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET C SE NC 1 SIXNET C SE NC 1 SIXNET C SE NC 1 Register IOA Register IOA Register IOA 0 8 0 7400 0 007400 EX 232 29696 FY m 29696 OxE9 0x7401 0x007401 m 1 233 m 1 29697 m 1 29
114. ration is determined by user configured parameter Long pulse duration control relay duration is determined by user configured parameter Persistent output of control Reserved for standard definitions of standard NOT SUPPORTED 9 to 15 Reserved for the selection of other predefined functions NOT SUPPORTED 16 to 31 Reserved for special use private range NOT SUPPORTED Table 24 Supported Command Qualifiers 5 2 4 2 Single point Command with time tag C SC TA 1 IEC 60870 5 104 only This o bject type ope rates the sam e wayas C SC NA 10 bjects see 5 2 4 1 with t he follo wing exception Upon reception of a C SC 1 command the compares the time tag included the C SC TA 1 object with the date and clock time of reception at the IPm in order to calculate the transmission delay of the command If the transmissio n delay exceeds the maximum allowable delay configurable on a p er station basis the command is ignored The C CS 1 time tag contains the time at which the command is initiated in the controlling station IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 40 Preliminary Rev r03 11 5 2008 5 2 43 Double point Command C DP 1 One block of up to 1024 8 for 1 byte information object address see Table 2 of contiguous IEC 60870 5 101 104 C DC NA 1 Double Point Comman d informatio n object s can b e defined an d mappe d to SIXNET Y register pairs within any given IPm station two Y regis
115. reliminary Rev r03 11 5 2008 6 2 17 C SE NC 1 Section parameter description Section Item Key Range Type Description This parameter specifies the number of SE NC 1 objects that will be mapped to FY registers Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 no C SE NC 1 objects will be mapped to FY registers Size 0 to 1024 This parameter specifies the FirstFY 0 8192 SIXNET address of the first FY register mapped to the block This parameter specifies if MonitorM ME Yes No M ME NC 1 monitor objects will be mapped If monitor M ME NC 1 objects are mapped this parameter specifies if they will generate events MonitorEvents Yes No If monitor M ME NC 1 events are enabled this parameter defines the reporting priority assigned to M ME NC events 0 highest Highest priority events will be reported first Events of same IEC 60870 5 101 type assigned to the same priority are reported in chronological order Note If M ME NC 1 section exists same setting in M ME NC 1 section will override this setting EventPrio 0 7 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 85 Preliminary Rev r03 11 5 2008 Section Item Key Range Type Description If monitor M ME NC 1 events M ME NA 1 are enabled this parameter EDI defines the type ID used to report or IEC 60
116. ription Section Item Key Range Type Description Size 0 to 1024r This parameter specifies the number of M DP 1 objects that will be mapped to X register pairs Note If oaddrLen parameter in ApplicationLayer section is 1 1 byte IOA this value can t be greater than 8 If 0 no M DP 1 objects will be mapped to X registers pairs FirstX 0 8192 This parameter specifies SIXNET address of the first X register of the first X register pair mapped to the block IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 69 Preliminary Rev r03 11 5 2008 Section Item Key Range Type Description This parameter defines the reporting priority assigned to M DP events 0 highest EventPrio 0 7 Highest priority events will be reported first Events of same IEC 60870 5 101 type assigned to the same priority are reported in chronological order M DP 1 This parameter defines the type EventReportAs M DP TA 1 ID used to report IEC 60870 5 101 DP change events M DP TB 1 This parameter defines the group 0x00000000 reporting mask for the first GM0000 OxFF81FFFF mapped point point number 0000 See Table 38 0x00000000 This parameter defines the group GM Size reporting mask for the last OxFF81FFFF mapped point See Table 38 Table 39 M DP NA 1 section parameters Determined by Size parameter 6 2 7 M ST
117. ry The file name sh all be unique and shall include the project name IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 60 Preliminary Rev r03 11 5 2008 andthe st ation name A suggest ed format for the file name is IEC project name station name gt INI e configuration tool shall provide forms for performing the following configuration actions refer to paragraph 6 2 Configuration File format for further details A form to display the list of stations present the current project This form shall appear upon launching of the co nfiguration tool from the SIXNET I O Tool Kit and sh all be the entry point of the configuration tool Any configuration action shall start form this form and shall operate on the statio n selected by the user in this form Th e stations th at already have an existing local copy of their configuration INI files shall be clearly marked in order to distinguish them from th ose stations not configured yet This form shall allow the user to select and configure any particular station in the list A form to display maintain and configure the common driver parameters specified in the INI file section SxIPmStation forthe selected station The form shall include buttons for Saving Applying or Cance ling changes to the station s SxIPmStation INI file section A form to display maintain and configure the link layer parameters specified in the INI file section DataLinkLayer forthe selected stat
118. s Up to 8 regiters SIXNET M ME NA 1 P ME 1 M ME NA 1 M ME NA 1 M ME NA 1 Reaister IOA IOA IOA IOA IOA 9 Mapped AX Parameter Threshold High Limit Low Limit 0x18 0x20 0x28 0x30 0x38 EUN 24 32 40 48 56 0x19 0x21 0x29 0x31 0x39 xcd 25 33 41 49 57 E OxlF 0 27 Ox2F 0x37 Ox3F usta d 31 39 47 55 63 Table 13 SIXNET to IEC M ME NA 1 object mappings 1 octet IOA SIXNET AX Registers to IEC M ME NA 1 and P ME NA 1 Object Mappings 2 and 3 octet Object Address Up to 1024 registers SIXNET M ME 1 P ME NA 1 M ME NA 1 M ME 1 M ME 1 Reaister IOA IOA IOA IOA IOA 9 Mapped AX Parameter Threshold High Limit Low Limit 0 0 00 0 1000 0 1400 0x1800 0 1 00 3072 4096 5120 6144 7168 0 0 01 0 1001 0 1401 0x1801 0 1 01 3073 4097 5121 6145 7169 OxOFFF Ox13FF Ox17FF OxlBFF OxlFFF n 1023 4095 5119 6143 7167 8191 IPm IEC 60870 Slave Protocol Driver V2 0 0 Table 14 SIXNET AX to IEC M ME NA 1 object mappings 2 and 3 octets Configurable The actual number of SIXNET AX registers that can be mapped to M ME NA 1 objects can be lower depending on how many AX registers have been mapped to other compatible IEC types see Table 1 and database capacity n Configured starting SIXNET AX address of the M
119. s lower 0 0 0 6000 0 006000 60870 used to control a 2 7 Next step Ox63FF M 0x0063FF M 5 104 8 3 stepping device such higher 60 as a transformer 3 Not permitted C SE NA 1 IEC 60870 Setpoint Command 5 101 Normalized Value Normalized 7 3 2 4 101 and Setpoint values 7 2 6 6 0x6400 0x006400 48 Command with time are stored in a 0xC8 OxCF C Ox67FF C 0x0067FF C tag Normalized word 16 bit C SE 1 Value 104 data area with 0 00 0 07 0x6800 0x006800 IEC 60870 This command is range of Ox6BFF M 0x006BFF 5 104 8 4 used to control an e op 61 analog device MEC 0870 Setpoint Command 5 101 Scaled Value 101 scaled values 732 5 and Setpoint 7 2 6 7 are 0 6 00 0 006 00 49 Command with time eared iri word OxD8 OxDF C Ox6FFF C 0x006FFF C tag Scaled 46 Pit data area C SE TB 1 104 with a range of OxEO OxE7 M 0x7000 0x007000 IEC 60870 is 915 42154 OxT3FF M 0x0073FF M used to control an j M analog device C SE NC 1 Setpoint Command i ud 732 6 Setpoint Command 7 2 6 8 are 0x7400 0x007400 dc ade stored in a OxE8 OxEF C Ox77FF 0x0077FF C 50 with time tag Short Float Value 104 double word 32 C SE TB 1 This command is bit data area OxFO OxF7 M 0x7800 0x007800 AURA UT IEEE STD 754 Ox7BFF M 0 007 M 60870 used to control an format 5
120. ssible time M SP NA 1 Size 8 Number of IEC objects in this category FirstX 12 Starting address of SIXNET registers mapped block EventPrio 0 Event reporting priority 0 highest EventReportAs M SP TB 1 Type ID used to report events GMO000 0x00000003 point 1 will be event reported in group 1 and in general requests GM0001 0x40000003 point 2 will be reported in group 1 and general requests GM0002 0x00000303 point 3 will be event reported in groups 1 8 9 and in general requests GM0003 0x00000003 point 4 will be event reported in group 1 and in general requests GM0004 0x00000003 point 5 will be event reported in group 1 and in general requests GM0005 0x80000003 point 6 will be reported cyclic in group 1 and in general requests GM0006 0x80000003 point 7 will be reported cyclic in group 1 and in general requests GM0007 0x00010003 point 8 will be event reported in group 1 16 and in general requests M DP NA 1 Size 4 Number of IEC objects in this category 2 SIXNET Xs per M DP NA 1 FirstX 20 Starting address of SIXNET registers mapped block EventPrio 1 Event reporting priority 0 highest EventReportAs M DP TB 1 Type ID used to report events GMO000 0x00000003 point 1 will be event reported in group 1 and in general requests GM0001 0x00000003 point 2 will be event reported in group 1 and in general requests GM0002 0x80000003 point 1 will
121. t The starting address of the mapped SIXNET Y register pair block i e the address of the first Y register of the first mapped Y register pair as well as the number of C RC NA 1 objects i e the number of mapped Y registers pairs are configurable The first conf igured C RC NA 1 Regulating Step Command object within the block ha s the following IEC information object address IOA e OxB8 if length of Information Object Address is 1 octet e 0x5C00 if length of Information Object Address is 2 octets e 0x005C00 if length of Information Object Address is 3 octets Forea ch C RC NA 1 Regulating S tep Comm and obje ct aM ST NA 1 Monitore d Step Point information object will be cre ated and mapped to user configurable AX X re gister pairs or X register groups of eight 8 registers in order to provide for monitoring capabilities to C RC NA 1 objects For further information regarding addressing scheme and how to access the monitoring objects please refer to paragraph 5 2 3 3 and Table 10 Table 11 The number of SIXNET Y register pairs mapped to C NA 1 Regulating Step objects is configurable If the user sets the num berof C RC NA 10 bjects mapped to SIXNET Y registe r pairs to 0 no C RC NA 1 objects will exist within the IPm nor SIXNET Y register pairs will be mapped to M ST 1 objects The following table shows the actual mapping addressing scheme for C NA 1 objects as a function of the configured IEC information object
122. t reported in group and in general requests 0006 0x00000003 point 7 will be event reported in group and in general requests GM0007 0x00000003 point 8 will be event reported in group and in general requests M ME NA 1 Size 8 Number of IEC objects in this category FirstAX 6 Starting address of SIXNET registers mapped block EventPrio 3 Event reporting priority 0 highest EventReportAs M_ME_TD_1 Type ID used to report events DeadBand 5 Default deadband for event reporting GM0000 0x80000003 point 1 will be reported cyclic in group 1 and in general requests GM0001 0x80000003 point 2 will be reported cyclic in group 1 and in general requests GM0002 0x80000003 point 3 will be reported cyclic in group 1 and in general requests GM0003 0x00000005 point 4 will be event reported in group 2 and in general requests GM0004 0x00000009 point 5 will be event reported in group 3 and in general requests GM0005 0x00000011 point 6 will be event reported in group 4 and in general requests GMO006 0x00000021 point 7 will be event reported in group 5 and in general requests GM0007 0x00010003 point 8 will be event reported in groups 1 16 and in general requests M ME NB 1 Size 8 Number of IEC objects in this category FirstAX 14 Starting address of SIXNET registers mapped block EventPrio 4 Event reporting priority 0 high
123. ta 2 15 C SC Single point IEC 60870 Command 101 and 7324 command with time Single bit value 0x4c00 0 004 00 45 tag 104 7 2 6 15 With 0x98 Ox9F C Ox4FFF 0x004FFF 4 0 This command is C SC TA 1 used to control a and OxAO OxA7 M 0x5000 0x005000 60870 single binary point Tn 5 5 104 8 1 such as a relay 58 C DC NA 1 Double point Double IEC 60870 Command 101 Command 5 101 and Double point cui 7 2 6 16 with 0x5400 0x005400 wm Ser cer OxA8 OXAF C Ox57FF C 0 0057 46 104 UE S permitte This commande 1 Off 0 0 0 7 0x5800 0x005800 C_DC_TA_1 used to control a E IEC 60870 dual point binary aed DXGBEF AM SORGOSBET SUM 5 104 8 2 control device such UP 59 as a trip close relay IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 16 Preliminary Rev 03 11 5 2008 TYPE INFORMATION OBJECT ADDRESS RANGE IEC 60870 DATA IN HEXADECIMAL FORMAT 5 101 DESCRIPTION REPRESENTA Paragraph TION Type ID 1 OctetIOA 2 Octet IOA 3 Octet Regulating Step Regulating Step Command 5 101 Command 101 and 7 2 6 17 with 7 3 2 3 Regulating Step 0 Not 0 5 00 0 005 00 47 command with time permitted 0xB8 OxBF C Ox5FFF 0x005FFF C tag 104 1 Next step C RC TA 1 This command i
124. ters per C DC NA 1 object The starting address of the mapped SIXNET Y register pair block i e the address of the first Y register of the first mapped Y register pair as well as the number of C DC NA 1 objects i e the number of mapped Y registers pairs are configurable The first configured C DC NA 1 single point i nformation object within the block has the following IEC information object address 0xA8 if length of Information Object Address is 1 octet 0x5400 if length of Information Object Address is 2 octets 0x005400 if length of Information Object Address is octets For each C DC NA 1 Single Point Command information object a M DP NA 1 single point information object will b e create d a nd map ped to the same Y regi ster p air in orde rto provid e fo r monitoring capabilities to C DC NA 1 discrete output control objects For further information regarding addressing scheme and how to access the monitoring objects please refer to paragraph 5 2 3 2 and Table 6 The nu mber of SIXNET Y regi ster pairs map ped to C DC NA 1 Double Point Command information objects is configurable If the user sets the num berof C DC NA 10 bjects mapped to SIXNET Y registe r pairs to 0 no C DC NA 1 will exist within the IPm nor SIXNET Y regi ster pa irs will be mapped to M DP 1 objects The following table shows the actual mapping addressing scheme for C DC 1 objects as a function of the configured IEC infor
125. th of Information Object Address is 2 octets e 0x001000 if length of Information Object Address is 3 octets The info rmation obje ct ad dress IOA of the firs t created M ME 1 for monitoring th e asso ciated Threshold parameter is 0x28 if length of Information Object Address is 1 octet 0x1400 if length of Information Object Address is 2 octets 0x001400 if length of Information Object Address is 3 octets The information object address of the first created M ME NA 1 for monitoring the associated High Limit parameter is 0x30 if length of Information Object Address is 1 octet 0x1800 if length of Information Object Address is 2 octets 0x001800 if length of Information Object Address is 3 octets The information object address of the first created M ME NA 1 for monitoring the associated Low Limit parameter is 0x38 if length of Information Object Address is 1 octet e 0x1C00 if length of Information Object Address is 2 octets e 0x001C00 if length of Information Object Address is 3 octets Also If any C SE NA 1 setpoint command normalized value information objects register block has been mapped to AY registers see 5 2 4 7 one block of up to 1024 8 for 1 byte information object address see Table 2 of contigu ous M ME NA 1 objects will be mapp ed to the same AY registe rs in orde r to provide fo r monitoring capabilities to SE 1 setp oint d no rmalized valu e inform ation objects
126. ther ASDUs with other causes of transmission are assigned to be transmitted with Class 1 high priority data In response to a ss 2 poll the SIXNET IPm IEC 60870 5 101 driver will respond with Class 1 data when there is no Class 2 data available 5 3 3 Cyclic data transmission The SIXNET IPm IEC 6 0870 5 101 104 drive r im plements the cyclic d ata t ransmission function a s defined in IEC 60870 5 5 6 3 and IEC 60870 5 101 7 4 3 Each point can be individually enabled to be reported using the Cyclic Periodic transmission function The transmission cycle transmission period time is configurable and can nev er be set to less than ten 10 seconds Measured values reported by the cyclic data transmission function are not reported as background scan COT 2 spontaneous COT 2 or station interrogation COT 20 to 36 Cyclic data transmission messages reports non time tagged objects 5 3 4 Acquisition of events The SIXNET IPm IEC 6 0870 5 101 104 driver implements Acquisition of events function as define d in IEC 60870 5 5 6 4 and IEC 60870 5 101 7 4 4 Change Event Objects are created and queued when a data item s value is seen to have changed when a periodic comparison against the last reported value is made The driver automatically calculates the rate at which periodic inspection for event detection for all points is to be made The periodic inspection rate is calculated so th at a maximum sa mple rate is achieved w
127. tion Object Address IOA range of the objects in every mapped IEC block is fixed and unique as shown in Table 3 The SIXNET IPm IEC 60 870 5 101 015 driver supports monitoring of sup ported IEC 60870 5 101 104 monitoring object types either without time tag with regular time tag or with CP56 time tag maximu m numbe of distinct I O obje cts in each type that can be gt configured and m apped into SIXNET points de pends on th e le ngth of th e nformation bject Ad dress which can in tu rn be configured to be 1 2 or 3octetslong the size ofthe SIXNET I O datab ase for the corresponding SIXNET I O type and th e fact that the EC 60870 5 101 104 information obj ect address must be unique across all supported IEC 68070 5 101 104 object types The following tables show the maximum number of in formation objects that can be defined for ea ch of the supported IEC type s and the information objects address range that can be m apped into SIXNET registers as a function of the Information Object Address length Length of the Information Address Maximum number of unique IEC Field octets 60870 5 101 information elements per type 18 2 1024 3 1024 Table 2 Maximum number of information objects Can t exceed the size of the IPm I O database IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 13 Preliminary Rev r03 11 5 2008 TYPE INFORMATION OBJECT ADDRESS RANGE IEC 60870 DATA IN HEXA
128. tion Object Address is octets Also If any C SE NB 1 setpoint command scaled value information objects block has been mapped to AY registers see 5 2 4 9 one block of up to 1024 8 for 1 byte information object address see Table 2 of contig uous M ME 1 objects will be ma pped to the same AY registers in order to provide for monitoring capabilities to C SE NB 1 setpoint command scaled value information objects The first conf igured M ME NB 1 object provided fo r monitoring of C SE NB 1 command information objects has the following IEC information object address IOA OxEO if length of Information Object Address is 1 octet 0x7000 if length of Information Object Address is 2 octets 0x007000 if length of Information Object Address is octets The n umbers of SIXNE T AX and regi sters mapp ed to M ME 1 informatio n obj ects a re independently configurable If the user sets the number of M ME NB 1 objects mapped to SIXNET AX registers to 0 no SIXNET registers will be reported as M ME NB 1 objects by the IPm or P ME NB 1 parameter objects will exist within the IPm If the user sets the number of C SE NB 1 Setpoint Command Scaled Value objects mapped to SIXNET AY registers to 0 no SIXNET AY registers will be reported as M ME NB 1 objects by the IPm If the user sets both the number of M ME NB 1 objects map ped to SIXNET AX and the num ber of C SE NB 1 objects mapped to SIXNET AY registers to 0 no M ST NB 10rP
129. to d efine the number of IEC 60870 5 101 data points for each of the supp orted IEC 60870 5 101 data types and thei mappings to SIXNET Registers IEC 60870 5 datab ase sizing and mapping Read the Tag List of the selected station and allow user to define the SI XNET I O to IEC 60870 5 101 104 object mappings and IEC 60870 5 monitoring group coding e Define the behavior of the run time slave driver Define the run time slave driver communications mode IEC 608070 5 101 or 1 04 and parameters e Automatically upd ate the Communication Po rt Settings a ssignments i n the SIXNET Tool Kit station s configuration e Update the Files to Load property of the statio n s SIXNET I O Tool Kit configuration in order to include the station s IEC 60870 5 slave driver configuration INI file in the station s files to load list IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 8 Preliminary Rev r03 11 5 2008 5 1 IPm IEC 60870 5 Slave Driver Implementation Table The following table i dentifies the IEC 60870 5 101 104 data types that are be supported by the SIXNET IEC 60 870 5 101 104 slave rotocol inte rface in both monitor read an d com mand write messages T he definition and mapping of SIXNET I O database variables into spe cific IEC 608 070 5 101 104 data types is configurable Note Values in are references to IEC 60870 5 101 standard document CORRESPONDING MAPPABLE NBE TYP
130. to th e IPm device s In unbala nced transmission mode the master statio n is always the initia tor i e the slave station can o nly send d ata if reque sted to do so SIXNET IPm implementation of the IEC 608 70 5 101 104 slave protocol supports subsets of the ASDUs in both control di rection and monitoring direction T he following sections of this document de scribe the protocol implementation and the interoperability and conformity to the IEC specification IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 7 Preliminary Rev r03 11 5 2008 5 SIXNET IPm IEC 60870 101 104 Implementation The SIXNET IPm IEC 60870 5 slave driver package consist of three parts or modules The LINUX based Run Time IEC 60870 5 101 104 driver module running within the IPm devices The Microsoft Windows based Configuration Add on program The Microsoft Windows based on line help documentation system The Run Time SIXNET IPm IEC 60870 5 101 104 slave driver module allows the SIXNET IPm devices to respond to data read a nd write commands issued by a master unit connected to the IPm either on the serial ports or on the TCP IP network The driver maps the SIXNET IPm Internal Database to spe cific IEC 60870 101 data objects thus making the IPm I O database values available to IEC 608 70 5 101 104 masters in both monitoring READ and Command WRITE modes The slave driver m odule has been developed in GNU C The Run Time SIXNET IPm IEC 60 870 5 101 104 sl ave d riv
131. ts has the following IEC information object address IOA 0xCO if length of Information Object Address is 1 octet e 0x6000 if length of Information Object Address is 2 octets e 0x006000 if length of Information Object Address is octets IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 23 Preliminary Rev r03 11 5 2008 The numbers of SIXNET d AY regi sters map ped to M ST 1 info rmation obj ects a re independently configurable If the user sets the number of M ST 1 objects to 0 no SIXNET or X registers will be reported as M ST NA 1 objects by the IPm If the use sets th e nu mber of C RC 1 ngle control information o bjects map ped to 0 no M ST 1 monitoring objects for C RC NA 1 monitoring will be created or reported by the IPm If the user sets both the number of M ST 1 objects and the number of C RC 1 objects to 0 no M ST NA 1 information objects at all will exist within the IPm The following tables show the actual mapping addressing scheme for M ST NA 1 objects as a function of the configured IEC information object address length SIXNET AX and X Registers to IEC M ST NA 1 Object Mapping Analog Step Position Mode 1 octet object address 2 octet object address 3 octet object address Up to 8 registers Up to 1024 registers Up to 1024 registers SIXNET M ST 1 SIXNET M ST 1 SIXNET M ST NA 1 Register IOA Register IOA
132. type is used for analog 7 2 6 6 are stored in a 9 7 34 9 input data Associated time word 16 bit data area AO e tagged event information for this with a range of 1 1 2 READ type ME 1 10 and 15 M ME TD 1 34 IPm IEC 60870 Slave Protocol Driver V2 0 0 Page 9 Preliminary Rev 03 11 5 2008 CORRESPONDING MAPPABLE DESCRIPTION REPRESENTATION SIXNET I O AND ACCESS DIRECTION Monitored Scaled Measured Value M ME NB 1 This data type is used for analog Sealed 52 _NB1 are stored in a word 11 7 3 1 11 input data Associated time 16 bit data area with a AO aS tagged event information for this range of 255 2 54 READ type are ME TB 1 12 and 1 35 Monitored Measured value short floating point number Short floating point M ME NC 1 This data type is used for analog number 7 2 6 9 are FI 13 7 31 13 input data Associated time stored in a double word FO tagged event information for this 32 bit data area in READ type areM ME TC 1 14 and IEEE STD 754 format M ME TF 1 36 Monitored Integrated Total point a sand Binary counter data is data type is used to store 7 2 6 9 is stored in a 15 M IT NA 1 meter or other count data doubleword 32 bit LI 7 3 1 15 Associated time tagged event value with a range of READ information for this type are 231 45314 M IT TA 1 16 and
133. unication Po rt Settings a ssignments i n the SIXNET Tool Kit station s configuration e Allow the u ser to sele ct and define the number of EC 60870 5 101 data points database sizing for each of the supported IEC 60870 5 101 data types IEC 60870 5 101 database sizing Once the number of d ata points fora particular IEC 6 0870 5 101 type has been defined allow the user to define the starting address of the corresponding SIXNET registers mapped data block The configuration tool shall verify and warn the ser if overlap ping of mapped SIXNET registers e Once the user defines the IEC to SIXNET mapping allow user to set monitoring group coding on a point per point basis Update the Files to Load property of the statio n s SIXNET Tool Kit configuration in order to include the station s IEC 60870 5 slave driver configuration INI file in the station s files to load list e Validate each user entry against allowed ranges as specified in this document e Generate the driver s configuration INI file as described in section 6 2 e Thegen erated INI file to be downl oaded to the IPm station shall b e named sxiec60870drv ini and must be located in the etc stacfg directory of the IPm station e protocol name for the driver in the serial port protocol list shall be 60870 5 101 e Maintain a local copy oft he configuration INI file for each station configure in Sixnet Tools Projects directo
Download Pdf Manuals
Related Search
Related Contents
Sanyo DVR-HT120 User's Manual HP XP8010 Multimedia Projector LIBRETTO ISTRUZIONI EPOCA 25 B Hardware User`s Manual Active & passive avoidance box Présentation EPURSCOP - Achetons responsables Otmis LB 1100 (barra de luzes) - 0494-MP Boss Audio Systems R2000M audio amplifier Fully Automatic Electric Pressure Cooker Copyright © All rights reserved.
Failed to retrieve file