Nematron Pointe Controller User Manual

Page 121

Advertising
background image

Pointe Controller User Guide

Chapter 5: Developing Controller Programs

119

Wire – The tag’s wire label. Maximum
of 10 characters. Must be enclosed in
tildes (~xxx~). Optional, not used in
PointeControl.

Value – The initial value of the tag
upon program start. Optional.

Retain – A yes/no option to specify
whether the tag should be retained
in retentive memory. Optional, not
used in PointeControl.

String

STRING—Alias—Length—Value

STRING – Denotes that the line
describes a String. Mandatory.

Alias – The common name by which
t h e S t r i n g i s r e f e r r e d i n
PointeControl. Can be up to 30
characters. Mandatory.

Length – The element length of the
String. Maximum of 255. Mandatory.

Value – The initial value of the String
upon program start. If defined, must
be less than or equal to Length and
must be enclosed in quotes (“xxx”).
Optional.

Timer

TIMER—ID—Alias—Preset

T I M E R – Denotes that the line
describes a Timer.

ID – The Timer ID (table position) to
be defined.

Alias – The common name by which
t h e S t r i n g i s r e f e r r e d i n
PointeControl. Can be up to 30
characters. Mandatory.

Preset – The preset value of the
Timer, in milliseconds. Optional.

Notes:

If an optional field is not defined in a .csv file, the comma delimiter is
used as a place keeper for that field. Default values are assigned when no
value is specified for a field.

Since you may enter any number of spaces and tabs as delimiters in .prn
and .txt files, you need to observe these rules when building a .prn or .txt
database file:

o

If a field following an undefined Wire is defined, the Wire must

be indicated by closed tildes (~~).

o

If a field following an undefined value is defined, the undefined

value must be indicated by the default value.

TIP: If you still do not understand how the database file must be formatted, try
exporting the database from an existing project. You can then compare the
exported file against the Logic Memory tables and see how specific tags are
described. For more information on exporting database files, see below.

Advertising