TReX User Manual v2.14 Firmware
Variable Content Macros
WT Protocol can use several macro tags to display variable content. This may be useful as part
of a periodic message for example to report battery voltage or IO conditions. Any number of
macros can be used in any location of the message until the max message length has been
reached.
Macro Tag
Description
Example Output
**01
Auto Incremented Ticket ID
(3 digits rotating)
123
**02
Time/Date
23:34 01/02
**03
Digital IO
I:11110000--- O:1111000000
**04
Analog IO
ADC:1023,1003
DAC:1023,1003
**05
System Voltage
12.1
**06
Temperature (Digital, RF
degrees Celsius)
23.4, 44.5
Example:
To transmit the system voltage when input 1 goes low, program the input 1 low message with:
WT1234567A10<SPACE>INPUT 1 **05V<CR>
The message that will be transmitted and then received will look approximately like:
INPUT 1 12.1V
© WTE Limited, 2018 – Christchurch New Zealand
Page 88 of 158