# PTQ_DNPQ.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 : ProTalk-DNP-Q Example (ProLinx Communication Gateways, Inc.) # 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=DNP DI (Not Used), # 108=DNP FO, 109=DNP DO (Not Used), # 201=IED BI, 202=IED BO, 203=IED Cntr, 204=IED AI, # 205=IED AO, # 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 (160 BI points) 102 0 4 201 10 #Move DNP BO data to quantum (160 BO points) 103 0 4 301 40 #Move DNP Cntr data to module (20 CNTR points) 104 0 4 341 50 #Move DNP AI data to module (50 AI points) 105 0 4 401 28 #Move DNP AO data to quantum (28 AO points) 106 0 4 501 20 #Move DNP FI data to module (10 FI points) 108 0 4 521 8 #Move DNP FO data to quantum (4 FO points) 201 0 4 601 10 #Move IED BI data to quantum (160 BI points) 202 0 4 611 3 #Move IED BO data to module (48 BO points) 203 0 4 614 20 #Move IED Cntr data to quantum (10 CNTR points) 204 0 4 650 50 #Move IED AI data to quantum (50 AI points) 205 0 4 700 48 #Move IED AO data to module (48 AO points) 3 0 4 801 64 #command control data area 3 0 4 901 64 #BI online/offline 3 0 4 1001 64 #AI online/offline 3 0 4 1101 64 #FI online/offline 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 : 32 #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-65535 mSec before message RTS Off : 0 #0-65535 mSec after message Min Response Delay : 0 #0-65535 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 : 2 #Default class for binary input events AI Class : 3 #Default class for analog input events Float Class : 0 #Default class for float input events Double Class : 0 #Default class for double input events (Not Used) # DNP specific parameters AI Deadband : 10 #0-32767 analog deadband value for events Float Deadband : 1000.0 #Single float deadband Double Deadband : 0 #Double float deadband (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 : 10 #1-255 min number of events before send Class 2 Unsol Resp Min : 10 #1-255 min number of events before send Class 3 Unsol Resp Min : 10 #1-255 min number of events before send Unsol Resp Delay : 2000 #0-65535 mSec before events sent UResp Master Address : 1 #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 : 50 #0-500 points of analog input data PLC Analog Inputs : 50 #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 Counters : 20 #0-250 points of counter data PLC Counters : 20 #0-250 counter points from PLC Binary Outputs : 160 #0-8000 point count to hold BO data PLC Binary Outputs : 160 #0-8000 BO point count from PLC Analog Outputs : 28 #0-500 points of analog output data PLC Analog Outputs : 28 #0-500 analog output points from PLC Float Outputs : 4 #0-250 points of floating-point format data PLC Float Outputs : 4 #0-250 points of floating-point format data [DNP Slave Binary Inputs] # This area is to override the class (2) binary input database points. # # Point# Class Start # 0 1 # 1 2 # 2 3 # 3 0 #Events will never be generated for this point 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 # 6 1 2000 #points 0-5=class 1, deadband = 1000 # 7 1 2000 # 8 2 1000 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. # 1 2 12.34 # 3 0 13.45 #Events will never be generated for this point # 4 2 3000.0 #points 5 to 11=class 1, deadband = 1000.00 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 : 1 #0-65534 identification code for this unit Initialize IED Database : No #Initialize the IED input database areas (Y/N) Event Messages to PLC : No #Pass received events to processor (Y/N) [IED Database] Binary Inputs : 160 #0-8000 point count to hold BI data Analog Inputs : 50 #0-500 points of analog input data Counters : 10 #0-250 points of counter data Binary Outputs : 48 #0-8000 point count to hold BO data Analog Outputs : 8 #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 Master 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 6 32 60 5 1 0 60 -1 -1 2 6 32 1 1 1 0 60 -1 0 5 6 32 30 1 1 0 50 -1 0 6 END