Home

MVI71-DNP User Manual

image

Contents

1. Block PLC File Start End Points 80 N 1 to 60 81 N 61 to 120 82 N 121 to 180 83 N 181 to 240 84 N 241 to 300 85 N 301 to 360 86 N 361 to 420 87 N 421 to 480 88 N 481 to 540 89 N 541 to 600 90 N 601 to 660 91 N 661 to 720 92 N 721 to 780 93 N 781 to 840 94 N 841 to 900 95 N 901 to 960 Fill in this form for the application being developed The data areas in the PLC for the different data types defined by the start and end values for a PLC file should not overlap If they do unpredictable results may occur For example do not define the same address range of N10 0 to 59 for both digital inputs and outputs The difference between the end and start addresses in the PLC files should not exceed 60 words For example 0 to 60 is invalid Whereas 0 to 59 is valid Note that the number of points represented in each block is denoted Also shown is the point range for the points defined for the block if the maximum 60 words are defined Page 120 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 5 7 DNP Configuration Forms This section contains a configuration form to be used when designing an application 5 7 1 DNP User File Configuration File Name Rec PLC File Start End O OINID aA j o N o
2. Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 3 32 Bit Analog 1 06 129 130 00 01 32 Slave will return this Input Without variation Note Flag Data will only be 16 bit 4 16 Bit Analog 1 06 129 130 00 01 16 Slave will return this Input Without variation Flag 5 32 bit Float 1 06 129 130 00 01 32 Slave will return this variation 31 0 Frozen Analog Slave will return Input All Unknown Object to Variations this request 1 32 Bit Frozen 40 Slave will return Analog Input Unknown Object to this request 2 16 Bit Frozen 24 Slave will return Analog Input Unknown Object to this request 3 32 Bit Frozen 88 Slave will return Analog Input With Unknown Object to Time To Freeze this request 4 16 Bit Frozen 72 Slave will return Analog Input With Unknown Object to Time To Freeze this request 5 32 Bit Frozen 32 Slave will return Analog Input Unknown Object to Without Flag this request 6 16 Bit Frozen 16 Slave will return Analog Input Unknown Object to Without Flag this request 32 0 Analog Change 1 06 07 24 Slave will return Event All 08 variation 2 data Variations 1 32 Bit Analog 1 06 07 129 130 17 28 40 Slave will return this Change Event 08 variation Note Without Time Data only 16 bit 2 16 Bit Analog 1 06 07 129 130 17 28 24 Slave will return this Change Event 08 variation Without Time 3 32 Bit Analog 1 06 07 129 130 17 28 88 Slav
3. ProSoft Technology Inc Page 121 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module Rec PLC File Start End 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 Page 122 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Rec PLC File Start End 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 CFG FILE FILE SIZE Description Configuration information source modem setup 0 N 150 string and phone number and command information 1 N 60 File setup information source 2 N 120 Error Status and Error List data destination 3 N 960 max Digital input data source 4 N 960 max Digital output data source 5 N 960 max Counter data source and destination 6 N 960 max Analog input data source 7 N 960 max Analog output data destination 8 N 960 max IED digital input data destination 9 N 960 max IED digital output data source 10 N 960 max IED counter data d
4. 117 gt Block Assignments sssssssseseeeeneees 118 gt DNP Configuration Forms eenen 121 gt MVI71 DNP Communication Module Configuration 124 gt Error Status Table nee 132 gt Module Error Codes eonim ps 136 gt Command Error Codes eerren rerien 138 gt Event Size Computation sss 140 Device Profile e rere ret 141 gt Slave Unit Device Profile Object Subset 142 gt Master Unit Device Profile Object Subset 150 5 1 Product Specifications The MVI71 DNP 3 0 Master Slave Communication Module is a single slot backplane compatible DNP 3 0 interface solution for the PLC platform This module provides highly configurable support of both DNP 3 0 Master and Slave implementations level 2 minimum allowing the many SCADA and field devices supporting the DNP protocol to be integrated into the powerful PLC platform ProSoft Technology Inc August 23 2007 Page 75 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference 5 1 1 Features and Benefits The module supports DNP Subset Level 2 features and some of the Level 3 features allowing the many SCADA and field devices supporting the DNP protocol to be integrated into the PLC platform The module acts as an input output module between the DNP network and the PLC backplane The data transfer from the PL
5. seem 52 3 LADDER LOGIC wasnt 57 4 DIAGNOSTICS AND TROUBLESHOOTING eeeeeeeseeee nennen enne nnne nnne nnns n nnn natns nter na tnn nnne 59 4 1 Reading Status Data From the Module sssssseeeeeeenen nemen nennen ener enne 59 4 1 1 The Configuration Debug Menu erect eec de toe ecd deeper Enea Tecno dde dd cnn 59 4 1 2 Required Hardware isene ae n a Ae A Ea TE AE AE A E A EAE aA 60 4 1 3 Required SOftWare 3 niiae a a De a iu a ea n eed Diese de Eia AS 61 4 1 4 Using the Configuration Debug Port nennen nne enne nes 61 4 1 5 IEIRB UM 62 4 1 6 The Class Assignment Menu cerei ciet Dee tede dete ete ded TU dte Erud e aged e depen dd cde 65 4 1 7 DNP Database View Mernt occ tente tton cusa aiaa ion padae Ta pidana cesa re nnn ade da 67 4 1 8 Master Command List Menu 1 eiusd essere iea ieira aaa a ea te animer dann 70 4 1 9 Master Command Error List Menu ssssseeeeeenn enm ee enne nennen nemen nnne nnns 71 ProSoft Technology Inc Page 5 of 172 August 23 2007 MVI71 DNP PLC Platform Contents DNP 3 0 Master Slave Communication Module 4 2 LED Status IndlCatOrs i pee ote eee ote Ri eedrc eqni oer quito ie cerit Meade Sed 72 4 3 Clearing a Fault Condition seseseeeene enm ene enne enne nennen nnne en nnne enn 72 44 Troubleshooting
6. The Send File dialog appears L Send File Folder CAMVI Filename Protocol Zmodem v Close Cancel 5 Use the Browse button to locate the configuration file your computer Select File to Send Look in MVI Cales My Recent Documents Desktop My Documents gs My Computer L9 File name IDNPCFG My Network Files of type Al Files Note This procedure assumes that you are uploading a newly edited configuration file from your PC to the module However configuration files are also available on the ProSoft CD as well as the ProSoft Technology web site 6 Select Zmodem as the protocol 7 Click the Send button This action opens the Zmodem File Send dialog box Zmodem file send for COM1_57600 Sending CAMVINDNP CFG Last event Sending Files 1 of 1 Status Sending ji Retries in File LDLTTTTTTTTII 3K of 11K Elapsed 00 00 01 2 Remaining L k Throughput Cancel cps bps Page 54 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module When the upload is complete the screen indicates that the module has reloaded program values and displays information about the module COM1 57600 HyperTerminal File Edit View Cal Transfer Help Os 58 o5 PRODUCT DNPS REVISION 2 39 OP SYS REV 1206 PROD RUN 1501 Con
7. This parameter specifies the default class to be utilized for all the analog input points in the DNP database that are not defined in the override list section ProSoft Technology Inc August 23 2007 Page 125 of 172 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module Section Item Value Range Description Float Class 0 to 3 This parameter specifies the default class to be utilized for all the floating point input points in the DNP database that are not defined in the override list section Al Deadband 0 to 32767 This parameter specifies the default deadband value assigned to all points not defined in the override list for the analog input point type in the DNP database Float Deadband 0 to maximum This parameter specifies the default float value deadband value assigned to all points not defined in the override list for the floating point input point type in the DNP database Select Operate Arm 1 to 65535 Time period after select command received in Time milliseconds which operate command will be performed After the select command is received the operate command will only be honored if it arrives within this period of time Write Time Interval 0 to 1440 Time interval to set the need time IIN bit minutes O never which will cause the master to write the time Stored in milliseconds in the module memory Data Link Confirm Mode Coded Value IED can request acknowl
8. Bit 2 decimal 4 gt Use delay measurement with this slave Bit 3 decimal 8 gt Auto time synchronization enabled Node DLConf Conf Conf App Rsp Address Mode Timeout Retry Timeout Flags START END Section Item DNP Master Commands the IED units by the DNP master port 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 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 START END ProSoft Technology Inc Page 131 of 172 August 23 2007 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 5 9 Error Status Table Reference The program maintains an error status table This table of data is available to the PLC processor automatically through block 100 Ladder logic should be programmed to accept this block of data and place it in the module s controller tag You can use the error status data to determine the health of the module The data in the block is structured as shown in the following table Word Block Variable Name Description Offset 0 2 Current DNP Slave Port This value represents the curre
9. 30 38 Collision Avoidance DNP modules only 117 Command Control Blocks 85 Command Error Codes 70 138 Command List 47 Configuration File 26 Configuring RSLinx 17 Connect Timeout 29 Connect your PC to the Module 19 Connect your PC to the Processor 15 Controlling Law and Severability e 167 Counters 35 40 Counters 30 points block 119 D Data Flow Between MVI71 DNP Module and PLC Processor 91 Data Link Confirm Mode 32 Data Link Confirm Tout 32 Data Link Max Retry 32 Data Object 43 Data Requirements 95 Data Variation 43 DB9 to RJ45 Adaptor Cable 14 116 Designing the system 94 Device Address 43 Device Profile 141 Diagnostics and Troubleshooting 9 59 Disabling the RSLinx Driver for the Com Port on the PC 61 111 DISCLAIMER OF ALL OTHER WARRANTIES 165 DISCLAIMER REGARDING HIGH RISK ACTIVITIES 165 DNP Analog Input Data 107 DNP Analog Output Data 109 DNP Configuration Forms 121 DNP Counter Data 105 DNP Database View Menu 64 67 DNP DB Address 43 49 DNP Digital Input Data 102 DNP Digital Output Data 104 DNP Functionality Review 94 ProSoft Technology Inc August 23 2007 Page 169 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module DNP Port Configuration Errors 137 DNP User File Configuration 121 Double Deadband 31 Download the Sample Program to the Processor 16 E Error
10. August 23 2007 PSFT DNP MVI71 UM 07 08 23 ProSoft Technology ProLinx inRAx ProTalk and RadioLinx are Registered Trademarks of ProSoft Technology Inc Contents MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Contents PLEASE READ THIS NOTICE 2 naini inaina ic iter Aanias PL cuam na iE a a eor Da dE cv a Dra ace cram Dima a unma cca 2 Your Feedback Please oe ie Eie dean e hi ener 3 GUIDE TO THE MVI71 DNP USER MANUAL eeeeeeenneeenn enne nnne nnne nnns nnnn nsn nn sn tnn nsn nn ss inn ssi nn renes nnn 9 1 START ERE oct ELTE 11 1 1 System Requirements 5 irren tene sine tense tee cena steed dene de odie due dene Ene e ge tede aes a nec 11 1 2 Package Contents 4 ree desee Ren lan REP OR ADU UI else x eem eui A Ine x 12 1 37 Setting J mMperS cii CE 13 1 4 Install the Module in the Rack sssseseeeeene ene nen memeenennreen nennen nenne nennen nre 13 1 5 Connect your PC to the Processot eerie nre retento xe Soo hdi Te a eer ce Ee eee bern 15 1 6 Download the Sample Program to the Processor sss emm eene ener 16 1 6 1 Configuring RSX irre ie e e rne ea aaa cies 17 1 7 Connect your PC to the Module sssini iiie eoe e Ie ede bdo iaaiaee dedere da cu 19 2 INSTALLING AND CONFIGURING THE MODULE eeeeeeeeeeeeeeneeennenn nennen nnne nnn tnnt nnns 21 2 1 ISOIDARr cde 23 2 1 1 S
11. PLC data are transferred to the module from the PLC using the COP command Therefore these data are read only for the module and the DNP master unit When the module receives new data from the PLC it compares the new values to those currently in the database If there is a change in any of the data the module generates an event message for the points that change The dead band parameter configured for the module determines the variance required to generate an event message Data from IED units can also be placed in the DNP analog input data area Commands in the command list must specify the DNP database address point number where the data will be placed ProSoft Technology Inc Page 107 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module The DNP master unit can read the current value data and the event data from the module Event messages generated by the module can be retrieved using a poll for Class 3 data as all analog input events are considered a Class 3 data type If unsolicited message generation is enabled in the application the events are automatically sent by the module to the DNP master unit when the maximum event count for Class 3 data is reached or when the timeout for unsolicited messages is exceeded The following shows a data flow diagram for the analog input data Analog Input Data Flow Diagram DEVICE Database Update F uncsion in All data associated
12. data will be placed in the PLC processor user data file Each transfer can move up to 60 words block offsets 2 to 61 of data Page 84 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module The Write Block ID associated with the block requests data from the PLC processor Under normal program operation the module sequentially sends read blocks and requests write blocks For example if two blocks of read data and three blocks of write data are to be moved between the module and the processor the sequence will be as follows R1W1 R2W2 R1W3 R2W1 R1W2 R2W3 R1W1 This sequence will continue until interrupted by other write block numbers sent by the controller or by a command request from a node on the DNP network or operator control through the module s Configuration Debug port Write Block These blocks of data transfer information from the PLC processor to the module The structure of the BTW image used to transfer this data is shown in the following table Block Offset Content 0 Write block ID 1 to 60 Write data 61 to 63 Spare Not used The Write Block ID is an index value used to determine the location in the module s database where the data will be placed Each transfer can move up to 60 words block offsets 1 to 60 of data Command Control Blocks Command control blocks are special blocks used to control the mo
13. retten erede eee epo v ree Pe dece ei vie een 73 5 jdzd di eme 75 5 1 Product Specifications vds reri ERE Ee e RR Ro e en la e epe ue ae 75 5 1 1 Features and Benefits 1 te gocee sda ccedevadacecdelcteee devetdgeudusdeedseeedi P edu Den ra ex d rene de LEO 76 5 1 2 General Specifications 5 2 nee i tegere eterne Leute go HER n Oen Ie t Re AEE EEN 76 5 1 3 Hardware SpecifICations 2 0 erede e eint eie idit e eiu ead ed do e ue Rada ee pde denen 76 5 1 4 Functional Specifications siiis 2 cc shocks rr atape einna sten ie e dne proh a dude ko see cR rp decr onid 77 5 2 Functional OVerVIGW 2 eic nea dies cect eh edle do ee ee atte 78 5 2 1 General COMCE PIS e neg 78 5 2 2 Data Flow Between MVI71 DNP Module and PLC Processor sssseee em 91 5 9 Designing the system eene PEE EFR DURER HERR MEER MN REGE 94 5 3 1 System Design Considerations eterne tnnt spere ttd runter nhi ttd 94 5 3 2 Data Requirement eereiiinecn erre retta eee ene xe EAE e OA dade gen Har elec re Te Dre deinen 95 5 4 Cable Connections eerie i Eee ee e pet Ee ee eee 111 5 4 1 RS 232 Configuration Debug Port ssssssseeeneeen mener enn 111 5 4 2 RS8 232 4 iret iae ed e n e Manny ann seed pope EE gie anne 113 5 4 3 RS7422 5 sicetiete rei cette tod ood coden pice tr int
14. the module This command will cause the program to exit and reload refreshing configuration parameters that must be set on program initialization Only use this command if you must force the module to re boot Viewing Comm Stats Press S to view the communication status for the DNP port Clearing the Error List Press W to clear the error list Use this command after viewing the error list page 63 to delete the current list of errors and start a new list Viewing COM States Press V to view the current state of the DNP application port and the port configuration information ProSoft Technology Inc Page 63 of 172 August 23 2007 MVI71 DNP PLC Platform Diagnostics and Troubleshooting DNP 3 0 Master Slave Communication Module Viewing Master Port Slave Setup Press T to view configuration information for the Master Port Slave Viewing Version Information Press G to view Version information for the module Use this command to view the current version of the software for the module as well as other important values You may be asked to provide this information when calling for technical support on the product Values at the bottom of the display are important in determining module operation The Program Scan Counter value is incremented each time a module s program cycle is complete Tip Repeat this command at one second intervals to determine the frequency of program execution Opening the Class Assignment M
15. 172 ProSoft Technology Inc August 23 2007 Diagnostics and Troubleshooting MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 4 1 3 Required Software In order to send and receive data over the serial port COM port on your computer to the module you must use a communication program terminal emulator A simple communication program called HyperTerminal is pre installed with recent versions of Microsoft Windows operating systems If you are connecting from a machine running DOS you must obtain and install a compatible communication program The following table lists communication programs that have been tested by ProSoft Technology DOS ProComm as well as several other terminal emulation programs Windows 3 1 Terminal Windows 95 98 HyperTerminal Windows NT 2000 XP HyperTerminal The module uses the Ymodem file transfer protocol to send upload and receive download configuration files from your module If you use a communication program that is not on the list above please be sure that it supports Ymodem file transfers 4 1 4 Using the Configuration Debug Port To connect to the module s Configuration Debug port 1 Connect your computer to the module s port using a null modem cable 2 Start the communication program on your computer and configure the communication parameters with the following settings Baud Rate 57 600 Parity None Data Bits 8 Stop Bits 1 Software Handshaking
16. 4 5 6 17 28 129 130 00 01 40 Slave will respond Output Block to this request but data only 16 bit 2 16 Bit Analog 3 4 5 6 17 28 129 Echo of 24 Slave will respond Output Block Request to this request 50 0 Time and Date 2 07 With 48 Slave will use All Variations Quant 1 variation 1 1 Time and Date 2 07 With 48 Slave will respond Quant 1 to this variation 2 Time and Date 80 Slave will return With Interval Unknown Object to this request 51 0 Time and Date Slave will return CTO All Unknown Object to Variations this request 1 Time and Date 129 130 07 With 48 Slave will return CTO Quant 1 Unknown Object to this request 2 Unsynchronized 129 130 07 With 48 Slave will return Time and Date Quant 1 Unknown Object to CTO this request 52 0 Time Delay All Variations 1 Time Delay 129 07 With 16 Slave will never Coarse Quant 1 return this variation ProSoft Technology Inc Page 147 of 172 August 23 2007 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 2 Time Delay Fine 129 07 With 16 Slave will return this Quant 1 variation to functions 0D OE and 17 60 0 Not Defined Not Defined in DNP 1 Class 0 Data 1 06 Slave will respond to this variation will all static data 2 Class 1 Data 1 06 07 Slave will respon
17. Area All data associated with the digital outputs is transferred from the module to the PLC using the BTR instruction and blocks 20 to 35 This provides for a maximum number of 15360 points Page 104 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Trip Close The MVI71 DNP module supports Trip Close functionality for Binary Output points This allows Trip Close commands to be sent to the MVI71 DNP module for dual point control Each DNP Trip Close command will occupy 2 bits within the module memory This does overlap the regular pulse on off and latch on off Binary Output database therefore special consideration must be used to make sure that points are not used twice The following table describes the address mapping for the module using Latch and Pulse commands and Trip Close functionality DNP BO Database Point BO Latch Pulse Point BO Trip Close Point 0 BOO Close BO 0 1 BO 1 Trip BOO 2 BO2 Close BO 1 3 BO3 Trip BO 1 4 BO4 Close BO 2 5 BO 5 Trip BO 2 100 BO 100 Close BO 50 101 BO 101 Trip BO 50 1000 BO 1000 Close BO 500 1001 BO 1001 Trip BO 500 2046 BO 2046 Close BO 1023 2047 BO 2047 Trip BO 1023 As you can see from the above chart trip close requires 2 points within the module s DNP database A trip is represented by the value of 2 10 for those 2 points and a close is represent
18. DNP Master device that actively issues user defined DNP commands to nodes on the network The Master port supports 300 user defined commands each one containing its own set of data link and application layer characteristics Master port logically supports up to 40 slave devices Individual command configuration includes conditional or continuous polling and Poll Delay Time Slave status and Command status available for transfer to the processor Event data received from the slave devices updates the module database Date and Time stamping is not stored or used by module Special command handling for Digital Output CROB under processor control for pulse output control DNP 3 0 ports PRT1 amp PRT2 User definable module memory usage Full radio modem and multi drop support Support for the storage and transfer of all DNP data types across the backplane Communication parameters o Address 0 to 65534 slave mode o Baud rate 110 to 115K o Parity none data bits 8 Stop bit 1 o RTS on delay 0 to 65535 milliseconds o RTS off delay 0 to 65535 milliseconds ProSoft Technology Inc Page 77 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module 5 2 Functional Overview This section provides an overview of how the MVI71 DNP module transfers data using the DNP protocol You should understand the important concepts in this chapter before you begin installing and
19. DNPS REVISION 2 35 OP SYS REV 1206 PROD RUN 1501 2 Press gt key Send Module Configuration The message Press Y to confirm configuration send is displayed at the bottom of the screen ecce DNP DEBUG PORT HELP sss FUNCTION KEV FUNCTION Class Deadband Assignments Show DNP Databases Receive Configuration Send Configuration Sets debug level Display error list Display setup amp pointers perating parameters Reboot module Display Comm Stats Clear error list List COM States Master Port Slave Setup Version Information Display Blk M fer Stats Master Port Commands Master Port Slave Errs Display this screen PRODUCT DNPS REVISION 2 35 OP SYS REV 1206 PROD RUN 1501 ne Confirm Receive Configuration File from Remote PC by pressing V key Page 50 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 3 Press Y The module will automatically start a Zmodem file transfer The configuration file will be stored in the default file transfer folder on your PC Note ProSoft Technology suggests that you download the configuration file pre loaded on your module However configuration files are also available on the ProSoft CD as well as the ProSoft Technology web site at http www prosoft technology com When the configuration file
20. Database The following shows an example DNP Slave Database section 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 Edit each parameter as required for your application The following topics describe each parameter Binary Inputs Binary Inputs 160 0 8000 point count to hold BI data Number of digital input points to configure in the DNP slave device Each point will be stored as a single bit in the module memory PLC Binary Inputs PLC Binary Inputs 160 340 8000 BI point count from PLC Number of digital input points configured above that are to
21. Float Inputs 3 Double Inputs S Shov Again P Previous Page N Next Page M Main Menu ProSoft Technology Inc Page 65 of 172 August 23 2007 MVI71 DNP PLC Platform Diagnostics and Troubleshooting DNP 3 0 Master Slave Communication Module The following illustration shows the output for the Analog data set menu key 1 CLASS ASSIGNMENT DISPLAY TO 19 CANALOG INPUTS POINTS CLASS DEADBAND O CO J C C1 C2 2 I 1 1 1 1 1 1 1 1 2 3 2 2 1 1 1 1 1 1 1 1 Viewing Binary Inputs Press 0 to view the override values for Binary Input Data Viewing Analog Inputs Press 1 to view the override values for Analog Input Data Viewing Float Inputs Press 2 to view the override values for Float Input Data Viewing Double Inputs Press 3 to view the override values for Double Input Data Redisplaying the Current Page Press S to display the current page of data Viewing the Previous Page of Data Press P to display the previous page of data Viewing the Next Page of Data Press N to display the next page of data Returning to the Main Menu Press M to return to the Main Menu Page 66 of 172 ProSoft Technology Inc August 23 2007 Diagnostics and Troubleshooting 4 1 7 DNP Database View Menu MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Use this menu command to view the current contents of the selected database Press to view a list of commands avai
22. Float Outputs PLC Float Outputs 4 0 250 points of floating point format data Number of floating point output points configured above that are to be sent to the processor 2 2 4 DNP Slave Binary Inputs This section of the configuration file overrides the Class 2 binary database points Enter the list of points between the start and end labels 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 This section takes the following parameters Parameter Parameter Name Parameter Description Number 1 Point This is the information object address of the point 2 Class Class 1 Highest priority Class 2 Middle priority Class 3 Lowest priority 0 Disable 2 2 5 DNP Slave Analog Inputs This section of the configuration file overrides the Class 3 and deadband for the integer analog input database The point number is the offset from the start of the analog input database 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 input database Point Class Deadband Start 6 1 2000 points 0 5 class 1 deadband 1000 1 2000 8 2 1000 End Page 36 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring
23. Inc August 23 2007 Page 135 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 5 10 Module Error Codes Reference If the module s program encounters an error during execution it will log the error to the error list This list is transferred to the PLC processor using block identification code 100 see section above in at offsets 62 to 119 This data is also available for viewing on the debug monitor port The following tables list the error codes generated by the program with their associated description Use the errors to help define where problems exist in the system 5 10 1 Slave Port Communication Errors Error Code Name 0 OK Description The module is operating correctly and there are no errors DNP synchronization error Extra bytes are received before the start bytes 19 Physical Layer Error 0x05 and 0x64 11 DNP overrun error Physical Mainline Data Link Layer routine could not read Layer Error data received on DNP port before it was overwritten 12 DNP length error Physical Length of message does not match length value Layer Error in message 13 DNP bad CRC error Data Link Computed CRC value for message does not Layer Error match that received in message 14 DNP user data overflow error Application layer received a message fragment Transport Layer Error buffer which is too small 15 DNP sequence error Sequence numbers of multi frame reques
24. Master Slave Communication Module The following illustration shows the relationship between the PLC5 data files and the DNP and IED memory areas in the module Note that each data type is allocated its own PLC file This limits the number of data points that can be defined for each data type to the maximum size of a PLC5 data file PLC5 Files DNP MEMORY DIGITAL INPUT FILE DIGITAL INPUT DATA DIGITAL OUTPUT FILE DIGITAL OUTPUT DATA COUNTER DATA FILE COUNTER DATA ANALOG INPUT FILE ANALOG INPUT DATA ANALOG OUTPUT FILE ANALOG OUTPUT DATA IED MEMORY DNP SLAVE UNIT DATA DIGITAL INPUT FILE DIGITAL INPUT DATA DIGITAL OUTPUT FILE DIGITAL OUTPUT DATA COUNTER DATA FILE COUNTER DATA ANALOG INPUT FILE ANALOG INPUT DATA ANALOG OUTPUT FILE ANALOG OUTPUT DATA Block Data Transfer Interface Data can be transferred between the PLC and the module using BTR and BTW operations Each block transfer operation transfers 64 words of information of which 60 holds data The other four words in the block contain block header identification codes or are not used The module defines the blocks to be transferred between the PLC and the module when the system is initialized The block transfer numbers are fixed in the program for each data type for your specific application Block numbers are assigned by the application based on the number of points of each type The application only allocates the number of blocks required to hold the data point count speci
25. PLC If the values match the events can be removed from the PLC If the values do not match or the PLC does not receive a 9958 block the PLC must re send the block Block 9959 or 259 PLC Analog Input Event If the PLC sends a block 9959 the module will place the analog input event data in the block into the event buffer and alter the data values for the points in the DNP analog input database The format for the event message is shown in the following table Page 86 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Word Offset in Block Data Field s Description 0 Block ID This field contains the value of 9959 identifying the event block to the module 1 Event Count This field contains the number of events contained in the block Valid values for this field are 1 to 10 2 Sequence This field holds the sequence counter for each 9959 Counter block transfer This synchronizes and confirms receipt of the block by the module 3 DNP Analog This is the data point in the DNP analog input Input Data point database represented by the event 4 Analog Input This is the new analog input value represented in the Value event 5 Month Day Formatted bits 0 to 4 Day bits 8 to 11 Month All other bits are ignored 6 Hour Minute Formatted bits O to 5 Minutes bits 8 to 12 Hour All other bits are
26. ProSoft Technology Inc August 23 2007 Page 67 of 172 MVI71 DNP PLC Platform Diagnostics and Troubleshooting DNP 3 0 Master Slave Communication Module Viewing Data Type Databases Press D from the DNP menu then hold down the Shift key and press the key DNP DATABASE VIEW MENU Display Menu Show Again Back 5 Pages P Previous Page Skip 5 Pages N Next Page D Word Decimal Display H Word Hexadecimal Display L Double Word Decimal Display X Double Word Hexadecimal Display F Float Display A ASCII Display 1 Binary Inputs 2 Binary Outputs 3 Counters 4 finalog Inputs 5 finalog Outputs 6 Frozen Counters M Main Menu Use the number keys 1 to 6 to select the display of the data type you wish to view For example if the 1 key is pressed the following is displayed DNP BINARY INPUT DATABASE DISPLAY TO 1 lt DECIMAL gt a a Moving Back Through 5 Pages of Registers Press from the Database View menu to skip back to the previous 500 registers of data Viewing the Previous 100 Registers of Data Press P from the Database View menu to display the previous 100 registers of data Skipping 500 Registers of Data Hold down Shift and press to skip forward to the next 500 registers of data Viewing the Next 100 Registers of Data Press N from the Database View menu to select and display the next 100 registers of data Viewing Data in Decimal Format Press D to display the data
27. Slave will use All Variations variation 1 control 1 Control Relay 3 4 5 6 17 28 129 Echo of 88 Slave will respond Output Block request correctly to this variation Page 142 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 2 Pattern Control 88 Slave will return Block Unknown Object to this request 3 Pattern Mask 16 Slave will return Unknown Object to this request 20 0 Binary Counter 1 7 8 06 32 Slave will return All Variations 9 10 variation 5 data 1 32 Bit Binary 129 130 00 01 40 Slave will return Counter Unknown Object to this request 2 16 Bit Binary 129 130 00 01 24 Slave will return Counter Unknown Object to this request 3 32 Bit Delta 129 130 00 01 40 Slave will return Counter Unknown Object to this request 4 16 Bit Delta 129 130 00 01 24 Slave will return Counter Unknown Object to this request 5 32 Bit Binary 1 7 8 06 129 130 00 01 32 Slave will return this Counter Without 10 variation Flag 6 16 Bit Binary 1 7 8 06 129 130 00 01 16 Slave will return this Counter Without 9 10 variation counter Flag upper 16 bits removed 7 32 Bit Delta 129 130 00 01 32 Slave will return Counter Without Unknown Object to Flag this request 8 16 Bit Delta 1
28. Status Table 132 Event Messages to PLC 39 Event Size Computation 140 F Features and Benefits 76 First Character Delay 29 Float Class 31 Float Deadband 31 Float Inputs 35 Float Outputs 36 Function 49 Functional Overview 9 78 Functional Specifications 77 G General Command Errors 138 General Concepts 78 General Specifications 76 Guide to the MVI71 DNP User Manual 9 H Hardware Specifications 76 How to Contact Us Sales and Support 160 Idle Timeout 30 IED Analog Input Data 110 IED Analog Output Data 110 IED Binary Input Data 110 IED Binary Output Data 110 IED Counter Data 110 IED DB Address 43 49 Initialize DNP Database 33 Initialize IED Database 39 Install the Module in the Rack 13 Installing and Configuring the Module 9 21 Intellectual Property 166 Internal ID 39 Internal Slave ID 28 K Keystrokes 60 Index L Ladder Logic 57 LED Status Indicators 72 LIMITATION OF REMEDIES 165 LIMITED WARRANTY 163 Main Logic Loop 79 Main Menu 62 Master Command Error List Menu 71 Master Command List Menu 70 Master Driver Mode 93 Master Unit Device Profile Object Subset 150 Min Response Delay 38 Minimum Response Delay 29 Modem 29 Module Data 23 Module DNP Protocol Operation 82 Module Error Codes 136 Module Name 27 Module Power Up and Configuration 78 Moving Back Through 5 Pa
29. Task can place a value for a point in both the IED and DNP database in a single command The DNP database consists of data from the PLC and the IED units The IED database contains only data acquired from IED units This data can be used in the PLC s ladder logic and is the only path to get IED data into the PLC The RBE flags and last value database are used for event generation Events received from the IED unit can be placed directly in the event buffer This requires that the RBE flag for the data points be set to a value of 1 For all points in the RBE flags database with a value of zero the module will generate the events ProSoft Technology Inc Page 97 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module The following illustration shows the interaction of the counter points with the databases Counter Databases PLC Frozen Files DNP DB DNP DB PLC Point Count All other points in DNP database are acquired or used by the attached IED units Max Points IED DB Data is transferred by the Polling Task from the IED s to the IED database and to the IED portion of the DNP database Events received from the IED units will not be used but the data values will be placed in the correct database Values in the IED database are to be used by logic in the PLC only The Polling Task can place a value for a point in both the IED and DNP database in a single command The DNP
30. Time variation 3 32 Bit Delta Counter 40 Change Event Without Time 4 16 Bit Delta Counter 24 Change Event Without Time 5 32 Bit Counter 88 Change Event With Time 6 16 Bit Counter 72 Change Event With Time 7 32 Bit Delta Counter 88 Change Event With Time 8 16 Bit Delta Counter 72 Change Event With Time 23 0 Frozen Counter Event All Variations Page 152 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Object Response Obj Var Description Qual Func Qual Data Notes Codes Codes Codes Size hex hex bits 1 32 Bit Frozen 40 Counter Event Without Time 2 16 Bit Frozen 24 Counter Event Without Time 3 32 Bit Frozen Delta 40 Counter Event Without Time 4 16 Bit Frozen Delta 24 Counter Event Without Time 5 32 Bit Frozen 88 Counter Event With Time 6 16 Bit Frozen 72 Counter E vent With Time 7 32 Bit Frozen Delta 88 Counter E vent With Time 8 16 Bit Frozen Delta 72 Counter Event With Time 30 0 Analog Input All 06 16 aster will Variations generate this variation 1 32 Bit Analog Input 06 129 130 00 01 40 aster will generate this variation Note Data returned will only be Least Significant 16 bits from Slave 2 16 Bit Analog Input 06 129 130 00 01 24 aster will generate and process this variation 3 32 Bit Analog Input 06 129 130 00
31. XON XOFF 3 Open the connection When you are connected press the key on your keyboard If the system is set up properly you will see a menu with the module name followed by a list of letters and the commands associated with them If there is no response from the module follow these steps 1 Verify that the null modem cable is connected properly between your computer s serial port and the module A regular serial cable will not work 2 Verify that RSLinx is not controlling the COM port Refer to Disabling the RSLinx Driver for the Com Port on the PC page 111 3 Verify that your communication software is using the correct settings for baud rate parity and handshaking 4 On computers with more than one serial port verify that your communication program is connected to the same port that is connected to the module If you are still not able to establish a connection you can contact ProSoft Technology Technical Support for further assistance ProSoft Technology Inc Page 61 of 172 August 23 2007 MVI71 DNP PLC Platform Diagnostics and Troubleshooting DNP 3 0 Master Slave Communication Module 4 1 5 Main Menu When you first connect to the module from your computer your terminal screen will be blank To activate the main menu press the key on your computer s keyboard If the module is connected properly the following menu will appear on your terminal screen xxxxx DNP DEBUG PORT HELP FUNCTION KEY FUNC
32. a DNP master port Up to 40 IED units can be defined in the module to be associated with the master port The structure of each row in the list is defined in the following table Column Variable Name Data Range Description IF Error 1 DNP Slave 0 to 65534 This is the slave address for the Ignore Address unit to override the default values 2 Data Link Confirm Coded Value This value specifies if data link 0 Mode O Never frames sent to the remote device 1 Sometimes require a data link confirm This 2 Always value should always be set to zero for almost all applications 3 Data Link Confirm 1 to 65535 This parameter specifies the time 300 Time out milliseconds to wait for a data link confirm from the remote device before a retry is attempted 4 Maximum Retries 0 to 255 Maximum number of retries atthe 3 for Data Link retries Data Link level to obtain a Confirm confirmation If this value is set to 0 retries are disabled at the data link level of the protocol This parameter is only used if the frame is sent with confirmation requested 5 Application Layer 1 to 65535 Time out period the master will 5000 Response Time milliseconds wait for each response message out fragment If data link confirms are enabled make sure the time out period is set long enough to permit all data confirm retries Page 46 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP
33. area 1 N Reserved 2 N 124 Error Status and Error List data destination 3 N 960 max Digital input data source 4 N 960 max Digital output data source 5 N 960 max Counter data source and destination 6 N 960 max Analog input data source 7 N 960 max Analog output data destination 8 N 960 max IED digital input data destination 9 N 960 max IED digital output data source 10 N 960 max IED counter data destination 11 N 960 max IED analog input data destination 12 N 960 max IED analog output data source 13 F 240 max DNP slave floating point input data 14 N Reserved 15 F 240 max DNP slave floating point output data 16 N Reserved nis the number of read data files minus one Each file contains up to a maximum of 960 words Page 22 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Special care must be taken when defining the files for the side connect interface Because the module directly interacts with the PLC processor and its memory any errors in the configuration may cause the processor to fault and it may even lose its configuration and program After defining the files and populating them with the correct data download the program to the processor and place the processor in run mode If everything is configured correctly the module should start its normal operation The module is now and ready to be used with your a
34. assigned values as defined in the following table Point Description 0 Module Name as assigned in configuration file 1 Product Name 2 Version Information in format wwww xxxx yyyy Zzzz Where wwww is product code xxxx is the revision yyyy is the operating system number and zzzz is the run number 3 Manufacturer name for module The variation used in the request message determines the length of the string returned for each point The maximum string length used by the module is 100 Page 92 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Master Driver Mode In the Master mode the MVI71 DNP module issues read or write commands to slave devices on the DNP network These commands are user configured in the module via the Master Command List received from the DNP CFG file Command status is returned to the processor for each individual command in the command list status block The following flow chart and associated table describe the flow of data into and out of the module Processor Memory User Data Files Step Backplane Interface DNP Driver Description The Master driver obtains configuration data from the DNP CFG file The configuration data obtained includes the Master Slave and Command Lists These values are used by the Master driver to determine the type of commands to be issued to the other nodes on the DNP netwo
35. before message This value represents the number of 1 ms increments to be inserted between asserting the RTS modem line and the actual transmission of the data RTS Off RTS Off 2 20 0 65535 milliseconds after message This value represents the number of 1 ms increments to be inserted after the last character of data is transmitted before the RTS modem line is dropped Min Response Delay Min Response Delay 20 0 65535 milliseconds before response sent from slave Minimum time between receiving a request and transmitting a response Allows master time to disable transmitter on an RS 485 network Collision Avoidance Collision Avoidance No Use Collision Avoidance N No Y Yes This parameter defines if collision avoidance will be utilized on the primary DNP slave port Page 38 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module CD Idle Time CD Idle Time t 10 0 32000 mSec min idle time before transmit Defines the minimum number of milliseconds to wait before transmitting a message after the CD signal is recognized as low CD Random Time CD Random Time 20 0 32000 mSec random idle time before transmit Defines the range of random time to be added to the CD Idle Time before a message will be transmitted from the slave CD Time Before Receive CD Time Before Receive 6 0 65535 milliseconds before receive De
36. command list must specify the DNP database address point number where the data will be placed Both frozen counter and counter data values obtained from the IED units are placed in the counter data The frozen counter data is only updated on a request from the remote DNP master The counter data from the IED units can be read by the remote DNP master unit connected to the DNP slave port The following shows a data flow diagram for the counter data Counter Data Flow Diagram 1 1 Data Oste Fite for re Fe for Corte Dota D ore IED NP Osta Dat All the current running counter data is transferred from the PLC to the module using the BTW instruction and blocks 40 to 55 This provides for a maximum number of 480 counter values Page 106 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module DNP Analog Input Data This data type stores analog data with a data range of 0 to 65535 or 32768 to 32767 The size of this data area is determined from the configuration parameter Number of Analog Input Points The data area is partitioned into two separate areas The first is the DNP analog input data acquired from the PLC and the second is the analog input data from IED units The configuration parameter Number of Analog Input Points for PLC determines the size of the PLC s data area The remaining portion is defined as the IED analog input data area
37. configured with the Use CTS Line set to Y then a jumper is required between the RTS and the CTS line on the module connection 5 4 3 RS 422 RS 422 Application Port Cable DB 9 Male RS 422 Device TxD ro TxD RxD Signal Signal Common Common RxD TxD RxD s TxD ProSoft Technology Inc Page 115 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module 5 4 4 HS 485 The RS 485 interface requires a single two or three wire cable The Common connection is optional and dependent on the RS 485 network The cable required for this interface is shown below RS 485 Application Port Cable DB 9 Male RS 485 Device TxD RxD TxD RxD TxD RxD TxD RxD Signal Signal Common Common RS 485 and RS 422 Tip If communication in the RS 422 RS 485 mode does not work at first despite all attempts try switching termination polarities Some manufacturers interpret and A B polarities differently 5 4 5 DB9 to RJ45 Adaptor Cable 14 Cable Assembly i Jo o GooQ O Qoooo 5 J1 Vv en Vv J2 FEN DCD x TXD AN Sl RXD RXD i I x E i TXD i dL GND GND GND i LCS G i DSR RXD i LS G t H RTS i les io a CTS TXRXD TXD j Ime T m Wiring Diagram Page 116 of 172 ProSoft Technology
38. configuring the module 5 2 1 General Concepts The following topics describe several concepts that are important for understanding the operation of the MVI71 DNP module 1 On power up the module begins performing the following logical functions 2 Initialize hardware components o Initialize PLC backplane driver o Test and Clear all RAM o Initialize the serial communication ports Reads configuration from the DNP CFG file Allocate and initialize Module Register space Enable Slave Driver on selected ports Enable Master Driver on selected port if configured OORO After the module has received the Module Configuration the module will begin communicating with other nodes on the network depending on the configuration Module Power Up and Configuration Configuration information is stored on the module s Compact Flash Setup of the module requires software configuration using the RSLogix 5 program and the DNP CFG configuration file on the Compact Flash The easiest method to implement the module is to start with the example provided with the module MVI71DNP RSP and the example configuration file DNP CFG Module Configuration describes how to use and or modify the two files If the DNP master port is to be used the module reads the slave configuration information and builds the slave list during the configuration process The module also reads the command list from the CFG file Valid commands will be added to the command list B
39. content is current at date of publication ProSoft Technology Inc strives to provide meaningful support to its customers Should any questions or problems arise please feel free to contact us at Internet Web Site http www prosoft technology com support E mail address support prosoft technology com Those of us at ProSoft Technology Inc want to provide the best and quickest support possible so before calling please have the following information available You may wish to fax this information to us prior to calling 1 Product Version Number 2 System architecture 3 Network details In the case of hardware we will also need the following information Module configuration and contents of file Module Operation Configuration Debug status information LED patterns Information about the processor and user data files as viewed through the development software and LED patterns on the processor 6 Details about the networked devices interfaced if any akhoND For technical support calls within the United States an after hours answering system allows pager access to one of our qualified technical and or application support engineers at any time to answer your questions ProSoft Technology Inc Page 159 of 172 August 23 2007 MVI71 DNP PLC Platform ProSoft Technology Inc Support Service amp Warranty DNP 3 0 Master Slave Communication Module 6 1 How to Contact Us Sales and Support All ProSoft Te
40. database consists of data from the PLC and the IED units The IED database contains only data acquired from IED units You can use this data in the PLC s ladder logic When the DNP slave port receives a counter freeze command the current counter values are passed to the frozen counter database If the DNP slave port receives a counter freeze with reset command the current counter values will be passed to the frozen counter database and only the values in the DNP counter database will be set to O Page 98 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module The following illustration shows the interaction of the binary and analog output points with the databases Binary and Analog Output Databases PLC Files DNP DB Last Value Last Value databases are used by Polling Task for exception processing of output control commands Data sent to IED comes from the DNP or the IED database The last value databases are updated after the exception condition is handled by the polling task PLC Data PLC Point Count All other points in DNP database are acquired or used by the attached IED units Data Max Points IED DB Last Value IED IED IED Data __ _ Data Data The polling task uses the data in the DNP or IED databases to control IED s The output command specifies the source of the data The DNP database consists of
41. determined by the parameters set in the configuration file Module data is paged up to 60 words at a time from the module to the processor The Ladder Logic task is responsible for placing the data received into the proper position in the data files ProSoft Technology Inc Page 25 of 172 August 23 2007 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 2 2 Configuration File Installing and Configuring the Module In order for the module to operate a configuration file DNP CFG is required This configuration file contains information to set the data transfer characteristics between the module and the processor to configure the communication information to establish the DNP protocol parameters and to define the databases required to hold the protocol data sets Each parameter in the file must be set carefully in order for the application to be implemented successfully Before editing the file design your system using the forms located in the Reference chapter of this document The configuration file is separated into sections with topic header names enclosed in the characters The configuration file consists of the following topics Section Description Module General Module configuration section DNP Slave DNP slave protocol definitions DNP Slave Database Database definition for the DNP slave driver DNP Slave Binary Inputs Class assignments for each binary input poin
42. do not increment Error correctly 22 DNP Slave address This value counts the number of times the source error addresses contained in a multi frame request fragments do Transport Layer Error not match 23 DNP Slave Binary This value contains the total number of binary input events Input Event count which have occurred 24 DNP Slave Binary This value represents the number of binary input events Input Event count in which are waiting to be sent to the master buffer 25 DNP Slave Analog This value contains the total number of analog input events Input Event count which have occurred 26 DNP Slave Analog This value represents the number of analog input events Input Event count in which are waiting to be sent to the master buffer 27 DNP Slave bad This value counts the number of times a bad function code function code error Application Layer Error for a selected object variation is received by the slave device Page 24 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Word Variable Name Description 28 DNP Slave object This value counts the number of times a request for an unknown error unsupported object is received by the slave device Application Layer Error 29 DNP Slave out of This value counts the number of times a parameter in the range error Application qualifier range or data field is not valid o
43. editor such as Notepad When you have finished editing the file save it and close Notepad ProSoft Technology Inc Page 51 of 172 August 23 2007 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module Important You must name this file DNP CFG before you transfer it to the module The module will not recognize configuration files with any other name or extension 2 3 2 Transferring the Configuration File to the Module Perform the following steps to transfer a configuration file from your PC to the module 1 Connect your PC to the Configuration Debug port of the module using a terminal program such as HyperTerminal Press to display the main menu xxxxx DNP DEBUG PORT HELP FUNCTION KEV FUNCTION Class Deadband Assignments Show DNP Databases Receive Configuration Send Configuration Sets debug level Display error list Display setup amp pointers perating parameters Reboot module Display Comm Stats Clear error list List COM States Master Port Slave Setup Version Information Display Blk K fer Stats Master Port Commands Master Port Slave Errs Display this screen PRODUCT DNPS REVISION 2 35 OP SYS REV 1206 PROD RUN 1501 I I l I I l I l I l I I I I I I I I 2 Press Receive Module Configuration The message Press Y key to confirm configuration receive is displayed at the bottom of the screen ecc
44. for binary input analog input and counter data points Port Flags Bits Description Decimal Equivalent 0 to 1 Communication port O Internal 1 Port 1 2 Port 2 0 to 3 3 Port 3 2 Enable Disable Command 1 Enable 0 Disable 4 3 RBE Flag O Events from IED 1 Events by module 4to7 Not Used For these data types the qualifier used in the data request is dependent on the Point Count and Address in Slave fields in the command as follows f Point Count lt 0 then use Qualifier O6h All points packed amp Point Count of points to consider f Address in Slave 0 amp Point Count gt 0 then use Qualifier 00h or 01h points 0 to Point Count 1 f Address in Slave gt 0 amp Point Count gt 0 then use Qualifier 00h or 01h Address in Slave to Address in Slave Point Count 1 The following table defines the Port Flags bits for binary output and analog output points Port Flags Bits Description Decimal Equivalent 0 to 1 Communication port O Internal 1 Port 1 2 Port 2 0 to 3 3 Port 3 2 Enable Disable Command 1 Enable 0 Disable 4 3 Poll Type 0 Poll 1 Exception 4 Data Source 02DNP Database 1 IED Database 16 5 to7 Not Used For these data types the qualifier used in the data request is dependent on the Point Count and Address in Slave fields in the command as follows f Address in Slave 0 amp Point Count gt 0 then use Qualifier 17h or 28h Point Count spe
45. for this field is in the range of 0 to 23 5 Minute This field contains the minute value for the new time Valid entry for this field is in the range of 0 to 59 6 Seconds This field contains the second value for the new time Valid entry for this field is in the range of 0 to 59 7 Milliseconds This field contains the millisecond value for the new time Valid entry for this field is in the range of 0 to 999 8 to 63 Not Used Not Used The module responds to a valid 9971 block with a read block of the following format Word Offset in Block Data Field s Description 0 Block Read ID This field contains the block identification code of 9971 for the block 1 Block Write ID This is the next block requested by the module 2 to 63 Not Used Not Used Block 9998 or 255 Warm Boot Module If the PLC sends a block number 9998 the module performs a warm boot operation Block 9999 or 253 Cold Boot Module If the PLC sends a block number 9999 the application will perform the cold boot operation The module exits the program and performs a soft restart on the module ProSoft Technology Inc Page 89 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module Side Connect Backplane Data Transfer The side connect interface is the simplest method to implement the module No ladder logic is required for the interface because the driver handles data movement between the module and the proces
46. has been transferred to your PC the dialog box will indicate that the transfer is complete I M2 D mn Sets debug level Class Deadband Assignments Display error list Show DNP Databases Display setup amp pointers Receive Configuration Operating parameters Send Configuration Reboot module Display Comm Stats Clear error list Display Blk M fer Stats List COM States Master Port Commands Master Port Slave Setup Master Port Slave Errs Version Information Display this screen PRODUCT DNPS REVISION 2 35 OP SYS REV 1206 PROD RUN 1501 e ommource Confirm Send Configuration File to Remote PC by pressing V key Sending configuration file TRANSFERRING CONFIGURATION FILES FROM MVI MODULE TO PC Select RECEIVE menu option and receive files SOCONF IGURATION FILE TRANSFERRED TO PC The configuration file is now in a folder on your PC To view the location of this folder open the Transfer menu in Hyperterminal and choose Receive File mvi fif File Edit View Favorites Tools Help Js Qe P Psh Do Folders Fz Address CAMVI Nj Eje Na Sie Type Date Modified 11KB Microsoft Office Ou 12 18 2006 3 05 PM File and Folder Tasks J Make a new folder Publish this Folder to the Web EZ Share this Folder Other Places lt Local Disk C E My Documents ij My Computer 3 My Network Places Details 4 You can now open and edit the file in a text
47. ignored 7 Sec Millisecond Formatted bits 0 to 9 Milliseconds bits 10 to 15 Seconds 8 Year Four digit year value for event 9 to 14 Six words of data for Event 2 15 to 20 Six words of data for Event 3 21 to 26 Six words of data for Event 4 27 to 32 Six words of data for Event 5 33 to 38 Six words of data for Event 6 39 to 44 Six words of data for Event 7 45 to 50 Six words of data for Event 8 51 to 56 Six words of data for Event 9 57 to 62 Six words of data for Event 10 63 Spare Not Used Up to 10 events can be passed from the PLC to the module in each block To ensure that the block reached the module and was processed the module will send a response read block 9959 to the PLC The format of the block is shown in the following table Word Offset in Block Data Field s Description 0 Block ID Identification code for block set to 9959 1 Block ID Block identification code for request from PLC by the module 2 Event Count This field contains the number of events processed by the module 3 Sequence This field contains the sequence counter of the last Counter successful block 9959 received 4 to 63 Spare Not used ProSoft Technology Inc August 23 2007 Page 87 of 172 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module The sequence counter field in the returned block is set to the last successfully processed block 9959 from the PLC Compare this value
48. on the current page in decimal format Viewing Data in Hexadecimal Format Press H to display the data on the current page in hexadecimal format Page 68 of 172 ProSoft Technology Inc August 23 2007 Diagnostics and Troubleshooting MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Viewing Data in Floating Point Format Press F from the Database View menu Use this command to display the data on the current page in floating point format The program assumes that the values are aligned on even register boundaries If floating point values are not aligned as such they are not displayed properly Viewing Data in ASCII Text Format Press A to display the data on the current page in ASCII format This is useful for regions of the database that contain ASCII data Viewing Data in Double Word Decimal Format Press L to display the data on the current page in Double Word Decimal format This is useful for regions of the database that contain Double Word Decimal data Viewing Data in Double Word Decimal Format Press X to display the data on the current page in Double Word Hexadecimal format This is useful for regions of the database that contain Double Word Hexadecimal data Viewing DNP Binary Inputs Press 1 to view a list of DNP Binary Inputs Viewing DNP Binary Outputs Press 2 to view a list of DNP Binary Outputs Viewing DNP Counters Press 3 to view a list of DNP Counters Viewing DNP An
49. points block Block PLC File Start End Points 20 N 1 to 960 21 N 961 to 1920 22 N 1921 to 2880 23 N 2881 to 3840 24 N 3841 to 4800 25 N 4801 to 5760 26 N 5761 to 6720 27 N 6721 to 7680 28 N 7681 to 8640 29 N 8641 to 9600 30 N 9601 to 10560 31 N 10561 to 11520 32 N 11521 to 12480 33 N 12481 to 13440 34 N 13441 to 14400 35 N 14401 to 15360 Page 118 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Counters 30 points block Block PLC File Start End Points 40 N 1 30 41 N 31 60 42 N 61 90 43 N 91 120 44 N 121 150 45 N 151 180 46 N 181 210 47 N 211 240 48 N 241 270 49 N 271 300 50 N 301 330 51 N 331 360 52 N 361 390 53 N 391 420 54 N 421 450 55 N 451 480 Analog Inputs 60 points block Block PLC File Start End Points 60 N 1 60 61 N 61 120 62 N 121 180 63 N 181 240 64 N 241 300 65 N 301 360 66 N 361 420 67 N 421 480 68 N 481 540 69 N 541 600 70 N 601 660 71 N 661 720 72 N 721 780 73 N 781 840 74 N 841 900 75 N 901 960 ProSoft Technology Inc Page 119 of 172 August 23 2007 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Analog Outputs 60 points block Reference
50. supports the Enable Unsolicited Function 21 Slave supports the Disable Unsolicited Function 23 Slave supports the Delay Measurement amp Time Synchronization Function and will return Obj 52 Var 2 Qual 7 Cnt 1 ProSoft Technology Inc Page 149 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module 5 15 Master Unit Device Profile Object Subset Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 1 0 Binary Input All 1 06 1 Master will Variations generate this variation 1 Binary Input 1 06 129 130 00 01 1 Master will generate and process this variation 2 Binary Input with 1 06 129 130 00 01 8 Master will Status generate and process this variation 2 0 Binary InputChange 1 06 07 56 Master will All Variations 08 generate this variation 1 Binary InputChange 1 06 07 129 130 17 28 8 Master will Without Time 08 generate and process this variation 2 Binary InputChange 1 06 07 129 130 17 28 56 Master will With Time 08 generate and process this variation 3 Binary InputChange 1 06 07 129 130 17 28 24 Master will With Relative Time 08 generate and process this variation 10 0 Binary Output All 1 06 8 Master does not Variations use this object 1 Binary Output 1 type and will not generate a 2 Binary Output 129 130 00 01 8 message or S
51. to be polled Address Address Object type is 1 Binary Input 200 Variation of 0 default variation c M Function 1 is for a read Slave address ignored Qual 6 all points Point count of 32 inidicales only first 32 points 31 231 are to be used DNP DB address of 200 is where first data point will be placed i 1 IED DB is not used 1 NOTE Data directly accessible by remote DNP Poll command every 2 seconds master Data not accessible by PLC Events generated by IED unit not by module Port Flg Slave Object Var Func Addr Pnt DNP IED Poll Cnt DB DB Int Word 0 1 2 3 4 5 6 7 8 9 Value 6 15 32 1 0 2 Command for Port 2 Enabled IED IED Unit 15 is to be polled 3 Object type is 1 Binary Input IED 15 BI s Variation of 0 default variation Address Address Function 1 is for a read 0j 31 Data not accessible by remote DNP master Data accessible by PLC No DNP data so RBE flag ignored NOTE 31 Slave address ignored Qual 6 all points Point count of 32 indicates only first 32 points are to be used DNP DB is not used 1 IED DB address of 0 is where first data point is placed Poll command every 2 seconds Page 44 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Port Slave Object Var Func Addr Pnt DNP IED Poll Int Fig Cnt DB DB Word 0 1 2 3 4 5 6 7 8 9 Val
52. to that sent by the PLC If the values match the events can be removed from the PLC If the values do not match or the PLC does not receive a 9959 block the PLC must re send the block Block 9970 or 270 Set PLC Time Using Module Time This block transfers the module s time to the PLC processor Ladder logic must be used to set the processor s clock using the data received The format of the block sent from the PLC has the following format Word Offset in Block Data Field s Description 0 Block ID This field contains the value of 9970 identifying the block type to the module 1 to 63 Not Used Not Used The module responds to the request with a read block 9970 with the following format Word Offset in Block Data Field s Description 0 Block Read ID This field contains the block identification code of 9970 for the block Block Write ID This is the next block requested by the module 2 Year This field contains the four digit year to be used with the new time value 3 Month This field contains the month value for the new time Valid entry for this field is in the range of 1 to 12 4 Day This field contains the day value for the new time Valid entry for this field is in the range of 1 to 31 5 Hour This field contains the hour value for the new time Valid entry for this field is in the range of 0 to 23 6 Minute This field contains the minute value for the new time Valid entry for th
53. up modem on this port Yes or No ProSoft Technology Inc Page 27 of 172 August 23 2007 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module Connect Timeout First Character Delay Redial Delay Time Redial Random Delay Idle Timeout Phone Number Collision Avoidance parameters Collision Avoidance CD Idle Time CD Random Time CD Time Befor Receiv Default Class Settings BI Class AI Class Float Class Double Class DNP specific parameters AI Deadband Float Deadband Double Deadband Select Operate Arm Time outputs Write Time Interval Confirm Mode Confirm Tout Max Retry Confirm Tout Data Lin Data Data App Layer K Link Link Unsolici Class 1 ted Response Unsol Resp Min Class 2 Unsol Resp Min Class 3 Unsol Resp Min Unsol Resp Delay UResp Master Address UResp Retry Count AI Events with time Time Sync Before Events Initialize DNP Database 20000 1000 100 150 200 ATDT1800 No 10 15 5 OWNER 1 1 O O 3 C3 00 e ever 00 00 No No No Initialize the DNP Slave output database areas 0 65535 0 65535 0 65535 0 65535 0 65535 1234567 before connect timeout before 1st char after connect min before redial attempt random before redial attempt inactive timeout milliseconds milliseconds 1 10 seconds 1 10 seconds 1 10 seconds Use Collis
54. will Variations generate this variation 1 32 Bit Frozen 129 130 00 01 40 aster will Counter process this variation 2 16 Bit Frozen 129 130 00 01 24 aster will Counter process this variation 3 32 Bit Frozen Delta 40 Counter 4 16 Bit Frozen Delta 24 Counter 5 32 Bit Frozen 88 Counter With Time Of Freeze 6 16 Bit Frozen 72 Counter With Time Of Freeze 7 32 Bit Frozen Delta 88 Counter With Time Of Freeze ProSoft Technology Inc August 23 2007 Page 151 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 8 16 Bit Frozen Delta 72 Counter With Time Of Freeze 9 32 Bit Frozen 1 06 129 130 00 01 32 Master will Counter Without generate and Flag process this variation 10 16 Bit Frozen 1 06 129 130 00 01 16 Master will Counter Without generate and Flag process this variation 11 32 Bit Frozen Delta 32 Counter Without Flag 12 16 Bit Frozen Delta 16 Counter Without Flag 22 0 Counter Change 1 06 07 Master will not Event All 08 generate a Variations request for this variation 1 32 Bit Counter 129 130 17 28 40 Master will Change Event process this Without Time variation 2 16 Bit Counter 129 130 17 28 24 Master will Change Event process this Without
55. 01 32 Master will Without Flag generate this variation Note Data returned will only be Least Significant 16 bits from Slave ProSoft Technology Inc August 23 2007 Page 153 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 4 16 Bit Analog Input 1 06 129 130 00 01 16 Master will Without Flag generate and process this variation 31 0 Frozen Analog Input All Variations 1 32 Bit Frozen 40 Analog Input 2 16 Bit Frozen 24 Analog Input 3 32 Bit Frozen 88 Analog Input With Time To Freeze 4 16 Bit Frozen 72 Analog Input With Time To Freeze 5 32 Bit Frozen 32 Analog Input Without Flag 6 16 Bit Frozen 16 Analog Input Without Flag 32 0 Analog Change 1 06 07 24 Master will Event All 08 generate this Variations variation 1 32 Bit Analog 1 06 07 129 130 17 28 40 Master will Change Event 08 generate and Without Time process this variation 16 bit data 2 16 Bit Analog 1 06 07 129 130 17 28 24 Master will Change Event 08 generate and Without Time process this variation 3 32 Bit Analog 1 06 07 129 130 17 28 88 Master will Change Event With 08 generate and Time process this variation 16 bit data 4 16 Bit Analog 1 06 07 129 130 17 28 72 Master will Change Event With 08 gene
56. 1 DNP PLC Platform DNP 3 0 Master Slave Communication Module Object Request Response Obj Var Description Func Qual Func Qual Data Codes Codes Codes Codes Size hex hex bits Notes Large Packed Binary Coded Decimal 64 No Object 13 aster supports the Cold Restart Function 14 aster supports e Warm estart unction zo c mal 20 aster supports e Enable nsolicited unction mca 21 aster supports the Disable Unsolicited Function ProSoft Technology Inc August 23 2007 Page 157 of 172 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module Page 158 of 172 ProSoft Technology Inc August 23 2007 ProSoft Technology Inc Support Service amp Warranty MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 6 ProSoft Technology Inc Support Service amp Warranty In This Chapter gt Howto Contact Us Sales and Support eens 160 gt Return Material Authorization RMA Policies and Conditions161 gt Procedures for Return of Units Under Warranty 161 gt Procedures for Return of Units Out of Warranty 162 gt LIMITED WARRANTY essent 163 Be sure and read the full Warranty that can be found on our web site at www prosoft technology com for details and other terms and conditions The content in this summary is subject to change without notice The
57. 1 Time Delay Coarse 129 07 With 16 Master will not Quant 1 process this variation 2 Time Delay Fine 129 07 With 16 Master will not Quant 1 process this variation ProSoft Technology Inc August 23 2007 Page 155 of 172 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 60 0 Not Defined ot Defined in DNP 1 Class 0 Data 1 06 aster will generate this variation 2 Class 1 Data 1 06 07 aster will 08 generate this variation 3 Class 2 Data 1 06 07 aster will 08 generate this variation 4 Class 3 Data 1 06 07 aster will 08 generate this variation 70 0 ot Defined 1 File Identifier 80 0 Not Defined 1 nternal Indications 2 00 24 The Master will Index 7 generate this variation 81 0 ot Defined 1 Storage Object 82 0 ot Defined 1 Device Profile 83 0 ot Defined Not Defined in DNP 1 Private Registration Object 2 Private Registration Objection Descriptor 90 0 Not Defined Not Defined in DNP 1 Application Identifier 100 0 1 Short Floating Point 48 2 Long Floating Point 80 3 Extended Floating 88 Point 101 0 1 Small Packed 16 Binary Coded Decimal 2 Medium Packed 32 Binary Coded Decimal Page 156 of 172 ProSoft Technology Inc August 23 2007 Reference MVI7
58. 29 130 00 01 16 Slave will return Counter Without Unknown Object to Flag this request 21 0 Frozen Counter 1 06 32 Slave will return All Variations variation 9 data 1 32 Bit Frozen 129 130 00 01 40 Slave will return Counter Unknown Object to this request 2 16 Bit Frozen 129 130 00 01 24 Slave will return Counter Unknown Object to this request 3 32 Bit Frozen 40 Slave will return Delta Counter Unknown Object to this request 4 16 Bit Frozen 24 Slave will return Delta Counter Unknown Object to this request ProSoft Technology Inc August 23 2007 Page 143 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 5 32 Bit Frozen 88 Slave will return Counter With Unknown Object to Time Of Freeze this request 6 16 Bit Frozen 72 Slave will return Counter With Unknown Object to Time Of Freeze this request 7 32 Bit Frozen 88 Slave will return Delta Counter Unknown Object to With Time Of this request Freeze 8 16 Bit Frozen 72 Slave will return Delta Counter Unknown Object to With Time Of this request Freeze 9 32 Bit Frozen 1 06 129 130 00 01 32 Slave will return this Counter Without variation Flag 10 16 Bit Frozen 1 06 129 130 00 01 16 Slave will return this Coun
59. 48 Viewing Analog Inputs 66 Viewing Binary Inputs 66 Viewing Block Transfer Statistics 64 Viewing COM States 63 Viewing Comm Stats 63 Viewing Data in ASCII Text Format 69 Viewing Data in Decimal Format 68 Viewing Data in Double Word Decimal Format 69 Viewing Data in Floating Point Format 69 Viewing Data in Hexadecimal Format 68 Viewing Data Type Databases 68 Viewing DNP Analog Inputs 69 Viewing DNP Analog Outputs 69 Viewing DNP Binary Inputs 69 Viewing DNP Binary Outputs 69 Viewing DNP Counters 69 Viewing DNP Float Inputs 69 Viewing DNP Float Outputs 69 Viewing DNP Frozen Counters 69 Viewing DNP Set Up amp Pointers 63 Viewing Double Inputs 66 Viewing Float Inputs 66 Viewing Master Port Slave Setup 64 Viewing Operating Parameters 63 Viewing the Error List 63 Viewing the Next 100 Registers of Data 68 Viewing the Next 20 Commands 71 ProSoft Technology Inc August 23 2007 Page 171 of 172 MVI71 DNP PLC Platform Index DNP 3 0 Master Slave Communication Module Viewing the Next 50 Commands 70 Viewing the Next Page of Commands 70 71 Viewing the Next Page of Data 66 Viewing the Previous 100 Registers of Data 68 Viewing the Previous 20 Commands 71 Viewing the Previous 50 Commands 70 Viewing the Previous Page of Commands 70 71 Viewing the Previous Page of Data 66 Viewing Version Information 64 W Warm Booting th
60. 6 Bit Delta 72 Slave will return Counter Change Unknown Object to Event With Time this request 23 0 Frozen Counter Slave will return Event All Unknown Object to Variations this request 1 32 Bit Frozen 40 Slave will return Counter Event Unknown Object to Without Time this request 2 16 Bit Frozen 24 Slave will return Counter Event Unknown Object to Without Time this request 3 32 Bit Frozen 40 Slave will return Delta Counter Unknown Object to Event Without this request Time 4 16 Bit Frozen 24 Slave will return Delta Counter Unknown Object to Event Without this request Time 5 32 Bit Frozen 88 Slave will return Counter Event Unknown Object to With Time this request 6 16 Bit Frozen 72 Slave will return Counter Event Unknown Object to With Time this request 7 32 Bit Frozen 88 Slave will return Delta Counter Unknown Object to Event With Time this request 8 16 Bit Frozen 72 Slave will return Delta Counter Unknown Object to Event With Time this request 30 0 Analog Input All 1 06 16 Slave will respond Variations with variation 4 data 1 32 Bit Analog 1 06 129 130 00 01 40 Slave will return this Input variation Note Data will only be 16 bit 2 16 Bit Analog 1 06 129 130 00 01 24 Slave will return this Input variation ProSoft Technology Inc August 23 2007 Page 145 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference
61. 8 X 9 X X A X X B X X X Page 62 of 172 ProSoft Technology Inc August 23 2007 Diagnostics and Troubleshooting MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Key None DNP Statistics Data Link Layer DPA Level Messages Messages C X D X X E X X F X X X Viewing the Error List Press L to display the last 60 errors for the DNP slave port Refer to the error list section of the user manual to interpret each error recorded by the module If there are no errors present for the module the message NO ERRORS FOR SYSTEM is displayed Viewing DNP Set Up amp Pointers Press P to display the memory allocation and the database setup parameters Viewing Operating Parameters Press O to view the DNP Protocol setup information Operating Parameters for the module Warm Booting the Module Caution Some of the commands available to you from this menu are designed for advanced debugging and system testing only and can cause the module to stop communicating with the processor or with other devices resulting in potential data loss or other failures Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff Some of these command keys are not listed on the menu but are active nevertheless Please be careful when pressing keys so that you do not accidentally execute an unwanted command Press R from the Main Menu to warm boot restart
62. 9 Installing the MVI71 DNP module requires a reasonable working knowledge of the Rockwell Automation hardware the MVI71 DNP Module and the application in which they will be used A It is important that those responsible for implementation can complete the application without exposing personnel or equipment to unsafe or inappropriate working conditions Safety quality and experience are key factors in a successful installation 1 1 System Requirements The MVI71 DNP module requires the following minimum hardware and software components Rockwell Automation PLC processor with compatible power supply and one free slot in the rack for the MVI71 DNP module The module requires 8300mA of available power Rockwell Automation RSLogix 5 programming software Rockwell Automation RSLinx communication software Pentium 100 MHz minimum Pentium III 700 MHz or better recommended Supported operating systems Microsoft Windows XP Microsoft Windows 2000 Microsoft Windows NT v4 0 with Service Pack 3 or greater Microsoft Windows ME Microsoft Windows 98 4 Mbytes of RAM minimum 256 Mbytes of RAM recommended O Qoooo ProSoft Technology Inc August 23 2007 Page 11 of 172 MVI71 DNP PLC Platform Start Here DNP 3 0 Master Slave Communication Module 100 Mbytes of free hard disk space or more based on application requirements 256 color VGA graphics adapter 800 x 600 minimum resolution True Color 1024 x 768 recomme
63. ATA BINARY INPUT EVENTS ANALOG INPUT EVENTS FLOAT INPUT EVENTS LAST VALUE DATA BINARY INPUTS ANALOG INPUTS FLOAT INPUTS DNP BINARY OUTPUTS DNP ANALOG OUTPUTS IED BINARY OUTPUTS IED ANALOG OUTPUTS IED DATA BINARY INPUTS 1000 to 1015 BINARY OUTPUTS COUNTER DATA 1020 to 1035 1040 to 1055 ANALOG INPUTS 1060 to 1075 ANALOG OUTPUTS 1080 to 1095 RBE FLAGS BINARY INPUT ANALOG INPUT Data contained in this database is paged through the BTR and BTW images by coordination of the PLC ladder logic and the MVI71 DNP module s program Up to 64 words of data can be transferred from the module to the processor at a time Up to 64 words of data can be transferred from the processor to the module Each block transferred from the module to the processor or from the processor to the module contains a block identification code that describes the content of the block The following table defines the blocks used by this module Data Type Start Block Max Block Max of Points Digital Input 0 15 15360 Digital Output 20 35 15360 Counters 40 55 480 Analog Input 60 75 960 Analog Output 80 95 960 IED Digital Input 1000 1015 15360 IED Digital Output 1020 1035 15360 IED Counters 1040 1055 480 ProSoft Technology Inc August 23 2007 Page 81 of 172 MVI71 DNP PLC Platform Reference D
64. Application ports Page 76 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 5 1 4 Functional Specifications The module has two DNP protocol ports that can be user configured to operate in a Master Slave or in a Slave Slave redundant port configuration User defined internal register space is accessible to the protocol driver and to the PLC processor memory DNP 3 0 Slave Protocol Specifications The DNP Slave port s accepts DNP commands to control and monitor data stored in the module s DNP Slave databases If a DNP Master port is also configured a portion of these slave databases can be derived from or can control IED devices connected to the DNP master port Report by Exception data is logged to the module s database Supports unsolicited messaging Each DNP point type is user configurable by point Class assignments are completely user definable on a Type and point basis BI Al Fl point types Supports clock synchronization from a master or from the processor Up to 400 events are stored for Floats Binary In and Analog In Inputs Collision avoidance algorithm per DNP organization for redundant port switching redundant slave mode Special modem AT command string and timing support for dialing out on redundant port redundant slave mode DNP 3 0 Master Protocol Specifications The DNP 3 0 Master port can be configured as a virtual
65. C processor is asynchronous from the actions on the DNP network Databases are user defined and stored in the module to hold the data required by the protocol 5 1 2 General Specifications Single Slot 1771 backplane compatible The module is recognized as an Input Output module and has access to processor memory for data transfer between processor and module Ladder Logic is used for data transfer between module and processor Sample ladder file included Configuration data obtained from configuration text file downloaded to module Sample configuration file included 5 1 3 Hardware Specifications Specification Description Form Factor Single Slot 1771 chassis compatible BTR BTW data transfer Local or remote rack Backplane current load 800 mA 5V Operating temperature Storage temperature Shock Vibration 0 to 60 C 32 to 140 F 40 to 85 C 40 to 185 F 30g operational 50g non operational 5 g from 10150 Hz Relative humidity 5 to 95 non condensing LED Indicators Module status Backplane transfer status Application status Serial activity and error LED status Debug Configuration port CFG CFG Port P1 RJ45 DB 9M with supplied cable RS 232 only Configuration Connector RJ45 RS 232 Connector RJ45 to DB 9 cable shipped with unit Application Ports Application Serial port P2 P3 Serial Modules Two RJ45 RS 232 422 485
66. COM 2 COM 3 2 NOT JUMPERED SETUP The Setup Jumper acts as write protection for the module s flash memory In write protected mode the Setup pins are not connected and the module s firmware cannot be overwritten Do not jumper the Setup pins together unless you are directed to do so by ProSoft Technical Support 1 4 Install the Module in the Rack If you have not already installed and configured your PLC processor and power supply please do so before installing the MVI71 DNP module Refer to your Rockwell Automation product documentation for installation instructions Warning You must follow all safety instructions when installing this or any other electronic devices Failure to follow safety procedures could result in damage to hardware or data or even serious injury or death to personnel Refer to the documentation for each device you plan to connect to verify that suitable safety procedures are in place before installing or servicing the device After you have checked the placement of the jumpers insert MVI71 DNP into the PLC chassis Use the same technique recommended by Rockwell Automation to remove and install PLC modules ProSoft Technology Inc Page 13 of 172 August 23 2007 MVI71 DNP PLC Platform Start Here DNP 3 0 Master Slave Communication Module Warning This module is not hot swappable Always remove power from the rack before inserting or removing this module or damage may resu
67. EVENTS ANALOG INPUT EVENTS FLOAT INPUT EVENTS LAST VALUE DATA BINARY INPUTS ANALOG INPUTS FLOAT INPUTS DNP BIN OUTPUTS DNP ANALOG OUTPUTS IED BIN OUTPUTS IED ANALOG OUTPUTS IED DATA BINARY INPUTS BINARY OUTPUTS COUNTER DATA ANALOG INPUTS ANALOG OUTPUTS RBE FLAGS BINARY INPUT ANALOG INPUT The module is responsible for maintaining the databases using data acquired from the PLC IED units attached to the DNP master port and DNP master attached to the DNP slave port Page 96 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module The following illustration shows the interaction of the binary and analog input points with the databases Binary and Analog Input Databases PLC Files PLC PLC Point Count Data All other points in DNP database are acquired or used by the attached IED units IED DB Data is transferred by the Polling Task from the IED s to the IED database and to the IED portion of the DNP database Events received from the IED units IED IED will be placed in the event list if the RBE flag for the IED s point is set to 1 Data Data Events will be generated for the DNP database for all points with an RBE flag value of 0 No events are generated for state changes in the IED database Values in the IED database are to be used by logic in the PLC only The Polling
68. G HIGH RISK ACTIVITIES sse enne 165 6 5 4 DISCLAIMER OF ALL OTHER WARRANTIES sssseseseee eene nnne nnne 165 6 5 5 LIMITATION OF REMEDIES T 5d beu ee S ite eei eatin 165 6 5 6 Time Limit for Bringing Suit sese enm ener meme nnne 165 6 5 7 No Other Warranties ener eee i entere ce chere tne M eee ee renee ye ede 166 6 5 8 Intellectual Property nrc etre retine eie desdebeecdveshevedeetescecanlettes 166 6 5 9 Additional Restrictions Relating To Software And Other Intellectual Property 166 6 5 10 Allocationrobrisks 5 2 nne header tte ud pe dp re Daniae ede ip tunes 166 6 5 11 Controlling Law and Severability sessee eene 167 M M CI N 169 ProSoft Technology Inc Page 7 of 172 August 23 2007 MVI71 DNP PLC Platform Contents DNP 3 0 Master Slave Communication Module Page 8 of 172 ProSoft Technology Inc August 23 2007 Start Here MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Guide to the MVI71 DNP User Manual Function Introduction Must Do Section to Read Details Start Here page 21 page 11 This Section introduces the customer to the module Included are package contents system requirements hardware installation and basic configuration Verify Communication Diagnostic and Trou
69. Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 5 5 Collision Avoidance DNP modules only The RTS line is controlled by the RTS on and off parameters set for 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 to the modem The following illustration shows the cable required when connecting the port to a modem RS 232 Application Port Cable Collision Avoidance Modem DB 9 Male RS 232 Device If collision avoidance is used in a point to point connection on the RS 232 interface the following cable should be used RS 232 Application Port Cable Collision Avoidance Direct DB 9 Male RS 232 Device ProSoft Technology Inc Page 117 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module 5 6 Block Assignments 5 6 1 PLC Program Block Assignments vs File Offset Binary Inputs 960 points block Block PLC File Start End Points 0 N 1 to 960 1 N 961 to 1920 2 N 1921 to 2880 3 N 2881 to 3840 4 N 3841 to 4800 5 N 4801 to 5760 6 N 5761 to 6720 7 N 6721 to 7680 8 N 7681 to 8640 9 N 8641 to 9600 10 N 9601 to 10560 11 N 10561 to 11520 12 N 11521 to 12480 13 N 12481 to 13440 14 N 13441 to 14400 15 N 14401 to 15360 Binary Outputs 960
70. Item Value Range Description Secondary Port OO lt firitions for secondary port on module Type MorS or This parameter defines the functionality of the blank secondary port on the module M emulate a DNP master port S back up DNP slave port to the primary port Any other value will disable the port Baud Rate Baud rate Secondary DNP Port Baud Rate 300 600 value 1200 2400 4800 9600 19200 384 38400 576 57600 115 115200 RTS On 0 to 65535 This value represents the number of 1 ms milliseconds increments to be inserted between asserting the RTS modem line and the actual transmission of the data RTS Off 0 to 65535 This value represents the number of 1 ms milliseconds increments to be inserted after the last character of data is transmitted before the RTS modem line is dropped ProSoft Technology Inc Page 129 of 172 August 23 2007 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference Section Item Value Range Description Min Response Delay 0 to 65535 Minimum time between receiving a request milliseconds and transmitting a response Allows master time to disable transmitter on an RS 485 network Collision Avoidance Yes or No This parameter defines if collision avoidance will be utilized on the primary DNP slave port CD Idle Time 0 to 32000 Defines the minimum number of milliseconds to wait before transmitting a message after the CD signal is recognized as lo
71. L ERROR 6 31 2 12 1 6 8 18 8 8 8 65535 Refer to Command List for a description of the fields on this list The Last Poll field is the count timer compared to the user configured poll interval When the Last Poll value is gt to the poll interval the command is ready to execute The Last Error field contains the value 65535 when the next command is being executed Refer to Command Error Codes page 138 for an explanation of other values that may appear in this field Redisplaying the Current Page Press S to display the current page of data Viewing the Previous 50 Commands Press to view the previous 50 commands Viewing the Previous Page of Commands Press P to display the previous page of commands Viewing the Next 50 Commands Press 4 to view the next 50 commands from the master command list Viewing the Next Page of Commands Press N to display the next page of commands Page 70 of 172 ProSoft Technology Inc August 23 2007 Diagnostics and Troubleshooting MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Returning to the Main Menu Press M to return to the Main Menu 4 1 9 Master Command Error List Menu Use this menu to view the command error list for the module Press to view a list of commands available on this menu Use keys 0 through 3 to view the command list for each group of slaves The following illustration shows the status of slaves 0 and 1 ecee DNP
72. MA number is to be prominently marked on the outside of the shipping box Customer agrees to insure the Product or assume the risk of loss or damage in transit Products shipped to ProSoft without an RMA number will be returned to the Customer freight collect Contact ProSoft Technical Support for further information Out of warranty returns are not allowed on RadioLinx accessories such as antennas cables and brackets The following policy applies for Non Warranty Credit Returns A 10 Restocking Fee if Factory Seal is not broken B 2096 Restocking Fee if Factory Seal is broken ProSoft retains the right in its absolute and sole discretion to reject any non warranty returns for credit if the return is not requested within three 3 months after shipment of the Product to Customer if the Customer fails to comply with ProSoft s shipping instructions or if the Customer fails to return the Product to ProSoft within six 6 months after Product was originally shipped 6 3 Procedures for Return of Units Under Warranty 1 A Technical Support Engineer must pre approve all product returns 2 Module is repaired or replaced after a Return Material Authorization Number is entered and a replacement order is generated 3 Credit for the warranted item is issued within 10 business days after receipt of product and evaluation of the defect has been performed by ProSoft The credit will only be issued provided the product is returned with a valid Return
73. MASTER PORT SLAVE STATISTICS seeeec PRODUCT DNP REUISION 1 88 OP SYS REV 8988 PROD RUN 1581 ERROR COUNIERS FOR EACH DEVICE CFIRSI DEVICE 8 gt DEVICE DEVICE CONFIRM CONFIRM NO API BAD BUFFER TRANS FORT Ql I PL INDEX ADDRESS CRC OVERFLOW SEQUENCE RETRIES FAILURES RESPONSE Jc es Tp o EE RC Redisplaying the Current Page Press S to display the current page of data Viewing the Previous 20 Commands Press to display data for the previous 20 commands Viewing the Previous Page of Commands Press P to display the previous page of commands Viewing the Next 20 Commands Press to display data for the next 20 commands Viewing the Next Page of Commands Press N to display the next page of commands Returning to the Main Menu Press M to return to the Main Menu ProSoft Technology Inc Page 71 of 172 August 23 2007 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 4 2 LED Status Indicators Diagnostics and Troubleshooting The LEDs indicate the module s operating status as follows ProSoft Color Status Indication Module CFG Green On Data is being transferred between the module and a remote terminal using the Configuration Debug port Off No data is being transferred on the Configuration Debug port P1 Green On Data is being transferred by the module on Port 1 Off No data is being transferred on the port P2 Green On Data is being trans
74. MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module The 64 word block has the following structure Offset Variable Description 0 BTR ID Block identification code for the DNP user file to consider 1 BTW ID Block identification code for the data request from the PLC This parameter has nothing to do with the user file record update 2 to 61 Data This is the data to be written to the file 62 to 63 Spare This value is not used The record number field is inserted before the data in the block All records in a file use the same BTR block identification code Therefore the record number field is added to define where the data should be placed in the PLC The ladder logic must process this field and place the data in the appropriate data table DNP Digital Input Data This data type stores the binary value of 1 or 0 The size of this data area is determined from the configuration parameter Number of Binary Input Points The data area is partitioned into two separate areas The first is the DNP binary input data acquired from the PLC and the second is the binary input data from IED units on the DNP master port The configuration parameter Number of Binary Input Points for PLC determines the size of the PLC s data area The remaining portion is defined as the IED binary input data area PLC data are transferred to the module from the PLC using the COP command in the ladder logic Therefore these da
75. MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module User Manual August 23 2007 ProSoft TECHNOLO OY Please Read This Notice Successful application of this module requires a reasonable working knowledge of the PLC hardware the MVI71 DNP Module and the application in which the combination is to be used For this reason it is important that those responsible for implementation satisfy themselves that the combination will meet the needs of the application without exposing personnel or equipment to unsafe or inappropriate working conditions This manual is provided to assist the user Every attempt has been made to assure that the information provided is accurate and a true reflection of the product s installation requirements In order to assure a complete understanding of the operation of the product the user should read all applicable documentation on the operation of the hardware Under no conditions will ProSoft Technology be responsible or liable for indirect or consequential damages resulting from the use or application of the product Reproduction of the contents of this manual in whole or in part without written permission from ProSoft Technology is prohibited Information in this manual is subject to change without notice and does not represent a commitment on the part of ProSoft Technology Improvements and or changes in this manual or the product may be made at any time These changes will be made periodic
76. Material Authorization Number and in accordance with ProSoft s shipping instructions a If no defect is found a credit is issued ProSoft Technology Inc Page 161 of 172 August 23 2007 MVI71 DNP PLC Platform ProSoft Technology Inc Support Service amp Warranty DNP 3 0 Master Slave Communication Module b If a defect is found and is determined to be customer generated or if the defect is otherwise not covered by ProSoft s Warranty or if the module is not repairable a credit is not issued and payment of the replacement module is due 6 4 Procedures for Return of Units Out of Warranty 1 Customer sends unit in for evaluation 2 If no defect is found Customer will be charged the equivalent of US 100 plus shipping duties and taxes that may apply A new Purchase Order will be required for this evaluation fee If the unit is repaired the charge to the Customer will be 30 of the list price plus any shipping duties and taxes that may apply A new Purchase Order will be required for a product repair 3 Foran immediate exchange a new module may be purchased and sent to Customer while repair work is being performed Credit for purchase of the new module will be issued when the new module is returned in accordance with ProSoft s shipping instructions and subject to ProSoft s policy on non warranty returns This is in addition to charges for repair of the old module and any associated charges to Customer 4 f upon contac
77. NP 3 0 Master Slave Communication Module Data Type Start Block Max Block Max of Points IED Analog Input 1060 1075 960 IED Analog 1080 1095 960 Output Float Input 1100 1107 240 Float Output 1140 1147 240 Reserved Block Numbers Block Number Function Description 249 or 9949 Read Slave Communication Error Table block 250 or 9950 Read Command Error List Block 251 DNP Slave Status Error Block from module 252 DNP Error List Block from module 253 or 9999 Cold Boot Request from PLC Block contains no data 254 Dummy Block Used by module when no data is to be transferred 255 or 9998 Warm Boot Request 258 or 9958 PLC Binary Input Event data FUTURE 259 or 9959 PLC Analog Input Event Data FUTURE 270 or 9970 Set PLC time using module s DNP time 271 or 9971 Set module s time using PLC time 297 or 9901 CROB Control Block for Digital Outputs 299 or 9902 Command Control Block Add command to Command List Queue 9903 Event message block from module to processor Master Driver Blocks 1 through 149 transfer data between the module and the processor Blocks 1000 to 1148 transfer the initial output databases binary and analog output data from the processor to the module at startup Blocks 9958 to 9999 are used for command control of the module Each group of blocks are described in the following topics Module DNP Protocol Operation Unsolicited Messaging If the
78. OVERFLOW will be set If the system you are working with is fairly stable the following equation can be used to compute the event buffer size number of points that change per change function rate per second of scan of change function number of seconds between master event data poll For example 1000 binary input points are scanned 2 times each second and polled by the master station about every 5 seconds Only about 5 points change state every scan of the change function call 5 2 5 50 events required The number of events that can be defined in the system is limited to 400 The event buffer will overflow in systems which are very dynamic unless one of the following conditions exist The master frequently polls the slave device for events to keep the buffer empty OR The slave is configured to send unsolicited messages to the master station This method requires full duplex operation of the network because the slave may be sending a message during a request from the master station In order to disable the report by exception feature in the module set the number of events to 0 for both the binary and analog input events in the configuration N 5 and 6 in the system configuration block This will cause the slave to never return any data on object 2 and 32 and class 2 and 3 master station requests Page 140 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master S
79. Outputs 0 to 240 points Number of floating point output points to configure in the DNP slave device Each point will occupy a two word area in the module memory PLC Float Outputs 0 to 240 points Number of floating point output points configured above that are to be sent to the PLC Section Item Description DNP Slave Binary Inputs DNP database binary input override values This area is to override the class assignment for binary input database points Enter list of points between the START and END labels Point Class START END Page 128 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Section Item Description DNP Slave Analog Inputs DNP database analog input override values START This area is to override the class and deadband assignment for analog input database points Enter list of points between the START and END labels Point Class Deadband START END Section Item Description DNP Slave Float Inputs DNP database floating point input override values This area is to override the class and deadband assignment for float input database points Enter list of points between the START and END labels Point Class Deadband START END Section
80. PLC Platform DNP 3 0 Master Slave Communication Module Column Variable Name Data Range Description IF Error 6 Slave Mode Coded Value This word contains bits that define 5 Bit the slave mode The slave mode O Enable Bit defines the functionality of the 1 Unsol Msg slave device and can be Bit 2 Use combined in any combination The DM Bit fields have the following definition 3 Auto Time Enable determines if this slave Sync will be used Unsol Msg causes an enabled unsolicited response message to be sent to the slave when its RESTART IIN bit is set This parameter is also required for unsolicited message reporting by the IED unit Use DM uses delay measurement Auto Time Sync time synchronization used when NEED TIME IIN bit set 2 2 13 Command List The command list stores the command list used by the DNP master port This list only must be defined if the DNP master port is used Up to 300 commands can be defined for the master port The structure of each row in the list is shown in the following table Word Offset Definitions Port Flags Slave Address Object Variation Function Address in Slave Point Count DNP DB Address o o oOo RI Ww hmM gt o IED DB Address e Poll Interval The definition of each parameter required for each command is provided in the following table Bits in the Port Flags parameter are dependent on the data t
81. Slave Errs OP SYS REV 1206 PROD RUN 1501 TRANSFERRING CONFIGURATION FROM PC TO MVI MODULE Select SEND menu option and send e 1B00000002 7f ed amp 4 From the Transfer menu in HyperTerminal select Send File COM1 57600 HyperTerminal File Edit View Call BBIZISIz a Help FL sear Receive File file DNP CFG Capture Text secare DNI send text Fie AELP mm Capture to Printer 0 9 A F Sets debug level L Display error list P Display setup amp pointers 0 Operating parameters R Reboot module Display Comm Stats y T G Clear error list List COM States Master Port Slave Setup Version Information PRODUCT DNPS REVISION 2 35 Confirm Receive Configuration File Receiving configuration file TRANSFERRING CONFIGURATION FROM PC Select SEND menu option and send fi e 1B000000000cd85 Sends a file to the remote system KEY FUNCTION oes A ee eee V Class Deadband Assignments U Show DNP Databases lt Receive Configuration gt end Configuration Display Blk X fer Stats Master Port Commands Master Port Slave Errs Display this screen OP SVS REV 1206 PROD RUN 1501 NN from Remote PC by pressing V key TO MVI MODULE le DNP CFG from Remote PC by pressing V key ProSoft Technology Inc August 23 2007 Page 53 of 172 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module
82. T DATA BLOCK 1040 COUNTER DATA INPUT DATA OUTPUT DATA BLOCK 40 COUNTER BLOCK 41 COUNTER BLOCK 1000 DIGITAL BLOCK 1020 DIGITAL BLOCK 1060 ANALOG BLOCK 1080 ANALOG a DNP MEMORY DIGITAL INPUT DATA DIGITAL OUTPUT DATA COUNTER DATA ANALOG INPUT DATA ANALOG OUTPUT DATA FROZEN COUNTER LAST VALUE AND EVENT DATA MQ i fy IED MEMORY ED BINARY INPUT DATA IED BINARY OUTPUT DATA ED COUNTER DATA IED ANALOG INPUT DATA IED ANALOG OUTPUT DATA It is important to understand the relationship of the BTR BTW identifications and the data in the module Confident data handling in the module is only accomplished if the user defines a consistent set of parameters in the module configuration handles the BTR BTW operations for the blocks in the module in the PLC ladder logic and Review the BTR BTW se this process and the ladd The file data type uses a understands the requirements of the DNP master unit ction of this documentation for further understanding of er logic section on how to implement the operation set of block identification numbers between 100 and 120 The number selected is user defined in the file configuration data table with each file assigned a unique block identification number The structure of the BTR block is also different from that of the other data types ProSoft Technology Inc August 23 2007 Page 101 of 172
83. TION Class Deadband Assignments Show DNP Databases Receive Configuration Send Configuration Sets debug level Display error list Display setup amp pointers Operating parameters Reboot module Display Comm Stats Clear error list List COM States Master Port Slave Setup Version Information PRODUCT DNPS REVISION 2 35 OP SYS REV 1206 PROD RUN 1501 Display Blk K fer Stats Master Port Commands Master Port Slave Errs Display this screen I I I l I I l I I I l I I I I Caution Some of the commands available to you from this menu are designed for advanced debugging and system testing only and can cause the module to stop communicating with the processor or with other devices resulting in potential data loss or other failures Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff Some of these command keys are not listed on the menu but are active nevertheless Please be careful when pressing keys so that you do not accidentally execute an unwanted command Setting the Debug Level You can increase or decrease the level of debug messages sent from the module to the Debug Menu The following table shows the type of debugging information for each key 0 to 9 A to F Key None DNP Statistics Data Link Layer DPA Level Messages Messages 0 X 1 X 2 X 3 X X 4 5 X 6 X 7 X X
84. URY OR SEVERE PHYSICAL OR ENVIRONMENTAL DAMAGE COLLECTIVELY HIGH RISK ACTIVITIES PROSOFT SPECIFICALLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR HIGH RISK ACTIVITIES 6 5 4 DISCLAIMER OF ALL OTHER WARRANTIES THE WARRANTIES SET FORTH IN PARAGRAPH 1 ABOVE ARE IN LIEU OF ALL OTHER WARRANTIES EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6 5 5 LIMITATION OF REMEDIES IN NO EVENT WILL PROSOFT OR ITS DEALER BE LIABLE FOR ANY SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES BASED ON BREACH OF WARRANTY BREACH OF CONTRACT NEGLIGENCE STRICT TORT OR ANY OTHER LEGAL THEORY DAMAGES THAT PROSOFT AND ITS DEALER WILL NOT BE RESPONSIBLE FOR INCLUDE BUT ARE NOT LIMITED TO LOSS OF PROFITS LOSS OF SAVINGS OR REVENUE LOSS OF USE OF THE PRODUCT OR ANY ASSOCIATED EQUIPMENT LOSS OF DATA COST OF CAPITAL COST OF ANY SUBSTITUTE EQUIPMENT FACILITIES OR SERVICES DOWNTIME THE CLAIMS OF THIRD PARTIES INCLUDING CUSTOMERS OF THE PURCHASER AND INJURY TO PROPERTY Some areas do not allow time limitations on an implied warranty or allow the exclusion or limitation of incidental or consequential damages In such areas the above limitations may not apply This Warranty gives you specific legal rights and you may also have other rights which vary from place to place 6 5 6 Time Limit for Bringing Suit Any action for breach of warranty must be comm
85. age MCMTESTS gt PLC5 20C 1 5 Writing Channel Configuration 8 secin MEBENESENERENNENEERE Toot SENNEEENRE Page 16 of 172 ProSoft Technology Inc August 23 2007 Start Here MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 5 When the download is complete RSLogix will open another confirmation dialog box Click OK to switch the processor from Program mode to Run mode Note If you receive an error message during these steps refer to your RSLogix documentation to interpret and correct the error 1 6 1 Configuring RSLinx gt If RSLogix is unable to establish communication with the processor follow these steps 1 OpenRSLinx 2 Open the Communications menu and choose Configure Drivers Communications Station DDE OPC RSWho Configure Drivers Configure Shortcuts Configure Client Applications Configure CIP Options Driver Diagnostics CIP Diagnostics This action opens the Configure Drivers dialog box r Available Driver Types Cos R5 232 DF1 Devices Add New L See Help Configured Drivers Name and Description Status SENI Configure Startup Start Stop Delete ProSoft Technology Inc Page 17 of 172 August 23 2007 MVI71 DNP PLC Platform Start Here DNP 3 0 Master Slave Communication Module Note If the list of configured drivers is blank you must first choose and config
86. ally to correct technical inaccuracies or typographical errors Warning This module is not hot swappable Always remove power from the rack before inserting or removing this module or damage may result to the module the processor or other connected devices Power Input and Output I O wiring must be in accordance with Class 1 Division 2 wiring methods Article 501 4 b of the National Electrical Code NFPA 70 for installation in the U S or as specified in Section 18 1J2 of the Canadian Electrical Code for installations in Canada and in accordance with the authority having jurisdiction A Warning Explosion Hazard Substitution of components may impair suitability for Class 1 Division 2 B Warning Explosion Hazard When in hazardous locations turn off power before replacing or wiring modules C Warning Explosion Hazard Do not disconnect equipment unless power has been switched off or the area is known to be non hazardous Your Feedback Please We always want you to feel that you made the right decision to use our products If you have suggestions comments compliments or complaints about the product documentation or support please write or call us ProSoft Technology 1675 Chester Avenue Fourth Floor Bakersfield CA 93301 1 661 716 5100 1 661 716 5101 Fax http www prosoft technology com Copyright ProSoft Technology Inc 2000 2007 All Rights Reserved MVI71 DNP User Manual
87. alog Inputs Press 4 to view a list of DNP Analog Inputs Viewing DNP Analog Outputs Press 5 to view a list of DNP Analog Outputs Viewing DNP Frozen Counters Press 6 to view a list of DNP Frozen Counters Viewing DNP Float Inputs Press 7 to view a list of DNP Float Inputs Viewing DNP Float Outputs Press 9 to view a list of DNP Float Outputs ProSoft Technology Inc Page 69 of 172 August 23 2007 MVI71 DNP PLC Platform Diagnostics and Troubleshooting DNP 3 0 Master Slave Communication Module Returning to the Main Menu Press M to return to the Main Menu 4 1 8 Master Command List Menu Use this menu to view the command list for the module Press to view a list of commands available on this menu xxw DNP MASTER PORT mgri SELECTION MENU xex PRODUCT DNP REVISION 1 66 OP SYS REV 8988 PROD RUN H 1581 BELEGT CHANGE or comanDE o EL USING LONE i THE mE Sud rr KEV CONMANDE a 2 ere 1 9039 Moi E 00 29 4 88 99 5 106 119 6 120 139 2 148 159 8 168 179 9 188 192 A 2080 2192 B 220 232 C 248 2592 D 260 272 E 280 222 Use keys 0 through E to view each range of commands The following illustration shows the status of command O NP HM R PUR MMAN 33x PRODUCT DNP5 REUISION 2 35 OP SYS REU 1286 PROD RUN 1561 COMMAND INFORMATION FIRST COMMAND INDEX 8 CMD PORT DEV PNT POINT DNP IED POLL LAST LAST NUMB FLG ADDR OBJ VAR FUNC ADDR COUNT ADDR ADDR INTU POL
88. any software or other intellectual property in any manner or for any purpose not expressly permitted by any license agreement accompanying such software or other intellectual property E Customer agrees that it shall not and shall not authorize others to copy software provided by ProSoft except as expressly permitted in any license agreement accompanying such software transfer software to a third party separately from the Product modify alter translate decode decompile disassemble reverse engineer or otherwise attempt to derive the source code of the software or create derivative works based on the software export the software or underlying technology in contravention of applicable US and international export laws and regulations or use the software other than as authorized in connection with use of Product 6 5 9 Additional Restrictions Relating To Software And Other Intellectual Property In addition to complying with the Terms of this Warranty Customers purchasing software or other intellectual property shall comply with any license agreement accompanying such software or other intellectual property Failure to do so may void this Warranty with respect to such software and or other intellectual property 6 5 10 Allocation of risks This Warranty allocates the risk of product failure between ProSoft and the Customer This allocation is recognized by both parties and is reflected in the price of the goods The Customer acknowled
89. aracter in each line is left blank 2 2 1 Module Module Name O to 80 characters This parameter assigns a name to the module that can be viewed using the configuration debug port Use this parameter to identify the module and the configuration file 2 2 2 DNP Slave This section provides information required to configure a slave application with the module Most entries contained within this section are self explanatory with the possible exception of the Use IP List directive This directive instructs the module to verify the address of the received message and ignore the message if itis not on our list of acceptable clients Another item of concern is the maximum size of the total database although it is possible to configure a database of considerable size this would not work as the maximum Class 0 request may not exceed 2048 bytes in size The following example shows a sample DNP Slave section 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 2 36 0 65534 slave identification code for this unit DNP slave communication port configuration Baud Rate 7 L9200 Baud rate for port 110 115200 RTS On ERO 0 32000 mSec before messag RTS Off s 0 32000 mSec after messag Min Response Delay 270 0 32000 mSec before response sent from slave DNP slave modem configuration Modem No Use a dial
90. are the same as for RadioLinx modules that is three years from the date of shipment What Is Not Covered By This Warranty ProSoft makes no representation or warranty expressed or implied that the operation of software purchased from ProSoft will be uninterrupted or error free or that the functions contained in the software will meet or satisfy the purchaser s intended use or requirements the Customer assumes complete responsibility for decisions made or actions taken based on information obtained using ProSoft software With the exception of RadioLinx accessories referenced in paragraph 1 c this Warranty does not cover any product components or parts not manufactured by ProSoft This Warranty also does not cover the failure of the Product to perform specified functions or any other non conformance defects losses or damages caused by or attributable to any of the following i shipping ii improper installation or other failure of Customer to adhere to ProSoft s specifications or instructions iii unauthorized repair or maintenance iv attachments equipment options parts software or user created programming including but not limited to programs developed with any IEC 61131 3 programming languages or C 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 misuse by the Customer vii accident improper testing or causes
91. ation Layer Errors a aa e a ae Er e ne a emen eene n nenne enne en nennen ener 139 5 12 Event Size ComlpuUtaliorn secet Dea e iie E Hee in RES 140 5 13 pH cq Em 141 5 14 Slave Unit Device Profile Object Subset ssssssseeeeene nennen nnnm 142 5 15 Master Unit Device Profile Object Subset ssssseee eene enm ene eene 150 6 PROSOFT TECHNOLOGY INC SUPPORT SERVICE amp WARRANTY eene 159 6 1 How to Contact Us Sales and Support sssssssssseeee ener nnne 160 6 2 Return Material Authorization RMA Policies and Conditions 161 6 2 1 All Prod ct Retutris io e eei oe ede eite fola eor tee o pe fe eel Ete eet 161 6 3 Procedures for Return of Units Under Warranty essen emere 161 6 4 Procedures for Return of Units Out of Warranty sssssse eene emen 162 6 4 1 Un repairable Units 5 e m EC ir Rr ERE 162 6 4 2 Purchasing Warranty Extension ssesssseseeeeenee een eene enn en nenne nennen nnns 163 Page 6 of 172 ProSoft Technology Inc August 23 2007 Contents MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 6 5 LIMITED WARRBAN LLY 5 2 5 omes xen HRS pede ai i Cugat DU be Po ez eie tee 163 6 5 1 What Is Covered By This Warranty ssesssseseene enemies 163 6 5 2 What Is Not Covered By This Warranty sssssssseeeeeeeene emm enne 164 6 5 3 DISCLAIMER REGARDIN
92. ave the IIN bit set to request time synchronization from the occurred remote master unit The master must synchronize the time before the module will generate events This feature is selected using bit 8 in the module s configuration word Slave Will unsolicited Unsolicited messaging provides the means for a slave unit to messages be used send event data asynchronously to the master unit without a If so how may for request from the master This requires the use of collision each class before avoidance to prevent two or more units from transmitting data triggering and what on the network at one time is the delay time Slave Will the module use The secondary DNP slave port on the module is a backup port the secondary DNP to the primary slave port Only one port can be used at any one Slave port time The module supports automatic switching between the two ports based on several factors Master Will the module use The module can be configured as a DNP master unit to the DNP Master interface with DNP slave IED units This feature requires port configuration of the communication characteristics for each slave and the definition of a command list The command list polls the slave units and to map the data from the IED units to the databases contained in the module Master amp What will be the There are many databases maintained within the module for all Slave memory mapping the specific DNP data types and for the virtual master and for the DNP and sl
93. ave unit simulated in the module For successful application IED memory areas of the module an understanding of the databases is required to carefully design them Slave Will the secondary The secondary DNP slave port on the module can be DNP port have a dial up modem attached configured to have a dial up modem attached Use of this feature requires bit 2 be set in the configuration word Additionally many aspects of the modem timing features must also be configured 5 3 2 Data Requirements This design phase defines what data elements are to be interfaced in the PLC with the DNP master and slave The module provides the following data types digital input and output counter analog input and output Floating Point All communications between the DNP master and the PLC is through these data types Therefore all data to be used by the system must be contained and configured in one of these data types ProSoft Technology Inc August 23 2007 Page 95 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference The following illustration shows the databases maintained by the module for the DNP and IED data DNP DATA BINARY INPUTS PLC DATA IED DATA BINARY OUTPUTS PLC DATA IED DATA COUNTER DATA PLC DATA IED DATA ANALOG INPUTS PLC DATA IED DATA ANALOG OUTPUTS PLC DATA IED DATA FLOAT INPUTS PLC Data FROZEN COUNTER DATA BINARY INPUT
94. ayer are received before the start bytes 0x05 and Error 0x64 are received 53 55 DNP Master Length Error This value counts the number of times an invalid Count Physical Layer length byte is received If the length of the Error message does not match the length value in the message this error occurs 54 56 DNP Master Bad CRC ErrorThis value counts the number of times a bad CRC Count Physical Layer value is received in a message Error 55 57 Scan Counter LSB Program scan counter 56 58 Scan Counter MSB 57 59 Free Memory LSB Free memory in module 58 60 Free Memory MSB 59 61 DNP Slave Port Transmit Value of the DNP Slave state machine for State transmit 60 62 DNP Float Event Count Total number of events generated for analog floating point input data points 61 63 DNP Double Event Count Total number of events generated for analog double floating point input data points 62 64 Event Message Queue Number of event messages waiting to send to Count processor 63 65 Event Message Queue Flag to indicate if the event message queue has Overflow overflowed If more than 200 event messages are received on the master port and they are not sent to the processor this flag will be set 1 The flag will clear after the messages are sent to the processor 64to 77 66to79 Reserved Future Use 78 80 Error_List 0 First value in error list 79 81 Error_List 1 Second value in error list 137 139 Error_List 59 Last value in error list ProSoft Technology
95. be obtained from the processor All other binary input points must come from the attached IED units Analog Inputs Analog Inputs o s50 40 500 points of analog input data Number of analog input points to configure in the DNP slave device Each point will occupy a one word area in the module memory PLC Analog Inputs PLC Analog Inputs 40 340 500 analog input points from PLC Number of analog input points configured above that are to be obtained from the processor All other analog input points must come from the attached IED units Page 34 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Float Inputs Float Inputs 5 0 to 250 points of floating point format data Number of floating point input points to configure in the DNP slave device Each point will occupy a two word area in the module memory PLC Float Inputs PLC Float Inputs i 5 1410 250 points of floating point format data Number of floating point input points configured above that are to be obtained from the PLC Counters Counters o 20 1440 250 points of counter data Number of counter points to configure in the DNP slave device Each point will occupy a two word area in the module memory This number corresponds to the number of frozen counters The application maps the counters to the frozen counters directly PLC Counters PLC Counters se 30 250 c
96. bleshooting Verifying Communication page 59 Diagnostics and Troubleshooting page 59 This section describes how to verify communications with the network Diagnostic and Troubleshooting procedures Reference Product Specifications Functional Overview Glossary Reference page 75 Functional Overview page 78 Product Specifications page 75 These sections contain general references associated with this product Specifications and the Functional Overview Support Service and Warranty Index Support Service and Warranty page 159 This section contains Support Service and Warranty information Index of chapters ProSoft Technology Inc August 23 2007 Page 9 of 172 MVI71 DNP PLC Platform Start Here DNP 3 0 Master Slave Communication Module Page 10 of 172 ProSoft Technology Inc August 23 2007 Start Here MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 1 Start Here In This Chapter System Requirements ssssssssssseseeeene 11 Package Contents ssssssssssssseseeeenennee 12 Setting JUIMP OMS arnser aar a 13 Install the Module in the Rack seese 13 Connect your PC to the Processor 15 Download the Sample Program to the Processor 16 Connect your PC to the Module sees 1
97. chnology Products are backed with full technical support Contact our worldwide Technical Support team and Customer Service representatives directly by phone or email USA Latin America excluding Brasil Office in California 1 661 716 5100 1 661 716 5101 Fax 1675 Chester Avenue 4th Floor Bakersfield California 93301 U S A 1 661 716 5100 support prosoft technology com Languages spoken include English Spanish Asia Pacific office in Malaysia 603 7724 2080 603 7724 2090 Fax C210 Damansara Intan 1 Jalan SS20 27 47400 Petaling Jaya Selangor Malaysia 603 7724 2080 asiapc prosoft technology com Languages spoken include Chinese Japanese English China Pacific office in China 86 21 64518356 x 8011 86 21 64756957 Fax 4 F No 16 Hongcao Road Shanghai China 200233 China 86 21 64518356 x 8011 zhang prosoft technology com Languages spoken include Chinese English Europe Middle East Africa office in Toulouse France 33 0 5 34 36 87 20 33 0 5 61 78 40 52 Fax Zone d activit de Font Grasse 17 rue des Briquetiers F 31700 Blagnac France 33 0 5 34 36 87 20 support EMEA prosoft technology com Languages spoken include French English Brasil office in Sao Paulo 55 11 5084 5178 55 11 5083 3776 Fax Rua Vergueiro 2949 sala 182 Edificio Vergueiro Work Center Vila Mariana Sao Paulo Cep 04101 300 Brasil 55 11 5084 5178 eduardo prosoft tec
98. cified starting at point 0 Page 42 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module f Address in Slave gt 0 amp Point Count gt 0 then use Qualifier 17h or28h points from Address in Slave to Address in Slave Point Count 1 f Point Count lt 0 then ignore because this is illegal for outputs Node Address This parameter specifies the IED unit address on the DNP network to consider with the command The parameter has a range of 0 to 65535 The value of 65535 is reserved for broadcast messages Be certain the slave configuration information is set up in the module for each slave defined in the command list Data Object This parameter specifies the DNP object type in the command Valid objects for the module are 1 2 12 20 21 30 32 41 50 60 and 80 A value of 0 is permitted in this field for a set of special commands Data Variation This parameter is specific to the object type selected Cmd Function This parameter specifies the DNP function for the command list object The object type determines the value of the functions permitted For example the only function permitted for binary input data points is the read function Function Code 1 For counter and output objects more functions are available Device Address This value must be greater than or equal to zero If it is set to a value less tha
99. cusses the commands available to you Keystrokes The keyboard commands on these menus are almost always non case sensitive You can enter most commands in lower case or capital letters The menus use a few special characters that must be entered exactly as shown Some of these characters will require you to use the Shift Ctrl or Alt keys to enter them correctly For example on US English keyboards enter the command as Shift Also take care to distinguish capital letter I from lower case letter I L and number 1 likewise for capital letter O and number 0 Although these characters look nearly the same on the screen they perform different actions on the module 4 1 2 Required Hardware You can connect directly from your computer s serial port to the serial port on the module to view configuration information perform maintenance and send upload or receive download configuration files ProSoft Technology recommends the following minimum hardware to connect your computer to the module 80486 based processor Pentium preferred 1 megabyte of memory At least one UART hardware based serial communications port available USB based virtual UART 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 A null modem serial cable Page 60 of
100. d 08 to this variation No class 1 data defined in application 3 Class 2 Data 1 06 07 Slave will respond 08 to this variation will all class 2 data binary input events 4 Class 3 Data 1 06 07 Slave will respond 08 to this variation will all class 3 data analog input events 70 0 ot Defined 1 File Identifier 80 0 ot Defined Not Defined in DNP 1 nternal 2 00 24 Slave will respond ndications Index 7 to this variation 81 0 ot Defined Not Defined in DNP 1 Storage Object 82 0 ot Defined Not Defined in DNP 1 Device Profile 83 0 ot Defined Not Defined in DNP 1 Private Registration Object 2 Private Registration Objection Descriptor 90 0 Not Defined Not Defined in DNP 1 Application Identifier 100 0 1 Short Floating 48 Point Page 148 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 2 Long Floating 80 Point 3 Extended 88 Floating Point 101 0 1 Small Packed 16 Binary Coded Decimal 2 edium Packed 32 Binary Coded Decimal 3 Large Packed 64 Binary Coded Decimal No Object 13 Slave supports the Cold Restart Function and will return Obj 52 Var 2 Qual 7 Cnt 1 14 Slave supports the Warm Restart Function and will return Obj 52 Var 2 Qual 7 Cnt 1 20 Slave
101. data from the DNP master on the slave port This data is passed to the PLC and to the IED units through the command list The IED database contains control data generated in the PLC This is the only data path for PLC control of IED units on the DNP master port A command must be set up to handle the transfer of data from the IED database to the IED unit The last value databases are used for exception processing of control commands Commands can be configured to only generate a message if there is a change in the database The current values are compared against the last value database to recognize the changes When a change is recognized the DNP master port executes a command to the specific IED unit containing the new data Side Connect Interface Data is directly transferred between the module and the PLC data files over the side connect interface Code within the module automatically handles the transfer of the data using the module s configuration Up to 1000 words of data can be transferred on each read or write operation Because the interface permits direct memory access each data transaction is almost instantaneous This interface requires none of the ladder logic or BTR BTW operations required by the block transfer mode Each data type used by the module must have a corresponding PLC data file in order for the data transfer to occur ProSoft Technology Inc Page 99 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0
102. data using BTW instruction and blocks 1020 to 1035 This provides for 15360 binary output points IED Counter Data This data area stores counter and frozen counter data retrieved from IED units attached to the DNP master port The size of the data area is determined by the configuration parameter Number of Counter Points for IED The command list polls the IED units for their counter or frozen counter data The PLC program uses this data for monitoring or control in the ladder logic program The module transfers these data to the PLC using BTR instruction and blocks 1040 to 1055 This provides for 480counter points IED Analog Input Data This data area stores the analog input data retrieved from IED units attached to the DNP master port The size of the data area is determined by the configuration parameter Number of Analog Input Points for IED The command list polls the IED units for their analog input data The PLC program uses this input data for monitoring and control in the ladder logic program The module transfers these data using BTR instruction and blocks 1060 to 1075 This provides for 960 analog input points IED Analog Output Data This data area controls IED units attached to the DNP master port The size of the data area is determined by the configuration parameter Number of Analog Output Points for IED The command list sends the control values in this database to the IED units The PLC ladder logic program is responsible for
103. ds a hardware problem has been detected in the module or the program has exited To clear the condition follow these steps 1 Turn off power to the rack 2 Remove the card from the rack 3 Verify that all jumpers are set correctly Page 72 of 172 ProSoft Technology Inc August 23 2007 Diagnostics and Troubleshooting MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 4 Ifthe module requires a Compact Flash card verify that the card is installed correctly 5 Re insert the card in the rack and turn the power back on 6 Verify the configuration data being transferred to the module from the PLC processor If the module s OK LED does not turn green verify that the module is inserted completely into the rack If this does not cure the problem contact ProSoft Technology Support 4 4 Troubleshooting Use the following troubleshooting steps if you encounter problems when the module is powered up If these steps do not resolve your problem please contact ProSoft Technology Technical Support Processor Errors Problem Description Steps to take Processor Fault Verify that the module is plugged into the slot that has been configured for the module Verify that the slot in the rack configuration has been set up correctly in the ladder logic Processor I O LED This indicates a problem with backplane communications Verify that all flashes modules in the rack are configured in the ladder logic Modul
104. dule or request special data from the module The current version of the software supports several command control blocks each of which is discussed in the following topics Block 9958 or 258 PLC Binary Input Event If the PLC sends a block 9958 the module will place the binary input event data in the block into the event buffer and alter the data values for the points in the DNP binary input database The format for the event message is shown in the following table Word Offset in Block Data Field s Description 0 Block ID This field contains the value of 9958 identifying the event block to the module 1 Event Count This field contains the number of events contained in the block Valid values for this field are 1 to 12 2 Sequence This field holds the sequence counter for each 9958 Counter block transfer This synchronizes and confirms receipt of the block by the module 3 DNP Binary Input This is the data point in the DNP binary input Data point database represented by the event 4 Month Day State Formatted bits 0 to 4 Day bits 8 to 11 Month bit 15 digital state for point All other bits are ignored ProSoft Technology Inc Page 85 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module Word Offset in Block Data Field s Description 5 Hour Minute Formatted bits 0 to 5 Minutes bits 8 to 12 Hour All other b
105. e 0 Disable 4 3 Poll Type 0 Poll 1 Exception 8 4 Data Source O DNP Database 1 IED Database 16 5 to 7 Not Used For these data types the qualifier used in the data request is dependent on the Point Count and Address in Slave fields in the command as follows If Address in Slave 0 amp Point Count gt 0 then use Qualifier 17h or 28h Point Count specified starting at point 0 If Address in Slave gt 0 amp Point Count gt 0 then use Qualifier 17h or28h points from Address in Slave to Address in Slave Point Count 1 If Point Count lt 0 then ignore because this is illegal for outputs Slave Address This parameter specifies the IED unit address on the DNP network to consider with the command The parameter has a range of 0 to 65535 The value of 65535 is reserved for broadcast messages Be certain the slave configuration information is set up in the module for each slave defined in the command list Object This parameter specifies the DNP object type in the command Valid objects for the module are 1 2 12 20 21 30 32 41 50 60 and 80 A value of 0 is permitted in this field for a set of special commands Variation This parameter is specific to the object type selected Page 48 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Function This parameter specifies the DNP function for the co
106. e 300 600 value 1200 2400 4800 9600 19200 384 38400 576 57600 115 115200 RTS On 0 to 65535 This value represents the number of 1 ms milliseconds increments to be inserted between asserting the RTS modem line and the actual transmission of the data RTS Off 0 to 65535 This value represents the number of 1 ms milliseconds increments to be inserted after the last character of data is transmitted before the RTS modem line is dropped Page 124 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Section Item Range Description Min Response Delay 0 to 65535 milliseconds Minimum time between receiving a request and transmitting a response Allows master time to disable transmitter on an RS 485 network Modem Connect Timeout Yes or No 0 to 65535 This parameter defines if a dial up modem is used on the secondary DNP slave port A modem cannot be used if the port is configured as a master Defines the number of milliseconds to wait for the CD signal to be set high The CD signal indicates a connection is made using a dial up modem First Character Delay 0 to 65535 Defines the number of milliseconds to wait before sending the first message after the connection is first made This delay only applies to the first packet sent to the modem Redial Delay Time 0 to 32000 Defines
107. e Communication Module Data Link Confirm Mode Data Link Confirm Mode Never DL confirm mod N Never S Sometimes A Always IED can request acknowledgement from master station when sending data The codes are as follows O Never 1 Sometimes 2 Always Data Link Confirm Tout Data Link Confirm Tout 1000 1 65535 milliseconds DL confirm timeout Time period to wait for Master Data Link confirmation of last frame sent This time is in milliseconds This parameter is only used if the frame is sent with confirmation requested Data Link Max Retry Data Link Max Retry 2 340 255 maximum DL confirm retry count Maximum number of retries at the Data Link level to obtain a confirmation If this value is set to 0 retries are disabled at the data link level of the protocol This parameter is only used if the frame is sent with confirmation requested App Layer Confirm Tout App Layer Confirm Tout 2000 1 65535 milliseconds App Layer confirm timeout 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 the application layer confirm timeout is set long enough Unsolicited Hesponse Unsolicited Response No Generate Unsolicited responses Yes or No Set if the slave unit will send unsolicited response messages If set to No the slave will not send unsolicited responses If set to Yes the slav
108. e DNP DEBUG PORT HELP s FUNCTION KEV FUNCTION 1 I Sets debug level i Class Deadband Assignments Display error list i Show DNP Databases Display setup amp pointers Receive Configuration perating parameters i Send Configuration Reboot module i Display Comm Stats Clear error list List COM States i Master Port Slave Setup i Version Information i PRODUCT DNPS REVISION 2 35 OP SYS REV 1206 PROD RUN 1501 Display Blk M fer Stats Master Port Commands Master Port Slave Errs Display this screen Confirm Receive Configuration File from Remote PC by pressing V key Page 52 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module 3 Press Y The screen now indicates that the PC is ready to send MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module ecce DNP DEBUG PORT HELP sx FUNCTION Sets debug level Display error list Operating parameters Reboot module Display Comm Stats Clear error list List COM States Master Port Slave Setup Version Information PRODUCT DNPS REVISION 2 35 L P 0 R S H y T G Confirm Receive Configuration File Receiving configuration file Display setup amp pointers KEY FUNCTION Show DNP Databases Send Configuration I I I II lI I l 4 Display this screen Class Deadband Assignments Receive Configuration Display Blk K fer Stats Master Port Commands Master Port
109. e Errors Problem Description Steps to take BP ACT LED remains This indicates that backplane transfer operations are failing Connect to off or blinks slowly the module s Configuration Debug port to check this To establish backplane communications verify the following items The processor is in Run mode The backplane driver is loaded in the module The module is configured for read and write block data transfer The ladder logic handles all read and write block situations The module is configured in the processor OK LED remains red The program has halted or a critical error has occurred Connect to the Configuration Debug port to see if the module is running If the program has halted turn off power to the rack remove the card from the rack and re insert the card in the rack and then restore power to the rack ProSoft Technology Inc Page 73 of 172 August 23 2007 MVI71 DNP PLC Platform Diagnostics and Troubleshooting DNP 3 0 Master Slave Communication Module Page 74 of 172 ProSoft Technology Inc August 23 2007 Reference 5 Reference In This Chapter MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module gt Product Specifications eseeee 75 gt Functional Overview esseee e 78 gt Designing the system sssssssssssssseeee 94 gt Cable Connections ertet 111 gt Collision Avoidance DNP modules only
110. e Module 63 What Is Covered By This Warranty 163 What Is Not Covered By This Warranty 164 Write Block 85 Write Time Interval 31 Y Your Feedback Please 3 Page 172 of 172 ProSoft Technology Inc August 23 2007
111. e erae no sabia desee eta free Ore coe oki E 115 5 4 4 RS 485 5 acras euer etichette te t tete bate pct rest erent reer tere rrr 116 5 4 5 DB9 to RJ45 Adaptor Cable 14 ssssssssssseseeeneeeenneen nennen nennen nnne neris 116 5 5 Collision Avoidance DNP modules only sse enm emen eren nennen 117 5 6 Block Assignments nan simenn anapa tee iren een exe A e elaine ue nee Hs 118 5 6 1 PLC Program Block Assignments vs File Offset sssssse em 118 bi DNP Configuration Forms eei dette e eye eerie xe e eh du ipe e dee poe ee nee 121 5 7 1 DNP User File Configuration emen nnnm nennen nne enne 121 5 8 MVI71 DNP Communication Module Configuration c ccceceeeeeeeeceeceeeeeeeeeeaeaeeeeeeesecenaeeeeeeeeeeeeea 124 5 9 Error Status Tables naien ierit eee dne sues eee da deg de dede dae ere dade de eee opi dae iaa da 132 5 10 Module Error Godes territa t ite Ra HR te der Ru teda re EUR A e easta 136 5 10 1 Slave Port Communication Errors essseseeeeenennenene enm ene enn en nennen 136 5 10 2 System Configuration Errors ssssssseeeeene eene nennen enne enne enne 137 5 10 3 DNP Port Configuration Errors sired seride saaien eed eee ene eado nennen nnne en 137 5 11 Gomimand Error Godes e ret eere PE si apuscdntsdascderssassceasvaeccevdsneeduageares 138 5 11 24 General Command EITOIS 2 ine ette e ER e IR aii edd 138 5 11 2 Applic
112. e provided on the CD ROM Note If you are installing this module in an existing application you can copy the necessary elements from the example ladder logic into your application The rest of this chapter describes these steps in more detail Before installing and configuring the module design the application Determine the number points for each data type Review the Application Design section to aid in application design It is now time to edit the DNP CFG file to set up the module for the specific application Refer to the Configuration File section of this document Download this configuration to the module along with the associated ladder logic The next step in installing and configuring the module is to define whether the block transfer or side connect interface will be utilized If the block transfer interface is to be used you should be ready to connect the module to the DNP network if the ladder logic is defined correctly If the side connect interface is to be used you must obtain the side connect kit which is sold separately ProSoft Technology Inc Page 21 of 172 August 23 2007 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module If the side connect interface is utilized make sure the file SC DATA TXT on the Compact Flash Disk contains the correct first file number You can run the setdnpsc exe program to set the file number to be used with your application Ins
113. e will return this Change Event 08 variation Note With Time Data only 16 bit 4 16 Bit Analog 1 06 07 129 130 17 28 72 Slave will return this Change Event 08 variation With Time 33 0 Frozen Analog Slave will return Event All Unknown Object to Variations this request Page 146 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 1 32 Bit Frozen 40 Slave will return Analog Event Unknown Object to Without Time this request 2 16 Bit Frozen 24 Slave will return Analog Event Unknown Object to Without Time this request 3 32 Bit Frozen 88 Slave will return Analog Event Unknown Object to With Time this request 4 16 Bit Frozen 72 Slave will return Analog Event Unknown Object to With Time this request 40 0 Analog Output 1 06 24 Slave will return Status All variation 2 data Variations 1 32 Bit Analog 1 06 129 130 00 01 40 Slave will return this Output Status variation but data only 16 bit accuracy 2 16 Bit Analog 1 06 129 130 00 01 24 Slave will return this Output Status variation 41 0 Analog Output 24 Slave will respond Block All to this request using Variations variation 2 data 1 32 Bit Analog 3
114. e will send unsolicited responses The module will send the event when one of the following conditions are satisfied 1 Minimum number of events is reached 2 Delay time is reached Class 1 Unsol Resp Min Class 1 Unsol Resp Min 10 1411 255 min number of events before send Minimum number of events in Class 1 required before an unsolicited response will be generated Class 2 Unsol Resp Min Class 2 Unsol Resp Min 10 1411 255 min number of events before send Minimum number of events in Class 2 required before an unsolicited response will be generated Page 32 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Class 3 Unsol Resp Min Class 3 Unsol Resp Min 10 1411 255 min number of events before send Minimum number of events in Class 3 required before an unsolicited response will be generated Unsol Resp Delay Unsol Resp Delay 2000 0 65535 milliseconds befor vents sent Maximum number of 1 millisecond intervals to wait after an event occurs before sending an unsolicited response message If set to 0 only use minimum number of events UResp Master Address UResp Master Address Haale DNP address of master to send UResp data DNP destination address where unsolicited response messages are sent UResp Retry Count UResp Retry Count tr 40 255 Number of retries before switching ports Determ
115. ed and or offered for sale by ProSoft and all related services provided by ProSoft including maintenance repair warranty exchange and service programs collectively Services By purchasing or using the Product or Services the individual or entity purchasing or using the Product or Services Customer agrees to all of the terms and provisions collectively the Terms of this Limited Warranty All sales of software or other intellectual property are in addition subject to any license agreement accompanying such software or other intellectual property 6 5 1 What Is Covered By This Warranty A Warranty On New Products ProSoft warrants to the original purchaser only that the Product that is the subject of the sale will 1 conform to and perform in accordance with published specifications prepared approved and issued by ProSoft and 2 will be free from defects in material or workmanship provided these warranties only cover Product that is sold as new This Warranty expires one year or in the case of RadioLinx modules three years from the date of shipment the Warranty Period If the Customer discovers within the Warranty Period a failure of the Product to conform to specifications or a defect in material or workmanship of the Product the Customer must promptly notify ProSoft by fax email or telephone In no event may that notification be received by ProSoft later than 15 months or in the case of RadioLinx modules 39 mont
116. ed by the value of 2 01 for those same 2 points DNP Counter Data This data type stores accumulated count data These data are stored in the module in a double word value and have a data range of 0 to 4 294 967 296 The size of this data area is determined from the configuration parameter Number of Counter Points The data area is partitioned into two separate areas The first is the DNP counter data acquired from the PLC and the second is the counter data from the IED units The configuration parameter Number of Counter Points for PLC determines the size of the PLC s data area The remaining portion is defined as the IED counter data area ProSoft Technology Inc Page 105 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module The PLC transfers data of this type to the module using COP command The module maintains two values for each counter point a current running value and a frozen value The DNP master must send the freeze command to the module in order to transfer the current running values to the frozen area Additionally the DNP master can send a freeze clear command to the module This causes the frozen counter area to be updated with the current running values and then the current running values are reset to zero The values will only be zeroed in the module s counter database and not in the PLC Data from IED units can also be placed in the DNP counter data area Commands in the
117. ed every scan of the list ProSoft Technology Inc Page 49 of 172 August 23 2007 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module 2 3 Uploading and Downloading the Configuration File ProSoft modules are shipped with a pre loaded configuration file In order to edit this file you must transfer the file from the module to your PC After editing you must transfer the file back to the module This section describes these procedures Important The illustrations of configuration debug menus in this section are intended as a general guide and may not exactly match the configuration debug menus in your own module For specific information about the configuration debug menus in your module refer to The Configuration Debug Menu 2 3 1 Transferring the Configuration File to Your PC 1 Connect your PC to the Configuration Debug port of the module using a terminal program such as HyperTerminal Press to display the main menu xxxxx DNP DEBUG PORT HELP s FUNCTION KEV FUNCTION Class Deadband Assignments Show DNP Databases Receive Configuration Send Configuration Sets debug level Display error list Display setup amp pointers perating parameters Reboot module Display Comm Stats Clear error list List COM States Master Port Slave Setup Version Information Display Blk K fer Stats Master Port Commands Master Port Slave Errs Display this screen PRODUCT
118. edgement from N Never master station when sending data The codes S Sometimes are as follows 0 Never 1 Sometimes A Always 2 Always Data Link Confirm Tout 1 to 65535 Time period to wait for Master Data Link milliseconds confirmation of last frame sent This time is in milliseconds This parameter is only used if the frame is sent with confirmation requested Data Link Max Retry 0 to 255 Maximum number of retries at the Data Link retries level to obtain a confirmation If this value is set to 0 retries are disabled at the data link level of the protocol This parameter is only used if the frame is sent with confirmation requested App Layer Confirm Tout 1 to 65535 Event data contained in the last response milliseconds 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 the application layer confirm timeout is set long enough Unsolicited Response Yes or No Set if the slave unit will send unsolicited response messages If set to No the slave will not send unsolicited responses If set to Yes the slave will send unsolicited responses Class 1 Unsol Resp Min 1 to 255 Minimum number of events in Class 1 events required before an unsolicited response will be generated Class 2 Unsol Resp Min 1 to 255 Minimum number of events in Class 2 events required before an unsolicited response will be generated Page 126
119. en the PLC processor and module that are successful 23 25 Total errors in block transferTotal number of transfers that resulted in an error condition 24 26 Total BTR or write errors Total number of BTR or write transfers that resulted in an error 25 27 Total BTW or read errors Total number of BTW or read transfers that resulted in an error 26 28 Block number error Number of BTW requests that resulted in an incorrect BTW identification code 27 29 Continuous block error Count of sequential data transfer errors When counter this value exceeds that specified for the data transfer operation the error flag below will be set 28 30 Reserved Not used 29 31 Configuration Type This is a coded field that defines the configuration of the module The codes are as follows 0 Single Slave Configuration 1 Dual Slave Configuration 2 Slave Master Configuration ProSoft Technology Inc August 23 2007 Page 133 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference Word Block Variable Name Description Offset 30to 31 32t033 Product Name ASCII These two words contain the product name of the module in ASCII format 32 to 33 34t035 Revision ASCII These two words contain the product revision level of the firmware in ASCII format 34 to 35 36t037 Operating System Revision These two words contain the module s internal ASCII operating system revis
120. enced within 15 months or in the case of RadioLinx modules 39 months following shipment of the Product ProSoft Technology Inc Page 165 of 172 August 23 2007 MVI71 DNP PLC Platform ProSoft Technology Inc Support Service amp Warranty DNP 3 0 Master Slave Communication Module 6 5 7 No Other Warranties Unless modified in writing and signed by both parties this Warranty is understood 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 this Warranty including statements made by salesperson No employee of ProSoft or any other party is authorized to make any warranty in addition to those made in this Warranty The Customer is warned therefore to check this Warranty carefully to see that it correctly reflects those terms that are important to the Customer 6 5 8 Intellectual Property A Any documentation included with Product purchased from ProSoft is protected by copyright and may not be photocopied or reproduced in any form without prior written consent from ProSoft B ProSoft s technical specifications and documentation that are included with the Product are subject to editing and modification 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
121. enu Press Y to view the class and deadband override values for the binary analog float and double input DNP database Opening the DNP Database View Menu Press U to open the DNP Database View Menu This menu allows you to view all data associated with the DNP Server driver For more information about the commands on this menu refer to DNP Database View Menu page 67 Receiving the Configuration File Press Shift Comma to download receive the current configuration file from the module For more information on receiving and sending configuration files please see Uploading and Downloading the Configuration File page 50 Sending the Configuration File Press gt Shift Period to upload send an updated configuration file to the module For more information on receiving and sending configuration files please see Uploading and Downloading the Configuration File page 50 Viewing Block Transfer Statistics Press N from the Main Menu to view the Block Transfer Statistics screen Use this command to display the configuration and statistics of the backplane data transfer operations between the module and the processor The information on this screen can help determine if there are communication problems between the processor and the module Tip Repeat this command at one second intervals to determine the number of blocks transferred each second Page 64 of 172 ProSoft Technology Inc August 23 2007 Diagno
122. er This character is used by the program to delimit the position in the data record where to start reading data All data for a parameter must be placed after the character For numeric parameter values any text located after the value will not be used There must be at least one space character between the end of the parameter value and the following text The following example shows a parameter entry Page 26 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module RTS On 6 Set RTS On delay value from 0 to 65535 milliseconds The parameter label is RTS On and the parameter value is 6 The characters after the parameter value are ignored and are used for internal documentation of the configuration file Any record that begins with the character is considered to be a comment record These records can be placed anywhere in the file as long as the character is found in the first column of the line These lines are ignored in the file and can be used to provide documentation within the configuration file Liberal use of comments within the file can ease the use and interpretation of the data in the file Sections of the configuration file that contain lists of data are formatted differently Each list begins with the label START and ends when the END label is reached When entering the list data make certain that the first ch
123. er includes the paging of the user data found in the module s internal databases between the module and the controller These data are transferred through read BTR and write BTW blocks Refer to the Module Configuration section for a description of the data objects used with the blocks and the ladder logic required Each data block transferred between the module and the processor has a specific block identification code that defines the data set contained in the block The following illustration shows the direction of movement of the DNP data types between the module and the processor DNP MEMORY DIGITAL INPUT DATA ANALOG INPUT DATA WRITE BLOCK FROM PROCESSOR WRITE BLOCK FROM PROCESSOR E 4 COUNTER DATA READ BLOCK FROM MODULE READ BLOCK FROM BINARY OUTPUT DATA MODULE READ BLOCK FROM MODULE READ BLOCK FROM MODULE ANALOG OUTPUT DATA FROZEN COUNTER LAST VALUE AND EVENT DATA The structure and function of each block is described in the following topics Read Block These blocks of data transfer information from the module to the PLC processor The structure of the BTR image used to transfer this data is shown in the following table Block Offset Content 0 Read block ID 1 Write block ID 2 to 61 Read data 62 to 63 Spare Not used The Read Block ID is an index value used to determine the location of where the
124. erred set of data Ladder logic must transfer the data to the module using the BTR BTW instructions for these data types Main Logic Loop Upon completing the power up configuration process the module enters an infinite loop that performs the following functions From Power Up Logic Call I O Handler Call I O Handler Transfers data between the module and processor user status etc Call CFG DEBUG Port Driver Call Network Master amp Slave Drivers Call Serial Port Driver Rx and Tx buffer routines are interrupt driven Call to serial port routines check to see if there is any data in the buffer and depending on the value will either service the buffer or wait for more characters Call Network Master amp Slave Drivers Generate messages and respond to messages received Backplane Data Transfer The MVI71 DNP module communicates directly over the PLC backplane Data is paged between the module and the PLC processor across the backplane using BTR and BTW operations Data is transferred from the module to the processor using the BTR blocks and data is transferred from the processor to the module using BTW blocks ProSoft Technology Inc Page 79 of 172 August 23 2007 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference The following illustration shows the data transfer method used to move data between the PLC processor the MVI71 DNP module and t
125. estination ProSoft Technology Inc August 23 2007 Page 123 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference CFG FILE FILE SIZE Description 11 N 960 max IED analog input data destination 12 N 960 max IED analog output data source 13 N 960 max DNP slave setup data for DNP master on Port 2 14 N 960 max seal eee slaves with a total maxi 15 N 600 max 16 N 960 max DNP command list data for DNP master on Port Wo N cele ee pA ceci rct 18 N 960 max with a total maximum of 1200 commands 19 N 960 max 20 N 960 max 21 N 960 max 22 N 960 max 23 N 960 max 24 N 960 max 25 N 960 max 26 N 960 max 27 N 960 max 28 N 480 max 5 8 MVI71 DNP Communication Module Configuration Section Item Value Range MODULE Description General module configuration section Module Name 0 to 80 This parameter assigns a name to the module characters that can be viewed using the configuration debug port Use this parameter to identify the module and the configuration file Section Item Value Range Description DNP Slave MEE Slave configuration information Internal Slave ID 0 to 65534 This is the DNP address for the module All messages with this address from the master will be processed by the module Baud Rate Baud rate Primary DNP Port Baud Rat
126. estination 6 N 960 max Analog input data source 7 N 960 max X Analog output data destination 8 N 960 max IED digital input data destination 9 N 960 max IED digital output data source 10 N 960 max IED counter data destination 11 N 960 max IED analog input data destination 12 N 960 max IED analog output data source 13 F 240 max DNP slave floating point input data 14 N Reserved 15 F 240 max DNP slave floating point output data 16 N Reserved 5 2 2 Data Flow Between MVI71 DNP Module and PLC Processor The following topics describe the flow of data between the two pieces of hardware PLC processor and MVI71 DNP module and other nodes on the DNP network under the module s different operating modes Each port on the module is configured to emulate a DNP master device or a DNP slave device The operation of each port is dependent on this configuration The following topics discuss the operation of each mode Slave Driver The Slave Driver Mode allows the MVI71 DNP module to respond to data read and write commands issued by a master on the DNP network The following flow chart and associated table describe the flow of data into and out of the module Processor Memory User Data Files DNP Driver Backplane Interface ProSoft Technology Inc August 23 2007 Page 91 of 172 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module Step Description 1 The DNP slave port d
127. external to the Product such as but not limited to exposure to extremes of temperature or humidity power failure or power surges outside of the limits indicated on the product specifications or viii disasters such as fire flood earthquake wind or lightning The information in this Agreement is subject to change without notice ProSoft shall not be liable for technical or editorial errors or omissions made herein nor for incidental or consequential damages resulting from the furnishing performance or use of this material The user guides included with your original product purchased by you from ProSoft contains information protected by copyright No part of the guide may be duplicated or reproduced in any form without prior written consent from ProSoft Page 164 of 172 ProSoft Technology Inc August 23 2007 ProSoft Technology Inc Support Service amp Warranty MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 6 5 3 DISCLAIMER REGARDING HIGH RISK ACTIVITIES PRODUCT MANUFACTURED OR SUPPLIED BY PROSOFT IS NOT FAULT TOLERANT AND IS NOT DESIGNED MANUFACTURED OR INTENDED FOR USE IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL SAFE PERFORMANCE INCLUDING WITHOUT LIMITATION THE OPERATION OF NUCLEAR FACILITIES AIRCRAFT NAVIGATION OF COMMUNICATION SYSTEMS AIR TRAFFIC CONTROL DIRECT LIFE SUPPORT MACHINES OR WEAPONS SYSTEMS IN WHICH THE FAILURE OF THE PRODUCT COULD LEAD DIRECTLY OR INDIRECTLY TO DEATH PERSONAL INJ
128. ferred by the module on Port 2 Off No data is being transferred on the port APP Amber On The MVI module is working normally Off The MVI module program has recognized a communication error on one of its ports BP ACT Amber On The LED is on when the module is performing a write operation on the backplane Off The LED is off when the module is performing a read operation on the backplane Under normal operation the LED should blink rapidly on and off OK Red Off The card is not receiving any power and is not securely plugged Green into the rack Green The module is operating normally Red The program has detected an error or is being configured If the LED remains red for over 10 seconds the program has probably halted Power down and remove the card from the rack and re insert the card then power up the rack BAT Red Off The battery voltage is OK and functioning On The battery voltage is low or battery is not present Allow battery to charge by keeping module plugged into rack for 24 hours If BAT LED still does not go off contact the factory as this is not a user serviceable item During module configuration the OK LED will be red and the APP and BP ACT LEDs will be on If the LEDs are latched in this mode for a long period of time look at the configuration error words in the configuration request block 4 3 Clearing a Fault Condition Typically if the OK LED on the front of the module turns red for more than ten secon
129. fied For example if 200 digital input points are required for the application only block 0 is allocated If 50 counter points are required blocks 40 and 41 are defined The following table shows the block identification numbers used for data transfer Data Type Start Block Max Block Max Of Points Digital Input 0 15 15360 Digital Output 20 35 15360 Counters 40 55 480 Analog Input 60 75 960 Analog Output 80 95 960 IED Digital Input 1000 1015 15360 IED Digital Output 1020 1035 15360 IED Counters 1040 1055 480 IED Analog Input 1060 1075 960 IED Analog Output 1080 1095 960 Float Input 1100 1107 240 Float Output 1140 1147 240 Page 100 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module These blocks are mapped into a predefined memory area in the module Pointers into the memory area are computed by the application for each data type when the module is initialized The application will only copy the portion of the block that contains valid data The following illustration shows the relationship of the module data area and the BTR BTW data BTR BTW ID S BLOCK 0 DIGITAL INPUT DATA BLOCK 20 DIGITAL OUTPUT DATA BLOCK 60 ANALOG INPUT DATA BLOCK 61 ANALOG INPUT DATA BLOCK 62 ANALOG INPUT DATA BLOCK 80 ANALOG OUTPUT DATA BLOCK 81 ANALOG OUTPUT DATA INPUT DATA OUTPU
130. fines the number of milliseconds to wait before receiving characters after the CD signal is recognized as high 2 2 8 DNP Master The following shows an example of the DNP Master section DNP Master Internal ID i ub 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 Configure each parameter to suit the needs of your application Internal ID Internal ID Sod 0 65534 identification code for this unit This is the DNP address for the module All messages with this address from the master will be processed by the module Initialize IED Database Initialize IED Database Yes Initialize the IED input database areas Y N This parameter determines if the module will request data from the processor to initialize the IED database input data areas If this option is utilized ladder logic is required to send the requested block from the processor to the module Event Messages to PLC Event Messages to PLC Yes Pass received events to processor Y N Enables the pass through functionality that allows the module to pass received timestamp events from the remote slave device to the processor It requires the configuration of block 9903 in the backplane command section Refer to the Block 9903 section of this User Manual for further information ProSoft Technology Inc Page 39
131. firm Receive Configuration File from Remote PC by pressing V key Receiving configuration file TRRNSFERRING CONFIGURRTION FROM PC TO MVI MODULE Select SEND menu option and send file DNP CFG eFILE TRANSFERRED FROM PC UNIT READING NEW CONFIGURRITON FILE Program closed exit code 1 reboot Warm boot Open Backplane Interface Init COM ports Read Configuration Reading Slave Information Reading Commands complete K Connected 2 28 19 ANSIW 57600 8 N 1 NUM 8 Your module now contains the new configuration Press to see the module s main menu ProSoft Technology Inc Page 55 of 172 August 23 2007 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module Page 56 of 172 ProSoft Technology Inc August 23 2007 Ladder Logic MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 3 Ladder Logic Ladder logic is required for application of the MVI71 DNP module Tasks that must be handled by the ladder logic are module data transfer special block handling and status data receipt Additionally a power up handler may be needed to handle the initialization of the module s data and to clear any processor fault conditions The sample ladder logic on the ProSoft Solutions CD ROM is extensively commented to provide information on the purpose and function of each rung For most applications the sample ladder will
132. g topics describe each element of system design 5 89 1 System Design Considerations In order to implement a solution using the module the PLC must be set up using both program and data files The data transfer interface requires ladder logic in order to interface data in the module with that in the PLC Data is transferred between the module and the PLC through BTR and BTW instructions These data areas are shared data regions available to both the processor and the module The ladder logic required is discussed in the ladder logic section This program interacts with the module by sending and receiving data Before you generate the program or layout the data files you must first design your system Time spent doing system design at the outset of the project will greatly enhance the success and ease of development of the project DNP Functionality Review This phase of design defines the features of the DNP Level 2 Subset supported by the module and to be utilized in the specific application For example will the unit use unsolicited messaging Coordination with the DNP master developer is required to be certain the host will support the functionality you select If a DNP master port is to be used the parameters required to communicate with the slave devices must be known and considered in installing and configuring the module The features that must be defined in this design step are as follows Mode DNP Feature Discussion S
133. ges of Registers 68 MVI71 DNP Communication Module Configuration 124 N Navigation 60 No Other Warranties 166 Node Address 43 Normal Data Transfer 84 O Object 48 Opening the Class Assignment Menu 64 Opening the Command Error List Menu 65 Opening the Command List Menu 65 Opening the DNP Database View Menu 64 P Package Contents 12 Phone Number 30 PLC Analog Inputs 34 PLC Analog Outputs 35 PLC Binary Inputs 34 PLC Binary Outputs 35 PLC Counters 35 PLC Float Inputs 35 PLC Float Outputs 36 PLC Program Block Assignments vs File Offset 118 Please Read This Notice 2 Point Count 43 49 Page 170 of 172 ProSoft Technology Inc August 23 2007 Index Poll Interval 44 49 Procedures for Return of Units Out of Warranty 162 Procedures for Return of Units Under Warranty 161 Product Specifications 9 75 ProSoft Technology Inc Support Service amp Warranty 9 159 Purchasing Warranty Extension 163 R Read Block 84 Reading Status Data From the Module 9 59 Receiving the Configuration File 64 Redial Delay Time 29 Redial Random Delay 30 Redisplaying the Current Page 66 70 71 Reference 9 75 Required Hardware 60 Required Software 61 Return Material Authorization RMA Policies and Conditions 161 Returning to the Main Menu 66 70 71 RS 232 113 Modem Connection 114 Null Modem Connection Hardwa
134. ges that it has read this Warranty understands it and is bound by its Terms Page 166 of 172 ProSoft Technology Inc August 23 2007 ProSoft Technology Inc Support Service amp Warranty MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 6 5 11 Controlling Law and Severability This Warranty shall be governed by and construed in accordance with the laws of the United States and the domestic laws of the State of California without reference to its conflicts of law provisions If for any reason a court of competent jurisdiction finds any provisions of this Warranty or a portion thereof to be unenforceable that provision shall be enforced to the maximum extent permissible and the remainder of this Warranty shall remain in full force and effect Any cause of action with respect to the Product or Services must be instituted in a court of competent jurisdiction in the State of California ProSoft Technology Inc Page 167 of 172 August 23 2007 MVI71 DNP PLC Platform ProSoft Technology Inc Support Service amp Warranty DNP 3 0 Master Slave Communication Module Page 168 of 172 ProSoft Technology Inc August 23 2007 Index Index DNP Master Commands 41 DNP Master Slave List 41 DNP Master 39 DNP Slave Analog Inputs 36 DNP Slave Binary Inputs 36 DNP Slave Database 34 DNP Slave Float Inputs 37 DNP Slave 27 IED Database 40 Module 27 Secondary Po
135. he Configuration and Debug menu for 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 menu Because this is a text based menu system you enter commands by typing the command letter from your computer keyboard in the terminal application for example HyperTerminal The module does not respond to mouse movements or clicks The command executes as soon as you press the command letter you do not need to press Enter When you type a command letter a new screen will be displayed in your terminal application ProSoft Technology Inc Page 59 of 172 August 23 2007 MVI71 DNP PLC Platform Diagnostics and Troubleshooting DNP 3 0 Master Slave Communication Module Navigation All of the sub menus for this module contain commands to redisplay the menu or return to the previous menu You can always return from a sub menu to the next higher menu by pressing M on your keyboard The organization of the menu structure is represented in simplified form in the following illustration Main Menu Child Menu A Child Sub Menu 1 Child Sub Menu 2 Child Sub Menu 3 Child Menu B Child Sub Menu 1 Child Menu C Child Sub Menu 1 Child Sub Menu 2 The remainder of this section shows you the menus available for this module and briefly dis
136. he DNP network PLC Processor User Data Files Special Control Blocks Ladder Logic Transfers Data from module s BTR image to data areas in the processor Ladder Logic Transfers Data from Processor data areas to BTW image Backplane Driver MVI71 DNP Module Module s Internal Database BTR Image BTW Image Special Control Blocks Network As shown in the diagram above all data transferred between the module and the processor over the backplane is through the BTR and BTW blocks Ladder logic must be written in the PLC processor to interface the block data with user data files All data used by the module is stored in its internal databases These databases are defined as virtual DNP data tables with addresses from 0 to the maximum number of points for each data type The following illustration shows the layout of the databases DATA AREA DNP DATA BLOCKS BINARY INPUTS PLC DATA 0 to 15 IED DATA BINARY OUTPUTS PLC DATA 20 to 35 IED DATA COUNTER DATA PLC DATA 40 to 55 IED DATA ANALOG INPUTS PLC DATA 60 to 75 IED DATA ANALOG OUTPUTS PLC DATA 80 to 95 IED DATA FLOAT INPUTS PLC DATA 1100 to 1107 Page 80 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module DATA AREA BLOCKS FLOAT OUTPUTS PLC DATA 1140 to 1147 FROZEN COUNTER D
137. he parameter is set to Yes events will always be generated Initialize DNP Database Y or N This parameter determines if the module will request data from the processor to initialize the DNP database output data areas If this option is utilized ladder logic is required to send the requested block from the processor to the module Section Item Value Range Description DNP Slave Database Ne Slave Database definition Binary Inputs 0 to 15360 Number of digital input points to configure in points the DNP slave device Each point will be stored as a single bit in the module memory PLC Binary Inputs 0 to 15360 Number of digital input points configured points above that are to be obtained from the PLC processor All other binary input points must come from the attached IED units Analog Inputs 0 to 960 points Number of analog input points to configure in the DNP slave device Each point will occupy a one word area in the module memory PLC Analog Inputs 0 to 960 points Number of analog input points configured above that are to be obtained from the PLC processor All other analog input points must come from the attached IED units ProSoft Technology Inc August 23 2007 Page 127 of 172 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module Section Item Value Range Description Float Inputs 0 to 240 points Number of floating point in
138. hnology com Languages spoken include Portuguese English Page 160 of 172 ProSoft Technology Inc August 23 2007 ProSoft Technology Inc Support Service amp Warranty MVI71 DNP PLC Platform 6 2 DNP 3 0 Master Slave Communication Module Return Material Authorization RMA Policies and Conditions The following RMA Policies and Conditions apply to any returned product These RMA Policies are subject to change by ProSoft without notice For warranty information see Section C below entitled Limited Warranty In the event of any inconsistency between the RMA Policies and the Warranty the Warranty shall govern 6 2 1 All Product Returns 1 In order to return a Product for repair exchange or otherwise the Customer must obtain a Returned Material Authorization RMA number from ProSoft and comply with ProSoft shipping instructions In the event that the Customer experiences a problem with the Product for any reason Customer should contact ProSoft Technical Support at one of the telephone numbers listed above in Section A A Technical Support Engineer will request several tests in an attempt to isolate the problem If after these tests are completed the Product is found to be the source of the problem ProSoft will issue an RMA All returned Products must be shipped freight prepaid in the original shipping container or equivalent to the location specified by ProSoft and be accompanied by proof of purchase The R
139. hs from the date of delivery Within a reasonable time after notification ProSoft will correct any failure of the Product to conform to specifications or any defect in material or workmanship of the Product with either new or used replacement parts Such repair including both parts and labor will be performed at ProSoft s expense All warranty service will be performed at service centers designated by ProSoft If ProSoft is unable to repair the Product to conform to this Warranty after a reasonable number of attempts ProSoft will provide at its option one of the following a replacement product a full refund of the purchase price or a credit in the amount of the purchase price All replaced product and parts become the property of ProSoft These remedies are the Customer s only remedies for breach of warranty ProSoft Technology Inc Page 163 of 172 August 23 2007 MVI71 DNP PLC Platform ProSoft Technology Inc Support Service amp Warranty DNP 3 0 Master Slave Communication Module 6 5 2 Warranty On Services Material and labor used by ProSoft to repair a verified malfunction or defect are warranted on the terms specified above for new Product provided said warranty will be for the period remaining on the original new equipment warranty or if the original warranty is no longer in effect for a period of 90 days from the date of repair The Warranty Period for RadioLinx accessories such as antennas cables brackets etc
140. ifies the default deadband value assigned to all points not defined in the override list for the analog input point type in the DNP database Float Deadband Float Deadband 1000 0 Single float deadband This parameter specifies the default deadband value assigned to all points not defined in the override list for the floating point input point type in the DNP database Double Deadband Double Deadband 4000 0 Double float deadband Not Used This parameter specifies the default deadband value assigned to all points not defined in the override list for the double floating point input point type in the DNP database Select Operate Arm Time Select Operate Arm Time 2000 1 65535 milliseconds arm timeout for select op outputs Time period after select command received in which operate command will be performed After the select command is received the operate command will only be honored if it arrives within this period of time Write Time Interval Write Time Interval 60 1410 1440 minutes for time sync from master Time interval to set the need time IIN bit O never which will cause the master to write the time For example if this parameter is configured for 60 minutes it would mean 60 minutes after the last write date and time request The module would set the Need Time bit again ProSoft Technology Inc Page 31 of 172 August 23 2007 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slav
141. igured Drivers Status Name and Description AB DF1 1 DH485 Sta 10 COM1 RUNNING Page 112 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module If you see the status as running you will not be able to use this com port for anything other than communication to the processor To stop the driver press the Stop on the side of the window Configure Startup Start Stop Delete 5 After you have stopped the driver you will see the following Configure Drivers g Available Driver Types zi Configured Drivers Name and Description Status AB_DF1 1 DH485 Sta 10 COM1 STOPPED Stopped 6 Upon seeing this you may now use that com port to connect to the debug port of the module Note You may need to shut down and restart your PC before it will allow you to stop the driver usually only on Windows NT machines If you have followed all of the above steps and it will not stop the driver then make sure you do not have RSLogix open If RSLogix is not open and you still cannot stop the driver then reboot your PC 5 4 2 RS 232 When the RS 232 interface is selected the use of hardware handshaking control and monitoring of modem signal lines is user definable If no hardware handshaking will be used the cable to connect to the port is as shown below RS 232 Application Port Cable No Ha
142. ime CD Idle Time 10 0 32000 mSec min idle time before transmit Defines the minimum number of milliseconds to wait before transmitting a message after the CD signal is recognized as low CD Handom Time CD Random Time 15 0 32000 mSec random idle time before transmit Defines the range of random time to be added to the CD Idle Time before a message will be transmitted from the slave CD Time Before Receive CD Time Before Receive 5 0 65535 milliseconds before receive Defines the number of milliseconds to wait before receiving characters after the CD signal is recognized as high BI Class O disable else 1 to 3 This parameter specifies the default class to be utilized for all the binary input points in the DNP database that are not defined in the override list section Page 30 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Al Class O disable else 1 to 3 This parameter specifies the default class to be utilized for all the analog input points in the DNP database that are not defined in the override list section Float Class O disable else 1 to 3 This parameter specifies the default class to be utilized for all the floating point input points in the DNP database that are not defined in the override list section Al Deadband AI Deadband 1 0 32767 analog deadband value for events This parameter spec
143. in Unsolicited Responses This is configurable at module start up If the number Never of events for the Binary or Analog Input E vents is greater than 0 unsolicited responses are supported Use the Enable Disable Unsolicited function code from the DNP master for control Default Counter Object Variation Counters Roll Over at Object 20 32 Bits Variation 5 Sends Multi Fragment R esponses Y es 5 14 Slave Unit Device Profile Object Subset Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 1 0 Binary Input All 1 06 1 Slave will return Variations variation 1 data 1 Binary Input 1 06 129 130 00 01 1 Slave will return this variation 2 Binary Input with 129 130 00 01 8 Slave will return Status Unknown Object to this request 2 0 Binary Input 1 06 07 56 Slave will return Change All 08 variation 2 data Variations 1 Binary Input 1 06 07 129 130 17 28 8 Slave will return this Change Without 08 variation Time 2 Binary Input 1 06 07 129 130 17 28 56 Slave will return this Change With 08 variation Time 3 Binary Input 1 06 07 129 130 17 28 24 Slave will parse this Change With 08 message and return Relative Time no data 10 0 Binary Output 1 06 8 Slave will return All Variations variation 2 data 1 Binary Output 1 Slave will return Unknown Object to this request 2 Binary Output 1 06 129 130 00 01 8 Slave will return this Status variation 12 0 Control Block 88
144. inary input counter and analog input objects will be added to the point lists for each slave based on the commands processed In addition the RBE Report By Exception flags for the binary and analog input points are set in the RBE flag database The module next checks the DNP BO AO Binary Output Analog Output preset flag to determine if the DNP binary and analog output data must be read from the PLC The option permits the PLC to set these read only data at startup There is no static memory available on the module to remember the last values for these data types In order to prevent shock to the system at boot time this option can be used to set the module s database to the last transferred set of data Ladder logic must transfer the data to the module using BTR BTW instructions for these data types Page 78 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module The module now checks the IED Intelligent Electronic Device BI AI C Binary Input Analog Input Counter preset flag to determine if the IED binary and analog input and counter data must be read from the PLC The option permits the PLC to set these read only data at startup There is no static memory available on the module to remember the last values for these data types In order to prevent shock to the system at boot time this option can be used to set the module s database to the last transf
145. ine cannot read the data received on the communication port before it is overwritten 7 9 DNP Slave length error This value counts the number of times an invalid count Physical Layer Error length byte is received If the length of the message does not match the length value in the message this error occurs 8 10 DNP Slave bad CRC error This value counts the number of times a bad CRC Data Link Layer Error value is received in a message 9 11 DNP Slave user data This value counts the number of times the overflow error Transport application layer receives a message fragment Layer Error buffer which is too small 10 12 DNP Slave sequence error This value counts the number of times the Transport Layer Error sequence numbers of multi frame request fragments do not increment correctly Page 132 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Word Block Variable Name Description Offset 11 13 DNP Slave address error This value counts the number of times the source Transport Layer Error addresses contained in a multi frame request fragments do not match 12 14 DNP Slave Binary Input This value contains the total number of binary Event count input events which have occurred 13 15 DNP Slave Binary Input This value represents the number of binary input Event count in buffer events which are waiti
146. ines the number of unsolicited message retries sent on primary DNP port before changing to secondary port If the value is 0 port switching will be disabled Al Events with Time AI Events with time No timestamp AI Event data default Yes or No This parameter sets if the analog input events generated by the module will include the date and time of the event If the parameter is set to No the default is set to no time data If the parameter is set to Yes the default object will include the time of the event Time Sync Before Events Time Sync Before Events No timesync module befor vents gen Yes or No This parameter determines if events are to be generated by the module before the time synchronization from the master unit If the parameter is set to Yes no events will be generated until the module s time has been synchronized If the parameter is set to No events will always be generated Initialize DNP Database Initialize DNP Database No Initialize the DNP Slave output database areas Y N This parameter determines if the module will request data from the processor to initialize the DNP database output data areas During the first scan the module will read all output points from the processor to initialize its internal database ProSoft Technology Inc Page 33 of 172 August 23 2007 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module 2 2 3 DNP Slave
147. input object command is not valid command 11 Invalid binary input event poll This binary input event object poll command is not command valid 20 Invalid binary output This binary output function command is not valid command function 30 Invalid counter poll command The counter object poll command contains an function invalid function code Page 138 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Error Code Name Description 31 Invalid counter poll command This counter object poll command is not valid 40 Invalid frozen counter poll This frozen counter object poll command is not command valid 50 Invalid analog input poll This analog input poll command is not valid command 51 Invalid analog input event poll This analog input event poll command is not valid command 60 Invalid analog output poll This analog output poll command contains an function command invalid function code 61 Invalid analog output poll This analog output poll command is not valid command 70 Invalid time date poll This time date object poll command is not valid command 80 Invalid event poll command This event poll command is not valid 5 11 2 Application Layer Errors Error Code Name Description 1000 Device index invalid The device index in the request or response message is not found in the slave list 1001 D
148. ion Avoidance Yes or No 0 32000 mSec min idle time before transmit 0 32000 mSec random idle time before transmit 0 65535 milliseconds before receive Default class for binary input events Default class for analog input events Default class for float input events Not Used 0 32767 analog deadband value for events Single float deadband Not Used 1 65535 milliseconds arm timeout for select op 0 1440 minutes for time sync from master DL confirm mod N Never S Sometimes A Always 1 65535 milliseconds DL confirm timeout 0 255 maximum DL confirm retry count 1 65535 milliseconds App Layer confirm timeout Generate Unsolicited responses Yes or No 1 255 min number of events before send 1 255 min number of events before send 1 255 min number of events before send 0 65535 milliseconds befor vents sent DNP address of master to send UResp data 0 255 Number of retries before switching ports Event data default befor vents gen Yes or No Yes or No timestamp AI timesync modul Y N Modify each parameter based on the needs of your application Internal Slave ID Internal Slave ID 6 0 65534 slave identification code for this unit This is the DNP address for the module All messages with this address received from the master will be processed by the module This example shows the slave identification code of 6 Page 28 of 172 ProSoft Technology Inc August 23 2007 Ins
149. ion level in ASCII format 36 to 37 38t039 Production Run Number These two words contain the production batch ASCII number for the particular chip in the module in ASCII format 38 40 DNP Master Port Slave This is the total number of slaves configured for Count the DNP Master port This may not represent the number of active slaves as it includes slaves that are not enabled 39 41 DNP Master Port CommandThis is the total number of commands configured Count for the DNP Master port This may not represent the number of active commands as it includes commands that are disabled 40 42 DNP Master Port Device This value represents the number of memory Memory Block Count allocation blocks for slave devices This number should be one greater than the number of slave devices The extra device is held for the broadcast device 41 43 DNP Master Port Frame This value represents the number of physical Block Count layer frame memory allocation blocks used by the program 42 44 DNP Master Port Data Link This value represents the number of receive data Receive Block Count link layer memory blocks allocated 43 45 DNP Master Port Data Link This value represents the number of transmit data Transmit Block Count link layer memory blocks allocated 44 46 DNP Master Port This value represents the number of application Application Layer Receive layer receive memory blocks allocated Block Count 45 47 DNP Master Port This value represents the number of application Ap
150. irst Character Delay 1000 0 65535 milliseconds before 1st char after connect Defines the number of milliseconds to wait before sending the first message after the connection is first made This delay only applies to the first packet sent to the modem Hedial Delay Time Redial Delay Time 100 0 65535 1 10 seconds min before redial attempt Defines the minimum number of milliseconds to wait before a redial attempt is made by the slave ProSoft Technology Inc Page 29 of 172 August 23 2007 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module Hedial Random Delay Redial Random Delay 150 0 65535 1 10 seconds random before redial attempt Defines a random millisecond time range to be added to the redial delay time before the modem is accessed Idle Timeout Idle Timeout 200 0 65535 1 10 seconds inactive timeout Defines the number of milliseconds the modem is inactive before it will disconnect Phone Number Phone Number ATDT18001234567 This field contain a null terminated ASCII character string used by the dial up modem The string must contain all characters required by the modem An example string is ATDT18001234567 Maximum length is 34 bytes including the terminating O Collision Avoidance Collision Avoidance No Use Collision Avoidance Yes or No This parameter defines if collision avoidance will be utilized on the primary DNP slave port CD Idle T
151. is field is in the range of 0 to 59 7 Seconds This field contains the second value for the new time Valid entry for this field is in the range of 0 to 59 8 Milliseconds This field contains the millisecond value for the new time Valid entry for this field is in the range of 0 to 999 9 Remote Time This field informs the PLC if the date and time Synchronization passed has been synchronized with a remote DNP master device on the module s slave port 10 to 63 Not Used Not Used Page 88 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Block 9971 or 271 Set Module s Time Using PLC Time This block sets the clock in the module to match the clock in the PLC processor If the PLC sends a block 9971 the module will set its time using the data contained the block The format of the block is shown in the following table Word Offset in Block Data Field s Description 0 Block ID This field contains the block identification code of 9971 for the block 1 Year This field contains the four digit year to be used with the new time value 2 Month This field contains the month value for the new time Valid entry for this field is in the range of 1 to 12 3 Day This field contains the day value for the new time Valid entry for this field is in the range of 1 to 31 4 Hour This field contains the hour value for the new time Valid entry
152. ist Commands with nodes not present in the list will not be executed The module supports up to 100 commands The following shows an example of a DNP Master Commands section 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 il 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 TL 2 6 32 1 1 i 0 60 1 0 5 6 32 30 1 1 0 50 1 0 6 END This section takes the following parameters Parameter Parameter Name Parameter Description Number 1 Flags Enable See following topics for descriptions 2 Node Address ProSoft Technology Inc Page 41 of 172 August 23 2007 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module Parameter Parameter Name Parameter Description Number 3 Data Object 4 Data Variation 5 Cmd Func 6 Device Address 7 Point Count 8 DNP DB Address 9 IED DB Address 10 Poll Interval The definition of each parameter required for each command is provided in the following table Bits in the Port Flags parameter are dependent on the data type The following table defines the Port Flags bits
153. istics for each slave unit is tracked by the module and is available for the PLC to request While the program is running a status error table is maintained This data is automatically passed to the PLC at a frequency set in the configuration Refer to the following section on the contents of the table If an error is encountered in the module s program it is logged to the error list maintained by the system The program maintains a list of the last 60 errors This data is automatically passed to the PLC at a frequency set in the configuration Refer to the following section on the error codes contained in the list If the module is configured to use the secondary slave DNP port Port 2 the module may automatically switch communications to that port under the following conditions If the module receives a request on the port from the master f unsolicited messages are enabled and the module is configured to switch to the port if application confirm messages are not received while using the primary port user sets the number of reties in the configuration Communications will switch back to the primary DNP port when the module receives a message on that port If the module restarts communications will always be attempted on the primary DNP port first ProSoft Technology Inc Page 83 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module Normal Data Transfer Normal data transf
154. its are ignored 6 Sec Millisecond Formatted bits 0 to 9 Milliseconds bits 10 to 15 Seconds 7 Year This is the four digit year for the event 8 to 12 Five words of data for Event 2 13 to 17 Five words of data for Event 3 18 to 22 Five words of data for Event 4 23 to 27 Five words of data for Event 5 28 to 32 Five words of data for Event 6 33 to 37 Five words of data for Event 7 38 to 42 Five words of data for Event 8 43 to 47 Five words of data for Event 9 48 to 52 Five words of data for Event 10 53 to 57 Five words of data for Event 11 58 to 62 Five words of data for Event 12 63 Spare Not Used Up to 12 events can be passed from the PLC to the module in each block To ensure that the block reached the module and was processed the module will send a response read block 9958 to the PLC The format of the block is shown in the following table Word Offset in Block Data Field s Description 0 Block ID Identification code for block set to 9958 1 Block ID Block identification code for request from PLC by the module 2 Event Count This field contains the number of events processed by the module 3 Sequence This field contains the sequence counter of Counter the last successful block 9958 received 4 to 63 Spare Not used The sequence counter field in the returned block is set to the last successfully processed block 9958 from the PLC Compare this value to that sent by the
155. l Adapter Cable and a Null Modem Cable 1 Attach both cables as shown 2 Insert the RJ45 cable connector into the Configuration Debug port of the module 3 Attach the other end to the serial port on your PC or laptop Configuration Debug Port RJ45 DB9 Serial Null Modem Cable Adapter Cable ProSoft Technology Inc Page 19 of 172 August 23 2007 MVI71 DNP PLC Platform Start Here DNP 3 0 Master Slave Communication Module Page 20 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 2 Installing and Configuring the Module In This Chapter gt Module Data nein niger ne 23 gt Configuration File 26 gt Uploading and Downloading the Configuration File 50 This chapter describes how to install and configure the module to work with your application The configuration process consists of the following steps 1 Modify the module s configuration files to meet the needs of your application and copy the updated configuration to the module Example configuration files are provided on the CD ROM Refer to the Modifying the Example Configuration File section later in this chapter for more information on the configuration files 2 Modify the example ladder logic to meet the needs of your application and copy the ladder logic to the processor Example ladder logic files ar
156. lable on this menu M Main Menu L D Database Menu Display Menu Redisplays refreshes this menu 0 5 Pages 0 to 5000 Selects page 0 1000 2000 or 3000 S Show Again Redisplays last selected page of data Back 5 Pages Goes back five pages of data P Previous Page Goes back one page of data Skip 5 Pages Goes forward five pages of data N Next Page Goes forward one page of data D Decimal Display Displays data in decimal format H Hexadecimal Display Displays data in hex format F Float Display Displays data in floating point format A ASCII Display Displays data in text format M Main Menu Goes up one level to main menu Display S Show Again Back 5 Pages P Previous Page Skip 5 Pages N Next Page D Word Decimal Display H Word Hexadecimal Display L Double Word Decimal Display Double Word Hexadecimal Display F Float Display E Double Float Display only A ASCII Display NP Binary Inputs Counters Analog Outputs Float Inputs Float Outputs Binary Inputs Counters Analog Outputs M Main Menu for double databases Binary Outputs finalog Inputs Frozen Counters Double Inputs Double Outputs Binary Outputs finalog Inputs
157. lave Communication Module 5 13 Device Profile DNP V3 00 DEVICE PROFILE DOCUMENT Vendor Name ProSoft Technology Inc Device Name MVI71 DNP Highest DNP Level Supported Device Function Slave amp Master For Request L2 For Responses L2 Notable objects functions and or qualifiers supported in addition to the highest DNP level stated above attached table for complete list Definition of selected IIN bits Configuration Error User specified point or event count is too high for application can only correct by changing configuration in PLC Support of Obj70Var1 is present on the module for slave only Support for a redundant slave port on the module which may be attached to a dial up modem is provided Auto switching is provided by the module to switch between the primary and secondary The following features are configurable on the module Collision avoidance time sync before events are generated and default analog input events Obj32V4 or 032V2 select option Events generated by IED units attached to a master port may pass their events directly to the port These events may not occur in the correct time sequence They are placed in the event buffer as the module receives them This provides the greatest time resolution for remote events odule will not generate events until Restart IIN bitis cleared by DNP master except for events through module from attached IED units aximum Data Link Frame Size octe
158. lave Is collision Collision avoidance is required when unsolicited messaging is avoidance required used Any node on the network master or slave can transmit for the primary DNP a message when data is ready Collision avoidance prevents port two or more units from transmitting data at the same time This feature requires special cabling and timing considerations It will only operate in RS 232 mode and is not supported in RS 485 or RS 422 modes Slave Will the module use If the DNP Slave driver will generate event messages they events and the must be retrieved from the module using class polls or polls for Report by Exception the specific event objects Refer to Event Size Computation for feature computing event size for digital and analog inputs Slave Will analog events The default for analog events is to return them without time be returned with or without a time value This is as specified in the DNP Subset document The module supports analog event reporting with time This is selected setting bit 5 in the configuration word offset 21 for the module Page 94 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Mode DNP Feature Discussion Slave Will events be This feature will avoid logging events without the proper date logged before time and time stamping When the DNP slave driver is initialized it synchronization has will h
159. lt to the module the processor or other connected devices 1 Turn power OFF 2 Align the module with the top and bottom guides and slide it into the rack until the module is firmly against the backplane connector Locking Bar Card Guides ProSoft Module 3 With a firm but steady push snap the module into place 4 Check that the holding clips on the top and bottom of the module are securely in the locking holes of the rack 5 Make a note of the slot location You will need to identify the slot in which the module is installed in order for the sample program to work correctly Slot numbers are identified on the green circuit board backplane of the PLC rack 6 Turn power ON Note If you insert the module improperly the system may stop working or may behave unpredictably Page 14 of 172 ProSoft Technology Inc August 23 2007 Start Here MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 1 5 Connect your PC to the Processor 7 Connect the right angle connector end of the cable to your controller at the communications port PC with Programming Software PLC 5 20 Programmable Internal Controller Power Supply 8 Connect the straight connector end of the cable to the serial port on your computer ProSoft Technology Inc Page 15 of 172 August 23 2007 Start Here MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Mod
160. lue 30 15 12 10 1 0 25 0 IED 15 Addres s s IED BO s Address 25 Command for Port 2 Enabled only operate on point change amp use IED Database IED Unit 15 is to be polled Object type is 12 Binary Output Control Variation of 1 Control Relay Output Block Function 5 is for direct operate Slave address of 10 is starting point in IED One point is transferred DNP DB is not used IED DB address of 25 is first source point Command not a polled command ProSoft Technology Inc August 23 2007 Page 45 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Installing and Configuring the Module Port Flg Slave Object Fun Var c IED DNP DB DB Add Pnt r Cnt Poll Int Word 0 1 2 3 4 5 6 7 8 9 Value 6 15 12 5 100 10 200 0 120 IED 15 Addres 10 10 s 2 2 12 Slave List DNP BO s Address use DNP Database IED Unit 15 is to be polled Object type is 12 Binary Output Control Variation of 1 Control Relay Output Block Function 5 is for direct operate 200 209 Ten points are to be transferred IED DB is not used Poll command every 120 seconds Command for Port 2 Enabled poll command amp Slave address of 100 is starting point in IED DNP DB address of 200 is first source point The slave list defines the IED units and their specific communication parameters for
161. ly prevent other applications from using the PC s COM port If you are not able to connect to the module s configuration debug port using HyperTerminal or a similar terminal emulator follow these steps to disable the RSLinx Driver 1 Open RSLinx and go to Communications RSWho ProSoft Technology Inc Page 111 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module 2 Make sure that you are not actively browsing using the driver that you wish to stop The following shows an actively browsed network ipi xi M Autobrowse 25 Browsing node 10 found E E workstation PSFT VAIO 1 las Linx Gateways Ethernet Els AB DF1 1 DH 485 10 01 H 01 SLC 5 05 UNTITLED DF1 COM1 UNTITLED J 10 Workstation DF1 COM1 3 Notice how the DF 1 driver is opened and the driver is looking for a processor on node 1 If the network is being browsed then you will not be able to stop this driver To stop the driver your RSWho screen should look like this IV Autobrowse Not Browsing es Linx Gateways Ethernet uh zs i a AB_DF1 1 DH 485 nx AB DF1 1 Gatew DH 485 Branches are displayed or hidden by clicking on the FF or the icons E AB_DF1 1 DH 485 4 When you have verified that the driver is not being browsed go to Communications Configure Drivers You may see something like this Configure Drivers E r Available Driver Types zi m Conf
162. m value is 15360 102 Too many counter points Too many counter points are configured for the module Maximum value is 480 103 Too many analog input points Too many analog input points are configured for the module Maximum value is 960 104 Too many analog output Too many analog output points are configured for points the module Maximum value is 960 105 Too many binary input events Too many binary input events are configured for the module Maximum value is 400 106 Too many analog input Too many analog input events are configured for events the module Maximum value is 400 107 Invalid analog input Deadband value for analog input events is out of deadband range Value must be in the range of 0 to 32767 108 Not enough memory There is not enough memory in the module to configure the module as specified 109 Invalid block transfer delay for Block transfer delay value specified is too low blocks 251 and 252 error status blocks 110 File count invalid The file count must be in the range of 0 to 6 111 Invalid file record size The file record size must be in the range of 1 to 120 112 Invalid block identification The file block transfer code must be in the range of code for file 100 to 120 5 10 3 DNP Port Configuration Errors Error Code Name Description 212 Invalid DNP address The DNP address specified in the configuration is not valid 0 to 65534 213 Invalid DNP port baud rate The baud rate code specified i
163. mmand list object The object type determines the value of the functions permitted For example the only function permitted for binary input data points is the read function Function Code 1 For counter and output objects more functions are available Adaress In Slave This value must be greater than or equal to zero If it is set to a value less than zero the command will be ignored This parameter specifies the starting point address to consider in the IED unit Point Count This parameter defines the number of points in the IED unit Refer to the discussion above for the interpretation of this parameter s values for the different object types DNP DB Adaress This parameter defines the starting location in the DNP database to be used with the command If the parameter has a value of 1 the DNP database is not used with the point IED DB Address This parameter defines the starting location in the IED database to be used with the command If the parameter has a value of 1 the IED database is not used with the point The IED database is the only database that will send and receive data to and from the PLC processor Poll Interval This parameter specifies the minimum frequency at which the module should execute the command The value is entered in units of seconds For example to execute a command every 10 seconds enter a value of 10 in the field A value of 0 for the parameter implies that the command should be execut
164. module in ASCII format 3to4 Revision ASCII These two words contain the product revision level of the firmware in ASCII format 5to6 Operating System These two words contain the module s internal operating Revision ASCII system revision level in ASCII format 7to8 Production Run These two words contain the production batch number for Number ASCII the particular chip in the module in ASCII format 9 Read Block Count Total number of blocks transferred from the module to the processor 10 Write Block Count Total number of blocks transferred from the processor to the module 11 Parse Block Count Total number of blocks parsed by the module that were received from the processor ProSoft Technology Inc Page 23 of 172 August 23 2007 MVIT 1 DNP PLC Platform DNP 3 0 Master Slave Communication Module Installing and Configuring the Module Word Variable Name Description 12 Block number error Number of BTW requests that resulted in an incorrect BTW identification code 13 DNP Slave Port total This value represents the total number of message frames number of message that have matched this slaves address on this port This frames received by count includes message frames which the slave may or slave may not be able to parse and respond 14 DNP Slave Port total This value represents the number of good non error number of response responses that the slave has sent to the master on this mes
165. module is configured for unsolicited messaging the module immediately sends an unsolicited response out Port 1 Primary DNP port informing the master of a module restart The module will not log events or process any data read operations from the master until the master clears the restart IIN data bit The master must also synchronize the time with the module before events are generated if the module is so configured The master is also responsible for enabling the unsolicited message facility in the module by sending the Enable Unsolicited Messaging command to the module Page 82 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Solicited Messaging If the module is not configured for unsolicited messaging the program listens on Port 1 for DNP messages from a DNP master and sends responses to requests after initialization The DNP master must clear the restart IIN bit before the module starts logging events The master must also synchronize the time with the module before events are generated if the module is so configured If the DNP master port is used the port starts processing the command list It sends commands and requests out the port to slave units Data 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 stat
166. n zero the command will be ignored This parameter specifies the starting point address to consider in the IED unit Point Count This parameter defines the number of points in the IED unit Refer to the discussion above for the interpretation of this parameter s values for the different object types DNP DB Address This parameter defines the starting location in the DNP database to be used with the command If the parameter has a value of 1 the DNP database is not used with the point IED DB Address This parameter defines the starting location in the IED database to be used with the command If the parameter has a value of 1 the IED database is not used with the point ProSoft Technology Inc Page 43 of 172 August 23 2007 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Modu Poll Interval le Installing and Configuring the Module This parameter specifies the minimum frequency at which the module should execute the command The value is entered in units of seconds For example to execute a command every 10 seconds enter a value of 10 in the field A value of 0 for the parameter implies that the command should be executed every scan of the list Binary Input Command Examples Port Flg Slave Object Var Func Addr Pnt DNP IED Poll Cnt DB DB Int Word 0 1 2 3 4 5 6 7 8 9 Value 6 15 32 200 1 2 Command for Port 2 Enabled RBE flag not set ene DNP OTs IED Unit 15 is
167. n the configuration is not valid 219 Invalid DNP data link layer The data link confirmation mode code is not valid confirm mode in the configuration 220 Invalid DNP data link confirm The data link time out period specified in the time out configuration is 0 It must be an integer in the range of 1 to 65535 222 Invalid DNP select operate The select operate arm timer is set to 0 It must be arm time duration an integer in the range of 1 to 65535 223 Invalid DNP application layer The application layer confirm time out value is set confirm time out to 0 It must be an integer in the range of 1 to 65535 ProSoft Technology Inc August 23 2007 Page 137 of 172 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Reference Error Code Name Description Invalid DNP write time The write time interval is not in the data range in 224 interval the configuration The value must be in the range of O to 1440 225 Invalid DNP unsolicited The unsolicited response mode code is not valid in response mode the configuration 226 Invalid DNP unsolicited The unsolicited response minimum quantity for response minimum quantity Class 1 is not valid in the configuration Value for Class 1 must be an integer in the range of 1 to 255 227 Invalid DNP unsolicited The unsolicited response minimum quantity for response minimum quantity Class 2 is not valid in the configuration Value for Class 2 must be an intege
168. nded CD ROM drive 3 5 inch floppy disk drive HyperTerminal or other terminal emulator program capable of file transfers using Ymodem protocol 1 2 Package Contents The following components are included with your MVI71 DNP module and are all required for installation and configuration Important Before beginning the installation please verify that all of the following items are present Qty Part Name Part Number Part Description 1 MVI71 DNP MVI71 DNP DNP 3 0 Master Slave Communication Module Module 1 Cable RS232 Null For RS232 Connection to the CFG Port Modem 3 Cable Cable 14 RJ45 to For DB9 Connection to Module s Port DB9 Male Adapter 2 Adapter 1454 9F Two Adapters DB9 Female to Screw Terminal For RS422 or RS485 Connections to Port 1 and 2 of the Module 1 ProSoft Contains sample programs utilities and Solutions documentation for the MVI71 DNP module CD If any of these components are missing please contact ProSoft Technology Support for replacement parts Page 12 of 172 ProSoft Technology Inc August 23 2007 Start Here MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 1 3 Setting Jumpers The following illustration shows the jumper configurations for the various RS interfaces If you are using an interface other than RS 232 default you must change the jumpers as shown 8886666 COM1 coms FA RR FULL VIEW go sHuNT
169. ndshaking DB 9 Male RS 232 Device ProSoft Technology Inc Page 113 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module RS 232 Modem Connection This type of connection is required between the module and a modem or other communication device RS 232 Application Port Cable Modem Connection DB 9 Male RS 232 Device nb no RxD RxD RTS RTS CTS s es Signal Signal Common Common DTR DTR The Use CTS Line parameter for the port configuration should be set to Y for most modem applications RS 232 Null Modem Connection Hardware Handshaking This type of connection is used when the device connected to the module requires hardware handshaking control and monitoring of modem signal lines RS 232 Application Port Cable Hardware Handshaking DB 9 Male RS 232 Device TxD RxD RxD TxD RTS CTS CTS RTS Signal Signal Common Common Page 114 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module RS 232 Null Modem Connection No Hardware Handshaking This type of connection can be used to connect the module to a computer or field device communication port RS 232 Application Port Cable No Handshaking DB 9 Male RS 232 Device w s we RTS RTS CTS jumper must be installed if CTS line CTS EJ monitoring enabled Signal Signal Common Common Note If the port is
170. ng to be sent to the master 14 16 DNP Slave Analog Input This value contains the total number of analog Event count input events which have occurred 15 17 DNP Slave Analog Input This value represents the number of analog input Event count in buffer events which are waiting to be sent to the master 16 18 DNP Slave bad function This value counts the number of times a bad code error Application function code for a selected object variation is Layer Error received by the slave device 17 19 DNP Slave object unknown This value counts the number of times a request error Application Layer for an unsupported object is received by the slave Error device 18 20 DNP Slave out of range This value counts the number of times a error Application Layer parameter in the qualifier range or data field is Error not valid or out of range 19 21 DNP Slave message This value counts the number of times an overflow error Application application response message from the slave is Layer Error too long to transmit 20 22 DNP Slave multi frame This value counts the number of times the slave message from DNP Master receives a multi frame message from the master error Application Layer The application does not support multi frame Error master messages 21 23 Total blocks transferred Total BTR BTW or side connect interface transfers attempted by the module 22 24 Successful blocks This value represents the total number of transfer transferred operations betwe
171. nt value of the status error code for the port This value will only be valid if the port is configured as a slave The possible values are described in the application documentation 1 3 DNP Slave Port last This value represents the last error code transmitted error code transmitted to the master by this slave port 2 4 DNP Slave Port total This value represents the total number of number of message frames message frames that have matched this slaves received by slave address on this port This count includes message frames which the slave may or may not be able to parse and respond 3 5 DNP Slave Port total This value represents the number of good non number of response error responses that the slave has sent to the message frames sent from master on this port The presumption is that if the slave slave is responding the message was good Note This is a frame count 4 6 DNP Slave Port total This value represents the total number of number of message frames message frames received by the slave regardless seen by slave of the slave address 5 7 DNP Slave synchronization This value counts the number of times a sync error count Physical Layer error occurs The error occurs when extra bytes Error are received before the start bytes 0x05 and 0x64 are received 6 8 DNP Slave overrun error This value counts the number of times the overrun count Physical Layer Error error occurs This error occurs when the mainline Data Link Layer rout
172. ocks 0 to 15 This provides for a maximum number of 15360 points ProSoft Technology Inc August 23 2007 Page 103 of 172 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module DNP Digital Output Data This data type stores digital control and command state data received from the DNP master unit with a value of 1 or 0 The size of this data area is determined from the configuration parameter Number of Binary Output Points The area is partitioned into two separate areas The first area is the DNP binary output data for the PLC and the second is the DNP binary output data for the IED units The configuration parameter Number of Binary Output Points for PLC determines the size of the PLC s data area The remaining portion is defined as the IED binary output data area IED units can use any portion of the DNP binary output data area The command list instructions are not limited to the IED data area PLC data are transferred from the module to the PLC using the COP command from the BTR instruction Therefore these data are read only for the PLC as the PLC cannot directly alter these values in the module It is the responsibility of the DNP master unit to maintain this data For example if the DNP master sets a digital point to the ON state it remains ON until the master resets the point The following shows a data flow diagram for the digital output data Binary Output Data Flow Diagram DEVICE ata
173. of 172 August 23 2007 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module 2 2 9 IED Database The following shows an example of an IED Database section IED Database Binary Inputs 160 30 2048 point count to hold BI data Analog Inputs i 50 1410 256 points of analog input data Counters 10 410 64 points of counter data Binary Outputs H 48 340 2048 point count to hold BO data Analog Outputs 8 1410 128 points of analog output data Binary Inputs Binary Inputs amp ulr60 340 2048 point count to hold BI data Number of binary input points contained in the IED database to transfer to the processor and obtained from the attached IED units Analog Inputs Analog Inputs i 50 140 256 points of analog input data Number of analog input points contained in the IED database to transfer to the processor and obtained from the attached IED units Counters Counters E 10 40 64 points of counter data Number of counter points contained in the IED database to transfer to the processor and obtained from the attached IED units Binary Outputs Binary Outputs 48 0 2048 point count to hold BO data Number of binary output points contained in the IED database which are transferred from the processor and used by the attached IED units Analog Outputs Analog Outputs 8 10 128 points of analog output data Number of analog output points contained in the IED database which a
174. of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Section Item Value Range Description Class 3 Unsol Resp Min 1 to 255 events Minimum number of events in Class 3 required before an unsolicited response will be generated Unsol Resp Delay 0 to 65535 milliseconds Maximum number of 1 millisecond intervals to wait after an event occurs before sending an unsolicited response message If set to 0 only use minimum number of events Uresp Master Address 0 to 65534 DNP destination address where unsolicited response messages are sent Uresp Retry Count 0 to 255 retries Determines the number of unsolicited message retries sent on primary DNP port before changing to secondary port If the value is 0 port switching will be disabled Al Events with time Yes or No This parameter sets if the analog input events generated by the module will include the date and time of the event If the parameter is set to No the default is set to no time data If the parameter is set to Yes the default object will include the time of the event Time Sync Before Events Yes or No This parameter determines if events are to be generated by the module before the time synchronization from the master unit If the parameter is set to No no events will be generated until the module s time has been synchronized If t
175. ounter points from PLC Number of counter points configured above that are to be obtained from the processor All other counter points must come from the attached IED units Binary Outputs Binary Outputs 160 30 2000 point count to hold BO data Number of digital output points to configure in the DNP slave device Each point will be stored as a single bit in the module memory PLC Binary Outputs PLC Binary Outputs s 160 30 2000 BO point count from PLC Number of digital output points configured above that are to be sent to the processor All other binary output points will be sent to the attached IED units Analog Outputs Analog Outputs z 28 40 500 points of analog output data Number of analog output points to configure in the DNP slave device Each point will occupy a one word area in the module memory PLC Analog Outputs PLC Analog Outputs tl A8 340 500 analog output points from PLC Number of analog output points configured above that are to be sent to the processor All other analog output points will be sent to the attached IED units ProSoft Technology Inc Page 35 of 172 August 23 2007 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module Float Outputs Float Outputs 4 0 250 points of floating point format data Number of floating point output points to configure in the DNP slave device Each point will occupy a two word area in the module memory PLC
176. plication Layer Receive layer transmit memory blocks allocated Block Count 46 48 DNP Master Port Device This value represents the number of memory Memory Allocation Error allocation errors for device blocks Count 47 49 DNP Master Port Physical This value represents the number of memory Layer Memory Allocation allocation errors for physical layer frame blocks Error Count 48 50 DNP Master Port Data Link This value represents the number of memory Layer Receive Memory allocation errors for data link layer receive blocks Allocation Error Count 49 51 DNP Master Port Data Link This value represents the number of memory Layer Transmit Memory allocation errors for data link layer transmit blocks Allocation Error Count 50 52 DNP Master Port This value represents the number of memory Application Layer Receive Memory Allocation Error Count allocation errors for application layer receive blocks Page 134 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Word Block Variable Name Description Offset 51 53 DNP Master Port This value represents the number of memory Application Layer Transmit allocation errors for application layer transmit Memory Allocation Error blocks Count 52 54 DNP Master This value counts the number of times a sync Synchronization Error error occurs The error occurs when extra bytes Count Physical L
177. pplication Insert the module in the rack with the power turned off and attach the serial communication cable Download the new application to the controller and place the processor in run mode Download the new DNP CFGfile to the module using a terminal emulation program If all the configuration parameters are set correctly and the module is attached to a network the module s Application LED APP LED should remain off and the backplane activity LED BP ACT should blink very rapidly Refer to the Diagnostics and Trouble Shooting section if you encounter errors Attach a computer or terminal to Port 0 on the module and look at the status of the module using the Configuration Debug Menu in the module 2 1 Module Data All data related to the MVI71 DNP module is stored in a user defined data file It is the responsibility of the ladder logic programmer to construct all the data files required by the program and to write the ladder logic required to interface to these files 2 1 1 Status Data When the side connect interface is employed in the application the status data is automatically transferred from the module to the first file used by the interface The data is placed at an offset of 0 in the file and has the following format Word Variable Name Description 0 Scan Counter Program scan counter incremented each time the program loop is executed 1to2 Product Name ASCII These two words contain the product name of the
178. put points to configure in the DNP slave device Each point will occupy a two word area in the module memory PLC Float Inputs 0 to 240 points Number of floating point input points configured above that are to be obtained from the PLC Counters 0 to 480 points Number of counter points to configure in the DNP slave device Each point will occupy a two word area in the module memory This number corresponds to the number of frozen counters The application maps the counters to the frozen counters directly PLC Counters 0 to 480 points Number of counter points configured above that are to be obtained from the PLC processor All other counter points must come from the attached IED units Binary Outputs 0 to 15360 Number of digital output points to configure in points the DNP slave device Each point will be stored as a single bit in the module memory PLC Binary Outputs 0 to 15360 Number of digital output points configured points above that are to be sent to the PLC processor All other binary output points will be sent to the attached IED units Analog Outputs 0 to 960 points Number of analog output points to configure in the DNP slave device Each point will occupy a one word area in the module memory PLC Analog Outputs 0 to 960 points Number of analog output points configured above that are to be sent to the PLC processor All other analog output points will be sent to the attached IED units Float
179. r The following shows a data flow diagram for the analog output data Analog Output Data Flow Diagram DEVICE Module All data associated with the analog outputs is transferred from the module to the PLC using BTR instruction and blocks 80 to 95 This provides for a maximum number of 960 points ProSoft Technology Inc Page 109 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module IED Binary Input Data This data area stores binary input data retrieved from IED units attached to the DNP master port The size of the data area is determined by the configuration parameter Number of Binary Input Points for IED The command list polls IED units for their binary input data and to place the data in the database The PLC program uses this input data for monitoring and control in the ladder logic program The module transfers these data using BTR instruction and blocks 1000 to 1015 This provides for 15360 binary input points IED Binary Output Data This data area controls IED units attached to the DNP master port The size of the data area is determined by the configuration parameter Number of Binary Output Points for IED The command list sends the control values in this database to the IED units The PLC ladder logic program is responsible for setting the values in this database This provides direct control of IED units by the PLC program The module transfers these
180. r in the range of 1 to 255 228 Invalid DNP unsolicited The unsolicited response minimum quantity for response minimum quantity Class 3 is not valid in the configuration Value for Class 3 must be an integer in the range of 1 to 255 230 Invalid DNP unsolicited The unsolicited response destination address is response destination address not valid in the configuration Value must be in the range of 1 to 65534 5 11 5 11 1 General Command Errors Command Error Codes Error Code Name Description 1 65535 Current command being Command has been issued out the port and the issued on the port module is waiting for the slave to respond 0 OK The command was issued and responded to correctly 1 Device not defined The IED slave address referenced in the command is not defined in the module Check to make sure there is an entry in the slave table for each slave device referenced in the command list 2 Invalid command This command is not valid Check to make sure the slave address parameter is greater than or equal to zero and that the point count is not set to zero 3 Object not supported The data object in the command is not supported by the module Refer to the DNP subset for the Master Port 4 Command function not The function specified in the command is not supported supported for the object type selected Refer to the DNP subset for the Master Port 10 Invalid binary input poll This binary
181. r message not supported The function code returned in the response message is not valid for the application layer or not supported by the module ProSoft Technology Inc August 23 2007 Page 139 of 172 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module 5 12 Error Code Name Description 1008 Read operation not supported The application layer response message for object variation contains an object that does not support the read function 1009 Operate function not supported The application layer response message for the object variation contains an object that does not support the operate function 1010 Write operation not supported The application layer response message for the object variation contains an object that does not support the write function Event Size Computation The minimum event buffer size required to avoid overflow can be computed as follows number of static points rate per second scan of change function rate per second of master event data poll For example 51 binary input points are scanned 2 times each second and polled by the master station about every 5 seconds The minimum number of binary input events is 51 2 02 510 events This computation assumes the unlikely event that all data points will change in consecutive calls to the scan of change function If an event buffer overflow condition occurs the internal indication bit BUFFER
182. r out of range Layer Error 30 DNP Slave message This value counts the number of times an application overflow error response message from the slave is too long to transmit Application Layer Error 31 DNP Slave multi frame This value counts the number of times the slave receives a message from DNP multi frame message from the master The application Master error does not support multi frame master messages Application Layer Error 32 Free MemoryLSB Free memory in module 33 Free MemoryMSB When the block transfer interface is used the status data is placed in the module s internal database If this data area is transferred to the processor in the read data area it will be passed from the module to the processor in a normal BTR block The format of the data is exactly the same as shown above but the user determines its position Refer to the Reference Chapter for a complete listing of the data stored in this object 2 1 2 User Data When the side connect interface is utilized the read and write data is moved between the module and the processor without any ladder logic The size of the data area and position of the data areas in the module s database is determined by the parameters set in the configuration file When the block transfer interface is used ladder logic is required to page the data between the module and the processor The size of the data area and position of the data areas in the module s database is
183. rate and Time process this variation 33 0 Frozen Analog Event All Variations 1 32 Bit Frozen 40 Analog Event Without Time Page 154 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 2 16 Bit Frozen 24 Analog Event Without Time 3 32 Bit Frozen 88 Analog Event With Time 4 16 Bit Frozen 72 Analog Event With Time 40 0 Analog Output 1 06 24 Master does not Status All use this object Variations type and will not 1 32 Bit Analog 40 generale Output Status Mesnage or process this 2 16 Bit Analog 129 130 00 01 24 type Output Status 4l 0 Analog Output Block 24 All Variations 1 32 Bit Analog 40 Output Block 2 16 Bit Analog 3 4 5 6 17 28 129 Echo of 24 Master will Output Block Request generate this variation and parse the response 50 0 Time and Date All 48 Variations 1 Time and Date 2 07 With 48 Master will Quant 1 generate this variation 2 Time and Date With 80 Interval 51 0 Time and Date CTO All Variations 1 Time and Date CTO 129 130 07 With 48 Master will Quant 1 process this variation 2 Unsynchronized 129 130 07 With 48 Master will Time and Date CTO Quant 1 process this variation 52 0 Time Delay All Variations
184. re transferred from the processor and used by the attached IED units Page 40 of 172 ProSoft Technology Inc August 23 2007 Installing and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 2 2 10 DNP Master Slave List The DNP Master Slave List section stores information about each slave being 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 and are described in the following two sections 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 gt 0 Never 1 Sometimes and 2 Always select 0 Flags is bit coded as follows Bit 0 decimal 1 gt Enable the slave Bit 1 decimal 2 gt Use Unsolicited messaging with this slave Bit 2 decimal 4 gt Use delay measurement with this slave Bit 3 decimal 8 gt Auto time synchronization enabled START Node DL Conf Conf Conf App Rsp Address Mod Timeout Retry Timeout Flags 32 0 1000 0 7000 9 END 2 2 11 DNP Master Commands The DNP Master Commands 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 L
185. re Handshaking 114 Null Modem Connection No Hardware Handshaking 115 RS 232 Configuration Debug Port 111 RS 422 115 RS 485 116 RS 485 and RS 422 Tip 116 RTS Off 29 38 RTS On 29 38 S Select Operate Arm Time 31 Sending the Configuration File 64 Setting Jumpers 13 Setting the Debug Level 62 Side Connect Interface 99 Side Connect Backplane Data Transfer 90 Side Connect Interface File List e 90 Skipping 500 Registers of Data 68 Slave Address 48 Slave Driver 91 Slave List 46 Slave Port Communication Errors 136 Slave Unit Device Profile Object Subset 142 Solicited Messaging 83 Start Here 9 11 Status Data 23 System Configuration Errors 137 System Design Considerations 94 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module System Requirements 11 T The Class Assignment Menu 65 The Configuration Debug Menu 59 Time Limit for Bringing Suit 165 Time Sync Before Events 33 Transferring the Configuration File to the Module 52 Transferring the Configuration File to Your PC 50 Trip Close 105 Troubleshooting 73 Type 38 U Un repairable Units 162 Unsol Resp Delay 33 Unsolicited Messaging 82 Unsolicited Response 32 Uploading and Downloading the Configuration File 50 64 UResp Master Address 33 UResp Retry Count 33 User Data 25 Using the Configuration Debug Port 61 V Variation
186. river receives the configuration information from the DNP CFG file This information configures the serial port and define the slave node characteristics Additionally the configuration information contains data that can be used to offset data in the database to addresses requested in messages received from master units A Host device DNP Master unit issues a read or write command to the module s node address The port driver qualifies the message before accepting it into the module After the module accepts the command the data is immediately transferred to or from the appropriate internal database in the module If the command is a read command the data is read out of the database and a response message is built If the command is a write command the data is written directly into the database and a response message is built After the data processing has been completed in Step 3 the response is issued to the originating master node Counters are available in the Status Block that permit the ladder logic program to determine the level of activity of the Slave Driver Review the Installing and Configuring the Module section for a complete list of the parameters that must be defined for a slave port The response messages from the slave driver include an IIN internal indication word defined in the Reference chapter Internal Indication Word The slave driver supports object 110 octet string data Four points are pre
187. rk Refer to the MVI71 DNP Module Set Up Guide After configuration the Master driver begins transmitting read and or write commands to the other nodes on the network If writing data to another node the data for the write command is obtained from one of the module s internal databases to build the command Presuming successful processing by the node specified in the command a response message is received into the Master driver for processing Data received from the node on the network is passed into the module s appropriate internal database assuming a read command Status is returned to the PLC processor for each command in the Master Command List Refer to the Installing and Configuring the Module section for a complete description of the parameters required to define the virtual DNP master port ProSoft Technology Inc Page 93 of 172 August 23 2007 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 5 3 Designing the system Reference System design defines the data requirements of the system communication parameters and module functionality The application developer should refer to the person responsible for the DNP master and slave device configurations to be certain the functionality and data types required for the whole system are consistent Review the DNP Device Profile and DNP Subset documentation for a definition of the level of DNP support offered by the module The followin
188. rt 37 A Additional Restrictions Relating To Software And Other Intellectual Property 166 Address In Slave 49 Al Class 31 Al Deadband 31 Al Events with Time 33 All Product Returns 161 Allocation of risks 166 Analog Inputs 34 40 Analog Inputs 60 points block 119 Analog Outputs 35 40 Analog Outputs 60 points block 120 App Layer Confirm Tout 32 Application Layer Errors 139 B Backplane Data Transfer 79 Baud Rate 29 38 BI Class 30 Binary Input Command Examples 44 Binary Inputs 34 40 Binary Inputs 960 points block 118 Binary Output Command Examples 45 Binary Outputs 35 40 Binary Outputs 960 points block 118 Block 9958 or 258 PLC Binary Input Event 85 Block 9959 or 259 PLC Analog Input Event 86 Block 9970 or 270 Set PLC Time Using Module Time 88 Block 9971 or 271 Set Module s Time Using PLC Time 89 Block 9998 or 255 Warm Boot Module 89 Block 9999 or 253 Cold Boot Module 89 MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Block Assignments 118 Block Data Transfer Interface 100 C Cable Connections 111 CD Idle Time 30 39 CD Random Time 30 39 CD Time Before Receive 30 39 Class 1 Unsol Resp Min 32 Class 2 Unsol Resp Min 32 Class 3 Unsol Resp Min 33 Clearing a Fault Condition 72 Clearing the Error List 63 Cmd Function 43 Collision Avoidance
189. s Number of analog input points contained in the IED database to transfer to the PLC processor and obtained from the attached IED units 0 to 480 points Number of counter points contained in the IED database to transfer to the PLC processor and obtained from the attached IED units Page 130 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Section Item Value Range Description Binary Outputs 0 to 15360 Number of binary output points contained in points the IED database which are transferred from the PLC processor and used by the attached IED units Analog Outputs 0 to 960 points Number of analog output points contained in the IED database which are transferred from the PLC processor and used by the attached IED units Section Item Description DNP Master Slave List Definition of the IED units to be interfaced ith the DNP master port if utilized This section stores 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 gt 0 Never 1 Sometimes and 2 Always select 0 Flags is bit coded as follows BitO decimal 1 gt Enable the slave Bit 1 decimal 2 gt Use Unsolicited messaging with this slave
190. sage frames sent port The presumption is that if the slave is responding the from slave message was good Note This is a frame count 15 DNP Slave Port total This value represents the total number of message frames number of message received by the slave regardless of the slave address frames seen by slave 16 DNP Slave This value counts the number of times a sync error occurs synchronization error The error occurs when extra bytes are received before the count Physical Layer start bytes 0x05 and 0x64 are received Error 17 DNP Slave overrun This value counts the number of times the overrun error error count Physical occurs This error occurs when the mainline Data Link Layer Error Layer routine cannot read the data received on the communication port before it is overwritten 18 DNP Slave length error This value counts the number of times an invalid length count Physical Layer byte is received If the length of the message does not Error match the length value in the message this error occurs 19 DNP Slave bad CRC This value counts the number of times a bad CRC value is error Data Link Layer received in a message Error 20 DNP Slave user data This value counts the number of times the application layer overflow error receives a message fragment buffer which is too small Transport Layer Error 21 DNP Slave sequence This value counts the number of times the sequence error Transport Layer numbers of multi frame request fragments
191. setting the values in this database This provides direct control of IED units by the PLC program These data are transferred to the module from the PLC using the BTW instruction and blocks 1080 to 1095 This provides for 960 analog output points Page 110 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 5 4 Cable Connections The application ports on the MVI71 DNP module support RS 232 RS 422 and RS 485 interfaces Please look at the module to ensure that the jumpers are set correctly to correspond with the type of interface you are using Note When using RS 232 with radio modem applications some radios or modems require hardware handshaking control and monitoring of modem signal lines Enable this in the configuration of the module by setting the USeCTS parameter to 1 5 4 1 RS 232 Configuration Debug Port This port is physically an RJ45 connection An RJ45 to DB 9 adapter cable is included with the module This port permits a PC based terminal emulation program to view configuration and status data in the module and to control the module The cable for communications on this port is shown in the following diagram RS 232 Config Debug Port Cable DB 9 Male Config Debug Port Ro 2 ro To 3 ro com s cov Disabling the RSLinx Driver for the Com Port on the PC The communication port driver in RSLinx can occasional
192. sor automatically The data flow associated with this interface is shown in the following diagram PLC Processor MVI71 DNP Module Uscr Data Flles Madule s Internal Database Backplane Driver The configuration information for the module determines the size of the read and write data areas and the locations of these data sets in the module s internal database Therefore to use this interface just set up the files required by the module The following table lists the files required for the side connect interface File Number Example Size Description Cfg File N10 100 Control Status File Cfg File 1 N11 to 1000 Data transferred from the module to the processor Other files for read data Cfg File 1 n N12 to 1000 Data transferred from the processor to the module Cfg Filet1 n m Other files for write data n is the number of read data files minus one Side Connect Interface File List Cfg File File Size Description 0 N 150 Command control data starting at offset 80 80 to 143 data area 1 N Reserved 2 N 124 Error Status and Error List data destination Page 90 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Cfg File File Size Description 3 N 960 max Digital input data source 4 N 960 max Digital output data source 5 N 960 max Counter data source and d
193. stics and Troubleshooting MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Opening the Command List Menu Press X to open the Command List menu Use this command to view the configured command list for the module xxw DNP MASTER PORT COMMAND SELECTION MENU xew PRODUCT DNP REVISION 1 66 OP SYS REV 8988 PROD RUN H 1581 SELECT RANGE OF COMMANDS TO UIEW USING ONE OF THE HEYS INDICATED KEV COMMANDS KEY CONMANDS KEY COMMAHDS KEY COMMANDS KEY CONMANDE Bg 1 1 20 39 2 48 59 3 68 79 4 8 E 80 99 5 188 119 6 1280 139 7 148 159 8 160 179 9 188 192 A 200 21 B 220 239 C 248 252 p 260 279 E 280 222 Opening the Command Error List Menu Press Z to open the Command Error List This list consists of multiple pages of command list error status data Press to view a list of commands available on this menu seeece DNP MASTER PORT SLAVE SELECTION MENI eme PRODUCT DNP REVISION 1 88 OF SYS REU 89BB PROD RUN 1581 SELECT RANGE OF SLAVES TO VIEW USING ONE OF THE KEYS INDICATED KEY SLAVES KEY SLAVES KEY SLAVES KEY SLRUES B 8 9 1 18 1 2 28 29 3 380 32 _ 4 1 6 The Class Assignment Menu This menu allows you to view the class and deadband override values for the binary analog float and double input DNP database Press to display the commands available on this menu CLASS ASSIGNMENT MENU Display Menu Binary Inputs 1 Analog Inputs 2
194. t Transport Layer Error fragments do not increment correctly 16 DNP address error Transport Source addresses contained in multi frame Layer Error request fragments do not match 17 DNP bad function code error Function code received from DNP master is not Application Layer Error supported for selected object variation 18 DNP object unknown error Slave does not have the specified objects or Application Layer Error there are no objects assigned to the requested class 19 DNP out of range error Qualifier range or data fields are not valid or out Application Layer Error of range for the selected object variation 20 DNP message overflow error Application response buffer overflow condition Application Layer Error The response message from the slave is too long to transmit 21 DNP master multi frame Received a multi frame message from the DNP message error Application Layer Error master This application does not support multi frame messages from the master Page 136 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 5 10 2 System Configuration Errors Error Code Name Description 100 Too many binary input points Too many binary input points are configured for the module Maximum value is 15360 101 Too many binary output Too many binary output points are configured for points the module Maximu
195. t in the DNP database These assignments will override the default setting DNP Slave Analog Inputs Class and deadband assignments for each analog input point in the DNP database These assignments will override the default settings DNP Slave Float Inputs Class and deadband assignments for each analog floating point input point in the DNP database These assignments will override the default settings Secondary Port Communication settings for the secondary port on the module secondary slave or master port DNP Master Definitions of the DNP Master port on the module if utilized IED Database Database definition for the DNP Master port to hold data to interface with the IEDs DNP Master Slave List Slave set up information for the DNP Master port This list contains the settings required for each IED unit the master will interface with DNP Master Commands This list contains the command list to be utilized by the DNP Master port These commands will be issued to configured IED units After each section header the file contains a set of parameters Unique labels are used under each section to specify a parameter Each label in the file must be entered exactly as shown in the file for the parameter to be identified by the program If the module is not considering a parameter look at the label for the data item Each parameter s value is separated from the label with the charact
196. ta are read only for the module and the DNP master unit communicating with the module When the module receives a new block of this data from the PLC it compares the new values to those currently in the database If there is a change in any of the data the module generates an event message for the points that change Data from IED units can also be placed in the DNP binary input data area Commands in the command list must specify the DNP database address point number where the data will be placed Page 102 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module The remote DNP master unit can read the current status data and the event data from the module Event messages generated by the module can be retrieved using a poll for Class 2 data as all digital input events are considered a Class 2 data type If unsolicited message generation is enabled in the application the module automatically sends the events to the DNP master unit when the maximum event count for Class 2 data is reached or when the timeout for unsolicited messages is exceeded The following shows a data flow diagram for the digital input data Binary Input Data Flow Diagram DEVICE DNP Masin ONP Master Remote ONE Praises Prose Uawr Database Update Func on in All data associated with the digital inputs is transferred from the PLC to the module using the BTW instruction and bl
197. tall the module in the rack and turn on the power Connect the terminal server to the module s debug configuration port and exit the program by pressing the Esc key followed by the X key This will cause the program to exit and remain at the operating system prompt Run the setdnpsc exe program with a command line argument of the file number to use for the first file For example to select N10 as the first file enter the following SETDNPSC 10 The program will build the SC DATA TXT on the Compact Flash Disk C drive in the root directory The next step in module setup is to define the data files to be used with the application If the block transfer interface is used define the data files to hold the user data read and write data Enter the ladder logic to handle the blocks transferred between the module and the PLC Download the program to the PLC and test the program with the module If the side connect interface is used no ladder logic is required for data transfer The user data files to interface with the module must reside in contiguous order in the processor The first file to be used by the interface is the status control file This is file number set in the SC DATA TXT file using the SETDNPSC EXE program The following table lists the files used by the side connect interface Cfg File File Size Description 0 N 150 Command control data starting at offset 80 80 to 143 data
198. talling and Configuring the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Baud Rate Baud Rate 19200 Baud rate for port 110 115200 Primary DNP Port Baud Rate 300 600 1200 2400 4800 9600 19200 384 38400 576 57600 115 115200 The module has been tested for baud rates up to 19200 RTS On RTS On 0 0 65535 milliseconds before message This value represents the number of 1 ms increments to be inserted between asserting the RTS modem line and the actual transmission of the data RTS Off RTS Off 40 0 65535 milliseconds after message This value represents the number of 1 ms increments to be inserted after the last character of data is transmitted before the RTS modem line is dropped Minimum Response Delay Min Response Delay 0 0 65535 milliseconds before response sent from slave Minimum time between receiving a request and transmitting a response Allows master time to disable transmitter on an RS 485 network Modem Modem No Use a dial up modem on this port Yes or No This parameter defines if a dial up modem is used on the secondary DNP slave port A modem cannot be used if the port is configured as a master Connect Timeout Connect Timeout 20000 0 65535 milliseconds before connect timeout Defines the number of milliseconds to wait for the CD signal to be set high The CD signal indicates a connection is made using a dial up modem First Character Delay F
199. tatus Data nee ee e RE pecu A ei d nee e ee cav ee ves 23 2 1 2 User D ta ii ERR 25 Z2 Configuration Fille Di teer cte e eni e cene aee ERR gin taney aD e PR d Ene Rx ie ug 26 2 2 1 Mod le 5 5 2 6 52 9 a a a eut e EE atn EpL nde E eet deese eed eue enero iC 27 2 2 2 BNP SIAVe 2 coheret Ee t tte oo endete eoe bea E E E puc dodo teu 27 2 2 3 DNP Slave Database iiit ee qu idu tides e qe Meal tado ic ee Dea Sede ix aee 34 2 2 4 DNP Slave Binary Inputs sssseseene enn enne nennen ennemi nennen nnns 36 2 2 5 DNP Slave Analog Inputs 1 iecore eet e treten ue e Bee de d ee needs 36 2 2 6 DNP Slave Float Inputs 2 5 2 nter ioo need dereud ood cre Shi eEIEE Cod tee d ada pee dee audes 37 2 2 7 Secondary Amo 37 2 2 8 DNR Master zz reiten eR D e bi cede ORI 39 2 2 9 Iscr 40 2 2 10 DNP Master Slave List rient eee ree Eee au RE ri eR edid e ie UE a aaea 41 2244 BNP Master Commands 5 1 niece reae ei esas cn een aoe ces eee qi ce iw neces 41 2 2 12 SlaveiList serere REED eterne ete ect E Hee e RENE DR PRAES 46 2 2 13 Command List ce tt ette t et ee eR ri D E dra de ees eed 47 2 3 Uploading and Downloading the Configuration File se mem 50 2 3 1 Transferring the Configuration File to Your PC een 50 2 3 2 Transferring the Configuration File to the Module
200. tatus process this type 12 0 Control Block All 88 Variations 1 Control Relay 3 4 5 6 17 28 129 Echo of 88 Master will Output Block request generate this variation and parse the response 2 Pattern Control 88 Block 3 Pattern Mask 16 20 0 Binary Counter All 1 7 8 06 32 Master will Variations 9 10 generate this variation Page 150 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 1 32 Bit Binary 129 130 00 01 40 aster will Counter process this variation 2 16 Bit Binary 129 130 00 01 24 aster will Counter process this variation 3 32 Bit Delta Counter 129 130 00 01 40 aster will process this variation 4 16 Bit Delta Counter 129 130 00 01 24 aster will process this variation 5 32 Bit Binary MO 06 129 130 00 01 32 aster will Counter Without 9 10 generate and Flag process this variation 6 16 Bit Binary a Un Sh 06 129 130 00 01 16 Master will Counter Without 9 10 generate and Flag process this variation 7 32 Bit Delta Counter 129 130 00 01 32 aster will Without Flag process this variation 8 16 Bit Delta Counter 129 130 00 01 16 aster will Without Flag process this variation 21 0 Frozen Counter All 1 06 32 aster
201. ter Without variation counter Flag upper 16 bits removed 11 32 Bit F rozen 32 Slave will return Delta Counter Unknown Object to Without Flag this request 12 16 Bit Frozen 16 Slave will return Delta Counter Unknown Object to Without Flag this request 22 0 CounterChange 1 06 07 Slave will parse this Event All 08 request and return Variations no data 1 32 Bit Counter 129 130 17 28 40 Slave will return Change Event Unknown Object to Without Time this request 2 16 Bit Counter 129 130 17 28 24 Slave will return Change Event Unknown Object to Without Time this request 3 32 Bit Delta 40 Slave will return Counter Change Unknown Object to Event Without this request Time 4 16 Bit Delta 24 Slave will return Counter Change Unknown Object to Event Without this request Time 5 32 Bit Counter 88 Slave will return Change Event With Time Unknown Object to this request Page 144 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module Object Request Response Obj Var Description Func Qual Func Qual Data Notes Codes Codes Codes Codes Size hex hex bits 6 16 Bit Counter 72 Slave will return Change Event Unknown Object to With Time this request 1 32 Bit Delta 88 Slave will return Counter Change Unknown Object to Event With Time this request 8 1
202. the Module MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module This section takes the following parameters Parameter Parameter Name Parameter Description Number 1 Point This is the information object address of the point 2 Class Class 1 Highest priority Class 2 Middle priority Class 3 Lowest priority 0 Disable 3 Deadband A range of values within which the module will avoid generating events 2 2 6 DNP Slave Float Inputs This area overrides the Class 3 and deadband for the single float database The point number is not the address in the analog database but rather the offset from the start of the single floating point database This area database the offset Point Start 0 1 3 4 End DNP Slave FI N O Loat Inputs is to override the class 3 and deadband for the single float The point is not the address in the analog database but is from the start of the single floating point database lass Deadband 100 12 34 13 45 3000 0 Events will never be generated for this point points 5 to ll class 1 deadband 1000 00 This section takes the following parameters Parameter Parameter Name Parameter Description Number 1 Point This is the information object address of the point 2 Class Class 1 Highest priority Class 2 Middle priority Class 3 Lowest priority 0 Disable 3 Deadband A range of val
203. the minimum number of milliseconds to wait before a redial attempt is made 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 milliseconds the modem is inactive before it will disconnect Phone Number ASCII String Data This field contain a null terminated ASCII character string used by the dial up modem The string must contain all characters required by the modem An example string is ATDT 1800222333 Maximum length is 34 bytes including the terminating 0 Collision Avoidance Yes or No This parameter defines if collision avoidance will be utilized on the primary DNP slave port CD Idle Time 0 to 32000 Defines the minimum number of milliseconds to wait before transmitting a message after the CD signal is recognized as low CD Random Time 0 to 32000 Defines the range of random time to be added to the CD Idle Time before a message will be transmitted from the slave CD Time Before Receive 0 to 65535 Defines the number of milliseconds to wait before receiving characters after the CD signal is recognized as high BI Class 0 to 3 This parameter specifies the default class to be utilized for all the binary input points in the DNP database that are not defined in the override list section Al Class 0 to 3
204. ting ProSoft Customer Service the Customer is informed that unit is believed to be unrepairable the Customer may choose to send unit in for evaluation to determine if the repair can be made Customer will pay shipping duties and taxes that may apply If unit cannot be repaired the Customer may purchase a new unit 6 4 1 Un repairable Units 3150 All 3750 3600 All 3700 3170 All 3250 1560 can be repaired if defect is the power supply 1550 can be repaired if defect is the power supply 3350 3300 1500 All 30 of list price is an estimated repair cost only The actual cost of repairs will be determined when the module is received by ProSoft and evaluated for needed repairs Page 162 of 172 ProSoft Technology Inc August 23 2007 ProSoft Technology Inc Support Service amp Warranty MVI71 DNP PLC Platform 6 5 DNP 3 0 Master Slave Communication Module 6 4 2 Purchasing Warranty Extension As detailed below in ProSoft s Warranty the standard Warranty Period is one year or in the case of RadioLinx modules three years from the date of delivery The Warranty Period may be extended for an additional charge as follows Additional 1 year 10 of list price Additional 2 years 20 of list price Additional 3 years 30 of list price LIMITED WARRANTY This Limited Warranty Warranty governs all sales of hardware software and other products collectively Product manufactur
205. ts Maximum Application Fragment Size Transmitted 292 Transmitted 2048 Received 292 Received 2048 octets aximum Data Link Re tries Maximum Application Layer Re tries Configurable from 0 255 None Requires Data Link Layer Confirmation Configurable at module start up never sometimes amp always Requires Application Layer Confirmation When reporting Event Data as a slave unit Time outs while waiting for Data Link Confirm Configurable at module start up 1 to 65535 milliseconds Complete Application Fragment Configurable at module start up Application Confirm Configurable at module start up 1 to 65535 milliseconds Complete Application Response None Sends Executes Control Operations WRITE Binary Outputs Never SELECT OPERATE Always DIRECT OPERATE Always DIRECT OPERATE NO ACK _ Always Count gt 1 Never Pulse On Never Pulse Off Never Latch On Always Latch Off Always Queue Never Clear Queue Never Reports Binary Input Change Events when no specific Reports time tagged Binary Input Change Events when no variation requested specific variation requested Only time tagged Binary Input Change with Time ProSoft Technology Inc Page 141 of 172 August 23 2007 MVI71 DNP PLC Platform Reference DNP 3 0 Master Slave Communication Module DNP V3 00 DEVICE PROFILE DOCUMENT Sends Unsolicited Responses Sends Static Data
206. ue 14 15 32 200 0 2 DNP BI s Command for Port 2 Enabled RBE Flag Set IED 15 Address IED Unit 15 is to be polled Address 200 Object type is 1 Binary Input Variation of 0 default variation Function 1 is for a read n Stave address inira Qual 6 ail pointe 231 Point count of 32 indicates only first 32 points are to be used 31 DNP DB address of 200 is where first data point IED BI s is placed NOTE Data accessible by remote DNP master and PLC Events for points generated by module All IED generated events are ignored Address 31 Binary Output Command Examples IED DB address of 0 is where first data point is placed Poll command every 2 seconds Port Flg Slave Object Var Func Pnt DNP IED Cnt DB DB Poll Int Addr Word 0 1 2 3 5 6 7 8 9 Value 14 15 12 10 2 200 0 0 IED 15 Address 1 11 DNP BO s Address 200 201 Command for Port 2 Enabled only operate on point change amp use DNP Database IED Unit 15 is to be polled Object type is 12 Binary Output Control Variation of 1 Control Relay Output Block Function 5 is for direct operate Slave address of 10 is starting point in IED Two points are to be transferred DNP DB address of 200 is first source point IED DB is not used Command not a polled command Port Fig Slave Object Var Func Pnt DNP IED Cnt DB DB Poll Int Addr Word 0 1 2 5 6 7 8 9 Va
207. ues within which the module will avoid generating events 2 2 7 Secondary Port The following is an example of the Secondary Port section Secondary Port Type Baud Rate RT RI Min Response Delay TS On rS Off slave M 19 10 0 0 Disabled M Master S Slav 200 Baud rate for port 110 115200 0 65535 milliseconds before message 0 65535 milliseconds after message 0 65535 milliseconds before response sent from ProSoft Technology Inc August 23 2007 Page 37 of 172 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module Collision Avoidance parameters Collision Avoidance No Use Collision Avoidance N No Y Yes CD Idle Time X0 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 milliseconds before receive Configure each parameter to work with your application Type Type M Disabled M Master S Slav This parameter defines the functionality of the secondary port on the module M emulate a DNP master port S back up DNP slave port to the primary port Any other value will disable the port Baud Rate Baud Rate 19200 Baud rate for port 110 115200 Secondary DNP Port Baud Rate 300 600 1200 2400 4800 9600 19200 384 38400 576 57600 115 115200 RTS On RTS On 10 0 65535 milliseconds
208. ule 1 6 Download the Sample Program to the Processor To download the sample program from RSLogix 5 to the PLC processor Note The key switch on the front of the PLC processor must be in the REM position If you are not already online to the processor open the Communications menu and then choose Download RSLogix will establish communication with the processor 1 Communications Iv Autobrowse _Retesh_ a E Browsing node 1 found Workstation Address Device Type Online Name Status Cancel Program fa Linx Gateways Ethernet 300 workstation DF1 COM9 js AB_DF1 2 Data Highway Plus n PLC 5 20C UNTITLED Remote 00 Workstation DF1 COM9 P01 PLC 5 20C UNTITLED Online Rs AB_ETHIP 1 Ethernet TE a PLC_Controllogi Ethernet Single Thread UpLoads Upload Download Current Selection Reply Ti Server RSLinx API Driver AB_DF1 2 eply Timeout Node Octal 1 Decimal Type PLCS 10 ec Apply to Project 2 Click the Download button to transfer the sample program to the processor 3 When prompted choose Computer to PLC ControlNet Configuration Selection Which ControlNet configuration do you want to use Retain the PLC s current ControlNet Download the ControlNet Configuration Configuration from the computer to the PLC su 4 RSLogix will compile the program and transfer it to the processor This process may take a few minutes Downloading Processor Im
209. uplicate request in application layer queue The newly submitted message to the application layer already exists in the queue The message is ignored 1002 COM port device removed from system The communication port for the message has been uninstalled on the system This error should never occur as the communication ports are only uninstalled when the module s program is terminated 1003 Sequence number error 1004 Response to select before operate does not match The application sequence number in the response message does not match that based on the last request message This indicates application layer messages are received out of order The select response message received from the slave module is not that expected from the last select request This indicates a synchronization problem between the master and slave devices 1005 Response does not contain date time object The response message from the slave device does not contain a date time object The master expects this object for the response message 1006 Time out condition on response The slave device did not respond to the last request message from the master within the time out set for the IED device The application layer time out value is specified for each IED unit in the slave configuration table in the module This table is established each time the module performs the restart operation 1007 Function code in application laye
210. ure a driver from the Available Driver Types list The recommended driver type to choose for serial communication with the processor is RS 232 DF 1 Devices 3 Click to select the driver and then click Configure This action opens the Configure Allen Bradley DF1 Communications Device dialog box Configure Allen Bradley DF1 Communications Device Device Name AB DF1 1 Comm Port cout Y Device Logix 5550 Serial Port Baud Rate 13200 E stel ass Octal Parity None v Error Checking CRC Stop Bits 1 Protocol FullDuplex v Auto Configure Use Modem Dialer Ok Cancel Delete Help CEE 4 Click the Auto Configure button RSLinx will attempt to configure your serial port to work with the selected driver 5 When you see the message Auto Configuration Successful click the OK button to dismiss the dialog box Note If the auto configuration procedure fails verify that the cables are connected correctly between the processor and the serial port on your computer and then try again If you are still unable to auto configure the port refer to your RSLinx documentation for further troubleshooting steps Page 18 of 172 ProSoft Technology Inc August 23 2007 Start Here MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module 1 7 Connect your PC to the Module With the module securely mounted connect your PC to the Configuration Debug port using an RJ45 DB 9 Seria
211. w CD Random Time 0 to 32000 Defines the range of random time to be added to the CD Idle Time before a message will be transmitted from the slave CD Time Before Receive 0 to 65535 Defines the number of milliseconds to wait before receiving characters after the CD signal is recognized as high Section Item DNP Master Value Range Internal ID 0 to 65534 Description Definitions for DNP Master port if utilized This is the DNP address for the module All messages with this address from the master will be processed by the module Initialize IED Database Yes or No This parameter determines if the module will request data from the processor to initialize the IED database input data areas If this option is utilized ladder logic is required to send the requested block from the processor to the module Event Messages to PLC Yes or No This parameter determines if event messages received on the master port will be sent to the processor If this option is utilized ladder logic must handle the 9903 blocks generated by the module Section Item Value Range IED Database Description Database definition for DNP master port if utilized Binary Inputs 0 to 15360 points Number of binary input points contained in the IED database to transfer to the PLC processor and obtained from the attached IED units Analog Inputs Counters 0 to 960 point
212. with the analog inputs is transferred from the PLC to the module in BTW instruction and blocks 60 to 75 This provides for a maximum number of 960 points Page 108 of 172 ProSoft Technology Inc August 23 2007 Reference MVI71 DNP PLC Platform DNP 3 0 Master Slave Communication Module DNP Analog Output Data This data type stores analog values sent from the DNP master unit to the module and PLC with a data range of 0 to 65535 or 32768 to 32767 The size of this data area is determined from the configuration parameter Number of Analog Output Points The area is partitioned into two separate areas The first area is the DNP analog output data for the PLC and the second is the DNP analog output data for the IED units The configuration parameter Number of Analog Output Points for PLC determines the size of the PLC s data area The remaining portion is defined as the IED analog output data area IED units can use any portion of the DNP analog output data area The command list instructions are not limited to the IED data area PLC data are transferred from the module to the PLC using the COP command operation Therefore these data are read only for the PLC as the PLC cannot directly alter these values in the module It is the responsibility of the DNP master unit to maintain this data For example if the DNP master sends a value of 3405 to the module for a specific point the value will be stored in the module until changed by the maste
213. work without modification ProSoft Technology Inc Page 57 of 172 August 23 2007 MVI71 DNP PLC Platform Ladder Logic DNP 3 0 Master Slave Communication Module Page 58 of 172 ProSoft Technology Inc August 23 2007 Diagnostics and Troubleshooting MVI71 DNP PLC Platform 4 1 DNP 3 0 Master Slave Communication Module Diagnostics and Troubleshooting In This Chapter gt Reading Status Data From the Module 59 gt LED Status Indicators sse 72 gt Clearing a Fault Condition 72 Troubleshooting ete etta eben eae 73 The module provides information on diagnostics and troubleshooting in the following forms Status data values are transferred from the module to the processor Data contained in the module can be viewed through the Configuration Debug port attached to a terminal emulator LED status indicators on the front of the module provide information on the module s status Reading Status Data From the Module The MVI71 DNP module returns a Status Data block that can be used to determine the module s operating status This data is located in the module s database status database and error status list This data is transferred to the PLC processor read blocks with an identification code of 100 For a complete listing of the status data object refer to the Installing and Configuring the Module section 4 1 1 The Configuration Debug Menu T
214. ype The following table defines the Port Flags bits for binary input analog input and counter data points Port Flags Bits Description Decimal Equivalent 0 to 1 Communication port O Internal 2 Port 2 3 Port 3 0 to 3 Any value from 1 to 3 sends out P2 Master Port Enable Disable Command 1 Enable 0 Disable 4 3 RBE Flag 0 Events from IED 1 Events by module 8 ProSoft Technology Inc August 23 2007 Page 47 of 172 MVI71 DNP PLC Platform Installing and Configuring the Module DNP 3 0 Master Slave Communication Module Port Flags Bits Description Decimal Equivalent 4 to 7 Not Used For these data types the qualifier used in the data request is dependent on the Point Count and Address in Slave fields in the command as follows If Point Count 0 then use Qualifier O6h All points packed amp Point Count of points to consider If Address in Slave 0 amp Point Count gt 0 then use Qualifier OOh or 01h points O to Point Count 1 If Address in Slave gt 0 amp Point Count gt 0 then use Qualifier 00h or 01h Address in Slave to Address in Slave Point Count 1 The following table defines the Port Flags bits for binary output and analog output points Port Flags Bits Description Decimal Equivalent 0 to 1 Communication port 0 Internal 1 Port 1 2 Port 2 0 to 3 3 Port 3 Any value from 1 to 3 sends out P2 Master Port 2 Enable Disable Command 1 Enabl

Download Pdf Manuals

image

Related Search

Related Contents

パソコンを用いた林野火災の拡大予測に関する研究[PDF 4.2MB]  [U4.91.21] Procédure IMPR_JEVEUX  SUPER ® - Supermicro  Scatto delle foto secondo la scena - Migros    IBM System Storage & TotalStorage TotalStorage DS4300 Single Controller 6LX    

Copyright © All rights reserved.
Failed to retrieve file