Quark-elec Manual
https://www.quark-elec.com
24 of 30
2018
V2
Where n is the relay number.
Check
relay
working
mode
RMODE
G022P will reply with the relay working mode
information in the following format:
„
MMMM1MMMM2
‟
, where MMMM could be
INCH or SELF. INCH refers to Latching
control mode (relay will act for 3 seconds and
then revert to the normal position), and SELF
refers to Self-lock mode.
For example,
INCH1SELF2
means, relay 1
works in Latching control mode and relay 2
works in Self-lock mode.
Check relay working
status
WHOACTIVE
G022P will reply with the relay working status
information similar to the following
format:
„
R1, R2, R3: ACTIVE; DEACTIVE; ACTIVE.
‟
Where ACTIVE means the related relay has
been triggered (COM port connected to NO
port),
DEACTIVE means the related relay is on the
normal status.
One-off
relay
switch
toggling
ONOFFRnxxx#
n=1, Relay 1; n=2, Relay 2.
xx range from 001 to 999,
indicating the delay time in
seconds.
*From
Aug
2018,
this
command has changed to
be „
ONOFFRnxxx#‟
; this
allows the maximum time
can be 999 seconds.
For example, by receiving
ONOFFR175#
, the
first relay (Relay 1) will be triggered on for 75
seconds and then switched off, whether G022P
is working in Latching mode or in Self-lock
mode. G022P will reply with the relay
information in the following format:
„
Port 1 is ON and will be OFF 75 seconds
afterwards
„
.
This is a one-off command, only valid for one
time action. The APP does not support this
command, so the operator should use SMS to
send this message.
Timer
Set time on 021/022
SThhmmss#
Where hhmmss is the
current time
For example, by sending
‟ST153000#
‟, the
operator set G022P time as 15:30:00. G022P
will return the message „
Time
setup
successful
‟
to accept this setting. If the
operator sends the wrong time format, G022P
will return
the message ‟Time setup failed‟.
Check the local time on
021/022
DQSJ
By sending „
DQSJ‟
, the operator will receive
the local time. The message received would be
„
Time at terminal is 12:30:32
‟.
Set Switching Relays ON
time
ONnhhmmss
n=1, Relay 1
n=2, Relay 2
hhmmss is the Switch ON
time.
For example, by sending „
ON2163000
‟, the
operator set Switch Relay 2 ON at 16:30:00.
Message as „
Port 2 will switch ON
‟
will be
returned to operator if the setting successful.
Set
Switching
Relays
OFF time
OFnhhmmss
n=1, Relay 1
n=2, Relay 2
hhmmss is the Switch OFF
time.
For example, by sending
„OF2194500‟
, the
operator set Switch Relay 2 OFF at 19:45:00.
Message as
„Port 2 will switch OFF‟
will be
reply to operator if the setting successful.
Check the current setting
of the timer
RELAYnTIMER
n=1, Relay 1
n=2, Relay 2
For example, by sending “
RELAY2TIMER”
,
the timer setting on reply 2 will be reply to
operator. The replied message will be similar
as
‟Port 2 will switch ON at 12:30;00 and
switch OFF at 13:30
:00‟
Switch off the Timer
setting
GDSn
n=1, Relay 1
n=2, Relay 2
Message „Timer on Relay n has switched OFF‟
will be returned to the operator if the setting is
successful; where n is „
1
‟ or ‟
2
‟.