Quark-elec Manual
https://www.quark-elec.com
25 of 28
2018
V3
Timer
Set time on QK-021/022
SThhmmss#
Where hhmmss is the
current time
For example, by sending
’ST153000#
’, the
operator set G031 time as 15:30:00. G031 will
return the message ‘
Time setup successful’
to
accept this setting. If the operator sends the
wrong time format, G031 will return the
message ’Time setup failed’.
Check the local time on
QK-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
’.
Note: The local time will not be affected by
switching off the timer.
Monitoring/alarm input
Releases relay status
which is triggered by the
external signals.
EXTRT
After it has been triggered by the alarm input, the
related relay will be locked in the normal state. By
sending
‘EXTRT’
, the relays will be unlocked and
available for responding to SMS commands
again.
Disable the function of
been triggered by
external signals.
EXTGBn
n=1, Relay 1
n=2, Relay 2
n=3, only available for
PIRwireless PIR detector
(QK-G022P variant)
By sending
‘EXTGBn’
, the external alarm input n
will be disabled. Message ‘
Alarm input n has
been disabled
.’ will be returned to the operator if
the setting is successful, where n is ‘1’ ‘2’or’3’.
By sending ‘
EXTRT
’ all external alarm inputs will
be active.
This disable status doesn’t affect by re-powering
up the module, only
‘EXTRT’
can.
G031 has two digital input ports which can be used to monitor external signals. These two external input
ports can accept 0.0 V to 24.0 V voltage levels. Should the input voltage level be below 1.0 V, the main
mobile terminal will receive the warning message ‘Port n has been triggered’, where n is the relay number.
The relay n will switch to the normal state (NC will be the closed state and NO will be the open state).
Sending ‘EXTRT’ will release the relays and make them available for responding to SMS commands.