Product Manual

XT2500 Product Manual
Page 27 | 92
CONFIDENTIAL AND PROPRIETARY
:OK
:grscr x 0
:OK
Erasing FLASH memory
Waiting for Xmodem Start (Ctrl-D twice to cancel)
Starting xmodem transfer. Press Ctrl+C to cancel.
Transferring V_Script_Nov_102015_JB.bin...
100% 572 bytes 572 bytes/sec 00:00:01 0 Errors
Interpreter Script Download Successful
Interpreter Script Stored in ChipFlash
5.1.4. Interpreter Commands
All language elements presented in this section are case sensitive.
Definitions
Keyword Definition
Comments Comments start with the pound (#) character and continue until the end of the line.
Numbers Numbers can be specified in decimal (e.g., 0, 1, 100, 256, -359) or in hex when the value is
non-negative (e.g., 0x0, 0x1, 0x64, 0x100)
Debounce
Specify
Debounce(<hi>, <lo>)- wherehiandloare specified in seconds (max 15). The 'Debounce
Specify' element is only used following certain tests (see below). When a debounce is
specified, it means that a test is true only AFTER the comparison is true forhiseconds and
false AFTER the comparison is false forloseconds.
NOTE: NOTE: A test debounce MUST be specified any time the first argument in the test is either a
system value or a special function; it’s the script designer’s responsibility to input
appropriate values for hi and lo.
Keywords
Keyword Description
trigger Denotes the start of a Trigger Block
condact Denotes the start of a conditional Action Block
when Denotes the start of a test when only one comparison is used
any Use when grouping multiple comparisons; test is true when ANY of the comparisons are true
all Use when grouping multiple comparisons; ALL comparisons must be true for test to be true
always Use when there are no tests for a Conditional Action Block. The actions inside a Conditional
Action Block will ALWAYS run when the Trigger Block's test(s) are true.