DNP3, Distributed Network Protocol V3 an INTRODUCTION Timothy Day, Field Application Engineer MAR 2018 [email protected]

DNP3, Distributed Network Protocol V3 an INTRODUCTION Timothy Day, Field Application Engineer MAR 2018 Timothyrday@Eaton.Com

DNP3, Distributed Network Protocol v3 an INTRODUCTION Timothy Day, Field Application Engineer MAR 2018 [email protected] © 2015 Eaton. All Rights Reserved.. MASTER OUTSTATION RobustCommunication Comm. Channel Master Channel • a.k.a: Master Terminal Unit (MTU), SCADA, HMI, Client or Control Center • Performs data retrieval and archiving • Performs control operations and configuration changes to the Outstation • Front-End Processor • Typically the communications interface © 2015 Eaton. All Rights Reserved. 2 MASTER OUTSTATION RobustCommunication Comm. Channel Outstation Channel • The Outstation holds the information • Also called: • Slave or Remote Device • SCADA Server • Controlled Station • IED: Intelligent Electronic Device • PLC: Programmable Logic Controller • RTU: Remote or Network Terminal Unit • Gateway or Data Concentrator © 2015 Eaton. All Rights Reserved. 3 Data Concentrator MASTER OUTSTATION MASTER DATA CONCENTRATOR Communication Communication Channel Channel OUTSTATION • DATA CONCENTRATOR • Acts as MASTER to OUTSTATION(S) • Acts as OUTSTATION to the MASTER © 2015 Eaton. All Rights Reserved. 4 DNP3 History • Prior to 1993: Westronics a.k.a. GE Harris, an RTU vendor, implemented 100s of proprietary utility protocols. • An open protocol, standardized and accommodating the needs of the utility sector, was needed. • New protocol proposed • GE Harris would develop then release to the industry • Incorporate the best features of existing protocols • Include new features • Independent users’ group would control the specification • Utilities and vendors would be members. • 1993: DNP V3.00 released to the public domain. (dnp.org) • DNP V1.00 and DNP V2.00 are earlier, proprietary Westronics protocols. © 2015 Eaton. All Rights Reserved. 5 Protocol Comparison Modbus vs. DNP3 • Modbus Background. Developed by Modicon in 1979 • Preceded DNP • Widely used in industrial plants • Initially designed for local serial communications. • Modbus Applications • Dedicated wire or fiber connection between stations • Short distances • Controlled environment and communication dynamics • Robust, dedicated physical connection expected • Tolerable Sequence of Events timing incoherency as acquired by Master. © 2015 Eaton. All Rights Reserved. 6 Protocol Comparison Modbus MASTER Robust OUTSTATION Instantaneous Values: Communication o Array of Analog Values RobustChannel Comm. Channel o Array of Binary Status ∗ 푡1 * Data time-stamped with Master’s clock ∗ 푡2 TIME © 2015 Eaton. All Rights Reserved. 7 Protocol Comparison Modbus: Possible Timing Incoherency DEVICE A STATUS POLL FOR POLL FOR OUTSTATIONS DATA; REPLY DATA; REPLY B 1 A 0 TIME DEVICE B 푡1 푡2 STATUS POLL FOR POLL FOR DATA; REPLY DATA; REPLY 1 0 POLLING TIME SEQUENCE 푡0 푡3 MASTER 푡 DEVICE A: The Master’s clock time-stamps the 2 NEW STATUS devices’ status changes incoherently. 푡 DEVICE B: 3 NEW STATUS TIME © 2015 Eaton. All Rights Reserved. 8 Protocol Comparison Modbus vs. DNP3 • Why DNP3? What advantages over Modbus? • DNP3 Basic Design Objectives: • Remote communications • Limited bandwidth • Possible use with Modems: more time for handshaking • Interrupted communications • Radio interference; Terrain, Trees, Buildings; Remote power outages • Outstation stores event data until retrieved / acknowledged by Master • Event Time-stamping • Outstation time-stamps, not the Master • Permits coherent sequencing of events at the Master © 2015 Eaton. All Rights Reserved. 9 Protocol Comparison DNP3: Correct Event Timing DEVICE A STATUS New Status POLL FOR OUTSTATIONS @ 푡1 DATA; REPLY B 1 A 0 TIME DEVICE B 푡1 푡2 STATUS New Status POLL FOR @ 푡0 DATA; REPLY 1 0 POLLING TIME SEQUENCE 푡0 푡3 MASTER 푡 DEVICE A: NEW Outstation time-stamps permit the 2 STATUS @ 푡1 Master to organize events coherently. 푡 DEVICE B: NEW 3 STATUS @ 푡0 TIME © 2015 Eaton. All Rights Reserved. 10 DNP3 Data Flow MASTER OUTSTATION • Outputs Binary Outputs Analog Outputs • Sent from Master to Outstation • Binary: Control, Enable, Disable • Analog: Update programming setpoints MASTER OUTSTATION • Inputs Binary, Counter, Analog Inputs • Sent from Outstation to Master • Binary: Status • Counter: e.g., Number of Operations • Analog: e.g., Volt, Amp, Watt, var metering values © 2015 Eaton. All Rights Reserved. 11 DNP3 Data Organized into Object Groups MASTER OUTSTATION Binary Outputs • Outputs Analog Outputs • Binary: Control, Enable, Disable • Analog: Alter programming setpoints MASTER OUTSTATION Binary, Counter, • Inputs Analog Inputs • Binary: Read Status • Counter: e.g., Read Number of Operations • Analog: e.g., Read Volt, Amp, Watt, var metering values Various Examples Various Examples Groups of Object © 2015 Eaton. All Rights Reserved. 12 DNP3 Object Group Designations by Number MASTER OUTSTATION Binary Outputs • Outputs Analog Outputs • Binary: Object Groups 10, 12 • Analog: Object Groups 40, 41 MASTER OUTSTATION Binary, Counter, Analog Inputs • Inputs • Binary: Object Groups 1, 2 • Counter: Object Groups 20, 21, 22, 23 • Analog: Object Groups 30, 32 Various Examples Various Examples Groups of Object © 2015 Eaton. All Rights Reserved. 13 Purpose of Object Groups: DNP3 MASTER OUTSTATION Binary Outputs • Outputs Analog Outputs Permit• Binary: coherent,Object Groups 10,numerically 12 - • Analog: Object Groups 40, 41 identified, negotiated exchange between Master and OutstationMASTER of OUTSTATION Binary, Counter, data performing a particularAnalog Inputs • Inputs • Binary: Objectfunction. Groups 1, 2 • Counter: Object Groups 20, 21, 22, 23 • Analog: Object Groups 30, 32 Various Examples Various Examples Groups of Object © 2015 Eaton. All Rights Reserved. 14 DNP3 Object Group Designations by Number MASTER OUTSTATION Binary Outputs • Binary Outputs • Object Group 10 for reading the binary value in the Outstation’s register • Object Group 12 for writing a new binary value to the Outstation’s register © 2015 Eaton. All Rights Reserved. 15 DNP3 Object Group Designations by Number MASTER OUTSTATION • Analog Outputs Analog Outputs • Object Group 40 for reading the analog value in the Outstation’s register • Object Group 41 for writing a new analog value to the Outstation’s register © 2015 Eaton. All Rights Reserved. 16 DNP3 Object Group Designations by Number MASTER OUTSTATION Binary Inputs • Binary Inputs • Object Group 1 for reading a static binary value in the Outstation • Object Group 2 for reading a changed binary value in the Outstation © 2015 Eaton. All Rights Reserved. 17 DNP3 Object Group Designations by Number MASTER OUTSTATION Counter Inputs • Counter Inputs • Object Group 20 for reading a static counter value from the Outstation • Object Group 21 for reading a static frozen counter value from the Outstation • Object Group 22 for reading a changed counter value from the Outstation • Object Group 23 for reading a changed frozen counter value from the Outstation © 2015 Eaton. All Rights Reserved. 18 DNP3 Object Group Designations by Number MASTER OUTSTATION Analog Inputs • Analog Inputs • Object Group 30 for reading a static analog value in the Outstation • Object Group 32 for reading a changed analog value in the Outstation © 2015 Eaton. All Rights Reserved. 19 Introducing Data Types Modbus vs. DNP3 Outputs Outputs Modbus DNP3 Inputs Inputs Modbus DNP3 Function Name Data Type Name Data Type(s) Binary Control Relay Coil bit Output Block bit Output (CROB) 16-bit integer Analog Holding 32-bit integer 16-bit integer Analog Output Output Register 32-bit float * 64-bit float Binary Discrete Input bit Binary Input bit Input 16-bit integer Analog 32-bit integer Input Register 16-bit integer Analog Input Input 32-bit float * 64-bit float Counter Use Input Register for Analogs 16-bit integer Counter Input Input and Counters 32-bit integer © 2015 Eaton. All Rights Reserved. * Infrequently used / supported 20 Reviewing Object Groups: DNP3 Outputs DNP3 Inputs Modbus DNP3 Function Name Data Type Name Data Type(s) Binary Control Relay Coil bit Output Block bit Output (CROB) 16-bit integer Analog Holding 32-bit integer 16-bit integer Analog Output Output Register 32-bit float 64-bit float Binary Discrete Input bit Binary Input bit Input 16-bit integer Analog 32-bit integer Input Register 16-bit integer Analog Input Input 32-bit float 64-bit float Counter Use Input Register for Analogs 16-bit integer Counter Input Input and Counters 32-bit integer © 2015 Eaton. All Rights Reserved. 21 Reviewing Object Groups: DNP3 Outputs DNP3 Inputs DNP3 Function Name Data Type(s) Binary Control Relay Output Block bit Output (CROB) 16-bit integer Analog 32-bit integer Analog Output Output 32-bit float * 64-bit float Binary Binary Input bit Input 16-bit integer Analog 32-bit integer Analog Input Input 32-bit float * 64-bit float Counter 16-bit integer Counter Input Input 32-bit integer © 2015 Eaton. All Rights Reserved. * Infrequently used / supported 22 Reviewing Object Groups: DNP3 Outputs DNP3 Inputs DNP3 Function Name Data Type(s) Binary Control Relay Output Block bit Output (CROB) 16-bit integer Analog 32-bit integer Analog Output Output 32-bit float * 64-bit float Binary Binary Input bit Input 16-bit integer Analog 32-bit integer Analog Input Input 32-bit float * 64-bit float Counter 16-bit integer Counter Input Input 32-bit integer © 2015 Eaton. All Rights Reserved. * Infrequently used / supported 23 Reviewing Object Groups: DNP3 Outputs DNP3 Inputs DNP3 Function Name Object Groups Data Type(s) Binary Control Relay 10 Output Block bit Output (CROB) 12 16-bit integer Analog 40 32-bit integer Analog Output Output 41 32-bit float * 64-bit float Binary 1

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    64 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us