# DNPPTQ.CFG # # This file contains the configuration for the DNP Master/Slave # communication module. # # LOCATION : # DATE : # CONFIGURED BY : # MODIFIED : # # This section is used to define the module name for the Module. # # This information sets up the database. [Module] Module Name : PTQ-DNP Module # This section is used by the ProTalk module to define the data transferred between # the module and processor. # # Data Type --> 101=DNP BI, 102=DNP BO, 103=DNP Cntr, 104=DNP AI, # 105=DNP AO, 106=DNP FI, 107=RESERVED, # 108=DNP FO, 109= RESERVED, # 201=IED BI, 202=IED BO, 203=IED Cntr, 204=IED AI, # 205=IED AO, # 2=Read from Status Database 3=Command Control # # Start Point Address --> Index of first point in data type # # Point Type --> 0=0x, 1=1x, 3=3x, and 4=4x (Quantum data type) # 0=%M, 1=%I, 3=%IW, and 4=%MW (Unity data type) # # Point Address --> point address (1 based)(0x and 1x must be at start of word (i.e., 1, 17, 33, ...)) # Word Count --> number of words to transfer (1 to 130) # [Backplane Data Exchange] # Data Start PT Point Point Word # Type Address Type Address Count START 101 0 4 101 10 #Move DNP BI data to module 102 0 4 111 10 #Move DNP BO data to quantum 103 0 4 121 20 #Move DNP Cntr data to module 104 0 4 201 10 #Move DNP AI data to module 105 0 4 301 10 #Move DNP AO data to quantum 106 0 4 401 20 #Move DNP FI data to module 108 0 4 501 8 #Move DNP FO data to quantum 201 0 4 601 10 #Move IED BI data to quantum 202 0 4 611 10 #Move IED BO data to module 203 0 4 621 20 #Move IED Cntr data to quantum 204 0 4 650 50 #Move IED AI data to quantum 205 0 4 700 8 #Move IED AO data to module 3 0 4 801 64 #command control data area END # This section is used to define the configuration for the Module. # port. This port will receive requests from a remote DNP master unit. # [DNP Slave] Internal Slave ID : 6 #0-65534 slave identification code for this unit # DNP slave communication port configuration Baud Rate : 19200 #Baud rate for port 110-115200 RTS On : 0 #0-32000 mSec before message RTS Off : 0 #0-32000 mSec after message Min Response Delay : 0 #0-32000 mSec before response sent from slave # DNP slave modem configuration Modem : No #Use a dial-up modem on this port (Yes or No) Connect Timeout : 20000 #0-65535 mSec before connect timeout First Character Delay : 1000 #0-65535 mSec before 1st char after connect Redial Delay Time : 100 #0-65535 1/10 seconds min before redial attempt Redial Random Delay : 150 #0-65535 1/10 seconds random before redial attempt Idle Timeout : 200 #0-65535 1/10 seconds inactive timeout Phone Number : ATDT18001234567 # Collision Avoidance parameters Collision Avoidance : No #Use Collision Avoidance (Yes or No) CD Idle Time : 10 #0-32000 mSec min idle time before transmit CD Random Time : 15 #0-32000 mSec random idle time before transmit CD Time Before Receive : 5 #0-65535 mSec before receive #Default Class Settings BI Class : 1 #Default class for binary input events AI Class : 2 #Default class for analog input events Float Class : 3 #Default class for float input events Double Class : 0 #(Not Used) # DNP specific parameters AI Deadband : 10 #0-32767 analog deadband value for events Float Deadband : 10.0 #Single float deadband Double Deadband : 0 #(Not Used) Select/Operate Arm Time : 2000 #1-65535 mSec arm timeout for select/op outputs Write Time Interval : 60 #0-1440 minutes for time sync from master Data Link Confirm Mode : Never #DL confirm mode (N=Never,S=Sometimes,A=Always) Data Link Confirm Tout : 1000 #1-65535 mSec DL confirm timeout Data Link Max Retry : 2 #0-255 maximum DL confirm retry count App Layer Confirm Tout : 2000 #1-65535 mSec App Layer confirm timeout Unsolicited Response : No #Generate Unsolicited responses (Yes or No) Class 1 Unsol Resp Min : 2 #1-255 min number of events before send Class 2 Unsol Resp Min : 3 #1-255 min number of events before send Class 3 Unsol Resp Min : 4 #1-255 min number of events before send Unsol Resp Delay : 10000 #0-65535 mSec before events sent UResp Master Address : 2 #DNP address of master to send UResp data UResp Retry Count : 0 #0-255 Number of retries before switching ports AI Events with time : No #timestamp AI Event data default (Yes or No) Time Sync Before Events : No #timesync module before events gen (Yes or No) Initialize DNP Database : No #Initialize the DNP Slave output database areas (Y/N) [DNP Slave Database] Binary Inputs : 160 #0-8000 point count to hold BI data PLC Binary Inputs : 160 #0-8000 BI point count from PLC Analog Inputs : 10 #0-500 points of analog input data PLC Analog Inputs : 10 #0-500 analog input points from PLC Float Inputs : 10 #0-250 points of floating-point format data PLC Float Inputs : 10 #0-250 points of floating-point format data Double Inputs : 0 #(Not Used) PLC Double Inputs : 0 #(Not Used) Counters : 10 #0-250 points of counter data PLC Counters : 10 #0-250 counter points from PLC Binary Outputs : 160 #0-2000 point count to hold BO data PLC Binary Outputs : 160 #0-2000 BO point count from PLC Analog Outputs : 10 #0-500 points of analog output data PLC Analog Outputs : 10 #0-500 analog output points from PLC Float Outputs : 10 #0-250 points of floating-point format data PLC Float Outputs : 10 #0-250 points of floating-point format data Double Outputs : 0 #(Not Used) PLC Double Outputs : 0 #(Not Used) [DNP Slave Binary Inputs] # This area is to override the class (2) binary input database points. # # Point# Class Start # 0 2 # 1 2 # 2 2 End [DNP Slave Analog Inputs] # This area is to override the class (3) and deaband for the integer analog # input database. The point # is the offset from the start of the analog # input database. # # Point# Class Deadband Start # 0 3 50 # 1 3 50 # 2 3 50 End [DNP Slave Float Inputs] # This area is to override the class (3) and deaband for the single float # database. The point # is not the address in the analog database, but is # the offset from the start of the single floating-point database. # # Point# Class Deadband Start # 0 1 100.0 # 1 1 1.34 # 3 1 50.45 # 5 1 100.0 # 6 1 1.34 # 7 1 50.45 End # This section is not used for the PTQ-DNP module [DNP Slave Double Inputs] # This area is to override the class (3) and deaband for the double float # database. The point # is not the address in the analog database, but is # the offset from the start of the double floating-point database. # # Point# Class Deadband Start # 0 1 100. # 1 2 987.34 # 2 3 789.23 # 3 0 135.45 #Events will never be generated for this point # 4 1 3129.22 #points 5 to 9=class 3, deadband = 4000.0000 End [Secondary Port] Type : M #' '=Disabled, M=Master, S=Slave Baud Rate : 19200 #Baud rate for port 110-115200 RTS On : 10 #0-65535 mSec before message RTS Off : 0 #0-65535 mSec after message Min Response Delay : 0 #0-65535 mSec before response sent from slave # Collision Avoidance parameters Collision Avoidance : No #Use Collision Avoidance (N=No, Y=Yes) CD Idle Time : 10 #0-32000 mSec min idle time before transmit CD Random Time : 20 #0-32000 mSec random idle time before transmit CD Time Before Receive : 6 #0-65535 mSec before receive [DNP Master] Internal ID : 5 #0-65534 identification code for this unit Initialize IED Database : Yes #Initialize the IED input database areas (Y/N) Event Messages to PLC : Yes #Pass received events to processor (Y/N) [IED Database] Binary Inputs : 160 #0-8000 point count to hold BI data Analog Inputs : 10 #0-500 points of analog input data Counters : 10 #0-250 points of counter data Binary Outputs : 160 #0-2000 point count to hold BO data Analog Outputs : 10 #0-500 points of analog output data [DNP Master Slave List] # This section is used to store information about each slave to be # used by the master port. There must be an entry in this table for each # node to be used in the command list. Two of the parameters in this list # are coded values: # Conf Mode ==> 0=Never, 1=Sometimes and 2=Always (select 0). # Flags is bit coded as follows: # Bit 0 (decimal 1) ==> Enable the slave # Bit 1 (decimal 2) ==> Use Unsolicited messaging with this slave # Bit 2 (decimal 4) ==> Use delay measurement with this slave # Bit 3 (decimal 8) ==> Auto time synchronization enabled # START # Node DL Conf Conf Conf App Rsp # Address Mode Timeout Retry Timeout Flags 32 0 1000 0 7000 9 END [DNP Master Commands] # This section contains the list of commands to process on the master port. # Node addresses present in the command list must have an entry in the # [DNP Slave List]. Commands with nodes not present in the list will not be # executed. # START # 1 2 3 4 5 6 7 8 9 10 #Flags/ Node Data Data Cmd Device Point DNP DB IED DB Poll #Enable Address Object Variation Func Address Count Address Address Interval # 22 32 40 2 1 0 10 -1 0 2 # 6 32 1 1 1 0 60 -1 0 5 # 6 32 30 1 1 0 50 -1 0 6 END