
XT2500 Product Manual
Page 32 | 92
CONFIDENTIAL AND PROPRIETARY
Actions
Script Language
Description
ResetDevice()
N/A
ResetModem()
N/A
ResetGPS()
N/A
AdjustUserVar
(<type>, <index>,
<adjust_amount>)
Type range: 0 to 2
Type
Description
0
8bit variable
1
16bit variable
2
32bit variable
Index range:
Index
Description
0 to 31
8bit variables
0 to 15
16bit variables
0 to 15
32bit variables
Adjust_amount range:
Adjust Amount
Description
-128 to 127
8bit variables
-32768 to 32767
16bit variables
-2147483648 to 2147483647
32bit variables
NOTE: user variables are 'clamped' at min and max. Meaning no matter the size of
adjustment the value will never go lower than the minimum or higher than the
maximum (it will not roll over).
SetFlag(<flag_index>)
Index range: 0 to 31
ClearFlag(<flag_
index>)
Index range: 0 to 31
StartTimer(<timer_
index>)
Index range: 0 to 31
StopTimer(<timer_
index>)
Index range: 0 to 31
ResetTimer(<timer_
index>)
Index range: 0 to 31
BuildAndSendMsg
(<packet_id>,
<reason_code>,
<destination_id>,
<ack>)
Parameter
Range
Description
Packet_id
0 to 254
Should be an ID configured with :wycfg pcr[x]
reason_code
range
0 to 255
Assigns the reason_code to the index in the
script. Any reason_code less than 0 or greater
than 255 will wrap.
destination_id
range
0 to 9
Should be one of the destinations configured
with :wycfg dst[x] ...