background image

ProLinx DNPS 

 ProLinx Gateway 

Reference 

DNP 3.0 Slave  

User Manual 

 

 
Page 64 of 86  

ProSoft Technology, Inc. 

December 1, 2009 

 

 

3.4 DNP 

Collision 

Avoidance 

3.4.1 When 

Required 

Collision avoidance is required under to following network configurations: 

A multi-point network is used (that is, master unit is communicating with 
several slave units on same physical link). This excludes a dial-up modem 
network where the master only communicates with one slave at a time in a 
point-to-point physical link. Will only operate on two-wire, half-duplex 
communication networks. 

Unsolicited messaging is used where asynchronous, spontaneous messages 
may be generated by any node on the network. 

Any network where the physical layer does not implement a collision 
avoidance scheme and permits several nodes to communicate at one time 
(that is, some radio networks). 

3.4.2 Rules 

ƒ

  RTS controls DCD line on all other units. 

ƒ

  No stations transmit while DCD line is high except the one that has the RTS 

line high. 

ƒ

  After DCD line drops low, slaves wait variable time before attempting to 

transmit. 

ƒ

  Master has smallest delay (can be set to 0) 

ƒ

  Slaves have higher delays (fixed delay (that is, slave#*20 milliseconds) + 

random delay (20 to 50 milliseconds)) 

ƒ

  Only supported in 2-wire half-duplex mode. Not supported in 4-wire half-

duplex mode. 

ƒ

  This option is set in the configuration of the module with the port type. 

3.4.3 Timing 

Chart 

Several timing parameters are required for each unit in order to implement the 
collision avoidance feature. The parameters are as follows: 

Parameter Description 

Fixed DCD Idle 
Delay Time Before 
Transmit 

This parameter specifies the minimum number of milliseconds to delay before 
transmitting a message after recognizing that the DCD line is low. 

Random DCD Idle 
Delay Time Before 
Transmit 

This parameter determines the random time to be added to the above fixed 
delay value above before attempting to transmit a message. The value 
specified for the parameter determines the range of random values 
(milliseconds) to be used. For example, if a value of 20 is specified, the 
random delay time will be from 0 to 20 each time the value is requested. 

DCD Time Before 
Receive 

This parameter specifies the number of milliseconds to delay after recognizing 
that DCD has been asserted before accepting data. The RTS on time of the 
sending unit must be set greater that the time specified here or else the first 
part of the data message will be ignored. 

RTS On Time 

This parameter specifies the number of milliseconds to delay after asserting 
the RTS modem control line before sending the data. 

RTS Off Time 

This parameter specifies the number of milliseconds to delay after the data 
has been transmitted before dropping the RTS modem control line. 

Summary of Contents for ProLinx DNPS

Page 1: ...ProLinx DNPS ProLinx Gateway DNP 3 0 Slave December 01 2009 USER MANUAL...

Page 2: ...NOWN TO BE NON HAZARDOUS AVERTISSEMENT RISQUE D EXPLOSION AVANT DE D CONNECTER L EQUIPMENT COUPER LE COURANT OU S ASSURER QUE L EMPLACEMENT EST D SIGN NON DANGEREUX Markings UL cUL ISA 12 12 01 Class...

Page 3: ...9 ProSoft Technology ProLinx inRAx ProTalk and RadioLinx are Registered Trademarks of ProSoft Technology Inc All other brand or product names are or may be trademarks of and are used to identify produ...

Page 4: ......

Page 5: ...Configuration 14 1 5 Download the Project to the Module 28 2 Diagnostics and Troubleshooting 31 2 1 Requirements 31 2 2 LED Indicators 35 2 3 Serial Port DNPS Error and Status Data 36 3 Reference 41...

Page 6: ...ProLinx DNPS ProLinx Gateway Contents DNP 3 0 Slave User Manual Page 6 of 86 ProSoft Technology Inc December 1 2009...

Page 7: ...d basic configuration Diagnostic and Troubleshooting Diagnostics and Troubleshooting page 31 This section describes Diagnostic and Troubleshooting procedures Reference Product Specifications Functiona...

Page 8: ...ProLinx DNPS ProLinx Gateway Start Here DNP 3 0 Slave User Manual Page 8 of 86 ProSoft Technology Inc December 1 2009...

Page 9: ...the DNPS User Manual please refer to the ProLinx Reference Guide 1 2 Install ProSoft Configuration Builder Software You must install the ProSoft Configuration Builder PCB software to configure the gat...

Page 10: ...re subject to change as new versions of PCB are released Note Many of the configuration and maintenance procedures use files and other utilities on the CD ROM You may wish to copy the files from the U...

Page 11: ...ew on the left an information pane and a configuration pane on the right side of the window When you first start ProSoft Configuration Builder the tree view consists of folders for Default Project and...

Page 12: ...CHOOSE MODULE TYPE This action opens the CHOOSE MODULE TYPE dialog box 3 In the PRODUCT LINE FILTER area of the dialog box select PROLINX GATEWAY In the SELECT MODULE TYPE dropdown list select PROLIN...

Page 13: ...t Location folders in the tree view To rename an object 1 Select the object and then click the right mouse button to open a shortcut menu From the shortcut menu choose RENAME 2 Type the name to assign...

Page 14: ...1 4 DNPS Protocol Configuration 1 4 1 DNP Slave This section provides information required to configure a slave application with the module Most entries contained within this section are self explana...

Page 15: ...t will occupy a two word area in the module s memory Double Inputs 0 to 125 points Number of double floating point input points to configure in the DNP slave device Each point will occupy a four word...

Page 16: ...sed on the port Enter the baud rate as a value For example to select 19K baud enter 19200 Baud Rate Parameter Value 110 110 150 150 300 300 600 600 1200 12 or 1200 2400 24 or 2400 4800 48 or 4800 9600...

Page 17: ...data is sent before the RTS modem signal will be set low Min Response Delay 0 to 65535 milliseconds Minimum time between receiving a request and transmitting a response Allows master time to disable...

Page 18: ...de by the slave Redial Random Delay 0 to 32000 Defines a random millisecond time range to be added to the redial delay time before the modem is accessed Idle Timeout 0 to 65535 Defines the number of m...

Page 19: ...d for all the binary input points in the DNP database that are not defined in the override list section AI Class 0 to 3 This parameter specifies the default class to be utilized for all the analog inp...

Page 20: ...points not defined in the override list for the floating point input point type in the DNP database Double Deadband 0 to 100000 This parameter specifies the default deadband value assigned to all poin...

Page 21: ...iseconds Event data contained in the last response may be sent again if not confirmed within the millisecond time period set If application layer confirms are used with data link confirms ensure that...

Page 22: ...determines if the analog input events generated by the module will include the date and time of the event If the parameter is set to N the default is set to no time data If the parameter is set to Y...

Page 23: ...Lowest priority 0 Disable 1 4 3 DNP Slave Analog Inputs This area is to override the class 3 and deadband for the integer analog input database The point is the offset from the start of the analog in...

Page 24: ...debased 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 This is the information object a...

Page 25: ...nformation object address of the point Class Class 1 Highest priority Class 2 Middle priority Class 3 Lowest priority 0 Disable Deadband A range of values within which the module will avoid generating...

Page 26: ...e to convert floating point values to the correct format for a different protocol You can also use the Data Map to condense widely dispersed data into one contiguous data block making it easier to acc...

Page 27: ...yte Swap Byte Swap You may need to swap the order of the bytes in the registers during the copy process in order to change the alignment of bytes between dissimilar protocols This parameter is helpful...

Page 28: ...val they could delay the process scan of the gateway protocols which could result in slow data updates or missed data on communications ports To avoid these potential problems you should set the Delay...

Page 29: ...our PC for a valid com port this may take a few seconds When PCB has found a valid com port the DOWNLOAD dialog box will open 3 Choose the com port to use from the dropdown list and then click the DOW...

Page 30: ...ProLinx DNPS ProLinx Gateway Start Here DNP 3 0 Slave User Manual Page 30 of 86 ProSoft Technology Inc December 1 2009...

Page 31: ...this module is arranged as a tree structure with the Main Menu at the top of the tree and one or more sub menus for each menu command The first menu you see when you connect to the module is the Main...

Page 32: ...systems USB to serial port adapters often do not function reliably especially during binary file transfers such as when uploading downloading configuration files or module firmware upgrades Using the...

Page 33: ...the configuration debug menus in your own module If there is no response from the module follow these steps 1 Click to configure the connection On the Connection Setup dialog box select a valid com p...

Page 34: ...he remainder of this section shows you the menus available for this module and briefly discusses the commands available to you Keystrokes The keyboard commands on these menus are almost always non cas...

Page 35: ...de The configuration file is currently being downloaded or after power up is being read the unit is implementing the configuration values and initializing the hardware This will occur during power cyc...

Page 36: ...boot command is received Off Normal operation Flashing An error condition has been detected and is occurring Check configuration ERR Solid Red This condition is indicative of a large number of errors...

Page 37: ...contain the production batch number for the particular chip in the module in ASCII format 1009 to 1019 No Valid Data 2 3 3 DNPS Port Error and Status The serial port DNP 3 0 Slave Error and Status Dat...

Page 38: ...verflow error Application Layer Error This value counts the number of times an application response message from the slave is too long to transmit 1021 DNP Slave multi frame message from DNP Master er...

Page 39: ...This value counts the number of times the application layer receives a message fragment buffer which is too small 1029 DNP Slave sequence error Transport Layer Error This value counts the number of t...

Page 40: ...ProLinx DNPS ProLinx Gateway Diagnostics and Troubleshooting DNP 3 0 Slave User Manual Page 40 of 86 ProSoft Technology Inc December 1 2009...

Page 41: ...l Database Binary Inputs 0 to 100 word count Analog Inputs 0 to 100 points of analog input data Float Inputs 250 points Double Inputs 125 points Counters 0 to 50 points of counter data Binary Outputs...

Page 42: ...port to port isolation per UL 1577 3000V DC min port to ground and port to logic power isolation Serial Port Protection RS 485 422 port interface lines TVS diode protected at 27V standoff voltage RS 2...

Page 43: ...meters Baud Rate 110 to 115K baud Stop Bits 1 Data Size 8 bits Parity None RTS Timing delays 0 to 65535 milliseconds DNP Mode DNP 3 0 Slave Level 2 DNP Slave Node address 0 to 65534 software selectabl...

Page 44: ...rt Cables This section contains information on the cable and pin assignments for the ProLinx gateway s serial ports RS 232 422 485 The ProLinx gateway will come with one to five serial ports depending...

Page 45: ...n the port labeling on the front of the ProLinx module and the application Port Label Function Debug Debug Configuration Port 0 Application Port 0 3 2 2 Serial Port Cable Connections Multiple Port Uni...

Page 46: ...puter or field device communication port Note If the port is configured with the Use CTS page 17 set to YES then a jumper is required between the RTS and the CTS line on the gateway connection Port 0...

Page 47: ...only called a RS 485 half duplex 2 wire connection If you have RS 485 4 wire full duplex devices they can be connected to the gateway s serial ports by wiring together the TxD and RxD from the two pin...

Page 48: ...r the port If the CTS line is used usually only required for half duplex modems and not defined for use in the DNPS specification the RTS and CTS lines must either be connected together or connected t...

Page 49: ...ort is physically an 8 pin Mini DIN connector A Mini DIN to DB 9Male adapter cable is included with the module This port permits a PC based terminal emulation program to view configuration and status...

Page 50: ...n nature deferring specifics to the individual product documents Before attempting to use this or any other DNP protocol device verify that you have a copy of the DNP Basic 4 document and other inform...

Page 51: ...on another network This permits data from devices on one communication port network to be viewed and controlled by devices on another port network Other ProLinx Protocol Driver DNPS Driver ProLinx Co...

Page 52: ...ouble Input 46 to 65 5 Counter Data 66 to 75 5 Binary Outputs 76 to 77 2 Analog Outputs 78 to 87 10 Float Output 88 to 107 10 Double Output 108 to 127 5 Frozen Data Counter 128 to 137 5 Binary Input E...

Page 53: ...Data Other Protocol Step Description 1 The DNP slave driver receives the configuration information from the Flash Disk in the module This information configures the serial port and defines the slave n...

Page 54: ...a acquired is placed in the correct database in the module Event messages received from the IED units are placed directly in the event buffer or the values are placed in the database The communication...

Page 55: ...only operate in RS 232 mode and is not supported in RS 485 or RS 422 modes Will the module use events and the Report by Exception feature If the DNP Slave driver will generate event messages they mus...

Page 56: ...the DNP data DATA AREA DNP DATA BINARY INPUTS ANALOG INPUTS COUNTER DATA BINARY OUTPUTS ANALOG OUTPUTS FROZEN COUNTER DATA BINARY INPUT EVENTS ANALOG INPUT EVENTS The module is responsible for maintai...

Page 57: ...rent counter values will be passed to the frozen counter database and only the module s values will be set to 0 Note This data is not sent to the other protocol and the zero data can be overwritten by...

Page 58: ...he module and the processor It is important to understand the relationship of the block identifications and the data in the module The Reference chapter contains forms to aid in designing your system...

Page 59: ...data from the other protocol it compares the new values to those currently in the database If there is a change in any of the data the module will generate an event message for the points that change...

Page 60: ...y Outputs defines number of words each containing 1 binary output point These data are transferred from the module to the other protocol using the write operation Therefore these data are read only fo...

Page 61: ...r protocol transfers data of this type to the module using the read operation The module maintains two values for each counter point a current running value and a frozen value The DNP master must send...

Page 62: ...ly in the database If there is a change in any of the data the module will generate an event message for the points that change The dead band parameter configured for the module determines the varianc...

Page 63: ...uration parameter Analog Outputs These data are transferred from the module to the other protocol using the write operation Therefore these data are read only for the other protocol as the other proto...

Page 64: ...pported in 4 wire half duplex mode This option is set in the configuration of the module with the port type 3 4 3 Timing Chart Several timing parameters are required for each unit in order to implemen...

Page 65: ...ines the IIN data bits returned with a response message from the module to a DNP master unit These bits should be interpreted and handled by the master These bits report status and error information t...

Page 66: ...set this bit 5 Bad configuration The slave configuration is invalid and should be re configured If the configuration is invalid the slave will set the invalid parameters to default values and continu...

Page 67: ...the configuration is invalid the slave will set the invalid parameters to default values and continue to run Check error log using debug port 6 Reserved always 0 7 Reserved always 0 3 7 Event Size Co...

Page 68: ...MODULES VERSION 1 00 Highest DNP Level Supported Device Function For Request L2 For Responses L2 Notable objects functions and or qualifiers supported in addition to the highest DNP level stated abov...

Page 69: ...NO ACK Always Count 1 Always 1 to 255 Pulse On Always Pulse Off Always Latch On Always Latch Off Always Queue Never Clear Queue Never Reports Binary Input Change Events when no specific variation req...

Page 70: ...ave will parse this message and return no data 10 0 Binary Output All Variations 1 06 8 Slave will return variation 2 data 1 Binary Output 1 Slave will return Unknown Object to this request 2 Binary O...

Page 71: ...return Unknown Object to this request 2 16 Bit Frozen Counter 129 130 00 01 24 Slave will return Unknown Object to this request 3 32 Bit Frozen Delta Counter 40 Slave will return Unknown Object to th...

Page 72: ...e will return Unknown Object to this request 4 16 Bit Delta Counter Change Event Without Time 24 Slave will return Unknown Object to this request 5 32 Bit Counter Change Event With Time 88 Slave will...

Page 73: ...will respond with variation 4 data 1 32 Bit Analog Input 1 06 129 130 00 01 40 Slave will return this variation Note Data will only be 16 bit 2 16 Bit Analog Input 1 06 129 130 00 01 24 Slave will re...

Page 74: ...iation 2 data 1 32 Bit Analog Change Event Without Time 1 06 07 08 129 130 17 28 40 Slave will return this variation Note Data only 16 bit 2 16 Bit Analog Change Event Without Time 1 06 07 08 129 130...

Page 75: ...Floating Point Frozen Analog Event With Time 88 Slave will return Unknown Object to this request 8 Long Floating Point Frozen Analog Event With Time 120 Slave will return Unknown Object to this reque...

Page 76: ...ill return Unknown Object to this request 2 Unsynchronized Time and Date CTO 129 130 07 With Quant 1 48 Slave will return Unknown Object to this request 52 0 Time Delay All Variations 1 Time Delay Coa...

Page 77: ...Point 48 2 Long Floating Point 80 3 Extended Floating Point 88 101 0 1 Small Packed Binary Coded Decimal 16 2 Medium Packed Binary Coded Decimal 32 3 Large Packed Binary Coded Decimal 64 110 0 Not Def...

Page 78: ...nc December 1 2009 OBJECT REQUEST RESPONSE Obj Var Description Func Codes Qual Codes hex Func Codes Qual Codes hex Data Size bits NOTES 21 Slave supports the Disable Unsolicited Function 23 Slave supp...

Page 79: ...and user data files as viewed through and LED patterns on the processor 3 Details about the serial devices interfaced if any 4 1 How to Contact Us Technical Support Internet Web Site www prosoft techn...

Page 80: ...e shipped freight prepaid in the original shipping container or equivalent to the location specified by ProSoft and be accompanied by proof of purchase and receipt date The RMA number is to be promine...

Page 81: ...d Warranty All sales of software or other intellectual property are in addition subject to any license agreement accompanying such software or other intellectual property 4 3 1 What Is Covered By This...

Page 82: ...61131 3 C or any variant of C programming languages not furnished by ProSoft v use of the Product for purposes other than those for which it was designed vi any other abuse misapplication neglect or...

Page 83: ...ication without notice c Transfer of title shall not operate to convey to Customer any right to make or have made any Product supplied by ProSoft d Customer is granted no right or license to use any s...

Page 84: ...rstood to be the complete and exclusive agreement between the parties suspending all oral or written prior agreements and all other communications between the parties relating to the subject matter of...

Page 85: ...rm Tout 21 Data Link Max Retry 21 Data Map 25 Data Requirements 56 Data Transfer Interface 58 DB9 to Mini DIN Adaptor Cable 09 49 Deadband 23 24 25 Delay Preset 28 Designing the system 55 Device Profi...

Page 86: ...chnology Product Documentation 3 R Redial Delay Time 18 Redial Random Delay 18 Reference 7 41 Register Count 27 Required Hardware 31 Requirements 31 Return Material Authorization RMA Policies and Cond...

Reviews: