Binary input command examples, Binary output command examples – ProSoft Technology 5201-DFNT-DNPM User Manual
Page 18
DNPM ♦ ProLinx Gateway
DNPM Protocol Configuration
DNP 3.0 Master
Driver Manual
Page 18 of 56
ProSoft Technology, Inc.
September 30, 2009
Port/Flags
Bits
Description
Decimal
Equivalent
If Address in Slave = 0 & # of Points > 0, then use Qual 17h or 28h (# of points specified starting at
point 0)
If Address in Slave > 0 & # of Points > 0, then use Qual 17h or 28h (points from address to
address+# of points-1)
If # of Points <= 0, then ignore because this is illegal for outputs.
Other rules that must be observed when constructing commands are as follows:
Address in Slave: This value must be >= 0. If it is set to a value < 0, the
command will be ignored.
Point Count: This value must be set to a value other than 0. If the value is set to
0, the command will be ignored.
Poll Interval: 0=Continuous, >0=Number of seconds between polls. If exception
processing is used for output commands, this parameter is ignored, and the
command will only be issued when data changes.
The following two examples of commands display the interrelationship of the
parameters used to construct a command:
BINARY INPUT COMMAND EXAMPLES:
Port/Flg
Slave
Object
Var
Func
Addr
Pnt Cnt
IED DB
Poll Int
WORD
0
1
2
3
4
5
6
7
8
VALUE
6
2
1
0
1
0
32
0
0
IED #15
IED BI's
Address
Address
0
0
31
31
Command for DNP Master Port, Enabled.
IED Unit 2 is to be polled.
Object type is 1 (Binary Input).
Variation of 0 (default variation).
Function 1 is for a read.
Point address 0 Is starting address in IED device
Point count of 32 indicates points 0-31 to be
polled.
IED DB address of 0 is where first data point is
placed. (within BI database)
Poll command as soon as possible.
BINARY OUTPUT COMMAND EXAMPLES:
Port/Flg
Slave
Object
Var
Func
Addr
Pnt Cnt
IED DB
Poll Int
WORD
0
1
2
3
4
5
6
7
8
VALUE
14
2
12
1
5
0
16
25
0
IED #15
IED BO's
Address
Address
0
Command for Port 2, Enabled, only operate on
point change.
IED Unit 2 is to be controlled.
Object type is 12 (Binary Output Control).
Variation of 1 (Control Relay Output
Block).
Function 5 is for direct operate.
Slave address of 0 is starting point in IED.
16 points are transferred.
IED DB address of 0 is first source point.
Command not a polled command .
Write only on change of data in BO database .
15
0
15