Configuration File

AB uses a configuration file named ABIPS.INI. This file must reside in the default (working) folder of AB-IPS.EXE.

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

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

The following sections are defined at the moment:

[PORT]

[UNET]

[DRIVER]

[WATCHDOG]

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 at the moment:

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 502

COM=COM1

BAUDS

Communication speed. Only applies to COM1 to COM4

SPEED=19200

MODE

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

parity=E data=8 stops=1

Section: [UNET]

NODE

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

NODE=1

RESET

The index of the register in the data table that will be used for remote reset. Writing to this register causes the IPS to re-read the configuration file.

None. No reset register.

SNAP

The index of the register in the data table that will be used for remote protocol capture. Writing 1 to this register causes the IPS to produce a capture file. It is equivalent to clicking TRACE -> Capture.

None. No snapshot register.

The following keys are defined at the moment:

Section: [DRIVER]

STATION

The AB id assigned to this driver.

STATION=1

TIMEOUT

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

TIMEOUT=250

ENABLE

This parameter decides how the "ENABLE" registers operate for cluster of points. If ENABLE=0, the cluster communicates as long as its ENABLE register is on. If ENABLE=1, the cluster triggers a communication when the ENABLE register is turned on and automatically turns the ENABLE register off when the communication is confirmed by the station
.

ENABLE=0

REMOTE

Specifies the IP of a remote AB RTU 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

RI

Defines a cluster of analog registers to be received from a remote station. Each "RI" definition consists of 10 numbers. You may include up to 64 RI definitions in the file.

FIRST, QTY, STATION, ELEMENT, ALERT, ENABLE, FILE, TYPE, SUB, VAR

FIRST

the index of the first register of the block at the requesting IPS.

QTY

the number of registers to transfer, starting at and including the first register. The maximum number of register values that may be transferred is 16 per block. When using a FILE other than 0, this parameter should be 1.

STATION

the AB id of the station that the values will be coming from.

ELEMENT

the offset of the first register at the AB station.

ALERT

the index of the register to be set in case a communication error or time-out occurs when this particular block is transferred

ENABLE

the index of the register at the IPS to trigger the transfer
When this register is set to 1, the transfer is initiated. If the ENABLE parameter is set to 1, once the transfer is confirmed by the station, this register is set to 0.
R0001 (index 0) may not be used as a ENABLE register. If ENABLE is 0, the cluster communicates continuously.

FILE

Set this parameter to 0 if you are reading data from a CIF. Otherwise, set this parameter to the file number. When this parameter is 0, TYPE and SUB are ignored.

TYPE

Set this parameter to the value that represents the file type (see table below).

SUB

Set this parameter to sub-element index.

VAR

Set this parameter to 0 if the quantities read are 16-bit integers. Set this parameter to 1 if the quantities read are floating points. Set this parameter to 2 if the values read are two's complement signed integers.

No RI cluster

RO

Defines a cluster of registers to be sent to a remote station. Each "RO" definition consists of 10 numbers. You may include up to 64 "RO" definitions in the file.

FIRST, QTY, STATION, ELEMENT, ALERT, ENABLE, FILE, TYPE, SUB, VAR

FIRST

the index of the first register of the block at the requesting IPS.

QTY

the number of registers to transfer, starting at and including the first register. The maximum number of register values that may be transferred is 16 per block. When using a FILE other than 0, this parameter should be 1.

STATION

the AB id of the station where the values will be written.

ELEMENT

the offset of the first register at the AB station.

ALERT

the index of the register to be set in case a communication error or time-out occurs when this particular block is transferred

ENABLE

the index of the register at the IPS to trigger the transfer
When this register is set to 1, the transfer is initiated. If the ENABLE parameter is set to 1, once the transfer is confirmed by the station, this register is set to 0.
R0001 (index 0) may not be used as a ENABLE register. If ENABLE is 0, the cluster communicates continuously.

FILE

Set this parameter to 0 if you are writing data to a CIF. Otherwise, set this parameter to the file number. When this parameter is 0, TYPE and SUB are ignored.

TYPE

Set this parameter to the value that represents the file type (see table below).

SUB

Set this parameter to sub-element index.

VAR

Set this parameter to 0 if the quantities written are 16-bit integers. Set this parameter to 1 if the quantities written are floating points. Set this parameter to 2 if the values written are two's complement signed integers.

No RO cluster

File types supported
File typeTYPE parameter
status132
bit 133
timer134
counter135
control136
integer137
floating point138

Section: [WATCHDOG]

ACTIVE

Enable/Disable the watchdog. When enabled, all the outputs turn off after a delay when the IPS no longer receives commands from a RTES32.

ACTIVE=1

TIME

The delay in milliseconds after which the outputs turn off when the watchdog is enabled.

TIME=1000.