ADS-IPS uses a configuration file named ADSIPS.INI. This file must reside in the default (working) folder
ADSIPS.INI is a text file, that you may create and edit using Notepad. You
may also access it via a menu shortcut on the ADS-IPS menu bar (under File).
ADSIPS.INI is divided into sections. Each section starts with the name of the
section between square brackets.
The following sections are defined at the moment:
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. |
COM=TCP |
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]
|
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 ADS module 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 | ||||||||||||
|
DI |
Defines a cluster of binary registers to be received from a remote station. Each "DI" definition consists of 6 numbers. You may include up to 64 DI definitions in the file. FIRST, QTY, NODE, POS, ALERT, ENABLE
|
No DI cluster | ||||||||||||
|
RI |
Defines a cluster of registers to be received from a remote station. Each channel consists of 2 registers A registers at an even index is the STATUS of the corresponding channel, while a registers at an odd index is the VALUE of the corresponding channel. Each "RI" definition consists of 6 numbers. You may include up to 64 RI definitions in the file. FIRST, QTY, NODE, POS, ALERT, ENABLE
|
No RI cluster | ||||||||||||
|
DO |
Defines a cluster of binary registers to be received from a remote station. Each "DI" definition consists of 6 numbers. You may include up to 64 "DO" definitions in the file. FIRST, QTY, NODE, POS, ALERT, ENABLE
|
No DO cluster | ||||||||||||
|
RO |
Defines a cluster of registers to be sent to a remote station. Each channel consists of 2 registers A registers at an even index is the CONTROL of the corresponding channel, while a registers at an odd index is the OUTPUT of the corresponding channel. Each "RO" definition consists of 6 numbers. You may include up to 64 "RO" definitions in the file. FIRST, QTY, NODE, POS, ALERT, ENABLE
|
No RO cluster |
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. |
The 8 inputs of the first module are mapped as:
index 0 - position 1 status
index 1 - position 1 value
index 2 - position 2 status
index 3 - position 2 value
index 4 - position 3 status
index 5 - position 3 value
index 6 - position 4 status
index 7 - position 4 value
The 8 inputs of the next module will start at index 8, and so on.
'status' is a byte(0 to 255), 'value' is a word (0 to 65535)