Configuration File

DNP3-IPS uses a configuration file named DNP3.INI. This file must reside in the default (working) folder, where the DNP3-IPS.EXE is saved.

DNP3-IPS uses a configuration file named DNP3.INI. This file must reside in the default (working) folder, where the DNP3-IPS.EXE is saved.

DNP3.INI is a text file, that you may create and edit using Notepad. You may also access it via a menu shortcut on the DNP3-IPS menu bar (under File).

DNP3.INI is divided into sections. Each section starts with the name of the section between square brackets.

The following sections are defined:

[PORT]

[UNET]

[DRIVER]

Within each section, you define parameters using a 'key' followed by the "=" sign and followed by one or more alpha-numeric arguments.

Parameters within the section may be arranged in any order.

Multiple arguments must be separated by spaces, a dot, or a comma.

A comment line starts with "/".

The following keys are defined:

Section: [PORT]

Parameter

Description

Default value

COM

Sets the COM port used.
The COM may be COM1, COM2,COM3, COM4 or TCP or UDP.
TCP and UDP use port 20000 as default

COM=COM1

BAUDS

Communication speed. Only applies to COM1 to COM4

SPEED=19200

PARITY

0=NONE, 1=ODD, 2=EVEN 3=MARK 4=SPACE. Only applies to serial communications ports

PARITY=0

STOP

Stop bits. 1 or 2. Only applies to serial communications ports

STOP=1

DATA

Data bits. 7 or 8. Only applies to serial communications ports

DATA=8

MODE

Accepts a string of the form baud=9600 parity=N data=8.

parity=E data=8 stops=1

SOCKET

TCP/UDP Port number

SOCKET=20000

Section: [UNET]

NODE

The identifier for this IPS on the UDP (UNET) network.

NODE=1

Section: [DRIVER]

TIMEOUT

The time in milliseconds that this station will wait for a response before trying again.

TIMEOUT=250

FRAME

The time in milliseconds between receiving characters on the serial port to consider the message received.

FRAME=2

MASTER

The The DNP3 address of this driver on the DNP3 network.

MASTER=0

REMOTE

Specifies the IP where one or more remote DNP3 RTU are connected to this TCP/IP interface. Each remote is defined by 5 decimal numbers. The first number is the UNET node id. The next 4 are the IP of that station.

You may include up to 64 "REMOTE" lines in the file.

No remote station defined

RTU

Defines the interface with a DNP3 RTU. Each "RTU" definition consists of 17 numbers. You may include up to 64 "RTU" definitions in the file.

ADDRESS, COMMAND REG.,
1st BINAY INPUT, Qty of BINARY INPUTS,
1st ANALOG INPUT,Qty of ANALOG INPUTS,
1st OUTPUT CONTROL BLOCK, Qty of OUTPUT CONTROL BLOCKS,PULSE DURATION,
1st ANALOG OUTPUT, Qty of ANALOG OUTPUTS,
1st COUNTER, Qty of COUNTERS,
1st DIGITAL OUTPUT, Qty of DIGITAL OUTPUT,
ALERT REG, UNSOLICITED MODE REG.

ADDRESS

the DNP3 address of the remote RTU.

COMMAND REG.

the index of the register that will be used to initiate the polling of the RTU

ANALOG INPUTS

Analog inputs are read from a RTU as 16-bit signed values. These parameters define where to locate those values in the IPS data table. The first register corresponds to analog input 0 in the RTU.

OUTPUT CONTROL BLOCKS

Each block is pair of registers in the data table. Turning the first of the pair ON sends a "TRIP" command to the corresponding output control block at the RTU. Turning the second of the pair ON sends a "CLOSE" command to the corresponding output control block at the RTU. These register are reset when the command is acknowledged. The fist output control block corresponds with id 0 at the RTU. The pulse duration is in seconds.

ANALOG OUTPUTS

Analog ouputs are read back from a RTU as 16-bit signed values. These parameters define where to locate those values in the IPS data table. The fist register corresponds with id 0 at the RTU

COUNTERS

Counters are read back from a RTU as 16-bit values. These parameters define where to locate those values in the IPS data table. The fist register corresponds with id 0 at the RTU

ALERT

the index of the register to be set in case a communication error or time-out occurs with this RTU

UNSOLICITED MODE

the index of the register in the IPS data table to be used to turn and off the "UNSOLICITED RESPONSE" FLAG at the RTU. Setting this register to 1 sends a command to turn the Unsolicited mode ON. Setting this register to 2 sends a command to turn the Unsolicited mode OFF. The register is reset to 0 when the command is acknowledged.

No RTUs

WAIT

Time in milliseconds between commanss.

WAIT=10

POLL

Time in seconds between ALL POLL.

POLL=0

BIPOLAR

Selects between unsidgned integers and two's complements for the analog inputs.
BIPOLAR=0 is for unsigned, BIPOLAR=1 is for two's complement

BIPOLAR=0