# IEC8701S.CFG # # Example file for use with the IEC-870-5-101 Slave protocol driver on the # MVI71 platform. # # # 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 : MVI71-870S DEMO MODULE Read Register Start : 100 #Starting DB address where read data stored Read Register Count : 50 #Number of regs to read from processor Write Register Start : 0 #Starting DB address where write data accessed Write Register Count : 50 #Number of regs to write to processor Failure Flag Count : 0 #Determines if BP failure will cause protocol to be #disabled (0=Ignore, >0 = failure count to disable) Error Offset : 1000 #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 : 2000 #DB location of IEC time (-1=ignore) 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) # 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_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-115200 Parity : 0 #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 Backup Port Enabled : 0 #0=Disable port, 1=Enable port for protocol # Communication Parameters Backup Port Baud Rate : 9600 #Baud rate for port 110-115200 Backup Port Parity : 0 #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 # 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_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 : 5 #Number of command short-float points 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 # 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) # ------- ---------- -------- START 100 0 80000000 # P1-PSHH -- Discharge pressure SD 101 1 80000000 # P1-PSH -- High discharge pressure 102 2 80000000 # P1-PSL -- Low suction pressure 103 3 80000000 # P1-FSL -- Low flow 104 4 80000000 # P2-PSHH -- Discharge pressure SD 105 5 00000001 # P2-PSH -- High discharge pressure 106 6 00000001 # P2-PSL -- Low suction pressure 107 7 00000001 # P2-FSL -- Low flow 108 8 00000001 # 109 9 00000001 # 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) # ------- ---------- -------- START 200 16 00000002 # Pump 1 Status 201 18 00000002 # MOV101 -- position switch 202 20 00000002 # MOV102 -- position switch 203 22 00000002 # MOV103 -- position switch 204 24 00000002 # Pump 2 Status 205 26 00000002 # MOV201 -- position switch 206 28 00000002 # MOV202 -- position switch 207 30 00000002 # MOV203 -- position switch 208 32 00000002 # MOV401 -- position switch 209 34 00000002 # MOV402 -- position switch 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) # ------- ---------- -------- START 300 10 00000004 # 301 11 00000004 # 302 12 00000004 # 303 13 00000004 # 304 14 00000004 # 305 15 00000004 # 306 16 00000004 # 307 17 00000004 # 308 18 00000004 # 309 19 00000004 # 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 # ------- ---------- -------- -------- START 400 10 00000008 2000 # P1 suction pressure 401 11 00000008 1000 # P1 discharge pressure 402 12 00000008 5000 # P2 suction pressure 403 13 00000008 100 # P2 discharge pressure 404 14 00000008 100 # Station discharge pressure 405 15 00000008 100 # VSD speed 406 16 00000008 100 # 407 17 00000008 100 # 408 18 00000008 100 # 409 19 00000008 100 # 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 # ------- ---------- -------- -------- START 500 20 00000010 100 # P1 inboard bearing temp 501 21 00000010 100 # P1 outboard bearing temp 502 22 00000010 100 # P1 winding Temp 503 23 00000010 100 # P1 current 504 24 00000010 100 # P2 inboard bearing temp 505 25 00000010 100 # P2 outboard bearing temp 506 26 00000010 100 # P2 winding Temp 507 27 00000010 100 # P2 current 508 28 00000010 100 # 509 29 00000010 100 # 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) # ------- ---------- -------- START 600 20 00020000 # Meter 1 totalizer 601 21 00040000 # Meter 2 totalizer 602 22 00080000 # Meter 3 totalizer 603 23 00100000 # Meter 4 totalizer 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. # The user may also associate a monitor point to each command point. # So the module will send the monitor points everytime it sends # command point response. The Information Object Address is given by the # Monitor Point parameter and its value will be copied from the database # location given by Monitor DB Addr. # # Monitor Monitor Require # Point # DB Address Point # DB Addr Select # ------- ---------- ------- ------- ------- START 700 1600 150 800 1 #Alarm 701 1601 151 801 0 #Blower #1 702 1602 152 802 0 #Blower #2 703 1603 153 803 0 #Panel Light 704 1604 154 804 0 # 705 1605 155 805 0 # 706 1606 156 806 0 # 707 1607 157 807 0 # 708 1608 158 808 0 # 709 1609 159 809 0 # 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 800 1616 0 0 1 # P1 control 801 1618 0 0 1 # MOV101 control 802 1620 0 0 0 # MOV102 control 803 1622 0 0 0 # MOV103 control 804 1624 0 0 0 # P2 control 805 1626 0 0 0 # MOV201 control 806 1628 0 0 0 # MOV202 control 807 1630 0 0 0 # MOV203 control 808 1632 0 0 0 # MOV401 control 809 1634 0 0 0 # MOV402 control 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 900 220 0 0 # 901 221 0 0 # 902 222 0 0 # 903 223 0 0 # 904 224 0 0 # 905 225 0 0 # 906 226 0 0 # 907 227 0 0 # 908 228 0 0 # 909 229 0 0 # 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 1000 120 0 0 0 # 1001 121 0 0 0 # 1002 122 0 0 0 # 1003 123 0 0 0 # 1004 124 0 0 0 # 1005 125 0 0 0 # 1006 126 0 0 0 # 1007 127 0 0 0 # 1008 128 0 0 0 # 1009 129 0 0 0 # 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 1100 130 0 0 0 # 1101 131 0 0 0 # 1102 132 0 0 0 # 1103 133 0 0 0 # 1104 134 0 0 0 # 1105 135 0 0 0 # 1106 136 0 0 0 # 1107 137 0 0 0 # 1108 138 0 0 0 # 1109 139 0 0 0 # END [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 1200 70 0 0 0 #db word offset 140 1201 71 0 0 0 #db word offset 142 1202 72 0 0 0 #db word offset 144 1203 73 0 0 0 #db word offset 146 1204 74 0 0 0 #db word offset 148 END