![WTE TReX-460 User Manual Download Page 230](http://html1.mh-extra.com/html/wte/trex-460/trex-460_user-manual_1000427230.webp)
TReX User Manual v15.30 Firmware
Analog & Digital Output Format
The WTE output control protocol allows the direct control of analog outputs.
[[ID]UZ[AA]CCC-OOOO]
Where:
[ is the character ‘[’
] is the character ‘]’
ID is the UNIT_ID that must match the TReX to be controlled..
U is the character ‘U’ and is used to mark that an analog or special output follows
Z is the analog output (1-2). 3 is used to write a digital output bitmap.
C is output to close (1-8). Up to 8 outputs can be specified.
- is the character ‘-’
O is the output to open
AA is the value to set an analog output to (0-1023). When a digital output bitmap value is used
this value can be a value from 0-255. When an analog output is set to higher than 1023, the
value 1023 is used.
When square brackets are after an analog output specifier (‘U’), then the value specified is the
DAC value to set. Note that both a digital output and analog output can have the same output
number.
When analog outputs are controlled they must always be before any digital outputs.
Example 1:
Unit configured to have UNIT_ID of “UNIT-1”. Digital outputs 2 and 4 are to be set, and
output 1 cleared. Analog Output 2 is to have the DAC set a value of 927
Message payload:
[[UNIT-1]U2[927]24-1]
Example 2:
Unit configured to have UNIT_ID of 01. Analog Output 1 is to have the DAC set a value of
18, analog output 2 is to have a DAC value of 145.
Message payload:
[[01]U1[18]U2[145]]
Notes:
•
The unit will only process the Output Control Protocol for the unit configured in the
© WTE Limited, 2022 – Christchurch New Zealand
Page 230 of 302
Summary of Contents for TReX-460
Page 87: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 87 of 302...
Page 286: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 286 of 302...
Page 302: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 302 of 302...