
TReX User Manual v15.30 Firmware
where:
TTT is the “ticket ID” that was assigned to the transmission. Rotates from 999 to 0.
NNN is the number of characters from W until, but not including <CR> , the test message
above results in the following response
WT[123,017]<CR>
If a user specified response is required this response can be changed. To change the sent
response to “Page Sent” a leading ‘*’ character must be used in the PROTOCOL->SENT
RESP config item. e.g. “*Page Sent”.
If the entire WT Protocol message needs to be sent out the serial port after each transmission:
Change the sent response to “**” using the menu item PROTOCOL->SENT RESP or the
command
SEND_RESP=
**<CR>. This means that triggering an input with the programmed
content of “WT1234560A10 test message” will result in “WT1234560A10 test message\r\n”
being sent out the configured serial/TCP ports. If the message is not to be transmitted, change
WT1234560A10 to WT1234560
S
10.
Received Messages
All messages received come out via the serial port as configured in by the *RX_PROTO
setting:
If *RX_PROTO=WTE then the output will look like:
WT1234567A10<SPACE>TEST<CR>
The exact same format allows units to be connected together, or protocols to be converted from
one type to another.
Serial Only Output
There is sometimes a need to only send WT protocol messages out a serial port and not
transmit on a particular event. For example, if an input changes state, it might be desirable to
send a message out the serial port to control another piece of equipment, or it might be useful
to use the periodic message to send a health check message out the serial port once every 5
seconds. Receiver only TReX units use this method to output messages.
From v3.45 firmware a new type of message has been assigned for this purpose. This is
‘WTS’
Example:
To send the message “INPUT 1 LOW” out the serial port when input 1 moves low program the
input 1 low message with:
WTS
INPUT 1 LOW
<CR>
© WTE Limited, 2022 – Christchurch New Zealand
Page 144 of 302
Содержание TReX-460
Страница 87: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 87 of 302...
Страница 193: ...TReX User Manual v15 30 Firmware output of FAILED CR WTE Limited 2022 Christchurch New Zealand Page 193 of 302...
Страница 280: ...TReX User Manual v15 30 Firmware SIDE Mount WTE Limited 2022 Christchurch New Zealand Page 280 of 302...
Страница 281: ...TReX User Manual v15 30 Firmware Bottom Mount WTE Limited 2022 Christchurch New Zealand Page 281 of 302...
Страница 286: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 286 of 302...
Страница 302: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 302 of 302...