![background image](http://html1.mh-extra.com/html/amx/softkey-tx-sk/softkey-tx-sk_instruction-manual_2939359015.webp)
Programming
11
TX-SK+ SoftKey Transmitter
Programming
General Information
The T
X
-SK+ supports:
2 dim arrays
Up to 10 waits
up to 5 concurrent TOs
up to 5 concurrent PULSEs
24Kb of memory
Up to 22 pages
Up to 5 nested levels
Does not support programs complied with separate DEFINE_CALL list.
Supported AXCESS Keywords
The following Axcess keywords are supported by the T
X
-SK+ (rev 2.26 and higher):
AXCESS Keywords
CALL
To tell Axcess to execute a subroutine, use the CALL keyword and the
name of the subroutine in single quotes.
For example, to execute the subroutine LIGHTS OFF, type the following
where you want the CALL to occur:
CALL 'LIGHTS OFF'
When Axcess executes the CALL, program execution jumps to the first
line inside the braces of the DEFINE_CALL. The subroutine is executed
only once, and then Axcess returns to the statement directly following the
CALL statement.
CANCEL_ALL_WAIT
CANCEL_ALL_WAIT nullifies every WAIT currently in the list.
CANCEL_WAIT
CANCEL_WAIT completely nullifies a WAIT, removing it from the wait
list.
CREATE_BUFFER
Use the CREATE_BUFFER keyword to create a buffer.
This keyword can only appear in the DEFINE_START section of your
program, and has the following syntax:
CREATE_BUFFER device, array
CREATE_BUFFER directs Axcess to place any strings received from the
specified device into the specified array. When Axcess places the byte
into the array, Axcess increments the length value for the array and then
places the byte at the end of the array. When the array is full, all bytes in
the array are shifted to make room for the new byte at the end.
Though the array is acting as a buffer, it is still an array and can be
treated as one. You can access its individual locations, send it to a
device, assign it to other arrays, assign other arrays to it, and use key-
words to manipulate the array.