# IEC8701S.CFG # # Example file for use with the IEC-870-5-101 Slave protocol driver on the # MVI69 platform. # # [Module] Module Name : MVI69-101S Module Type : MVI69-101S # This section contains the backplane configuration information. It is used # to determine the number of registers moved between the module and the CLX # processor. Additionally, the backplane failure condition is defined as to # whether to continue using the protocol. [Backplane Configuration] Module Name : MVI69-101S DEMO MODULE #Blackplane Communication Settings Read Register Start : 1000 #Starting DB address of data read by processor Read Register Count : 240 #Number of regs to be read by processor Write Register Start : 0 #Starting DB address of data written by processor Write Register Count : 240 #Number of regs written by processor #This parameter is only used in the MVI69 platform Block Transfer Size : 60 #Word size for data exchange 60, 120 or 240 Failure Flag Count : 0 #Determines if BP failure will cause protocol to be #disabled (0=Ignore, >0 = failure count to disable) Error Offset : 2000 #Location of where to write status data (-1=disable) # This is the configuration for the IEC-870-5-101 slave port emulated on the # module. If the redundant port is enabled, its configuration is also contained # in this section. [IEC-870-5-101 Port 0] Enabled : 1 #0=Disable port, 1=Enable port for protocol Time DB Offset : 2100 #DB location of IEC time Initialize Output Data : 1 #0=No, 1=Yes read output values from controller Data link address : 1 #Range is 0 to 65535 Data link address length : 1 #0, 1, or 2 octets used for DL address Common Address of ASDU : 1 #Range 0 to 65535 Common Address of ASDU len : 2 #Range is 1 or 2 octets Inform. Object Address len : 2 #Range is 1, 2, or 3 octets Cyclic data transmission : 10000 #Numb of milliseconds between cyclic updates Select/Operate Timeout : 20000 #Milliseconds before select timeout Use ACTTERM with setpoint : 1 #1=Yes, 0=No ACTCON is last response to cmd Use ACTTERM with step : 1 #1=Yes, 0=No ACTCON is last response to cmd Single char ACK F0,1 or 3 : 1 #1=Single E5 resp to ACK func 0, 1 & 3 req Single char ACK C1 or C2 : 1 #1=Single E5 resp when no C1 or C2 data Maximum ASDU Resp Len : 252 #Max ASDU response message length may have #value from 25 to 252 (usually 252). Cause of Trans Octets : 1 #Number of COT octets (1 or 2) //These two parameters are utilized if the Mode A operation is to be used for the //counter freeze operation. If they are not used, then the module will operate in //Mode D. Freeze Start Type : N #D=Day, H=Hour, M=Minute, N=Not used Interval For Freeze : 30 #Number of seconds after start type (0 to 65535) # This section is used to define priority queues for the module. The data types that # can return events can be assigned priorities so that events of data types will be # returned before other data types. This may cause events to be lost as the event buffers # for low priority queues may overflow. If this feature is utilized, each data type must # be assigned a unique index from 0 to 6. The lower the index the higher the priority # (0=highest priority). Set Priority Queues : 0 #Set user defined priority queues 1=Yes, 0=No M_SP_NA Priority : 0 #Unique index for this data type in queue (0-5) M_DP_NA Priority : 1 #Unique index for this data type in queue (0-5) M_ST_NA Priority : 2 #Unique index for this data type in queue (0-5) M_ME_NA Priority : 3 #Unique index for this data type in queue (0-5) M_ME_NB Priority : 4 #Unique index for this data type in queue (0-5) M_ME_NC Priority : 5 #Unique index for this data type in queue (0-5) M_IT_NA Priority : 6 #Unique index for this data type in queue (0-5) # This section is used to define the parameters utilized for the Invalid Bit Monitoring. # If this feature is not used, set the parameters to zero. If used, the Cyclic Set IV # Time must be at least 3 times larger than the IV Check Delay Time. If the IV Fail # Count parameter is zero, the feature will be disabled. Cyclic Set IV Time : 60 #Number of sec intervals between IV sets IV Check Delay Time : 10 #Number of sec intervals between investigation IV Fail Count : 0 #Number of IV failures recognized before reporting # Event configuration Event Scan delay : 1 #MSec between event scanning (0-65535) 0=Disable M_SP_NA Scan Events : 1 #0=No scanning, 1=scan for events M_SP_NA Time Type : 2 #0=None, 1=CP24, 2=CP56 time M_DP_NA Scan Events : 1 #0=No scanning, 1=scan for events M_DP_NA Time Type : 2 #0=None, 1=CP24, 2=CP56 time M_ST_NA Scan Events : 1 #0=No scanning, 1=scan for events M_ST_NA Time Type : 2 #0=None, 1=CP24, 2=CP56 time M_ME_NA Scan Events : 1 #0=No scanning, 1=scan for events M_ME_NA Time Type : 2 #0=None, 1=CP24, 2=CP56 time M_ME_NB Scan Events : 1 #0=No scanning, 1=scan for events M_ME_NB Time Type : 2 #0=None, 1=CP24, 2=CP56 time M_ME_NC Scan Events : 1 #0=No scanning, 1=scan for events M_ME_NC Time Type : 2 #0=None, 1=CP24, 2=CP56 time M_IT_NA Time Type : 2 #0=None, 1=CP24, 2=CP56 time # This section defines parameters for balanced mode Use Balanced Mode : 0 #0=No, 1=Use balanced mode Retry Count : 2 #0 to 255 retries for balanced mode if no response Response Timeout : 1000 #0 to 65535 mSec to wait for response # Communication Parameters Baud Rate : 9600 #Baud rate for port 110-38400 Parity : 2 #0=None, 1=Odd, 2=Even, 3=Mark, 4=Space RTS On : 0 #0-65536 mSec before message RTS Off : 0 #0-65536 mSec after message Minimum Delay : 20 #Minimum # of mSec before response sent Receive Timeout : 2000 #Maximum mSec from first char to last to wait Hardware Handshaking : 0 #Hardware handshaking 0=None, 1=RTS/CTS, 2=DTR/DSR Backup Port Enabled : 0 #0=Disable port, 1=Enable port for protocol # Communication Parameters Backup Port Baud Rate : 9600 #Baud rate for port 110-38400 Backup Port Parity : 2 #0=None, 1=Odd, 2=Even, 3=Mark, 4=Space Backup Port RTS On : 0 #0-65536 mSec before message Backup Port RTS Off : 0 #0-65536 mSec after message Backup Port Min Delay : 20 #Minimum # of mSec before response sent Backup Port Handshaking : 0 #Hardware handshaking 0=None, 1=RTS/CTS, 2=DTR/DSR # Database size values [IEC-870-5-101 Database] Short Pulse Time : 2000 #MSec for short pulse command Long Pulse Time : 10000 #MSec for long pulse command M_SP_NA point count : 10 #Number of monitored single-points M_DP_NA point count : 10 #Number of monitored dual-points M_ST_NA point count : 10 #Number of monitored step-points M_ME_NA point count : 10 #Number of monitored normalized-points M_ME_NB point count : 10 #Number of monitored scaled-points M_ME_NC point count : 10 #Number of monitored short-float points M_IT_NA point count : 10 #Number of monitored counter-points C_SC_NA point count : 10 #Number of command single-points C_DC_NA point count : 10 #Number of command dual-points C_RC_NA point count : 10 #Number of command step-points C_SE_NA point count : 10 #Number of command normalized-points C_SE_NB point count : 10 #Number of command scaled-points C_SE_NC point count : 10 #Number of command short-float points M_SP_NA Sequence : No #Y=ASDU in sequence with SQ=1, N=report separate (SQ=0) M_DP_NA Sequence : No #Y=ASDU in sequence with SQ=1, N=report separate (SQ=0) M_ME_NA Sequence : No #Y=ASDU in sequence with SQ=1, N=report separate (SQ=0) M_ME_NB Sequence : No #Y=ASDU in sequence with SQ=1, N=report separate (SQ=0) M_ME_NC Sequence : No #Y=ASDU in sequence with SQ=1, N=report separate (SQ=0) M_IT_NA Sequence : No #Y=ASDU in sequence with SQ=1, N=report separate (SQ=0) M_ME_NA Parameter Offset : 2000 #M_ME_NA IOA offset for parameter data M_ME_NB Parameter Offset : 2000 #M_ME_NB IOA offset for parameter data M_ME_NC Parameter Offset : 2000 #M_ME_NC IOA offset for parameter data # This section is used to define the monitored single-point database for # the slave device emulated. This information is sourced from the database # and is transferred to the remote master unit. Each point in the database # occupies one bit (1=on or 0=off state). [M_SP_NA_1] # # Each point is one bit and the DB Address value corresponds to the bit # offset into the database. # # Point # DB Address Group(s) IV DB Bit # ------- ---------- -------- --------- START 100 0 00000001 # db bit offset 0 (bit 0 of db word 0) 101 16 00000001 # db bit offset 16 (bit 0 of db word 1) 102 32 00000001 # db bit offset 32 (bit 0 of db word 2) 103 48 00000001 # db bit offset 48 (bit 0 of db word 3) 104 64 00000001 # db bit offset 64 (bit 0 of db word 4) 105 80 00000001 # db bit offset 80 (bit 0 of db word 5) 106 96 00000001 # db bit offset 96 (bit 0 of db word 6) 107 112 00000001 # db bit offset 112 (bit 0 of db word 7) 108 128 00000001 # db bit offset 128 (bit 0 of db word 8) 109 144 00000001 # db bit offset 144 (bit 0 of db word 9) END # This section is used to define the monitored dual-point database for the # slave device emulated. This information is sourced from the database and # is transferred to the remote master unit. Each point in the database # occupies two bits (00=intermediate, 01=off, 10=on and 11=indeterminate). [M_DP_NA_1] # # Each point is TWO bits and the DB Address value corresponds to the bit # offset into the database. # # Point # DB Address Group(s) IV DB Bit # ------- ---------- -------- --------- START 200 320 00000002 # db bit offset 320 (bits 0 and 1 of db word 20) 201 336 00000002 # db bit offset 336 (bits 0 and 1 of db word 21) 202 352 00000002 # db bit offset 352 (bits 0 and 1 of db word 22) 203 368 00000002 # db bit offset 368 (bits 0 and 1 of db word 23) 204 384 00000002 # db bit offset 384 (bits 0 and 1 of db word 24) 205 400 00000002 # db bit offset 400 (bits 0 and 1 of db word 25) 206 416 00000002 # db bit offset 416 (bits 0 and 1 of db word 26) 207 432 00000002 # db bit offset 432 (bits 0 and 1 of db word 27) 208 448 00000002 # db bit offset 448 (bits 0 and 1 of db word 28) 209 464 00000002 # db bit offset 464 (bits 0 and 1 of db word 29) END # This section is used to define the monitored step database for the slave # device emulated. This information is sourced from the database and is # transferred to the remote master unit. Each point in the database occupies # one byte. [M_ST_NA_1] # # Each point is one byte and the DB Address value corresponds to the byte # offset into the database. # # Point # DB Address Group(s) IV DB Bit # ------- ---------- -------- --------- START 300 80 00000004 # db byte offset 80 (byte 0 of word 40) 301 81 00000004 # db byte offset 81 (byte 1 of word 40) 302 82 00000004 # db byte offset 82 (byte 0 of word 41) 303 83 00000004 # db byte offset 83 (byte 1 of word 41) 304 84 00000004 # db byte offset 84 (byte 0 of word 42) 305 85 00000004 # db byte offset 85 (byte 1 of word 42) 306 86 00000004 # db byte offset 86 (byte 0 of word 43) 307 87 00000004 # db byte offset 87 (byte 1 of word 43) 308 88 00000004 # db byte offset 88 (byte 0 of word 44) 309 89 00000004 # db byte offset 89 (byte 1 of word 44) END # This section is used to define the monitored measured value, normalized # database for the slave device emulated. This information is sourced from # the database and is transferred to the remote master unit. Each point # occupies a word position in the database. The IOA for the parameters for # each object are determined by adding the Point # below to the value of # the M_ME_NA Parameter Offset parameter set above. [M_ME_NA_1] # # Each point is one word and the DB Address value corresponds to the word # offset into the database. # # Default # Point # DB Address Group(s) Deadband IV DB Bit # ------- ---------- -------- -------- --------- START 400 60 00000008 100 # db word offset 60 401 61 00000008 100 # db word offset 61 402 62 00000008 100 # db word offset 62 403 63 00000008 100 # db word offset 63 404 64 00000008 100 # db word offset 64 405 65 00000008 100 # db word offset 65 406 66 00000008 100 # db word offset 66 407 67 00000008 100 # db word offset 67 408 68 00000008 100 # db word offset 68 409 69 00000008 100 # db word offset 69 END # This section is used to define the monitored measured value, scaled # database for the slave device emulated. This information is sourced from # the database and is transferred to the remote master unit. Each point # occupies a word position in the database. The IOA for the parameters for # each object are determined by adding the Point # below to the value of # the M_ME_NB Parameter Offset parameter set above. [M_ME_NB_1] # # Each point is one word and the DB Address value corresponds to the word # offset into the database. # # Default # Point # DB Address Group(s) Deadband IV DB Bit # ------- ---------- -------- -------- --------- START 500 80 00000010 100 # db word offset 80 501 81 00000010 100 # db word offset 81 502 82 00000010 100 # db word offset 82 503 83 00000010 100 # db word offset 83 504 84 00000010 100 # db word offset 84 505 85 00000010 100 # db word offset 85 506 86 00000010 100 # db word offset 86 507 87 00000010 100 # db word offset 87 508 88 00000010 100 # db word offset 88 509 89 00000010 100 # db word offset 89 END # This section is used to define the monitored short-float point # database for the slave device emulated. This information is sourced from # the database and is transferred to the remote master unit. Each point # occupies 4-byte positions in the database. The IOA for the parameters for # each object are determined by adding the Point # below to the value of # the M_ME_NC Parameter Offset parameter set above. [M_ME_NC_1] # # Each point is two words and the DB Address value corresponds to the double- # word offset into the database. # # Default # Point # DB Address Group(s) Deadband IV DB Bit # ------- ---------- -------- -------- --------- START 600 50 00000020 100.0 # db word offset 100 (double-word 50) 601 51 00000020 100.0 # db word offset 102 (double-word 51) 602 52 00000020 100.0 # db word offset 104 (double-word 52) 603 53 00000020 100.0 # db word offset 106 (double-word 53) 604 54 00000020 100.0 # db word offset 108 (double-word 54) 605 55 00000020 100.0 # db word offset 110 (double-word 55) 606 56 00000020 100.0 # db word offset 112 (double-word 56) 607 57 00000020 100.0 # db word offset 114 (double-word 57) 608 58 00000020 100.0 # db word offset 116 (double-word 58) 609 59 00000020 100.0 # db word offset 118 (double-word 59) END # This section is used to define the monitored integrated totals (counter) # database for the slave emulated. This information is sourced from the # database and is transferred to the remote master unit. Each point occu- # pies two words in the database (4-bytes). [M_IT_NA_1] # # Each point is two words and the DB Address value corresponds to the double- # word offset into the database. # # Point # DB Address Group(s) IV DB Bit # ------- ---------- -------- --------- START 700 60 00020000 # db word offset 120 (double-word 60) 701 61 00020000 # db word offset 122 (double-word 61) 702 62 00020000 # db word offset 124 (double-word 62) 703 63 00020000 # db word offset 126 (double-word 63) 704 64 00020000 # db word offset 128 (double-word 64) 705 65 00020000 # db word offset 130 (double-word 65) 706 66 00020000 # db word offset 132 (double-word 66) 707 67 00020000 # db word offset 134 (double-word 67) 708 68 00020000 # db word offset 136 (double-word 68) 709 69 00020000 # db word offset 138 (double-word 69) END # This section is used to define the single point command database for the # slave emulated. This information is sourced from the remote master and # is transferred to the database. Each point occupies a single bit position # in the database. You can associated a command with a monitored single-point # database value to coordinate the command/monitor operation. Be certain to # enter the correct Monitor Point # and Monitor DB Addr values in the table. # If the Require Select parameter is not set to zero, a select command must # be received before an execute command will be processed. [C_SC_NA_1] # # Each point is one bit and the DB Address value corresponds to the bit # offset into the database. # # Monitor Monitor Require # Point # DB Address Point # DB Addr Select # ------- ---------- ------- ------- ------- START 1100 16000 0 0 0 # db bit offset 16000 (bit 0 of word 1000) 1101 16016 0 0 0 # db bit offset 16016 (bit 0 of word 1001) 1102 16032 0 0 0 # db bit offset 16032 (bit 0 of word 1002) 1103 16048 0 0 0 # db bit offset 16048 (bit 0 of word 1003) 1104 16064 0 0 0 # db bit offset 16064 (bit 0 of word 1004) 1105 16080 0 0 0 # db bit offset 16080 (bit 0 of word 1005) 1106 16096 0 0 0 # db bit offset 16096 (bit 0 of word 1006) 1107 16112 0 0 0 # db bit offset 16112 (bit 0 of word 1007) 1108 16128 0 0 0 # db bit offset 16128 (bit 0 of word 1008) 1109 16144 0 0 0 # db bit offset 16144 (bit 0 of word 1009) END # This section is used to define the double point command database for the # slave emulated. This information is sourced from the remote master and # is transferred to the database. Each point occupies a two bits in the # database. You can associated a command with a monitored double-point # database value to coordinate the command/monitor operation. Be certain to # enter the correct Monitor Point # and Monitor DB Addr values in the table. # If the Require Select parameter is not set to zero, a select command must # be received before an execute command will be processed. [C_DC_NA_1] # # Each point is TWO bits and the DB Address value corresponds to the bit # offset into the database. # # Monitor Monitor Require # Point # DB Address Point # DB Addr Select # ------- ---------- ------- ------- ------- START 1200 16320 0 0 0 # db bit offset 16320 (bits 0 and 1 of word 1020) 1201 16336 0 0 0 # db bit offset 16336 (bits 0 and 1 of word 1021) 1202 16352 0 0 0 # db bit offset 16352 (bits 0 and 1 of word 1022) 1203 16368 0 0 0 # db bit offset 16368 (bits 0 and 1 of word 1023) 1204 16384 0 0 0 # db bit offset 16384 (bits 0 and 1 of word 1024) 1205 16400 0 0 0 # db bit offset 16400 (bits 0 and 1 of word 1025) 1206 16416 0 0 0 # db bit offset 16416 (bits 0 and 1 of word 1026) 1207 16432 0 0 0 # db bit offset 16432 (bits 0 and 1 of word 1027) 1208 16448 0 0 0 # db bit offset 16448 (bits 0 and 1 of word 1028) 1209 16464 0 0 0 # db bit offset 16464 (bits 0 and 1 of word 1029) END # This section is used to define the step command database for the slave # emulated. This information is sourced from the remote master and is # transferred to the database. Each point occupies a byte in the database. # The control value can be associated with a monitored point as described # above. [C_RC_NA_1] # # Each point is one byte and the DB Address value corresponds to the byte # offset into the database. # # Monitor Monitor # Point # DB Address Point # DB Addr # ------- ---------- ------- ------- START 1300 2080 0 0 # db byte offset 2080 (byte 0 of word 1040) 1301 2082 0 0 # db byte offset 2082 (byte 0 of word 1041) 1302 2084 0 0 # db byte offset 2084 (byte 0 of word 1042) 1303 2086 0 0 # db byte offset 2086 (byte 0 of word 1043) 1304 2088 0 0 # db byte offset 2088 (byte 0 of word 1044) 1305 2090 0 0 # db byte offset 2090 (byte 0 of word 1045) 1306 2092 0 0 # db byte offset 2092 (byte 0 of word 1046) 1307 2094 0 0 # db byte offset 2094 (byte 0 of word 1047) 1308 2096 0 0 # db byte offset 2096 (byte 0 of word 1048) 1309 2098 0 0 # db byte offset 2098 (byte 0 of word 1049) END # This section is used to define the normalized setpoint database for the # slave emulated. This information is sourced from the remote master and # is transferred to the database. Each point occupies a word position in # the database. You can associated a command with a monitored normalized # database value to coordinate the command/monitor operation. Be certain to # enter the correct Monitor Point # and Monitor DB Addr values in the table. # If the Require Select parameter is not set to zero, a select command must # be received before an execute command will be processed. [C_SE_NA_1] # # Each point is one word and the DB Address value corresponds to the word # offset into the database. # # Monitor Monitor Require # Point # DB Address Point # DB Addr Select # ------- ---------- ------- ------- ------- START 1400 1060 0 0 0 # db word offset 1060 1401 1061 0 0 0 # db word offset 1061 1402 1062 0 0 0 # db word offset 1062 1403 1063 0 0 0 # db word offset 1063 1404 1064 0 0 0 # db word offset 1064 1405 1065 0 0 0 # db word offset 1065 1406 1066 0 0 0 # db word offset 1066 1407 1067 0 0 0 # db word offset 1067 1408 1068 0 0 0 # db word offset 1068 1409 1069 0 0 0 # db word offset 1069 END # This section is used to define the scaled setpoint database for the # slave emulated. This information is sourced from the remote master and # is transferred to the database. Each point occupies a word position in # the database. You can associated a command with a monitored scaled # database value to coordinate the command/monitor operation. Be certain to # enter the correct Monitor Point # and Monitor DB Addr values in the table. # If the Require Select parameter is not set to zero, a select command must # be received before an execute command will be processed. [C_SE_NB_1] # # Each point is one word and the DB Address value corresponds to the word # offset into the database. # # Monitor Monitor Require # Point # DB Address Point # DB Addr Select # ------- ---------- ------- ------- ------- START 1500 1080 0 0 0 # db word offset 1080 1501 1081 0 0 0 # db word offset 1081 1502 1082 0 0 0 # db word offset 1082 1503 1083 0 0 0 # db word offset 1083 1504 1084 0 0 0 # db word offset 1084 1505 1085 0 0 0 # db word offset 1085 1506 1086 0 0 0 # db word offset 1086 1507 1087 0 0 0 # db word offset 1087 1508 1088 0 0 0 # db word offset 1088 1509 1089 0 0 0 # db word offset 1089 END # This section is used to define the short-float setpoint database for the # slave emulated. This information is sourced from the remote master and # is transferred to the database. Each point occupies a double-word position # in the database. You can associate a command with a monitored scaled # database value to coordinate the command/monitor operation. Be certain to # enter the correct Monitor Point # and Monitor DB Addr values in the table. # If the Require Select parameter is not set to zero, a select command must # be received before an execute command will be processed. [C_SE_NC_1] # # Each point is two words and the DB Address value corresponds to the # double-word offset into the database. # # DB Address Monitor Monitor Require # Point # (word*2) Point # DB Addr Select # ------- ---------- ------- ------- ------- START 1600 560 0 0 0 #db word offset 1120 (double-word 560) 1601 561 0 0 0 #db word offset 1122 (double-word 561) 1602 562 0 0 0 #db word offset 1124 (double-word 562) 1603 563 0 0 0 #db word offset 1126 (double-word 563) 1604 564 0 0 0 #db word offset 1128 (double-word 564) 1605 565 0 0 0 #db word offset 1130 (double-word 565) 1606 566 0 0 0 #db word offset 1132 (double-word 566) 1607 567 0 0 0 #db word offset 1134 (double-word 567) 1608 568 0 0 0 #db word offset 1136 (double-word 568) 1609 569 0 0 0 #db word offset 1138 (double-word 569) END