Page 24 of 28
I/O control
Below are the possible control commands for I/O if configured as OUTPUT or INPUT.
All commands start with: NEUNIT=<A>,IO=<B>,
Where <A> is the unit ID, default 1 and <B> is the number of the IO you want to configure. All
commands must end with a \CR.
Description:
Syntax
<X>
R/W
Control the output
ACTION=<X>
SET, RELEASE or TOGGLE
R/W
Delay before executed of action
(Start delay)
DELAY=<X>
0-6500.0 second
W
Time (changes the action from latch to
momentary in this time)
TIME=<X>
0-6500.0 second
W
Read a IO when set as input
reply example:
NEUNIT=1,IO=1,STATUS=HIGH\CR
STATUS=?
HIGH, LOW
R
Examples of use:
-
NEUNIT=1,IO=1,ACTION=TOGGLE\CR <- Toggles state of IO 1
-
NEUNIT=1,IO=2,ACTION=SET,TIME=10.5\CR <- Sets IO 2 in 10.5 seconds
-
NEUNIT=1,IO=3,STATUS=?\CR <- Queries IO 3 status