Programming restrictions, Programming basics – AMX Mini-LCD Transmitter TX-MLCD User Manual

Page 10

Advertising
background image

6

AXCESS Programming

TX-MLCD Mini-LCD Transmitter

Programming Restrictions

AXCESS program restrictions include:

1.

DEFINE_LATCHING, DEFINE_MUTUALLY_EXCLUSIVE, and
DEFINE_TOGGLING are not supported.

Similar functions are

accomplished with combinations of ON, OFF, and IF… ELSE.

2.

PULSE is not supported.

A similar function is accomplished with

combinations of ON, WAIT, and OFF

3.

String support is limited:

No access to individual array elements

No string comparisons

Some string functions are not supported (e.g., LEFT_STRING, and so
on.)

Maximum string length is 36 characters.

4.

Concurrent WAITS— 5 maximum.

5.

Concurrent TOs— 5 maximum.

6.

Nesting of levels— 3 maximum.

With more than three, an internal

stack overflow may occur resulting in erratic, undefined behavior.

7.

Total memory size— 4.5Kbytes.

SOURCE–SEND will often need to be

turned OFF resulting in the inability to RETRIEVE a program from
the TX–MLCD. There may not be enough memory in the TX–MLCD
to include the program source code and the compiled (executable)
program.

Programming Basics

The following information is helpful when programming the TX–MLCD:

TX–MLCD is assigned device code number one. To use channel and
SEND_STRING commands for sending text to the LCD screen:

DEFINE_DEVICE

MLCD=1

Use device code number zero to return characters from the TX–
MLCD RS–232 port. Returning characters from TX–MLCD can be
useful for debugging.

Advertising