background image

 

 

 

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

‟.   

Summary of Contents for G021

Page 1: ...omated control of 2 Relay outputs by SMS message activated by alarm input Scheduled control of 2 Relay outputs by SMS message Remote manual override Android and iOS APP interface Monitor and Control through text message input or phone APP Up to 4 mobile phones can monitor and control through each unit In built clock for programming the switch state Easy to install and configure via SMS or APP no P...

Page 2: ...losed wiring options 11 9 2 Daily timer setting 11 9 3 Self lock vs latching mode 12 9 4 Delay time setting on latching mode 13 10 APP 14 10 1 Setup 15 10 2 Set QK controller SIM number 16 10 3 Register SIM cards 17 10 4 Setting the clock on the QK controller 18 10 5 Check relay working mode 19 10 6 Rename control terminals 21 10 7 Control panel 22 11 Command and response SMS 23 12 Specification 2...

Page 3: ...ference 6 Connect to power Check LEDs are working correctly Red LED will flash at 1 second intervals once the system has finished initialization It will then flash every time it is operating a command Blue LED LED will flash blue at start up as it looks for a network signal Once a signal has been found the LED will flash much slower every 3 seconds 7 Register the main phone number that will contro...

Page 4: ...o be monitored an alarm SMS can be received when either alarm input is triggered The alarm input can also be set to trigger automated control of the machinery connected to the Relay outputs 1 and or 2 Three relays output connections for connection to the machinery to be controlled two with daily timers and automated control options manual options and one with manual SMS function Android and iOS AP...

Page 5: ...Quark elec Manual https www quark elec com 5 of 30 2018 V2 3 Hardware Figure 2 General view of the control module V1 9 Figure 3 G021 mechanical drawing V1 5 ...

Page 6: ...tps www quark elec com 6 of 30 2018 V2 4 Enclosure The enclosure is made of IP56 Insulation Class 2 plastic External dimensions 145 x 90 x 41 mm Figure 4 GK G022 with enclosure Figure 5 Enclosure drawing Measurements in mm ...

Page 7: ...the APP and G022P will reply with the local time by text message This should be done once a month to keep the SIM card active 5 1 Insert SIM into the SIM card slot Write down SIM number before inserting into G021 22 The SIM card should be inserted into the SIM card slot before applying the power Power Up The G022P module can be powered by 12V to 24V DC power supply Connect a 12V DC power supply to...

Page 8: ...to reset permissions for the main controller This code allows you to remotely remove and reset all mobile phone numbers stored in the device 7 2 Reset main controller SIM number 1 Send XGZHM command via text to the G022P SIM 2 send 88888888 within 300 seconds to the G022P 3 The module will reply with Your phone has been registered If the G022P replies with the message registered disabled or Regist...

Page 9: ...Quark elec Manual https www quark elec com 9 of 30 2018 V2 System LED will flash at 1 second intervals once the system has finished initialization It will then flash every time it is operating a command ...

Page 10: ...22 G022P will send out an SMS to the registered mobile terminals Meanwhile the corresponding relays you set up will also be activated Alarm function can be disabled so as not to activate relay or timer it will still send message to say alarm triggered Alarm input port Corresponding relay number External alarm 1 INT1 Relay 1 External alarm 2 INT2 Relay 2 PIR detector Relay 3 Note the Alarm input fu...

Page 11: ...f relay1 Normal closed position if common and normal closed are wired then relay 1 will be active while the G022P is powered up This is for fail safe systems where the power going off in the G022P will close relay 1 and activate the output of relay 1 Remember the device processes one command at a time Each command will have a reply to confirm the command has been received and executed You must wai...

Page 12: ...o the same for latching mode With latching controls the device will return to its normal status after a period of seconds determined by the user This is useful for output devices that don t need or want to be on for a long time after they have been turned on For example alarm horns which might only need to be on for 12 seconds to alert the user Figure 8 Relay working mode configurations Self lock ...

Page 13: ...ay time settings for relays Hardware versions G022P provide SMS commands in ONOFFRnxxx format to support other delay times from 001 second to 999 seconds n indicates the relay number 1 or 2 xxx means the delay times from 001 to 999 seconds More details about this command can be found at chapter 10 Delay time set as 12 seconds Delay time set as 9 seconds Delay time set as 6 seconds Delay time set a...

Page 14: ...l G021 22 The app also allows for up to two G022P devices to be controlled from a single mobile operator Figure 10 G022P APP home page iOS The iOS G022P APP can be downloaded from Apple store Android The latest Android G022P APP can be downloaded from the following link https www quark elec com product g021 gsm sms remote controller The Android platform should be at least V 2 1 or higher Figure 11...

Page 15: ... of 30 2018 V2 11 1 Setup After installation on opening the APP for the first time users will see the following page for the login process This login page allows for users to input up to two devices and control them separately Figure12 Login page ...

Page 16: ...M card which is inserted in G021 22 All command SMS messages will be sent to this number via the APP Figure 13 Login details successful Once the SIM card number has been stored the APP will reply with a successful message shown below the login button Click the box next to the number you would like to operate the app with ...

Page 17: ...ds G022P allows one mobile phone to function as the main terminal and up to 3 additional phones to function as control terminals The following interface allows the operator to register delete and check the SIM card numbers Figure 14 Register SIM card Figure 15 Register successfully ...

Page 18: ...ntroller should be set This page allows the operator to check and set the time on G021 22 When using this function the CR2032 battery should be used on the module On V1 5 or later hardware versions a solid capacitor is used instead of the CR2032 battery With a solid capacitor the real time clock can keep working for at least 12 minutes after power off Figure 16 Check the clock on QK controller Fig...

Page 19: ...g modes namely self lock and latching control When working in latching mode the relay takes active action for a few seconds depending on the time setting on the jumpers on the board and then reverts to normal status When working in self locking mode the unit will maintain active status until the next trigger input Figure 18 Check relay working mode ...

Page 20: ...Quark elec Manual https www quark elec com 20 of 30 2018 V2 G022P can also report the relay working status via SMS to the operators Figure 19 Check relay working status ...

Page 21: ...Quark elec Manual https www quark elec com 21 of 30 2018 V2 11 6 Rename control terminals The control terminals can be renamed as a meaningful name in APP Figure 20 Rename control terminals ...

Page 22: ...nual https www quark elec com 22 of 30 2018 V2 11 7 Control panel The control panel provides the main operating interface for turning relays on and off and setting timers Figure 21 Control panel interface for relay ...

Page 23: ...al is registered with G021 22 another three mobile terminals can be paired with G021 22 For example by sending BD107919157124F the first additional mobile terminal number is 07919157124 has been paired with G021 22 Similarly BD207909135124F means pairing G022P with the second additional terminal whose number is 07909135124 The message Your number n phone has been registered will be returned by G02...

Page 24: ... 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 t...

Page 25: ... 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 isn t achievable by re powering up the module only EXTRT will re enable the external alarm input G022P has two digital input ports which can be used to monitor external signals The...

Page 26: ...ve sensitivity 107 dBm GSM transmitting power Class 4 2 W at GSM850 EGSM 900 Class 1 1 W at DCS1800 PCS1900 433 MHz transmitting power 1 W 433 MHz modulation mode ASK AM RF transmission power 10 mW RF emission distance 25 to 50 meters open air conditions Rated current on relay 7A 240 V AC GPS sensitivity 162dBm GPS positional accuracy 53 8 meters Rated voltage on relay 9 V 245 V RF main socket pow...

Page 27: ...ys pair or release the pairing by the following steps Switch off the PIR detector Power up G022P module wait at least 60 seconds Using a small flat head screwdriver press and hold the button on the receiver module The LED light on the receiver module will turn off Release the button until the LED light turns on Once the LED light turns on the memory on the module has been erased and is ready for p...

Page 28: ...is restart G022P and hold the wireless PIR detector in the hand facing the sensor side to the operator s body After about 10 seconds a click sound from G022P will be heard This comes from the Relay3 action triggered by the PIR detector Figure 25 Wireless PIR detector Switch ...

Page 29: ...e for any accident loss injury or damage whatsoever arising out of the use or of liability to use this product Accuracy of this manual Quark products may be upgraded from time to time and future versions may therefore not correspond exactly with this manual The manufacturer of this product disclaims any liability for consequences arising from omissions or inaccuracies in this manual and any other ...

Page 30: ...Quark elec Manual https www quark elec com 30 of 30 2018 V2 ...

Reviews: