Configuration File

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

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

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

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

Section: [PORT]

Parameter

Description

Default value

COM

Sets the COM port used.
The COM may be any serial port or TCP or UDP .

COM=COM1

BAUDS

Communication speed. Only applies to serial communications ports

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

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.
. The default value is 250.

REMOTE

Specifies the IP of a remote micro-server used to communicate with the TI500 station when using TCP or UDP. Each remote is defined by 5 decimal numbers. The first number is the TI500 address. The next 4 are the IP of the micro-server.

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

DI Defines a cluster of binary inputs to be received from a remote TI500 address. Each "DI" definition consists of 6 numbers.

You may include up to 64 "DI" definitions in the file.

FIRST, QTY, ADDRESS, TYPE, ALERT

FIRST the index of the first register of the block at the requesting IPS.
QTY The number of binary inputs to transfer (maximum 16), starting at and including the first register.
ADDRESS the TI500 (V-word) address the data will be coming from.
TYPE not used
ALERT the index of the register at the IPS, to be set in case a communication error or time-out occurs when this particular block is transferred

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

FIRST, QTY, ADDRESS, TYPE, ALERT

FIRST

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

QTY

the number of analog inputs to transfer, starting at and including the first register. (maximum 15)

ADDRESS

the starting TI500 (V-word) address that the values will be coming from.

TYPE

the number of right-most bits to ignore in the analog values received.

ALERT

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

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

FIRST, QTY, ADDRESS, TYPE, ALERT

FIRST

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

QTY

the number of analog inputs to transfer, starting at and including the first register. (maximum 15 if TYPE=0, maximum 7 if TYPE>0)

ADDRESS

the starting TI500 (V-word) address that the values will be coming from.

TYPE

When this parameter is 0, the driver transfers 1 V-word for each point and uses it as an integer. When this parameter is non-0 the driver retrieves 2 consecutive V-words for each point and combines them into a 32-bit short real floating point value.

ALERT

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

DO

Defines a cluster of binary outputs to be sent to a remote station. Each "DO" definition consists of 6 numbers. You may include up to 64 "DO" definitions in the file.

FIRST, QTY, ADDRESS, TYPE, ALERT,ENABLE

FIRST

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

QTY

the number of digital outputs to transfer, starting at and including the first register. (Maximum 16)

ADDRESS

the TI500 V-word address the data will be sent to.

TYPE

not used.

ALERT

the index of the register at the IPS 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. Once the transfer is confirmed by the station, this register is set to 0.

AO

Defines a cluster of analog outputs to be sent to a remote station. Each "AO" definition consists of 6 numbers. You may include up to 64 "AO" definitions in the file.

FIRST, QTY, ADDRESS, TYPE, ALERT, ENABLE

FIRST

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

QTY

the number of registers to transfer, starting at and including the first register. (Maximum 7).

ADDRESS

the starting TI500 (V-word) address hat the values are sent to.

TYPE

the number of right-most bits to append to the analog values sent.

ALERT

the index of the register at the IPS 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. Once the transfer is confirmed by the station, this register is set to 0.

RO

Defines a cluster of analog outputs to be sent to a remote station. Each "AO" definition consists of 6 numbers. You may include up to 64 "AO" definitions in the file.

FIRST, QTY, ADDRESS, TYPE, ALERT, ENABLE

FIRST

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

QTY

the number of registers to transfer, starting at and including the first register. (Maximum 7 if TYPE=0, maximum 3 if TYPE>0).

ADDRESS

the starting TI500 (V-word) address hat the values are sent to.

TYPE

When this parameter is 0, the driver transfers an integer to a V-word for each point. When this parameter is non-0 the driver sends a 32-bit short real floating point value to 2 consecutive V-words for each point.

ALERT

the index of the register at the IPS 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. Once the transfer is confirmed by the station, this register is set to 0.