# IEC101M.CFG # # Example file for use with the IEC-870-5-101 Master protocol driver on the # Protalk 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. [Module] Module Name : PTQ-101M Module Type : PTQ-101M [Module Comment] # Put Comment Here [Backplane Configuration] Module Name : PTQ-101M COMMUNICATION MODULE Read Register Start : 0 #Starting DB address of data read by processor Read Register Count : 50 #Number of regs read by processor Write Register Start : 1000 #Starting DB address of data received from processor Write Register Count : 50 #Number of regs to be received from processor #This parameter is not used in the PTQ product! Failure Flag Count : 0 #Determines if BP failure will cause protocol to be #disabled (0=Ignore, >0 = failure count to disable) Pass-Through Events : N #Pass event messages to processor #Used to define the area in the Processor for the module to interface with 3x Register Start : 1 #3x start register where data moved from module to processor (1-n) 4x Register Start : 1 #4x start register where data moved from processor to module (1-n) # This is the configuration for the IEC-870-5-101 master port emulated on the # module. [IEC-870-5-101 Master] Session Count : 1 #1 to 32 - maximum number of slaves on all channels [IEC-870-5-101 Master Port 0] # Communication Parameters Baud Rate : 9600 #Baud rate for port 110-38400 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) Use Balanced Mode : N #Use balanced mode (Yes or No) DL address length : 2 #0, 1, or 2 octets used for DL address [IEC-870-5-101 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 : 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) Use Balanced Mode : N #Use balanced DL address length : 2 #0, 1, or 2 octets used for DL address # This section is used to define session 0 which runs on Port 0 [IEC-101 Master Session 0] Communication Port : 0 #Index of COM port for session (0 or 1) Sector Count : 1 #1 to 5 sectors for this slave Data Link Address : 3 #Range is 0 to 65535 DL address of slave Common Address of ASDU len : 2 #Range is 1 or 2 octets Inform. Object Address len : 2 #Range is 1, 2, or 3 octets COT octet count : 1 #1 or 2 (include originator address) Originator address for COT : 1 #Range is 0 to 255 (if COT len = 2) # This section defined if Unbalanced mode utilized Failure Delay : 10 #Min Sec to delay before poll of offline slave #(0 to 2000) (Unbalanced only) 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 #Parameters used for unbalanced mode of operation 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) Auto Clock Req Mode : 0 #0=Sync Only, 1=Load delay/sync, #2=Aquire delay/load delay/sync Propagation Delay : 0 #Fixed time delay for clock sync (0-65535) Response Timeout : 20000 #Timeout for confirm of req (0 to 2^32-1) ACTTERM with setpoint : Y #Y=ACTTERM last response from setpoint cmd #N=ACTCON last response from setpoint cmd [IEC-101 Master Session 0 Sector 0] Common ASDU Address : 3 #Range 0 to 65534 Sector address Use Time tag commands : N #Use time tags when commands sent #Req init requests when session first online (not req if slave sends # EOI sequence) Online Time sync : N #Send time sync message when first online Online General Int : N #Send general interrogation #Req init requests when EOI (end of initialization) received from slave EOI Time sync : N #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 Data # 1 = Single point # 3 = Double point # 5 = Step point # 7 = Bitstring of 32-bits # 9 = Measured normalized points # 11 = Measured scaled points # 13 = Measured short float points # 15 = Integrated totals # 110 = Measured normalized parameter # 111 = Measured scaled parameter # 112 = Measured short float parameter # 240 = Integrated totals BCD format # # Data Point Database # Type Index Point START 1 100 0 1 101 1 1 102 2 3 200 16 3 201 18 3 202 20 3 204 22 5 300 20 5 301 22 5 302 26 7 400 5 9 500 30 9 501 31 11 600 9 11 601 10 11 608 11 13 1000 12 13 1001 14 15 2000 16 15 2000 18 110 700 50 111 705 52 112 750 100 END # This section is used to define session 0 which runs on Port 1 [IEC-101 Master Session 1] Communication Port : 1 #Index of COM port for session (0 or 1) Sector Count : 1 #1 to 5 sectors for this slave Data Link Address : 3 #Range is 0 to 65535 DL address of slave Common Address of ASDU len : 2 #Range is 1 or 2 octets Inform. Object Address len : 2 #Range is 1, 2, or 3 octets COT octet count : 1 #1 or 2 (include originator address) Originator address for COT : 1 #Range is 0 to 255 (if COT len = 2) # This section defined if Unbalanced mode utilized Failure Delay : 10 #Min Sec to delay before poll of offline slave #(0 to 2000) (Unbalanced only) 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 #Parameters used for unbalanced mode of operation 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) Auto Clock Req Mode : 0 #0=Sync Only, 1=Load delay/sync, #2=Aquire delay/load delay/sync Propagation Delay : 0 #Fixed time delay for clock sync (0-65535) Response Timeout : 10000 #Timeout for confirm of req (0 to 2^32-1) ACTTERM with setpoint : Y #Y=ACTTERM last response from setpoint cmd #N=ACTCON last response from setpoint cmd [IEC-101 Master Session 1 Sector 0] Common ASDU Address : 3 #Range 0 to 65534 Sector address Use Time tag commands : N #Use time tags when commands sent #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 # # Data Point Database # Type Index Point START 1 100 320 #This device only has 4 M_SP_NA_1 points 1 101 321 1 102 322 1 150 323 END [IEC-101 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 # ---- ----------------------------------- -------------------- # 45 Single point Command Bit address # 46 Double point Command Bit address # 47 Regulating Step point Command Byte address # 48 Setpoint, normalized point Command Word address # 49 Setpoint, scaled point Command Word address # 50 Setpoint, short float point Command Double-word address # 51 Bitstring (32-bits) point Command Double-word address # 100 Group interrogation command NA # 101 Counter interrogation command NA # 102 Read command NA # 103 Clock synchronization NA # 104 Test command (101 standard) NA # 105 Reset process command NA # 107 Test command (104 standard) NA # 110 Parameter, normalized measured val Word address # 111 Parameter, scaled measured value Word address # 112 Parameter, short float value Double-word address # 113 Parameter activation command NA # 242 BCD integrated setpoint command 3 word addresses # 255 Send a class 2 poll NA # # 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: # 45 = Single point Command # 46 = Double point Command # 47 = Regulating Step point Command # 48 = Setpoint, normalized point Command # 49 = Setpoint, scaled point Command # 50 = Setpoint, short float point Command # 51 = Bitstring (32-bits) point Command # 100 Group interrogation command # 101 Counter interrogation command # 102 Read command # 103 Clock synchronization # 104 Test command (101 standard) # 105 Reset process command # 107 Test command (104 standard) # 110 Parameter, normalized measured val # 111 Parameter, scaled measured value # 112 Parameter, short float value # 113 Parameter activation command # 242 BCD integrated setpoint command # 255 Send a class 2 poll # # Point Index field is used to specify the address in the remote slave device # of the point to interact with. # # Qualifier Parameter is dependent on the Data Type selected. Refer to the module # documentation for a full listing of the qualifiers. # # Enable Database Poll Session Sector Data Point Qualifier # Code Index Interval Index Index Type Index Parameter START # 1 16000 5 0 0 45 1000 12 # 1 17600 16 0 0 46 1100 12 # 1 2002 17 0 0 47 1200 14 # 1 1003 18 0 0 48 1300 0 # 1 1004 10 0 0 49 1400 0 # 1 505 10 0 0 50 1500 1 # 1 500 10 0 0 51 1500 0 # 1 0 11 0 0 100 100 14 # 1 0 45 0 0 101 0 5 # 1 0 15 0 0 102 100 0 # 1 0 1000 0 0 103 0 0 # 0 0 1000 0 0 104 0 0 # 1 0 30 0 0 105 0 1 # 1 1007 10 0 0 110 2400 04 # 1 1017 11 0 0 111 2401 4 # 1 510 12 0 0 112 2600 3 # 1 0 13 0 0 113 2400 0 # 1 0 13 0 0 242 0 0 END