Copyright © 2019
–
2020 DARE!! Products
Page 22
Command
Description
Reply
RELAY<index><space>MODE,<mode> Set the relay mode where
<index> can be 1 or 2.
<mode> can be CONT for
continues or PULSE for pulse
mode.
OK or error.
RELAY<index>?<space>MODE
Get the current mode of the
relay. <index> can be 1 or 2.
CONT for
continues mode
and PULSE for
pulse mode.
RELAY<index><space>PULSE,<value> Set the pulse duration.
<index> can be 1 or 2.
<value> is time in seconds
that the pulse is active.
Example:
0.5 for half a second.
OK or error.
RELAY<index>?<space>PULSE
Get the pulse duration.
<index> can be 1 or 2.
Value in seconds
or error.
RELAY<index><space><state>
Set the state of the relay,
<index> can be 1 or 2 and
state can be ON or OFF.
OK or error.
RELAY<index>?
Get the state of the
relay,<index> can be 1 or 2.
ON/OFF or error.