TReX User Manual v15.30 Firmware
Output Commands
The output commands allow the GPIO pins to be configured as outputs or inputs. Following
configuration of the pins as outputs, they are controlled using the
WTE Output Control
Protocol
.
Note:
Please refer to
Input Output Hardware Connection
section on this manual for
examples of how to connect the input and output pins on the TReX board.
*OUT_CONFIG
Specifies all output configuration items, usage as follows:
*OUT_CONFIG=O:E,T
<CR>
Where:
O = The output to configure (1-8 valid)
: = the character ‘:’
E = IO enabled mode (0 is DISABLED, 1 is ENABLED, 2 assigns output to close on a
RIC RANGE match). When DISABLED, the output can still be used by the alert
output.
T = time for output to close for in 100ms steps. E.g. 100 is 10 seconds. Max value is
32000. Setting to 0 disables the timer and output is latched indefinitely.
Typical usage:
*OUT_CONFIG_L=1:1,10<CR>
*OUT_OPTS
Specifies the format used for the WTE Output Control Protocol, specifically the type of
brackets used e.g. an output command could either be "[[01]1]" or "((01)1)". Usage as follows:
*OUT_OPTS=X<
CR
>
Where:
X = Format to use, 0 uses '[' and ']' characters, 1 uses '(' and ')' characters.
© WTE Limited, 2022 – Christchurch New Zealand
Page 123 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...