# DNPPTQ.CFG # # This file contains the configuration for the DNP Slave # communication module. # # LOCATION : Test Bench # DATE : 06/17/2005 # CONFIGURED BY : Test Engineer # MODIFIED : # # This section is used to define the module name for the Module. [Module] Module Name : PTQ-DNPS Example (Protalk Communication Gateways, Inc.) # This section is used to define the state RAM areas in the processor the module # will interface. [PTQ BACKPLANE] 3x Register Start : 1 #3x (%IW Unity) start register where data moved from module to processor (1-n) 4x Register Start : 1 #4x (%MW Unity) start register where data moved from processor to module (1-n) # 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 : 10 #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 (0=disable, else 1-3) AI Class : 3 #Default class for analog input events (0=disable, else 1-3) Float Class : 1 #Default class for float input events (0=disable, else 1-3) # DNP specific parameters AI Deadband : 10 #0-32767 analog deadband value for events Float Deadband : 10.0 #Single float deadband Select/Operate Arm Time : 2000 #1-65535 mSec arm timeout for select/op outputs Write Time Interval : 0 #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 : 1000 #0-65535 mSec before events sent UResp Master Address : 1 #DNP address of master to send UResp data UResp Retry Count : 5 #0-255 Number of retries before switching ports BI with flag : Yes #return BI data with flag data BI Events without time : No #return BI events without time/date BO without flag : No #return BO data without flag data (packed) Counter with flag : Yes #return counters with flag byte Frozen counter with flag: Yes #return frozen counters with flag byte AI with flag : Yes #return AI with flag byte AI Events with time : Yes #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 : 100 #0-512 point count to hold BI data Analog Inputs : 100 #0-512 points of analog input data Float Inputs : 10 #0-128 points of floating-point format data Counters : 10 #0-128 points of counter data Binary Outputs : 100 #0-512 point count to hold BO data Analog Outputs : 100 #0-512 points of analog output data Float Outputs : 10 #0-128 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 2000s # 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 : S #' '=Disabled, S=Backup Slave 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 # 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