MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed...

131
- 1/131 - IM MW100-S16E-1 Ed01 MW100-S16 DNP3.0 User's Manual

Transcript of MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed...

Page 1: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 1/131 - IM MW100-S16E-1 Ed01

MW100-S16 DNP3.0

User's Manual

Page 2: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 2/131 - IM MW100-S16E-1 Ed01

Table of Contents 1. Introduction.....................................................................................................................5 2. DNP communication functions .......................................................................................6

2.1. Required options for DNP communication.............................................................8 2.2. DNP master/client function ....................................................................................9

2.2.1. DNP master/client specification....................................................................12 2.2.2. Enabling DNP master/client functions.........................................................13 2.2.3. Configuration of destination of DNP master/client......................................16

2.2.3.1. Configuration of destination address ...................................................17 2.2.3.2. Configuration of polling period and action...........................................20 2.2.3.3. Configuration of unsolicited message...................................................23

2.2.4. Configuration of command table of DNP master/client ...............................26 2.2.4.1. Behavior of Poll function.......................................................................29 2.2.4.2. Behavior of Read function.....................................................................31 2.2.4.3. Behavior of Operate function................................................................32

2.3. DNP slave/server function ....................................................................................34 2.3.1. DNP slave/server specification......................................................................37 2.3.2. Enabling DNP slave/server functions...........................................................38 2.3.3. Configuration of destination of DNP slave/server........................................41

2.3.3.1. Permission of unsolicited message .......................................................42 2.3.3.2. Configuration of destination address ...................................................44

2.3.4. Configuration of object table of DNP slave/server .......................................47 2.3.4.1. Configuration of data variation ............................................................51

2.4. DNP configuration screens....................................................................................55 2.4.1. Serial communication setting screen............................................................58 2.4.2. IP address setting screen ..............................................................................60 2.4.3. Server setting screen .....................................................................................62 2.4.4. DNP communication setting screens ............................................................64

2.4.4.1. DNP communication setting screen for application service ................64 2.4.4.2. DNP communication setting screen for protocol stack behavior.........66

2.4.5. DNP slave setting screen...............................................................................69 2.4.6. DNP server setting screen.............................................................................71 2.4.7. DNP object setting screen .............................................................................73 2.4.8. DNP master setting screens..........................................................................75

2.4.8.1. DNP master setting screen for polling period......................................75

Page 3: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 3/131 - IM MW100-S16E-1 Ed01

2.4.8.2. DNP master setting screen for polling action ......................................77 2.4.8.3. DNP master setting screen for command table ...................................79

2.4.9. DNP client setting screens ............................................................................81 2.4.9.1. DNP client setting screen for polling period ........................................81 2.4.9.2. DNP client setting screen for polling action.........................................83 2.4.9.3. DNP client setting screen for command table......................................85

2.5. DNP configuration commands ..............................................................................87 2.5.1. Serial communication setting (YS) ...............................................................88 2.5.2. Enabling server function (WS)......................................................................89 2.5.3. Enabling client function (WC).......................................................................90 2.5.4. DNP master action setting (WM)..................................................................91 2.5.5. DNP master destination setting (WN)..........................................................92 2.5.6. DNP master command table setting (WO) ...................................................93 2.5.7. DNP client action setting (WP) .....................................................................94 2.5.8. DNP client destination setting (WQ) ............................................................95 2.5.9. DNP client command table setting (WR)......................................................96 2.5.10. DNP client/server address setting (WU).....................................................97 2.5.11. DNP slave/server object table setting (WV)................................................98 2.5.12. DNP slave destination setting (VV) .......................................................... 100 2.5.13. DNP server destination setting (VW) ....................................................... 101 2.5.14. DNP application service setting (WW) ..................................................... 102 2.5.15. DNP application layer setting (WX) ......................................................... 103 2.5.16. DNP datalink layer setting (WY).............................................................. 104

2.6. DNP log and summary output ............................................................................ 105 2.6.1. Log and summary output (FL) .................................................................... 106 2.6.2. DNP master log output (FL0, DNP3_M) .................................................... 109 2.6.3. DNP client log output (FL0, DNP3_C) ....................................................... 110 2.6.4. DNP slave log output (FL0, DNP3_S)......................................................... 111 2.6.5. DNP server log output (FL0, DNP3_T)....................................................... 112 2.6.6. DNP master command status output (FL1, DNP3_MC) ........................... 113 2.6.7. DNP master connection status output (FL1, DNP3_MS) .......................... 115 2.6.8. DNP client command status output (FL1, DNP3_CC)............................... 117 2.6.9. DNP client connection status output (FL1, DNP3_CS) ............................. 118

2.7. Conversion of channel data................................................................................. 119 3. Appendix ...................................................................................................................... 125

3.1. DNP device profile ............................................................................................... 125

Page 4: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 4/131 - IM MW100-S16E-1 Ed01

3.2. DNP object implementation table....................................................................... 128

Page 5: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 5/131 - IM MW100-S16E-1 Ed01

1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical distribution industry in America, Africa, Australia and so on. It is designed to transmit relatively small packets of data in a reliable manner specifically for SCADA application. In MW100, DNP communication function has implemented at R3.03 special version and which supports the function of the DNP Master, Slave, Client and Server. This document describes about the DNP communication function in MW100.

Page 6: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 6/131 - IM MW100-S16E-1 Ed01

2. DNP communication functions MW100 main module has one ethernet port for TCP/IP communication and one serial port for RS-232, 422/485 communication (optional), and DNP communication function can be used with downloading MW100 R3.03 special firmware which implements DNP protocol.

Figure 1. Ethernet and serial port in MW 100

MW100 (I/O Module + Main Module)

MW100 Main Module

Ethernet Port

Serial Port

(10 / 100 Mbps)

(Option , RS-232-C or RS-422-A / 485,)

Page 7: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 7/131 - IM MW100-S16E-1 Ed01

Basic specification of serial and ethernet port in MW100, which is used as a datalink of the DNP communication, is shown in Table 1 and Table 2.

Table 1. Specification of serial port Item Specification Datalink

RS-232-C, RS-422-A / 485

Baud rate

1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 bps

Parity bits

None, Odd, Even

Stop bits

1, 2 bit

Byte size

8 bit (fixed)

Handshake

Off : Off (fixed)

Table 2. Specification of ethernet port Item Specification Datalink

Ethernet 10 Base-T, 100 Base-TX

Service port 20000 (configurable)

TCP keep alive

Not used

TCP application timeout

Not used

Page 8: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 8/131 - IM MW100-S16E-1 Ed01

2.1. Required options for DNP communication As DNP communication function is not the standard feature of MW100, user should specify required options in Table 3 as needed at ordering time.

Table 3. Required options for DNP communication Option DNP master DNP slave DNP client DNP server MATH (/ M1)

x x

RS-232 (/ C2)

x x

RS-422A /485 (/ C3)

'x' shows required option

Page 9: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 9/131 - IM MW100-S16E-1 Ed01

2.2. DNP master/client function DNP master/client functions enable to exchange data between MW100 and IEDs with DNP protocol. Accessible objects with DNP master/client functions are Binary Input, Binary Output, Analog Input, Analog Output, Double-bit, Counter objects only.

Figure 2. DNP master/client functions 1

1 In DNP, a field device is occasionally referred as IED (Intelligent Electric Device).

MW100 (Master)

IED (Slave)

IED (Slave)

MW100 (Client)

IED (Server)

IED (Server)

RS-232, 422, 485 Ethernet

I/O channel (Max. 60)

Math channel (Max. 300)

Comm. Input channel (Max. 300)

I/O channel (Max. 60)

Math channel (Max. 300)

Comm. Input channel (Max. 300)

Command / Response Command / Response

Page 10: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 10/131 - IM MW100-S16E-1 Ed01

Framework of DNP master/client functions of MW100 is shown in Figure 3. DNP master/client functions have two timers, they are called "Integrity Poll" and "Event Poll" timer, and each timer publish read command and poll class in IED periodically.

Figure 3. Framework of DNP master/client function

Integrity Poll

Event Poll

Time

Time

Read Class 0 +

Read Class 1, 2, 3

Execute Command table

Target list

DNP3.0 Network

Command table

Max. 10 Units

+

Command / Response

IED (Slave)

IED (Slave)

MW100 (Master)

Page 11: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 11/131 - IM MW100-S16E-1 Ed01

Period of integrity/event poll and publishing commands are configurable at MW100. Parameters for controlling DNP master/client behavior is shown in Table 4.

Table 4. Parameters for controlling DNP master/client behavior Kind Configuration Integrity Poll Period and publishing commands for polling static data

- period is configurable within 1 to 3600 [s] - class read : - selectable from “Off”, “Class 0”, “Class 0, 1, 2, 3” - publishing command : - Max. 100 entries

Event Poll Period and publishing commands for polling event data - period is configurable within 1 to 3600 [s] - class read : - selectable from “Off”, “Class 1, 2, 3”, “Class 0, 1, 2,3”

Page 12: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 12/131 - IM MW100-S16E-1 Ed01

2.2.1. DNP master/client specification Basic specification of DNP master/client functions is shown in Table 5.

Table 5. Basic specification of DNP master/client functions Item Specification Accessible objects Binary Input (1)

Double-bit (3) Binary Output (10) Counter (20) Analog Input (30) Analog Output (40) Class (60)

Configurable destinations Max. 10 units

Configurable commands Max. 100 commands

Period of integrity poll Configurable within 1 to 3600 [s]

Period of event poll Configurable within 1 to 3600 [s]

Using unsolicited message Configurable per destination (OFF, ON)

Available datalink Serial (RS-232, 422/485), Ethernet (TCP/IP)

Supported commands Read Select Operate Direct Operate Direct Operate NR Write Enable Unsolicited Disable Unsolicited

Page 13: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 13/131 - IM MW100-S16E-1 Ed01

2.2.2. Enabling DNP master/client functions To use DNP master/client functions of MW100, user should enable these functions at first. Required steps to enable DNP master/client functions are shown in Figure 4 and Figure 5. About the detail of the configuration, refer the explanation of Table 6 and Table 7.

Figure 4. Required steps to enable DNP master function

[step 3] enable the master function

[step 1] select the function (driver)

[step 2] configure the master DNP address

Screen of serial communication setting

Screen of DNP 3.0 master setting 1

Page 14: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 14/131 - IM MW100-S16E-1 Ed01

Figure 5. Required steps to enable DNP client function

[step 2] enable the client function

[step 1] configure the client DNP address

Screen of DNP 3.0 client setting 1

Screen of DNP 3.0 communication setting 1

Page 15: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 15/131 - IM MW100-S16E-1 Ed01

Table 6. Parameters for enabling DNP master function

Kind Configuration Function Choice of serial function (driver)

- select ”DNP 3.0 Master” 2

Address DNP address of DNP master function - configurable within 0 to 65519

Master Function

Enabling switch of DNP mater function - toggle switch to Enable or not

Table 7. Parameters for enabling DNP client function Kind Configuration Client DNP address of the DNP client function

- configurable within 0 to 65519

Client Function

Enabling switch of DNP client function - toggle switch to Enable or not

2 If user choose other functions except for DNP 3.0 Master, DNP master function will be stopped.

Page 16: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 16/131 - IM MW100-S16E-1 Ed01

2.2.3. Configuration of destination of DNP master/client To use DNP master/client functions of MW100, user should configure the destination address and behavior of the communication. Items for configuring the destination and behavior of DNP master/client functions are shown in Table 8. About the detail of the configuration, refer the explanation of the pages showed in the table.

Table 8. Items for configuring destination and behavior of DNP master/client Item PageConfiguration of destination address

P. 17

Configuration of polling period and action

P. 20

Configuration of unsolicited message

P. 23

Page 17: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 17/131 - IM MW100-S16E-1 Ed01

2.2.3.1. Configuration of destination address Screens for configuring destination address of DNP master/client functions are shown in Figure 6 and Figure 7. When the address field is left to be blank, function of the row is disabled. About the detail of the configuration, refer the explanation of Table 9.

Figure 6. Configuration of destination address for DNP master

Destination address

Screen of DNP 3.0 master setting 2

Page 18: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 18/131 - IM MW100-S16E-1 Ed01

Figure 7. Configuration of destination address for DNP client

Destination address Destination IP address and port

Screen DNP 30. client setting 2

Page 19: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 19/131 - IM MW100-S16E-1 Ed01

Table 9. Parameters for configuring destination address of DNP master/client

Kind Configuration Address DNP address of the DNP slave/server

- In case of blank, function is disabled - configurable within 0 to 65519

Server IP address of the DNP server - configurable within 0.0.0.0 to 255.255.255.255

Port Service port of the DNP server - configurable within 1 to 65535 3

3 Well-known ports for DNP 3.0 protocol are 20000/tcp and udp.

Page 20: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 20/131 - IM MW100-S16E-1 Ed01

2.2.3.2. Configuration of polling period and action Screens for configuring polling period and action of DNP master/client functions are shown in Figure 8 and Figure 9. In case the integrity or event poll is not needed, turn off the polling action. About the detail of the configuration, refer the explanation of Table 10.

Figure 8. Configuration of polling period and action for DNP master

Polling period

Polling action

Screen of DNP 3.0 master setting 1

Screen of DNP 3.0 master setting 2

Page 21: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 21/131 - IM MW100-S16E-1 Ed01

Figure 9. Configuration of polling period and action for DNP client

Polling period

Polling action

Screen of DNP 3.0 client setting 1

Screen of DNP 3.0 client setting 2

Page 22: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 22/131 - IM MW100-S16E-1 Ed01

Table 10. Parameters for configuring polling period and action

Kind Configuration Integrity Poll Period and publishing commands for polling static data

- period is configurable within 1 to 3600 [s] - class read : - selectable from “Off”, “Class 0”, “Class 0, 1, 2, 3” - command publishing : - Max. 100 entries

Event Poll Period and publishing commands for polling event data - period is configurable within 1 to 3600 [s] - class read - selectable from “Off”, “Class 1, 2, 3”, “Class 0, 1, 2,3”

Response Timeout

Limit of waiting time for the response corresponding to the command - configurable within 1 to 60 [s] - When response is not received over the limit, DNP master/client will send the next command.

Page 23: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 23/131 - IM MW100-S16E-1 Ed01

2.2.3.3. Configuration of unsolicited message Screens for configuring unsolicited message of DNP master/client functions are shown in Figure 10 and Figure 11. When these switches are enabled, DNP master/client functions will ask DNP slave/servers to enable unsolicited message with publishing Enable/Disable Unsolicited command. About the detail of the configuration, refer the explanation of Table 11.

Figure 10. Configuration of unsolicited message for DNP master

Switch for unsolicited message

Screen of DNP 3.0 master setting 2

Page 24: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 24/131 - IM MW100-S16E-1 Ed01

Figure 11. Configuration of unsolicited message for DNP client

Switch for unsolicited message

Screen of DNP 3.0 client setting 2

Page 25: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 25/131 - IM MW100-S16E-1 Ed01

Table 11. Parameter for enabling unsolicited message

Kind Configuration Unsolicited

Enabling switch for requesting unsolicited message - selectable from "Enable" or "Disable"

Page 26: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 26/131 - IM MW100-S16E-1 Ed01

2.2.4. Configuration of command table of DNP master/client To use DNP master/client functions of MW100, user should configure the command table which describes the mapping information between DNP objects and MW100 channels. Screens for configuring command table of DNP master/client functions are shown in Figure 12 and Figure 13. About the detail of the configuration, refer the explanation of Table 12.

Figure 12. Configuration of command table of DNP master

Screen of DNP master setting 3

Command setting table

Page 27: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 27/131 - IM MW100-S16E-1 Ed01

Figure 13. Configuration of command table of DNP client

Screen of DNP 3.0 client setting 3

Command setting table

Page 28: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 28/131 - IM MW100-S16E-1 Ed01

Table 12. Parameters for configuring mapping information

Kind Configuration Function Publishing function codes for accessing DNP objects

- selectable from “Off”, “Poll”, “Read”, “Select + Operate”, “Direct Operate”, “Direct Operate, NR”

Slave / Server Table number of the destination - selectable from "01" to "10"

Object Group Group number of the DNP object in the target - configurable within 0 to 255

Object Variation Variation number of the DNP object in the target - configurable within 0 to 255

Object Index Index number of the DNP object in the target - configurable within 0 to 65535

Channel Top Top channel of MW100 which exchange data with DNP objects - selectable within 001 to 060, A001 to A300 or C001 to C300

Channel Count Channel count of MW100 which exchange data with DNP objects - configurable within : 1 to 60 when 001 to 060 is set to top channel, 1 to 300 when 'A' or 'C' channel is set to top channel

Page 29: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 29/131 - IM MW100-S16E-1 Ed01

2.2.4.1. Behavior of Poll function When Poll function is specified in the function field, DNP master/client functions search responses from the slave and pick up only objects which have specific group number and index. After that they store the data into the specified MW100 channels. 4

Figure 14. Behavior of Poll function

4 When Poll function is specified, DNP master/client does not publish DNP message.

Response

IED (Slave)

MW100 (Master)

IED (Slave)

Destination and object Index and channel number

Screen of DNP 3.0 master setting 3

- DNP message is not published.

- Pick up and store only the data specified.

Page 30: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 30/131 - IM MW100-S16E-1 Ed01

Polling objects and the setting of group number field in command table of DNP master/client functions are shown in Table 13.

Table 13. Polling objects and setting of group number Object Group Purpose Binary Input (1) Binary Input Event (2)

1 Polling static and event data of Binary Input objects

Double-bit (3) Double-bit Event (4)

3 Polling static and event data of Double-bit objects

Binary Output (10) Binary Output Event (11)

10 Polling static and event data of Binary Output objects

Counter (20) Counter Event (22)

20 Polling static and event data of Counter objects

Analog Input (30) Analog Input Event (32)

30 Polling static and event data of Analog Input objects

Analog Output (40) Analog Output Event (42)

40 Polling static and event data of Analog Output objects

Page 31: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 31/131 - IM MW100-S16E-1 Ed01

2.2.4.2. Behavior of Read function When Read function is specified in the function field, DNP master/client functions will publish Read message to the slave. Following behavior will be the same as Poll function.

Figure 15. Behavior of Read function

Response

IED (Slave)

MW100 (Master)

IED (Slave)

Destination and object Index and channel number

Screen of DNP 3.0 master setting 3

・Read message is published.

・Pick up and store only the data specified.

Command

Page 32: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 32/131 - IM MW100-S16E-1 Ed01

2.2.4.3. Behavior of Operate function When one of Select + Operate, Direct Operate, Direct Operate NA is specified in the function field, DNP master/client will publish Select, Operate messages to the slave.

Figure 16. Behavior of Operate function

Response

IED (Slave)

MW100 (Master)

IED (Slave)

Destination and object Index and channel number

Screen of DNP 3.0 master setting 3

・Select, Operate messages are published.

・Store the writing data into the messages

Command

Page 33: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 33/131 - IM MW100-S16E-1 Ed01

Operating objects and the setting of group number field in command table of DNP master/client functions are shown in Table 14.

Table 14. Operating objects and setting of group number Object Group Purpose Binary Output Command (12)

12 Operating data of Binary Output objects

Analog Output Command(41)

41 Operating data of Analog Output objects

Page 34: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 34/131 - IM MW100-S16E-1 Ed01

2.3. DNP slave/server function DNP slave/server functions enable to exchange data between MW100 and SCADAs with DNP protocol. Accessible objects with DNP slave/server functions are Binary Input, Binary Output, Analog Input, Analog Output objects only.

Figure 17. DNP slave/server functions

MW100 (Slave)

SCADA (Master)

IED (Slave)

RS-232, 422, 485

I/O channel (Max. 60)

Math channel (Max. 300)

Comm. Input channel (Max. 300)

MW100 (Server)

SCADA (Client)

IED (Server)

Ethernet

I/O channel (Max. 60)

Math channel (Max. 300)

Comm. Input channel (Max. 300)

Command / Response Command / Response

Page 35: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 35/131 - IM MW100-S16E-1 Ed01

Framework of data mapping between DNP objects and MW100 channels in DNP slave/server functions is shown in Figure 24 and Table 15. In MW100, index number assigned to each channel is fixed regardless of the destination object types.

Figure 18. Data mapping between DNP objects and MW100 channels

Binary Input (1),

Analog Input (30),

0 to 59

0 to 59

Binary Input (1),

Analog Input (30),

1000 to 1299

Binary Output (10),

Analog Output (40),

2000 to 2299

2000 to 2299

1000 to 1299

I/O channel (001 to 060)

Math channel (A001 to A300)

Comm. Input channel (C001 ~ C300)

I/O

Compute

DNP objects

(MATH)

Binary Output (10),

Analog Output (40),

0 to 59

0 to 59

MW100 channels

Page 36: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 36/131 - IM MW100-S16E-1 Ed01

Table 15. Data mapping between DNP objects and MW100 channels

Channel Index Object Attribute Binary Input Analog Input

Read only I/O channel (001 to 060) 0 to 59

Binary Output Analog Output

Writable

Math channel (A001 to A300) 1000 to 1299 Binary Input Analog Input

Read only

Comm. Input channel (C001 to C300) 2000 to 2299 Binary Output Analog Output

Writable

Page 37: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 37/131 - IM MW100-S16E-1 Ed01

2.3.1. DNP slave/server specification Basic specification of DNP slave/server functions is shown in Table 16.

Table 16. Basic specification of DNP slave/server functions Item Specification Implemented objects Binary Input (1)

Binary Output (10) Analog Input (30) Analog Output (40) Time (50) Class (60) Device (80)

Available datalink Serial (RS-232, 422/485), Ethernet (TCP/IP, UDP/IP)

Accessible device Max. 10 units

Permission of unsolicited msg. Configurable as a whole (OFF, ON)

Time synchronization Not supported

Page 38: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 38/131 - IM MW100-S16E-1 Ed01

2.3.2. Enabling DNP slave/server functions To use DNP slave/server functions of MW100, user should enable these functions at first. Required steps to enable DNP Slave/server functions are shown in Figure 19 and Figure 20. About the detail of the configuration, refer the explanation of Table 17 and Table 18.

Figure 19. Required steps to enable DNP slave function

[step 1] select the function (driver)

[step 2] configure the slave DNP address

Screen of serial communication setting

Page 39: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 39/131 - IM MW100-S16E-1 Ed01

Figure 20. Required steps to enable DNP server function

Screen of server setting

[step 2] enable server function

[step 1] configure the server DNP address

Screen of DNP 3.0 communication setting 1

Page 40: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 40/131 - IM MW100-S16E-1 Ed01

Table 17. Parameters for enabling DNP slave function

Kind Configuration Function Choice of serial function (driver)

- select ”DNP 3.0 Slave” 5

Address DNP address of DNP slave function - configurable within 0 to 65519

Table 18. Parameters for enabling DNP server function Kind Configuration Server DNP address of the DNP server function

- configurable within 0 to 65519

TCP Keep Alive Period of TCP keep alive - ignored (not used at DNP server)

Application Timeout

Application service timeout - ignored (not used at DNP server)

Action Enabling switch of server function - selectable from ”On”, “Off”

Port Service port of the server - configurable within 1 to 65535 6

5 If user choose other functions except for DNP DNP 3.0 Slave, DNP slave function will be stopped. 6 Well-known ports for DNP 3.0 protocol are 20000/tcp and udp.

Page 41: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 41/131 - IM MW100-S16E-1 Ed01

2.3.3. Configuration of destination of DNP slave/server To use DNP slave/server functions of MW100, user should configure the destination address and behavior of the communication. Items for configuring the destination and behavior of DNP slave/server functions are shown in Table 19. About the detail of the configuration, refer the explanation of the pages shown in the table.

Table 19. Items for configuring destination and behavior of DNP slave/server Item PagePermission of unsolicited message

P. 42

Configuration of destination address

P. 44

Page 42: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 42/131 - IM MW100-S16E-1 Ed01

2.3.3.1. Permission of unsolicited message Screen for permitting unsolicited message to DNP slave/server functions is shown in Figure 21. When this switch is enabled, DNP slave/server functions will accept Enable/Disable Unsolicited command from DNP master/clients. About the detail of the configuration, refer the explanation of Table 20.

Figure 21. Permission of unsolicited message in DNP slave/server

Screen of DNP 3.0 communication setting 1

Switch for unsolicited message

Page 43: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 43/131 - IM MW100-S16E-1 Ed01

Table 20. Parameter for permitting unsolicited message

Kind Configuration Unsolicited Message

Enabling switch for permitting unsolicited message - toggle switch to "Enable" or not

Page 44: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 44/131 - IM MW100-S16E-1 Ed01

2.3.3.2. Configuration of destination address Screens for configuring destination address of DNP slave/server functions are shown in Figure 22 and Figure 23. When the address field is left to be blank, function of the row is disabled. About the detail of the configuration, refer the explanation of Table 21.

Figure 22. Configuration of destination address for DNP slave

Destination address

Screen of DNP 3.0 slave setting

Page 45: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 45/131 - IM MW100-S16E-1 Ed01

Figure 23. Configuration of destination address for DNP server

Destination address Destination IP address and port

Screen of DNP 3.0 server setting

Page 46: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 46/131 - IM MW100-S16E-1 Ed01

Table 21. Parameters for configuring destination address of DNP slave/server

Kind Configuration Address DNP address of the DNP master/client

- In case of blank, function is disabled - configurable within 0 to 65519

Client IP address of the DNP client - configurable within 0.0.0.0 to 255.255.255.255

Port Service port of the DNP client - configurable within 1 to 65535 7

7 Well-known ports for DNP 3.0 protocol are 20000/tcp and udp.

Page 47: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 47/131 - IM MW100-S16E-1 Ed01

2.3.4. Configuration of object table of DNP slave/server To use DNP slave/server functions of MW100, user should configure the object table which describes the mapping information between DNP objects and MW100 channels. Data mapping between DNP objects and MW100 channels are shown in Figure 24. In MW100, index number assigned to each channel is fixed regardless of the destination object types.

Figure 24. Data Mapping between DNP objects and MW100 channels

Binary Input (1),

Analog Input (30),

0 to 59

0 to 59

Binary Input (1),

Analog Input (30),

1000 to 1299

Binary Output (10),

Analog Output (40),

2000 to 2299

2000 to 2299

1000 to 1299

I/O channel (001 to 060)

Math channel (A001 to A300)

Comm. Input channel (C001 to C300)

I/O

Compute

DNP objects

(MATH)

Binary Output (10),

Analog Output (40),

0 to 59

0 to 59

MW100 channels

Page 48: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 48/131 - IM MW100-S16E-1 Ed01

Screen for configuring object table of DNP slave/server functions is shown in Figure 25. About the detail of the configuration, refer the explanation of Table 22.

Figure 25. Configuration of object table of DNP slave/server

Range of mapping channel Event class and default variation

Screen of DNP 3.0 object setting

Page 49: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 49/131 - IM MW100-S16E-1 Ed01

Table 22. Parameters for configuring object table

Kind Configuration Channel Top Top channel of MW100 which show data with DNP objects

- selectable within 001 to 060, A001 to A300 or C001 to C300

Channel Count Channel count of MW100 which show data with DNP objects - configurable within : 1 to 60 when 001 to 060 is set to top channel, 1 to 300 when 'A' or 'C' channel is set to top channel

Event Class Event class assigned to the DNP objects - selectable from ”None”, “Class 1”, “Class 2”, “Class 3”

Default Variation Default variation to reply to the request with variation 0 - In case of Binary Input, Binary Output objects, selectable from : - 1 (Packed Bit) - 2 (Flag) - In case of Analog Input objects, selectable from : - 1 (Int 32 with Flag) - 2 (Int 16 with Flag) - 3 (Int 32) - 4 (Int 16) - 5 (Short Float with Flag) - 6 (Long Float with Flag) - In case of Analog Output objects, selectable from : - 1 (Int 32 with Flag) - 2 (Int 16 with Flag) - 3 (Short Float with Flag) - 4 (Long Float with Flag)

Page 50: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 50/131 - IM MW100-S16E-1 Ed01

Example of the object table configuration is shown in Figure 26. Only the mapped channel data in this table become accessible from DNP master/client.

Figure 26. Example of object table configuration

Analog Input

(30)

Analog Input Event

(32)

Class 1 Event

Class 2 Event

Class 3 Event

- Only three channels begin from 011 are mapped to the object

- Exception occurred in the object are reported as Class 1 event

- Default variation of the object data is 1 (Integer 32)

- Destination is Analog Input (30) and their indices are 10 to 12

CH 001

Screen of DNP 3.0 object setting

CH 010

CH 011

CH 012

CH 013

CH 014

CH 060

0

9

10

11

12

13

59

Page 51: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 51/131 - IM MW100-S16E-1 Ed01

2.3.4.1. Configuration of data variation In MW100, variations of static / event data are configurable. Screens for configuring data variation are shown in Figure 27. About the detail of the configuration, refer the explanation of Table 23.

Figure 27. Configuration of data variation

Screen of DNP 3.0 object setting

Screen of DNP 3.0 communication setting 1

Default variation

Switch for timestamp

Page 52: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 52/131 - IM MW100-S16E-1 Ed01

Table 23. Parameters for configuring data variation

Kind Configuration Default Variation Default variation to reply to the request with variation 0

- In case of Binary Input, Binary Output objects, selectable from : - 1 (Packed Bit) - 2 (Flag) - In case of Analog Input objects, selectable from : - 1 (Int 32 with Flag) - 2 (Int 16 with Flag) - 3 (Int 32) - 4 (Int 16) - 5 (Short Float with Flag) - 6 (Long Float with Flag) - In case of Analog Output objects, selectable from : - 1 (Int 32 with Flag) - 2 (Int 16 with Flag) - 3 (Short Float with Flag) - 4 (Long Float with Flag)

Timestamp Enabling switch for putting timestamp into event data - toggle switch to "Put" or not

Relative Time Enabling switch for using relative time as timestamp - toggle switch to "use" or not

Page 53: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 53/131 - IM MW100-S16E-1 Ed01

Responded variations to static polls are shown in Table 24. When static data are read with variation zero, DNP slave/server functions will respond with default variation set in the object table.

Table 24. Responded variations to static data poll Object Requested

variation Put time stamp

Use relative time

Responded variation

Binary Input (1) 0 (zero) - - Default variation

none-0 - - Requested variation

Binary Output (10) 0 (zero) - - Default variation

none-0 - - Requested variation

Analog Input(30) 0 (zero) - - Default variation

none-0 - - Requested variation

Analog Output (40) 0 (zero) - - Default variation

none-0 - - Requested variation

'-' shows don't care

Page 54: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 54/131 - IM MW100-S16E-1 Ed01

Responded variations to event polls are shown in Table 25. When event data are read with variation zero, DNP slave/server functions will respond with the same data type to the default variation with putting timestamp information as needed.

Table 25. Responded variations to event poll 8 Object requested

variation default variation

Put time stamp

Use relative time

Responded variation

Binary Input Event (2) 0 (zero) - No - 1 Yes No 2 Yes 3 none-0 - - - Requested

variation Binary Output Event (11) 0 (zero) - No - 1 Yes - 2 none-0 - - - Requested

variation Analog Input Event (32) 0 (zero) 1, 3 No - 1 Yes - 3 2, 4 No - 2 Yes - 4 5 No - 5 Yes - 7 6 No - 6 Yes - 8 none-0 - - - Requested

variation Analog Output Event (42) 0 (zero) 1 No - 1 Yes - 3 2 No - 2 Yes - 4 3 No - 5 Yes - 7 4 No - 6 Yes - 8 none-0 - - - Requested

variation '-' shows don't care

8 When objects are read via Class object, responded variation will be the same like as read with variation 0.

Page 55: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 55/131 - IM MW100-S16E-1 Ed01

2.4. DNP configuration screens DNP communication functions are configurable using Web service of MW100. Web service can be used with putting address of the MW100 into URL of Web browser.

Figure 28. Configuration of MW 100 with Web browser (Top screen)

MW100 Ethernet

Web Service

Communication setting

Page 56: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 56/131 - IM MW100-S16E-1 Ed01

Anchor points to configuration screens for DNP communication functions are shown in Figure 29.

Figure 29. Communication setting screen

IP address setting Serial communication setting

DNP communication

Server setting

function settings

Page 57: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 57/131 - IM MW100-S16E-1 Ed01

Configuration screens related with DNP master, slave, client and server function are shown in Table 26. About the detail of the configuration, refer the explanation of the pages shown in the table.

Table 26. Configuration screens related with each DNP communication function DNP master DNP slave DNP server DNP client

DNP master setting

P. 75

DNP slave setting

P. 69

DNP server setting

P. 71

DNP client setting

P. 81

DNP object setting

P. 73

DNP communication setting

P. 64

Server setting

P. 62

Serial communication setting

P. 58

IP address setting

P. 60

Page 58: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 58/131 - IM MW100-S16E-1 Ed01

2.4.1. Serial communication setting screen Serial communication setting screen is shown in Figure 30. About the detail of the configuration, refer the explanation of Table 27.

Figure 30. Serial communication setting screen

Page 59: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 59/131 - IM MW100-S16E-1 Ed01

Table 27. Parameters for configuring serial communication

Kind Configuration Function Choice of serial function (driver)

- selectable from ”DNP 3.0 Master”, “DNP 3.0 Slave” 9

Address DNP address of DNP master/slave function - configurable within 0 to 65519

Baud Rate Baud rate of serial communication [bps] - selectable from ”1200”, “4800”, “9600”, “19200”, “38400”, “57600”, “115200”

Parity Bit Parity bits setting - selectable from ”None”, “Odd”, “Even”

Stop Bit Stop bits setting - selectable from "1", "2"

Data Length Bit size of character data - fixed to 8 bits

Handshake Handshake - fixed to off:off

9 If user choose other functions except for "DNP 3.0 Master" or "DNP 3.0 Slave", DNP master or slave function will be stopped.

Page 60: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 60/131 - IM MW100-S16E-1 Ed01

2.4.2. IP address setting screen IP address setting screen is shown in Figure 31. About the detail of the configuration, refer the explanation of Table 28.

Figure 31. IP address setting screen

Page 61: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 61/131 - IM MW100-S16E-1 Ed01

Table 28. Parameters for configuring IP address

Kind Configuration Host Name Host name of MW100

- ignored (not used at DNP client/server)

Domain Name Domain name of MW100 - ignored (not used at DNP client/server)

IP Address IP address of MW 100 - configurable within 0.0.0.0 to 255.255.255.255

Subnet Mask Subnet mask of MW 100 - configurable within 0.0.0.0 to 255.255.255.255

Default Gateway Default gateway of MW 100 - configurable within 0.0.0.0 to 255.255.255.255

DHCP Client Function

Enabling switch of DHCP function - ignored (not used at DNP client/server)

Page 62: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 62/131 - IM MW100-S16E-1 Ed01

2.4.3. Server setting screen Server setting screen is shown in Figure 32. About the detail of the configuration, refer the explanation of Table 29.

Figure 32. Server setting screen

Page 63: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 63/131 - IM MW100-S16E-1 Ed01

Table 29. Parameters for configuring server function

Kind Configuration TCP Keep Alive Period of TCP keep alive

- ignored (not used at DNP server)

Application Timeout

Application service timeout - ignored (not used at DNP server)

Action Enabling switch of server function - selectable from ”On”, “Off”

Port Service port of the server - configurable within 1 to 65535 10

10 Well-known ports for DNP 3.0 protocol are 20000/tcp and udp.

Page 64: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 64/131 - IM MW100-S16E-1 Ed01

2.4.4. DNP communication setting screens 2.4.4.1. DNP communication setting screen for application service DNP communication setting screen for application service is shown in Figure 33. About the detail of the configuration, refer the explanation of Table 30.

Figure 33. DNP communication setting screen for application service

Page 65: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 65/131 - IM MW100-S16E-1 Ed01

Table 30. Parameters for configuring DNP application service

Kind Configuration Client DNP address of the DNP client function

- configurable within 0 to 65519

Server DNP address of the DNP server function - configurable within 0 to 65519

Unsolicited Message

Enabling switch for permitting unsolicited message at DNP slave/server - toggle switch to "Enable" or not

Timestamp Enabling switch for putting timestamp into event data at DNP slave/server - toggle switch to "Put" or not

Relative Time Enabling switch for using relative time as timestamp at DNP slave/server - toggle switch to "use" or not

Select Time Holding time of Select message at DNP slave/server - configured within 1 to 60 [s]

Event Buffer Size Event buffer size prepared to each object in the object table - configurable within 1 to 100

Delay Time Delay time from event happening to reporting - configurable within 0 to 60 [s]

Event Count Maximum event count contained into a single unsolicited message - configurable within 1 to 100

Analog Deadband Deadband applied to Analog Input and Analog Output objects - configurable within 1 to 10000

Page 66: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 66/131 - IM MW100-S16E-1 Ed01

2.4.4.2. DNP communication setting screen for protocol stack behavior DNP communication setting screen for protocol stack behavior is shown in Figure 34. About the detail of the configuration, refer the explanation of Table 31 and Table 32.

Figure 34. DNP communication setting for protocol stack behavior

Page 67: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 67/131 - IM MW100-S16E-1 Ed01

Table 31. Parameters for configuring DNP protocol stack behavior (1/2)

Kind Configuration Application Confirmation

Behavior of application layer confirmation - selectable from ”Never”, “Always”, “Sometimes” - Never : Never require confirmation - Always : Always require confirmation - Sometimes : Require confirmation only when multi-fragment is sent

Application Timeout

Limit of waiting time for application layer confirmation - configurable within 1 to 60 - When confirmation is not received over the limit, DNP slave/server will retry to send the fragment

Application Retry Count

Maximum count to re-send the fragment - configurable within -1 to 5 - In case of -1, DNP slave/server will retry sending until the message is confirmed - When confirmation is not received over the count, DNP slave/server will discard the fragment

Application Fragment Size

Maximum size of sending fragment - configurable within 200 to 8192 [byte]

Page 68: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 68/131 - IM MW100-S16E-1 Ed01

Table 32. Parameters for configuring DNP protocol stack behavior (2/2)

Kind Configuration Datalink Confirmation

Behavior of datalink layer confirmation - selectable from ”Never”, “Always”, “Sometimes” - Never : Never require confirmation - Always : Always require confirmation - Sometimes : Require confirmation only when multi-frame is sent

Datalink Timeout

Limit of waiting time for datalink confirmation - configurable within 1 to 60 - When confirmation is not received over the limit, DNP slave/server will retry to send the frame

Datalink Retry Count

Maximum retry count - configurable within 0 to 5 - When confirmation is not received over the count, DNP slave/server will discard the frame

Datalink Keep Alive Time

Period to send Request Link Status frame to check link status - configurable within 0 to 3600 [s] - In case of 0, DNP slave/server won't check link status

Page 69: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 69/131 - IM MW100-S16E-1 Ed01

2.4.5. DNP slave setting screen DNP slave setting screen is shown in Figure 35. About the detail of the configuration, refer the explanation of Table 33.

Figure 35. DNP slave setting screen

Page 70: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 70/131 - IM MW100-S16E-1 Ed01

Table 33. Parameter for configuring destination address of DNP slave

Kind Configuration Address DNP address of the DNP master

- In case of blank, function is disabled - configurable within 0 to 65519

Page 71: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 71/131 - IM MW100-S16E-1 Ed01

2.4.6. DNP server setting screen DNP server setting screen is shown in Figure 36. About the detail of the configuration, refer the explanation of Table 34.

Figure 36. DNP server setting screen

Page 72: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 72/131 - IM MW100-S16E-1 Ed01

Table 34. Parameters for configuring destination address of DNP server

Kind Configuration Address DNP address of the DNP client

- In case of blank, function is disabled - configurable within 0 to 65519

Client IP address of the DNP client - configurable within 0.0.0.0 to 255.255.255.255

Port Service port of the DNP client - configurable within 1 to 65535 11

11 Well-known ports for DNP 3.0 protocol are 20000/tcp and udp.

Page 73: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 73/131 - IM MW100-S16E-1 Ed01

2.4.7. DNP object setting screen DNP object setting screen is shown in Figure 37. About the detail of the configuration, refer the explanation of Table 35.

Figure 37. DNP object setting screen

Page 74: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 74/131 - IM MW100-S16E-1 Ed01

Table 35. Parameters for configuring object table

Kind Configuration Channel Top Top channel of MW100 which show data with DNP objects

- selectable within 001 to 060, A001 to A300 or C001 to C300

Channel Count Channel count of MW100 which show data with DNP objects - configurable within : 1 to 60 when 001 to 060 is set to top channel, 1 to 300 when 'A' or 'C' channel is set to top channel

Event Class Event class assigned to the DNP objects - selectable from ”None”, “Class 1”, “Class 2”, “Class 3”

Default Variation Default variation to reply to the request with variation 0 - In case of Binary Input, Binary Output objects, selectable from : - 1 (Packed Bit) - 2 (Flag) - In case of Analog Input objects, selectable from : - 1 (Int 32 with Flag) - 2 (Int 16 with Flag) - 3 (Int 32) - 4 (Int 16) - 5 (Short Float with Flag) - 6 (Long Float with Flag) - In case of Analog Output objects, selectable from : - 1 (Int 32 with Flag) - 2 (Int 16 with Flag) - 3 (Short Float with Flag) - 4 (Long Float with Flag)

Page 75: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 75/131 - IM MW100-S16E-1 Ed01

2.4.8. DNP master setting screens 2.4.8.1. DNP master setting screen for polling period DNP master setting screen for polling period is shown in Figure 38. About the detail of the configuration, refer the explanation of Table 36.

Figure 38. DNP master setting screen for polling period

Page 76: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 76/131 - IM MW100-S16E-1 Ed01

Table 36. Parameters for configuring polling period of DNP master

Kind Configuration Master Function

Enabling switch of DNP mater function - toggle switch to Enable or not

Integrity Poll

Period for polling static data - configurable within 1 to 3600 [s]

Event Poll

Period for polling event data - configurable within 1 to 3600 [s]

Response Timeout

Limit of waiting time for the response corresponding to the command - configurable within 1 to 60 [s] - When response is not received over the limit, DNP master will send the next command.

Page 77: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 77/131 - IM MW100-S16E-1 Ed01

2.4.8.2. DNP master setting screen for polling action DNP master setting screen for polling action is shown in Figure 39. About the detail of the configuration, refer the explanation of Table 37.

Figure 39. DNP master setting screen for polling action

Page 78: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 78/131 - IM MW100-S16E-1 Ed01

Table 37. Parameters for configuring polling action of DNP master

Kind Configuration Address DNP address of the DNP slave

- In case of blank, function is disabled - configurable within 0 to 65519

Integrity Poll Publishing commands for polling static data - selectable from “Off”, “Class 0”, “Class 0, 1, 2, 3”

Event Poll Publishing commands for polling event data - selectable from “Off”, “Class 1, 2, 3”, “Class 0, 1, 2,3”

Unsolicited

Enabling switch for requesting unsolicited message - selectable from "Enable" or "Disable"

Page 79: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 79/131 - IM MW100-S16E-1 Ed01

2.4.8.3. DNP master setting screen for command table DNP master setting screen for command table is shown in Figure 40. About the detail of the configuration, refer the explanation of Table 38.

Figure 40. DNP master setting screen for command table

Page 80: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 80/131 - IM MW100-S16E-1 Ed01

Table 38. Parameter for configuring command table of DNP master

Kind Configuration Function Publishing function codes for accessing DNP objects

- selectable from “Off”, “Poll”, “Read”, “Select + Operate”, “Direct Operate”, “Direct Operate, NR”

Slave Table number of the destination - selectable from "01" to "10"

Object Group Group number of the DNP object in the target - configurable within 0 to 255

Object Variation Variation number of the DNP object in the target - configurable within 0 to 255

Object Index Index number of the DNP object in the target - configurable within 0 to 65535

Channel Top Top channel of MW100 which exchange data with DNP objects - selectable within 001 to 060, A001 to A300 or C001 to C300

Channel Count Channel count of MW100 which exchange data with DNP objects - configurable within : 1 to 60 when 001 to 060 is set to top channel, 1 to 300 when 'A' or 'C' channel is set to top channel

Page 81: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 81/131 - IM MW100-S16E-1 Ed01

2.4.9. DNP client setting screens 2.4.9.1. DNP client setting screen for polling period DNP client setting screen for polling period is shown in Figure 41. About the detail of the configuration, refer the explanation of Table 39.

Figure 41. DNP client setting screen for polling period

Page 82: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 82/131 - IM MW100-S16E-1 Ed01

Table 39. Parameters for configuring polling period of DNP client

Kind Configuration Client Function

Enabling switch of DNP client function - toggle switch to Enable or not

Integrity Poll

Period for polling static data - configurable within 1 to 3600 [s]

Event Poll

Period for polling event data - configurable within 1 to 3600 [s]

Response Timeout

Limit of waiting time for the response corresponding to the command - configurable within 1 to 60 [s] - When response is not received over the limit, DNP client will send the next command.

Page 83: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 83/131 - IM MW100-S16E-1 Ed01

2.4.9.2. DNP client setting screen for polling action DNP client setting screen for polling action is shown in Figure 42. About the detail of the configuration, refer the explanation of Table 40.

Figure 42. DNP client setting screen for polling action

Page 84: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 84/131 - IM MW100-S16E-1 Ed01

Table 40. Parameter for configuring polling action of DNP client

Kind Configuration Address DNP address of the DNP server

- In case of blank, function is disabled - configurable within 0 to 65519

Integrity Poll Publishing commands for polling static data - selectable from “Off”, “Class 0”, “Class 0, 1, 2, 3”

Event Poll Publishing commands for polling event data - selectable from “Off”, “Class 1, 2, 3”, “Class 0, 1, 2,3”

Unsolicited

Enabling switch for requesting unsolicited message - selectable from "Enable" or "Disable"

Server IP address of the DNP server - configurable within 0.0.0.0 to 255.255.255.255

Port Service port of the DNP server - configurable within 1 to 65535 12

12 Well-known ports for DNP 3.0 protocol are 20000/tcp and udp.

Page 85: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 85/131 - IM MW100-S16E-1 Ed01

2.4.9.3. DNP client setting screen for command table DNP client setting screen for command table is shown in Figure 43. About the detail of the configuration, refer the explanation of Table 41.

Figure 43. DNP client setting screen for command table

Page 86: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 86/131 - IM MW100-S16E-1 Ed01

Table 41. Parameters for configuring command table of DNP client

Kind Configuration Function Publishing function codes for accessing DNP objects

- selectable from “Off”, “Poll”, “Read”, “Select + Operate”, “Direct Operate”, “Direct Operate, NR”

Server Table number of the destination - selectable from "01" to "10"

Object Group Group number of the DNP object in the target - configurable within 0 to 255

Object Variation Variation number of the DNP object in the target - configurable within 0 to 255

Object Index Index number of the DNP object in the target - configurable within 0 to 65535

Channel Top Top channel of MW100 which exchange data with DNP objects - selectable within 001 to 060, A001 to A300 or C001 to C300

Channel Count Channel count of MW100 which exchange data with DNP objects - configurable within : 1 to 60 when 001 to 060 is set to top channel, 1 to 300 when 'A' or 'C' channel is set to top channel

Page 87: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 87/131 - IM MW100-S16E-1 Ed01

2.5. DNP configuration commands Extended or added commands to the MW100 specific service (34318/tcp) is shown in Table 42. Current setting of each command can be acquired with query operation, and new settings are accepted only at setting mode and administrator level.

Table 42. Extended or added commands for DNP communication functions Cmd. Function State Query Mode Level PageYS Serial communication setting Ext Ok Set Admin P. 88WS Enabling server function Ext Ok Set Admin P. 88WC Enabling client function Ext Ok Set Admin P. 90 WM DNP master action setting Add Ok Set Admin P. 91WN DNP master destination setting Add Ok Set Admin P. 92WO DNP master command table setting Add Ok Set Admin P. 93 WP DNP client action setting Add Ok Set Admin P. 94WQ DNP client destination setting Add Ok Set Admin P. 95WR DNP client command table setting Add Ok Set Admin P. 96 WU DNP client/server address setting Add Ok Set Admin P. 97 WV DNP slave/server object table setting Add Ok Set Admin P. 98VV DNP slave destination setting Add Ok Set Admin P. 100VW DNP server destination setting Add Ok Set Admin P. 101 WW DNP application service setting Add Ok Set Admin P. 100WX DNP application layer setting Add Ok Set Admin P. 103WY DNP datalink layer setting Add Ok Set Admin P. 104

Page 88: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 88/131 - IM MW100-S16E-1 Ed01

2.5.1. Serial communication setting (YS) This command is used to configure serial communication function. For implementing DNP communication functions, new switches named DNP3_M and DNP3_S are added to p1 parameter for enabling DNP master/slave functions.

- Setting to use device as Modbus or DNP3 master / slave 13

YS p1, p2, p3, p4, p5 p1 : Function (MODBUS_M, MODBUS_S, DNP3_M, DNP3_S) MODBUS_M : Modbus master MODBUS_S : Modbus slave DNP3_M : DNP master DNP3_S : DNP slave p2 : Address (Modbus : 1 to 247, DNP : 0 to 65519) p3 : Baud rate [bps] (1200, 2400, 4800, 9600, 19200, 38400,

57600, 115200) p4 : Parity bits (NONE, EVEN, ODD) NONE : No parity EVEN : Even parity ODD : Odd parity p5 : Stop bits (1, 2) 1 : 1 [bit] 2 : 2 [bit]

- Query

YS ?

13 Unless DNP option is specified, DNP3_M, DNP3_S can't be selected.

Page 89: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 89/131 - IM MW100-S16E-1 Ed01

2.5.2. Enabling server function (WS) This command is used to enable server functions. For implementing DNP communication functions, new switch named DNP3 is added to p1 parameter for enabling DNP server functions.

- Setting

WS p1, p2 p1 : Kind of server (MODBUS, FTP, HTTP, SNTP, GENE, DIAG, DNP3) 14 MODBUS : Modbus server FTP : FTP server HTTP : HTTP server SNTP : SNTP server GENE : MW100 specific server DIAG : Maintenance server DNP3 : DNP server p2 : Enabling switch (OFF, ON) OFF : Disable function ON : Enable function p3 : Service port (1 to 65535)

- Query

WS [ p1 ] ?

14 Unless DNP option is specified, DNP3 can't be selected.

Page 90: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 90/131 - IM MW100-S16E-1 Ed01

2.5.3. Enabling client function (WC) This command is used to enable master/client functions, to implement DNP communication functions, new switch named DNP3_M and DNP3_C are added to p1 parameter for enabling DNP master/slave functions.

- Setting

WC p1, p2 p1 : Kind of master/client (DHCP, FTP, SMTP, SNTP, MODBUS_M, MODBUS_C, DNP3_M, DNP3_C) 15 DHCP : DHCP client FTP : FTP client SMTP : SMTP client SNTP : SNTP client MODBUS_M : Modbus master MODBUS_C : Modbus client DNP3_M : DNP3 master DNP3_C : DNP3 client p2 : Enabling switch (OFF, ON) OFF : Disable function ON : Enable function

- Query

WC [ p1 ] ?

15 Unless MATH and DNP option is specified, DNP3_M, DNP3_C can't be selected.

Page 91: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 91/131 - IM MW100-S16E-1 Ed01

2.5.4. DNP master action setting (WM) This command is used to configure action of DNP master. For implementing DNP communication functions, this command is added.

- Setting WM p1, p2, p3 16 p1 : Period of integrity poll [s] (1 to 3600) p2 : Period of event poll [s] (1 to 3600) p3 : Response timeout [s] (1 to 60)

- Query

WM ?

16 Unless MATH and DNP option is specified, command can't be used.

Page 92: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 92/131 - IM MW100-S16E-1 Ed01

2.5.5. DNP master destination setting (WN) This command is used to configure destination of DNP master. For implementing DNP communication functions, this command is added.

- Setting WN p1, p2 (in case p2 is 65520) 17 18 WN p1, p2, p3, p4, p5 (in case p2 is not 65520) p1 : Destination number (01 to 10) p2 : DNP address of DNP slave (0 to 65520) p3 : Publishing command for integrity poll (0 to 15) 0 : None (do nothing) 1 : Read Class 0 15 : Read Class 0, 1, 2, 3 p4 : Publishing command for event poll (0 to 15) 0 : None (do nothing) 14 : Read Class 1, 2, 3 15 : Read Class 0, 1, 2, 3 p5 : Requesting unsolicited message (OFF, ON) OFF : Not request ON : Request

- Query

WN [p1] ?

17 Unless MATH and DNP option is specified, command can't be used. 18 When 65520 is set to p2, entry is disabled.

Page 93: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 93/131 - IM MW100-S16E-1 Ed01

2.5.6. DNP master command table setting (WO) This command is used to configure command table of DNP master. For implementing DNP communication functions, this command is added.

- Setting WO p1, p2 (in case p2 is OFF) 19 WO p1, p2, p3, p4, p5, p6, p7, p8 (in case p2 is not OFF) p1 : Command number (001 to 100) p2 : Function (OFF, POLL, READ, WRITE_SO, WRITE_DO, WRITE_NR) OFF : Off (do nothing) POLL : Poll response only READ : Publish Read request WRITE_SO : Publish Select and Operate request WRITE_DO : Publish Direct Operate request WRITE_NR : Publish Direct Operate, NR request p3 : Destination number (1 to 10) p4 : Accessing object group number (0 to 255) p5 : Accessing object variation number (0 to 255) p6 : Accessing object index number (0 to 65535) p7 : Top channel number to exchange data (001 to 060, A001 to A300, C001 to C300) 20 p8 : Exchanging Data count (0 to 60, 0 to 300) 0 to 60 : in case p7 is 001 to 060 0 to 300 : in case p7 is A001 to A300 or C001 to C300

- Query

WO [p1] ?

19 Unless MATH and DNP option is specified, command can't be used. 20 When POLL or READ is set to p2, A001 to A300 can't be set to p7.

Page 94: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 94/131 - IM MW100-S16E-1 Ed01

2.5.7. DNP client action setting (WP) This command is used to configure action of DNP client. For implementing DNP communication functions, this command is added.

- Setting WP p1, p2, p3 21 p1 : Period of integrity poll [s] (1 to 3600) p2 : Period of event poll [s] (1 to 3600) p3 : Response timeout [s] (1 to 60)

- Query

WP ?

21 Unless MATH and DNP option is specified, command can't be used.

Page 95: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 95/131 - IM MW100-S16E-1 Ed01

2.5.8. DNP client destination setting (WQ) This command is used to configure destination of DNP client. For implementing DNP communication functions, this command is added. WQ p1, p2 (in case p2 is 65520) 22 23 WQ p1, p2, p3, p4, p5, p6, p7 (in case p2 is not 65520) p1 : Destination number (01 to 10) p2 : DNP address of DNP server (0 to 65520) p3 : Publishing command for integrity poll (0 to 15) 0 : None (do nothing) 1 : Read Class 0 15 : Read Class 0, 1, 2, 3 p4 : Publishing command for event poll (0 to 15) 0 : None (do nothing) 14 : Read Class 1, 2, 3 15 : Read Class 0, 1, 2, 3 p5 : Switch to request unsolicited message (OFF, ON) OFF : Not request ON : Request p6 : IP address of DNP server (0.0.0.0 to 255.255.255.255) p7 : Service port of DNP server (1 to 65535)

- Query

WQ [p1] ?

22 Unless MATH and DNP option is specified, command can't be used. 23 When 65520 is set to p2, entry is disabled.

Page 96: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 96/131 - IM MW100-S16E-1 Ed01

2.5.9. DNP client command table setting (WR) This command is used to configure command table of DNP client. For implementing DNP communication functions, this command is added. WR p1, p2 (in case p2 is OFF) 24 WR p1, p2, p3, p4, p5, p6, p7, p8 (in case p2 is not OFF) p1 : Command number (001 to 100) p2 : Function (OFF, POLL, READ, WRITE_SO, WRITE_DO, WRITE_NR) OFF : Off (do nothing) POLL : Poll response only READ : Publish Read request WRITE_SO : Publish Select and Operate request WRITE_DO : Publish Direct Operate request WRITE_NR : Publish Direct Operate, NR request p3 : Destination number (1 to 10) p4 : Accessing object group number (0 to 255) p5 : Accessing object variation number (0 to 255) p6 : Accessing object index number (0 to 65535) p7 : Top channel number to exchange data (001 to 060, A001 to A300, C001 to C300) 25 p8 : Exchanging data count (0 to 60, 0 to 300) 0 to 60 : in case p7 is 001 to 060 0 to 300 : in case p7 is A001 to A300 or C001 to C300

- Query

WR [p1] ?

24 Unless MATH and DNP option is specified, command can't be used. 25 When POLL or READ is set to p2, A001 to A300 can't be set to p7.

Page 97: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 97/131 - IM MW100-S16E-1 Ed01

2.5.10. DNP client/server address setting (WU) This command is used to configure DNP addresses of DNP client/server. For implementing DNP communication functions, this command is added.

- Setting WU p1, p2 26 p1 : DNP address of DNP client (0 to 65519) p2 : DNP address of DNP server (0 to 65519)

- Query

WU ?

26 Unless DNP option is specified, command can't be used.

Page 98: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 98/131 - IM MW100-S16E-1 Ed01

2.5.11. DNP slave/server object table setting (WV) This command is used to configure object table of DNP slave/server. For implementing DNP communication functions, this command is added. WV p1, p2, p3, p4, p5 27 p1 : Object type (IO_B, IO_A, MATH_B, MATH_A, COM_B, COM_A) IO_BI : Binary Input object for I/O channels IO_AI : Analog Input object for I/O channels IO_BO : Binary Output object for I/O channels IO_AO : Analog Output object for I/O channels MATH_BI : Binary Input object for Math channels MATH_AI : Analog Input object for Math channels COM_BO : Binary Output object for Comm. channels COM_AO : Analog Output object for Comm. channels p2 : Top channel number to map (001 to 060, A001 to A300, C001 to C300) 001 to 060 : in case p1 is IO_xx A001 to A300 : in case p1 is MATH_xx C001 to C300 : in case p1 is COM_xx p3 : Mapping data count (0 to 60, 0 to 300) 0 to 60 : in case p2 is 001 to 060 0 to 300 : in case p2 is A001 to A300 or C001 to C300 p4 : Event class (NONE, 1 to 3) NONE : does not generate event 1 to 3 : assign Class 1 to 3

27 Unless DNP option is specified, command can't be used.

Page 99: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 99/131 - IM MW100-S16E-1 Ed01

p5 : Default variation (1 to 6) 1, 2 : in case p1is xx_BI 1, 2 : in case p1 is xx_BO 1 to 6 : in case p1 is xx_AI 1 to 4 : in case p1 is xx_AO

- Query

WV [p1] ?

Page 100: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 100/131 - IM MW100-S16E-1 Ed01

2.5.12. DNP slave destination setting (VV) This command is used to configure destination of DNP slave. For implementing DNP communication functions, this command is added.

- Setting VV p1, p2 28 29 p1 : Destination number (01 to 10) p2 : DNP address of DNP master (0 to 65520)

- Query

VV [p1] ?

28 Unless DNP option is specified, command can't be used. 29 When 65520 is set to p2, entry is disabled.

Page 101: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 101/131 - IM MW100-S16E-1 Ed01

2.5.13. DNP server destination setting (VW) This command is used to configure destination of DNP server. For implementing DNP communication functions, this command is added.

- Setting VW p1, p2 (in case p2 is 65520) 30 31 VW p1, p2, p3, p4 (in case p2 is not 65520) p1 : Destination number (01 to 10) p2 : DNP address of DNP client (0 to 65520) p3 : IP address of DNP client (0.0.0.0 to 255.255.255.255) p4 : Service port of DNP client (1 to 65535)

- Query

VW [p1] ?

30 Unless DNP option is specified, command can't be used. 31 When 65520 is set to p2, entry is disabled.

Page 102: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 102/131 - IM MW100-S16E-1 Ed01

2.5.14. DNP application service setting (WW) This command is used to configure application service of DNP slave/server. For implementing DNP communication functions, this command is added.

- Setting WW p1, p2, p3, p4, p5, p6, p7, p8 32 p1 : Switch to permit unsolicited message (OFF, ON) OFF : Not permit ON : Permit p2 : Switch to put timestamp to event data (OFF, ON) OFF : Not put ON : Put p3 : Switch to use relative time as timestamp (OFF, ON) OFF : Not use ON : Use p4 : Holding time of Select request [s] (1 to 60) p5 : Event buffer size prepared to object (1 to 100) p6 : Delay time from event happening to reporting [s] (0 to 60) p7 : Maximum event count contained into a message (1 to 100) p8 : Dead band of Analog Input, Analog Output objects (0 to 100)

- Query

WW ?

32 Unless DNP option is specified, command can't be used.

Page 103: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 103/131 - IM MW100-S16E-1 Ed01

2.5.15. DNP application layer setting (WX) This command is used to configure behavior of application layer of DNP protocol stack. For implementing DNP communication functions, this command is added.

- Setting WX p1, p2, p3, p4 33 p1 : Application layer confirmation (NEVER, ALWAYS, SOMETIMES) NEVER : Never require confirmation ALWAYS : Always require confirmation SOMETIMES : Require confirmation only when multi-fragment is sent p2 : Timeout to wait for confirmation [s] (1 to 60) p3 : Maximum retry count to send (-1 to 5) 34 p4 : Maximum size of sending fragment [byte] (200 to 8192)

- Query

WX ?

33 Unless DNP option is specified, command can't be used. 34 When -1 is set to p3, DNP slave/server repeat sending until confirmation is received.

Page 104: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 104/131 - IM MW100-S16E-1 Ed01

2.5.16. DNP datalink layer setting (WY) This command is used to configure behavior of datalink layer of DNP protocol stack. For implementing DNP communication functions, this command is added.

- Setting WY p1, p2, p3, p4 35 p1 : datalink layer confirmation (NEVER, ALWAYS, SOMETIMES) NEVER : Never require confirmation ALWAYS : Always require confirmation SOMETIMES : Require confirmation only when multi-frame is sent p2 : Timeout to wait for confirmation [s] (1 to 60) p3 : Maximum retry count to send (0 to 5) p4 : Period to check link status [s] (0 to 3600) 36

- Query

WY ?

35 Unless DNP option is specified, command can't be used. 36 When zero is set to p4, keep alive function is disabled.

Page 105: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 105/131 - IM MW100-S16E-1 Ed01

2.6. DNP log and summary output Added functions to the log and summary output command (FL) are shown in Table 43.

Table 43. Added functions to log and summary output commands Function State PageDNP master log output (FL0, DNP3_M) Add P. 109DNP client log output (FL0, DNP3_C) Add P. 110DNP slave log output (FL0, DNP3_S) Add P. 111DNP server log output (FL0, DNP3_T) Add P. 112 DNP master command status output (FL1, DNP3_MC) Add P. 113DNP master connection status output (FL1, DNP3_MS) Add P. 115DNP client command status output (FL1, DNP3_CC) Add P. 117DNP client connection status output (FL1, DNP3_CS) Add P. 118

Page 106: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 106/131 - IM MW100-S16E-1 Ed01

2.6.1. Log and summary output (FL) This command is used to output log or summary. To implement DNP communication functions, new parameter named DNP3_M, DNP3_C, DNP3_S, DNP3_T and DNP3_MC, DNP3_MS, DNP3_CC, DNP3_CS are added. - Setting to output log FL p1, p2, p3 (in case p1 is 0) p1 : Output type (0) 0 : Output log p2 : Data kind (ERROR, RECORD, ALARM, MESSAGE,

COM, FTPC, MAIL, DHCP, SNTP, FTPS, HTTP, MODBUS_M, MODBUS_C, MODBUS_S, MODBUS_T, MATH, CMD, RECSTATUS, DNP3_M, DNP3_C, DNP3_S, DNP3_T)

ERROR : Operation error log RECORD : Recording log ALARM : Alarm summary MESSAGE : Message summary COM : Communication log FTP_C : FTP client log SMTP : SMTP client log DHCP : DHCP client log SNTP : SNTP client log FTP_S : FTP server log HTTP : HTTP server log MODBUS_M : Modbus master log MODBUS_C : Modbus client log

Page 107: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 107/131 - IM MW100-S16E-1 Ed01

MODBUS_S : Modbus slave log MODBUS_T : Modbus server log MATH : Math computation log CMD : Device operation log RECSTATUS : Recording status DNP3_M : DNP master log DNP3_C : DNP client log DNP3_S : DNP slave log DNP3_T : DNP server log p3 : Maximum number of lines to output (refer Table 44)

Table 44. Maximum number of lines to output Data kind (p2)

Max. number of lines (p3)

Data kind (p2)

Max. number of lines (p3)

ERROR 1 to 50 MODBUS_M 1 to 50 MEDIA 1 to 1024 MODBUS_C 1 to 50 ALARM 1 to 256 MODBUS_S 1 to 50 MESSAGE 1 to 50 MODBUS_T 1 to 50 COM 1 to 200 MATH 1 FTPC 1 to 50 CMD 1 to 256 SMTP 1 to 50 RECSTATUS 1 DHCP 1 to 50 DNP3_M 1 to 50 SNTP 1 to 50 DNP3_C 1 to 50 FTPS 1 to 50 DNP3_S 1 to 50 HTTP 1 to 50 DNP3_T 1 to 50

Page 108: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 108/131 - IM MW100-S16E-1 Ed01

- Setting to output summary FL p1, p2, p3, p4 (in case p1 is 1) p1 : Output type (1) 1 : Output summary p2 : Data kind (MODBUS_MC, MODBUS_MS, MODBUS_CC, MODBUS_CS, DNP3_MC, DNP3_MS, DNP3_CC, DNP3_CS) MODBUS_MC : Modbus master command status MODBUS_MS : Modbus master connection status MODBUS_CC : Modbus client command status MODBUS_CS : Modbus client connection status BALANCE : Results of initial balancing of strain inputs DNP3_MC : DNP master command status DNP3_MS : DNP master connection status DNP3_CC : DNP client command status DNP3_CS : DNP client connection status p3 : First data number (refer Table 45) p4 : Last data number (refer Table 45)

Table 45. Data kind and data number Data kind (p2)

Data number (p3, p4)

MODBUS_MC 1 to 100 MODBUS_MS 1 to 247 MODBUS_CC 1 to 100 MODBUS_CS 1 to 10 BALANCE 1 to 60 DNP3_MC 1 to 100 DNP3_MS 1 to 10 DNP3_CC 1 to 100 DNP3_CS 1 to 10

Page 109: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 109/131 - IM MW100-S16E-1 Ed01

2.6.2. DNP master log output (FL0, DNP3_M) Format and example of DNP master log output is shown in Table 46.

Table 46. Format of DNP master log output EA CrLf yy/mo/dd hh:mm:ss xxx mmm... CrLf : EN CrLf

yy year (00 to 99) mo month (01 to 12) dd day (01 to 31) hh hour (00 to 23) mm minute (00 to 59) ss second (00 to 59) xxx : number of command (001 to 100, ---) mmm... : status of command (refer Table 56)

Table 47. Example of DNP master log output 37 EA 99/05/11 12:20:30 --- START 99/05/11 12:20:32 001 VALID EN

37 CrLf code is written off from the table.

Page 110: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 110/131 - IM MW100-S16E-1 Ed01

2.6.3. DNP client log output (FL0, DNP3_C) Format and example of DNP client log output is shown in Table 48.

Table 48. Format of DNP client log output EA CrLf yy/mo/dd hh:mm:ss xxx mmm... CrLf : EN CrLf

yy year (00 to 99) mo month (01 to 12) dd day (01 to 31) hh hour (00 to 23) mm minute (00 to 59) ss second (00 to 59) xxx : number of command (001 to 100, ---) mmm... : status of command (refer Table 56)

Table 49. Example of client log output 38 EA 99/05/11 12:20:30 --- START 99/05/11 12:20:32 001 VALID EN

38 CrLf code is written off from the table.

Page 111: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 111/131 - IM MW100-S16E-1 Ed01

2.6.4. DNP slave log output (FL0, DNP3_S) Format and example of DNP slave log output is shown in Table 50.

Table 50. Format of DNP slave log output EA CrLf yy/mo/dd hh:mm:ss d: mmm ... CrLf : EN CrLf

yy year (00 to 99) mo month (01 to 12) dd day (01 to 31) hh hour (00 to 23) mm minute (00 to 59) ss second (00 to 59) d message kind (C : command, R : response) mmm... message digest

Table 51. Example of DNP slave log output 39 EA 06/01/23 16:59:17 C: 001 09/03/03 13:46:06 C: Read (src=3, seq=1) 60.2 60.3 60.406/01/23 16:59:17 R: Response (dst=3, seq=1, iin=8000) 78 byte, 1.1 .. 06/01/23 16:59:18 C: Disable Unsolicited (src=3, seq=2) 06/01/23 16:59:18 R: Response (dst=3, seq=2, iin=8001) 0 byte EN

39 CrLf code is written off from the table.

Page 112: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 112/131 - IM MW100-S16E-1 Ed01

2.6.5. DNP server log output (FL0, DNP3_T) Format and example of DNP server log output is shown in Table 52.

Table 52. Format of DNP server log output EA CrLf yy/mo/dd hh:mm:ss d: mmm ... CrLf : EN CrLf

yy year (00 to 99) mo month (01 to 12) dd day (01 to 31) hh hour (00 to 23) mm minute (00 to 59) ss second (00 to 59) d message kind (C : command, R : response) mmm... message digest

Table 53. Example of DNP server log output 40 EA 06/01/23 16:59:17 C: 001 09/03/03 13:46:06 C: Read (src=3, seq=1) 60.2 60.3 60.4 06/01/23 16:59:17 R: Response (dst=3, seq=1, iin=8000) 78 byte, 1.1 .. 06/01/23 16:59:18 C: Disable Unsolicited (src=3, seq=2) 06/01/23 16:59:18 R: Response (dst=3, seq=2, iin=8001) 0 byte EN

40 CrLf code is written off from the table.

Page 113: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 113/131 - IM MW100-S16E-1 Ed01

2.6.6. DNP master command status output (FL1, DNP3_MC) Format and example of DNP master command status output is shown in Table 54.

Table 54. Format of DNP master command status output EA CrLf scan = x, time = y ms CrLf CrLf xxx mmm... CrLf : EN CrLf

x : count of executed commands (0 to 100) y : execution time of commands [ms] (0 to .. ) xxx : number of command (001 to 100) mmm... : status of command (refer Table 56)

Table 55. Example of DNP master command status output 41 EA scan = 100, time = 10 ms 001 VALID 002 SKIP 003 SKIP 004 SKIP 005 SKIP 006 SKIP 007 SKIP 008 SKIP 009 SKIP 010 SKIP EN

41 CrLf code is written off from the table.

Page 114: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 114/131 - IM MW100-S16E-1 Ed01

Status of DNP master/client commands are shown in Table 56.

Table 56. Status of DNP master/client commands Status Interpretation SKIP Command is not assigned

NO_DATA No data is received

VALID Data is received

STALE Data is staled (command has not executed)

CLOSED Connection is closed

FAILED Connection is failed

ERROR DNP slave/server replied error

TIMEDOUT Connection has timed out

Page 115: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 115/131 - IM MW100-S16E-1 Ed01

2.6.7. DNP master connection status output (FL1, DNP3_MS) Format and example of DNP master connection status output is shown in Table 57.

Table 57. Format of DNP master connection status output EA CrLf xx mmm... CrLf : EN CrLf

xx : Destination number (01 to 10) mmm... : Connection status to the destination (refer Table 59)

Table 58. Example of DNP master connection status output 42 EA 01 OPENED 02 CLOSED 03 CLOSED 04 CLOSED 05 CLOSED 06 CLOSED 07 CLOSED 08 CLOSED 09 CLOSED 10 CLOSED EN

42 CrLf code is written off from the table.

Page 116: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 116/131 - IM MW100-S16E-1 Ed01

Status of DNP master/client connections are shown in Table 59.

Table 59. Status of DNP master/client connections Status Interpretation FAILED Connection is failed

CLOSED Connection is closed

OPENED Connection is opened

INITIATED Connection is initializing

DISABLED Connection is initializing

POLLED Connection is initializing

Page 117: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 117/131 - IM MW100-S16E-1 Ed01

2.6.8. DNP client command status output (FL1, DNP3_CC) Format and example of DNP client command status output is shown in Table 60.

Table 60. Format of DNP client command status output EA CrLf scan = x, time = y ms CrLf CrLf xxx mmm... CrLf : EN CrLf

x : count of executed commands (0 to 100) y : execution time of commands [ms] (0 to .. ) xxx : number of command (001 to 100) mmm... : status of command (refer Table 56)

Table 61. Example of DNP client command status output 43 EA scan = 100, time = 10 ms 001 VALID 002 SKIP 003 SKIP 004 SKIP 005 SKIP 006 SKIP 007 SKIP 008 SKIP 009 SKIP 010 SKIP EN

43 CrLf code is written off from the table.

Page 118: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 118/131 - IM MW100-S16E-1 Ed01

2.6.9. DNP client connection status output (FL1, DNP3_CS) Format and example of DNP client connection status output is shown in Table 62.

Table 62. Format of DNP client connection status output EA CrLf xx mmm... CrLf : EN CrLf

xx : Destination number (01 to 10) mmm... : Connection status to the destination (refer Table 59)

Table 63. Example of DNP client connection status output 44 EA 01 OPENED 02 CLOSED 03 CLOSED 04 CLOSED 05 CLOSED 06 CLOSED 07 CLOSED 08 CLOSED 09 CLOSED 10 CLOSED EN

44 CrLf code is written off from the table.

Page 119: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 119/131 - IM MW100-S16E-1 Ed01

2.7. Conversion of channel data Data expression at binary and analog objects in DNP protocol is shown in Figure 44. Basically data of DNP objects is composed with flag and value.

Figure 44. Format of Binary I/O and Analog I/O data (partial)

Flag

Flag

Binary Input / Output

1 bit (Packed Bit)

Variation

1

2 1 byte (Most significant bit shows the value)

Analog Input Variation

1 Int 32

Flag2 Int 16

3 Int 32

4 Int 16

Flag5 Float 32

Flag

Analog Output Variation

1 Int 32

Flag2 Int 16

Flag3 Float 32

Flag6 Float 64

Flag4 Float 64

Static Data

Static Data

Static Data

Page 120: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 120/131 - IM MW100-S16E-1 Ed01

Bit composition of Flag is shown in Table 64. When the measurement or computation of MW100 has successfully executed and valid value has produced, Online bit in flag will be asserted. Some other bits might be asserted in some condition.

Table 64. Bit composition of Flag Bit Name Interpretation 0

Online communication is on-line

1

Restart device has restarted

2

Communication Lost communication has lost

3

Remote Forced Data value has over-written at some device

4

Local Forced Data value has over-written at this device

5

Over-Range value has exceeded the valid range

6

Reference Check less reliable data

7

- Reserved - - reserved -

Page 121: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 121/131 - IM MW100-S16E-1 Ed01

MW100 uses only the bit 0 (Online), bit 1 (Restarted) and bit 5 (Over-Range), and other bits will be kept un-asserted (i.e. zero). Behavior of flag in MW100 is shown in Table 65.

Table 65. Behavior of flag in MW 100 1. When slave/server has restarted or connection has initialized, Restart bit will be asserted. 2. When the value of measurement/computation channel became +Over, -Over or Valid, Online bit will be asserted. 3. When the value of measurement/computation channel became +Over, -Over, Over-Range bit will be asserted. 4. When the communication input channel has the value except for NaN, Online bit will be asserted. 5. When the communication input channel has the value of +INF or -INF, Over-Range bit will be asserted.

Page 122: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 122/131 - IM MW100-S16E-1 Ed01

Mapping rules of MW100 channel data to the specific variation of DNP object objects are shown in Table 66 to Table 68.

Table 66. Mapping rule of channel data (1/3 - for packed bit or flag) Value on DNP object Kind Narrative

Packed Bit Flag

+ Over + Over

value has overed the upper span

0

0x00

(Online, Over-Range)

- Over - Over

value has overed the lower span

0 0x00

(Online, Over-Range)

Skip Skip

channel is configured to be skip

0 0x00

(-)

No channel No Channel

channel does not exist

0 0x00

(-)

Error Error

channel has failed to make value

0 0x00

(-)

Invalid Invalid

data is not valid

0 0x00

(-)

Lack Lack

computation has slipped

0 0x00

(-)

Valid data value (0) 0 0x01

(Online)

data value (except for

0, INF, NaN)

1 0x81

(Online)

data value (+INF, -INF) 0 0x21

(Online, Over-Range)

data value (NaN) 0 0x00

(-)

( ) shows the name of bits in flag

Page 123: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 123/131 - IM MW100-S16E-1 Ed01

Table 67. Mapping rule of channel data (2/3 - for integer)

Value on DNP object Kind Narrative

Int 16 Int 32

+ Over + Over

value has overed the upper span

32,767

(Online, Over-Range)

2,147,483,647

(Online, Over-Range)

- Over - Over

value has overed the lower span

- 32,768

(Online, Over-Range)

- 2,147,483,648

(Online, Over-Range)

Skip Skip

channel is configured to be skip

0

(-)

0

(-)

No channel No Channel

channel does not exist

0

(-)

0

(-)

Error Error

channel has failed to make value

0

(-)

0

(-)

Invalid Invalid

data is not valid

0

(-)

0

(-)

Lack Lack

computation has slipped

0

(-)

0

(-)

Valid data value (except for

+INF, -INF, NaN)

- 32,768 to

32,767

(Online)

-2,147,483,648

2,147,483,647

(Online)

data value (+INF) 32,767

(Online, Over-Range)

2,147,483,647

(Online, Over-Range)

data value (-INF) - 32,768

(Online, Over-Range)

-2,147,483,648

(Online, Over-Range)

data value (NaN) 0

(-)

0

(-)

( ) shows the name of bits in flag

Page 124: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 124/131 - IM MW100-S16E-1 Ed01

Table 68. Mapping rule of channel data (3/3 - for floating point)

Value on DNP object Kind Narrative

Short Float Long Float

+ Over + Over

value has overed the upper span

+INF

(Online, Over-Range)

same as left

- Over - Over

value has overed the lower span

-INF

(Online, Over-Range)

same as left

Skip Skip

channel is configured to be skip

0

(-)

same as left

No channel No Channel

channel does not exist

0

(-)

same as left

Error Error

channel has failed to make value

0

(-)

same as left

Invalid Invalid

data is not valid

0

(-)

same as left

Lack Lack

computation has slipped

0

(-)

same as left

Valid data value (except for

+INF, -INF, NaN)

- 1038 to 1038

(Online)

same as left

data value (+INF) +INF

(Online, Over-Range)

same as left

data value (-INF) -INF

(Online, Over-Range)

same as left

data value (NaN) 0

(-)

same as left

( ) shows the name of bits in flag

Page 125: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 125/131 - IM MW100-S16E-1 Ed01

3. Appendix

3.1. DNP device profile DNP device profile of MW100 special firmware for DNP protocol is shown in Table 69 to Table 71.

Table 69. DNP device profile (1/3) DNP 3 DEVICE PROFILE DOCUMENT Vendor Name : Yokogawa Electric Corporation Device Name : MW100 R3.01 (S16) Highest DNP Level Supported : For Request : Level 2 For Response : Level 2

Device Function : [ x ] Master / Client [ x ] Slave / Server

Supported Function Blocks : [ ] Self-Address Reservation [ ] Object 0 - attribute objects [ ] Data Sets [ ] File Transfer [ ] Virtual Terminal [ ] Mapping to IEC 61850 Object Models define in a DNP3 XML file [ ] Function Code 31, activate configuration Notable objects, functions, and/or qualifiers supported in addition to the Highest DNP Levels Supported (the complete list is described in the attached table) : Connection Supported : [ x ] Serial [ x ] IP Networking Interval to Request Link Status : Configurable (none, 1 - 3600 s) Supports DNP3 Collision Avoidance : No Maximum Data Link Frame Size (octets) : Transmitted : 292 Received : 292

Maximum Application Fragment Size (octets) : Transmitted : Configurable (200 - 8192) Received : 8192

Maximum Data Link Re-tries : Configurable (0 - 5)

Application Layer Re-tries : None

Requires Data Link Layer Confirmation : Configurable (never, sometimes, always)

Requires Application Layer Confirmation : Configurable (never, sometimes, always)

Page 126: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 126/131 - IM MW100-S16E-1 Ed01

Table 70. DNP device profile (2/3)

DNP 3 DEVICE PROFILE DOCUMENT Timeouts while waiting for : Data Link Confirm : Configurable (1 - 60 s) Complete Appl. Fragment : None Application Confirm : Configurable (1 - 60 s) Complete Appl. Response : Configurable (1 - 60 s) Unsolicited Confirm : Configurable (1 - 60 s) Send/Executes Control Operations : WRITE Binary Outputs : Never SELECT/OPERATE : Always DIRECT OPERATE : Always DIRECT OPERATE-NO ACK : Always Count > 1 : Never Pulse On : Never Pulse Off : Never Latch On : Always Latch Off : Always Queue : Never Clear Queue : Never Sequential File Transfer Support : Append File Mode : No Custom Status Code Strings : No Permission Failed : No File Event Assigned to Class No File Event Poll Specifically No Multiple Blocks in a Fragments No Max Number of Files Open 0 Maximum Time between SELECT and OPERATE : Configurable (1 - 60) Supports Unsolicited Reporting : Configurable

Number of Unsolicited Re-tries : Configurable (infinite, 0 - 5)

Number of Event Buffer Configurable (1 - 100)

Hold Time after event Configurable (0 - 60 s)

Event Reporting Mode : All Events

Event Buffer Overflow Behavior : Discard the oldest event

Page 127: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 127/131 - IM MW100-S16E-1 Ed01

Table 71. DNP device profile (3/3)

DNP 3 DEVICE PROFILE DOCUMENT Default Binary Object/Variation : Default Static Object 1, Variation 1 Default Event Object 2, Variation 1 Default Static Object 10, Variation 1 Default Event Object 12, Variation 1

Default Analog Object/Variation : Default Static Object 30, Variation 1 Default Event Object 32, Variation 1 Default Static Object 40, Variation 1 Default Event Object 42, Variation 1

Default Counter Object/Variation : No Counter Object Reported

Counter Roll Over at : No Counter Object Reported

Default Class : Binary Input : None Binary Output : None Analog Input : None Analog Output : None

Assign Class : Not Applicable

Analog Deadbands : Configurable (All points by configuration)

Configuring Analog Deadbands : Configuration Software

Preservation of Analog Deadbands : Yes

Page 128: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 128/131 - IM MW100-S16E-1 Ed01

3.2. DNP object implementation table DNP object implementation table of DNP slave/server function in MW100 is shown in Table 72 to Table 75.

Table 72. DNP object implementation table (1/4) DNP3 OBJECT IMPLEMENTATION TABLE

OBJECT REQUEST

RESPONSE

Grp. Var. Description Function Code

Qualifier Code

Function Code

Qualifier Code

1 0 Binary Input 1 00, 01, 0206

129

00, 01, 02

1 Binary Input packed format

2 Binary Input with Flag

2 0 Binary Input Event 1 06, 07, 08

129 130

17, 27

1 Binary Input Event without Time

2 Binary Input Event with Time

3 Binary Input Event with Relative Time

10 0 Binary Output 1 00, 01, 0206

129

00, 01, 02

1 Binary Output packed format

2 Binary Output with Flag

11 0 Binary Output Event 1 06, 07, 08

129 130

17, 27

1 Binary Output Event without Time

2 Binary Output Event with Time

12 1 Control Relay Output Block (CROB)

3, 4, 5, 6 17, 27

129

echo backof request

2 Pattern Control Block

3 Pattern Mask

Page 129: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 129/131 - IM MW100-S16E-1 Ed01

Table 73. DNP object implementation table (2/4)

DNP3 OBJECT IMPLEMENTATION TABLE

OBJECT REQUEST

RESPONSE

Grp. Var. Description Function Code

Qualifier Code

Function Code

Qualifier Code

30 0 Analog Input 1

00, 01, 0206

129

00, 01, 02

1 Analog Input 32 bit with Flag

2 Analog Input 16 bit with Flag

3 Analog Input 32 bit without Flag

4 Analog Input 16 bit without Flag

5 Analog Input Short Float

6 Analog Input Long Float

32 0 Analog Input Event 1 06, 07, 08

129 130

17, 27

1 Analog Input Event 32 bit without Time

2 Analog Input Event 16 bit without Time

3 Analog Input Event 32 bit with Time

4 Analog Input Event 16 bit with Time

5 Analog Input Event Short Float

6 Analog Input Event Long Float

7 Analog Input Event Short Float with Time

8 Analog Input Event Long Float with Time

Page 130: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 130/131 - IM MW100-S16E-1 Ed01

Table 74. DNP object implementation table (3/4)

DNP3 OBJECT IMPLEMENTATION TABLE

OBJECT REQUEST

RESPONSE

Grp. Var. Description Function Code

Qualifier Code

Function Code

Qualifier Code

40 0 Analog Output 1

00, 01, 0206

129

00, 01, 02

1 Analog Output 32 bit with Flag

2 Analog Output 16 bit with Flag

3 Analog Output Short Float with Flag

4 Analog Output Long Float with Flag

41 1 Analog Output Block 32 bit

3, 4, 5, 6

17, 27

129

echo backof request

2 Analog Output Block 32 bit

3 Analog Output Block Short Float

4 Analog Output Block Long Float

42 0 Analog Output Event 1 06, 07, 08

129 130

17, 27

1 Analog Output Event 32 bit without Time

2 Analog Output Event 16 bit without Time

3 Analog Output Event 32 bit with Time

4 Analog Output Event 16 bit with Time

5 Analog Output Event Short Float

6 Analog Output Event Long Float

7 Analog Output Event Short Float with Time

8 Analog Output Event Long Float with Time

Page 131: MW100-S16 DNP3.0 User's Manual...- 5/131 - IM MW100-S16E-1 Ed01 1. Introduction DNP 3.0 (Distributed Network Protocol) is a kind of telecommunication standard and is used at electrical

- 131/131 - IM MW100-S16E-1 Ed01

Table 75. DNP object implementation table (4/4)

DNP3 OBJECT IMPLEMENTATION TABLE

OBJECT REQUEST

RESPONSE

Grp. Var. Description Function Code

Qualifier Code

Function Code

Qualifier Code

50 1 Time and Date 2

07 129 -

60 1 Class 0 Data 1

06, 07, 08 - -

2 Class 1 Data

3 Class 2 Data

4 Class 3 Data

80 1 Internal Indications 1

01 - -

2

00 - -