# IEC103M.CFG # # Example file for use with the IEC-870-5-103 Master protocol driver on the # MVI56 platform (two master ports). # # # 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 : MVI56-103M DEMO MODULE Read Register Start : 0 #Starting DB address of data read by processor Read Register Count : 200 #Number of regs read by processor Write Register Start : 200 #Starting DB address of data received from processor Write Register Count : 200 #Number of regs to be received from processor Failure Flag Count : 0 #Determines if BP failure will cause protocol to be #disabled (0=Ignore, >0 = failure count to disable) Pass-Through Events : Y #Pass event messages to processor # This is the configuration for the IEC-870-5-103 master port emulated on the # module. [IEC-870-5-103 Master] Session Count : 2 #1 to 32 - maximum number of slaves on all channels [IEC-870-5-103 Master Port 0] # Communication Parameters Baud Rate : 9600 #Baud rate for port 110-115200 Parity : E #N=None, O=Odd, E=Even, M=Mark, S=Space RTS On : 0 #0-65536 mSec before message RTS Off : 1 #0-65536 mSec after message Minimum Delay : 10 #Minimum # of mSec before response sent Receive Timeout : 2000 #Maximum mSec from first char to last to wait # These parameters are protocol specific Single char ACK F0,1 or 3 : Y #Single E5 resp to ACK func 0, 1 & 3 req (Y/N) [IEC-870-5-103 Master Port 1] # Communication Parameters Baud Rate : 9600 #Baud rate for port 110-115200 Parity : E #N=None, O=Odd, E=Even, M=Mark, S=Space RTS On : 0 #0-65536 mSec before message RTS Off : 1 #0-65536 mSec after message Minimum Delay : 5 #Minimum # of mSec before response sent Receive Timeout : 1000 #Maximum mSec from first char to last to wait # These parameters are protocol specific Single char ACK F0,1 or 3 : Y #Single E5 resp to ACK func 0, 1 & 3 req (Y/N) # This section is used to define session 0 which runs on Port 0 [IEC-103 Master Session 0] Communication Port : 0 #Index of COM port for session (0 or 1) Sector Count : 1 #1 is max for this version of app Data Link Address : 1 #Range is 0 to 65535 DL address of slave Failure Delay : 10 #Min Sec to delay before poll of offline slave #(0 to 2000 seconds) Confirm Timeout : 1000 #0 to 2^32-1 mSec to wait for DL confirm Retry Count : 2 #0 to 255 retries for if no confirm Response Timeout : 20000 #Timeout for confirm of req (0 to 2^32-1) C1/C2 Poll Count Pend : 100 #class 1 or 2 polls before next slave tried (0-65535) Class 1 Polls : 20 #Max class 1 polls to this session Class 1 Pend delay : 0 #Min mSec delay between call (0 to 2^32-1) Class 2 Pend delay : 0 #Min mSec delay between call (0 to 2^32-1) Class 1 Poll delay : 0 #Min mSec delay between call (0 to 2^32-1) Class 2 Poll delay : 500 #Min mSec delay between call (0 to 2^32-1) [IEC-103 Master Session 0 Sector 0] Common ASDU Address : 3 #Range 0 to 255 Sector address #Req init requests when session first online (not req if slave sends # EOI sequence) Online Time sync : Y #Send time sync message when first online Online General Int : Y #Send general interrogation #Req init requests when EOI (end of initialization) received from slave EOI Time sync : Y #Send time sync message when first online EOI General Int : Y #Send general interrogation # Database definition for this session/sector # Types are as follows: # # Monitored ASDU Types # 1 = Time-tagged message (bit addressed with 2 bits/point) # 2 = Time-tagged message with relative time (bit addressed with 2 bits/point) # 3 = Measurands I (4 word values using word address using double-word address) # 4 = Time-tagged measurands with relative time (1 float value) # 5 = Identification (12 characters using a byte address) # 9 = Measurands II (9 word values using word address) # # Point Index is the information object number in the slave unit. # ASDU Index Description # 1 Bit address with each point occupying 2 bits # 2 Bit address with each point occupying 2 bits # 3 Word address with each point occupying 4 words # 4 Double-word address for the single float value # 5 Byte address with each point occupying 12 bytes # 9 Word address with each point occupying 9 words # # Function Code Values # Code Definition # 128 Distance protection # 160 Overcurrent protection # 176 Transformer differential protection # 192 Line Differential protection # 255 Global function type # # Database Index = Database address in module # # ASDU Database Function Point # Type Index Code Index START 1 0 128 16 2 160 128 17 3 50 128 18 4 40 128 19 5 180 128 20 9 100 128 21 END # This section is used to define session 0 which runs on Port 1 [IEC-103 Master Session 1] Communication Port : 1 #Index of COM port for session (0 or 1) Sector Count : 1 #1 is max value for this version of app Data Link Address : 2 #Range is 0 to 65535 DL address of slave Failure Delay : 10 #Min Sec to delay before poll of offline slave #(0 to 2000 seconds) Confirm Timeout : 1000 #0 to 2^32-1 mSec to wait for DL confirm Retry Count : 2 #0 to 255 retries for if no confirm Response Timeout : 10000 #Timeout for confirm of req (0 to 2^32-1) C1/C2 Poll Count Pend : 0 #class 1 or 2 polls before next slave tried (0-65535) Class 1 Polls : 0 #Max class 1 polls to this session Class 1 Pend delay : 0 #Min mSec delay between call (0 to 2^32-1) Class 2 Pend delay : 0 #Min mSec delay between call (0 to 2^32-1) Class 1 Poll delay : 0 #Min mSec delay between call (0 to 2^32-1) Class 2 Poll delay : 0 #Min mSec delay between call (0 to 2^32-1) [IEC-103 Master Session 1 Sector 0] Common ASDU Address : 5 #Range 0 to 65534 Sector address #Req init requests when session first online (not req if slave sends # EOI sequence) Online Time sync : Y #Send time sync message when first online Online General Int : Y #Send general interrogation #Req init requests when EOI (end of initialization) received from slave EOI Time sync : Y #Send time sync message when first online EOI General Int : Y #Send general interrogation # Database definition for this session/sector # # ASDU Database Function Point # Type Index Code Index START 1 32 160 32 2 176 160 33 3 54 160 35 4 46 176 36 5 240 128 37 9 150 128 64 END [IEC-103 Master Commands] # # Enable code field is as follows: # 0 = Disabled # 1 = Enabled with Poll Interval (seconds) utilized # 2 = Conditional (executed when point in database changes) # # Database Index is the location in the module's database to use as the source # for the data in the command. The data type field determines # the meaning of the index as follows: # Type Description DB Index type # ---- ----------------------------------- -------------------- # 6 Clock synchronization NA # 7 General interrogataion NA # 20 General Command Bit address # # Poll Interval field is utilized when the Enable Code is set to 1. This field # determines the minimum number of seconds to wait between each # execution of the command. # # Session Index represents the session index in the module to associate with the # command. This index is set when the session is read in from # this file. The range of values for this field is 0 to 31. # # Sector Index represents the sector index for the specific session. The range # of values for this field is 0 to 4. # # Data type file represents the ASDU type as follows: # 6 = Time synchronization # 7 = General Interrogation # 20 = General Command # # Function code # Code Definition # 128 Distance protection # 160 Overcurrent protection # 176 Transformer differential protection # 192 Line Differential protection # 255 Global function type # # Point Index field is used to specify the address in the remote slave device # of the point to interact with. # # Override Flag field is used for general commands to determine the value # to be written. If the override flag is clear (0), the value # in the database will be utilized. If the override flag is set (1), # the value specified in the override value field will be used. # # Override Value field is utilized if the override flag is set. This can be # used to always force a control parameter to a fixed value. The # Enable code 2 and the database value for the command can be used # to determine when the value should be written. # # Enable DB Poll Session Sector Data Func Point Ovrd Ovrd # Code Index Interval Index Index Type Code Index Flag Val START 0 3200 5 0 0 20 160 16 0 0 0 3202 5 0 0 20 160 17 0 0 0 0 5 0 0 6 255 18 0 0 END