RSS
RTES32 - Configuration File

RTES32 uses an optional configuration file named RTES32.INI that sets various parameters. This file must reside in the default (working) folder, where the RTES application is saved.

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

RTES32.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:

[UNET]

[WEBHOST]

[ODBC]

[RTES]

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: [UNET]

Parameter Description Default value
NODESets the station id on the UNET network for this computer.
The NODE consists of 1 number (between 0 and 255).
NODE=1
DELAY Idle time in milliseconds between requests to other stations. DELAY=10
RETRIES Number of consecutive failed attempts to communicate with a remote station before setting on the associated ALERT register. RETRIES=3
SWITCH The index of Register that must be in the ON state for this station to respond to requests from the remotes. none. This station always responds
TIMEOUT The time in milliseconds that this station will wait for a response before trying again. TIMEOUT=250
REMOTE Specifies the IP of a remote station. Each remote is defined by 6 decimal numbers. The first number is the UNET node id. The next 4 are the IP of that station. The last number is the node type. A type 0 indicates that the node is a RTES or RTES32. A non-zero node type indicates that the node is an IP Based Device Server.

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

No remote station defined
BINARY Defines a cluster of binary registers to be received from a remote station. Each "BINARY" definition consists of 6 numbers. You may include up to 64 "BINARY" definitions in the file. FIRST, QTY, NODE, POS, ALERT, ENABLE

FIRST the index of the first register of the block at the requesting RTES.
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.
NODE the station id of the UNET in the computer that the values will be coming from (source).
POS the index of the first RTES variable at the source computer.
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 that will control transmission, or 0 if transmission is continuous. See "ENABLE" parameter.
No binary cluster
FLOAT Defines a cluster of analog (floating point) registers to be received from a remote station. Each "FLOAT" definition consists of 6 numbers. You may include up to 64 "FLOAT" definitions in the file. FIRST, QTY, NODE, POS, ALERT, ENABLE
FIRST the index of the first register of the block at the requesting RTES.
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.
NODE the station id of the UNET in the computer that the values will be coming from (source).
POS the index of the first RTES variable at the source computer.
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 that will control transmission, or 0 if transmission is continuous. See "ENABLE" parameter.
No analog cluster
ENABLE Defines the behaviour of the ENABLE register, when used in FLOAT and BINARY. When set to 0, the data is exchanged as lomg as the enable register is on. When set to 1, setting the ENABLE register on intiates a data exchange and it is turned off automatically after a succesful data exchange. ENABLE=0

Visit the IPS page for specific information about exchanging data with IP Based Device Servers that allow you to interface RTES32 with various I/O subsystems.

Section: [WEBHOST]

Parameter Description Default value
NAME Defines an alphanumeric name for this web host.
This name appears as the "Realm" when a user id and password are requested to access this web host.
The name is blank.
HTTP Defines the IP port number for this web host. HTTP=80

RTES variables :
The parameter used in FIRST and POS is coded as follows to indicate which type of variable is used:

0-9999         R registers

20000-29999    O registers

Section: [ODBC]

Parameter Description Default value
NAME Alphanumeric Data Source Name to use for ODBC operations associated with the WSQL and RSQL RTES32 command.
You define this name in "Control Panel\Administrative Tools\Data Sources".
The name is blank.
USER Alphanumeric user id for the Data Source to use for ODBC operations. The name is blank.
PASS Alphanumeric password for Data Source Name to use for ODBC operations. The name is blank.
IP IP address of a server that contains the Data Source Name to use for ODBC operations. The IP is blank and the DSN is 'local'.
HANDLER The name of the server side script that handles the ODBC operations. Only used when the IP is defined
LOGS The name of the table in the database that will receive the alarm and change of state events. Events are not logged

Section: [RTES]

Parameter Description Default value
ACTIVE Turn the Inference Engine off (0) or on (1) on startup.
If set to 0, you must issue the ACTIV command to turn the Inference Engine on.
ACTIVE=1.
DECIMALS The number of default decimal positions on startup.
This parameter must be between 0 and 5.
The DEC command overrides this value.
DECIMALS=2