SMS CONTROLLER  GXL8 (extended) User manual   Fr
Need to be reworked with the Add-on from the French version.

Just insert your SIM card in the SIM card holder with controller unpowered when possible, connect the antenna and plug the power supply adapter into the main power. You are then ready to check and get familiar with its functionalities before definitive installation. If any, remove the SIM card pincode with your own mobile phone before insertion and also check that you can send SMS with this card. A prepaid card is also well suitable.

All [commands] are sent as SMS to the controller. A command error will return a contextual info SMS showing the details on your mobile!

Pw is the controller's Password (not the SIM pin code!), which is 0000 until changed. It is also the only case-sensitive command.

Send SMS command [0000 ?] to the controller from your mobile phone and you will receive an SMS listing the basic (most used) functions. Send [0000 ??] for a list of the extended supported functions. Do not include the  [ ] delimiters from the examples in the SMS.
Send any of the listed commands and you will get a short memo of the corresponding function. Example: [0000 R?] will reply with info's on how to control the output Relais.

This extended controller does all that the basic one does, but also supports event configuration with just a few simple SMS commands sent to it.
ANY change on Inputs, Voltages, Temperatures, Level, Hygrometry, Time, etc, can force to switch ANY chosen output(s) and send Warnings and  Alerts messages to a specific number at chosen values. Any of those events can also automatically or after a wanted delay, force/execute a local command just like an SMS command sent to the controller could do.
It can send different kinds of messages; Info's, settings, Warnings, Alerts and Alarms, this as specified on the received SMS.

Basic Functions listing.        [send to the controller as SMS]
    Show basic list in replied SMS             [Pw ?]
    Reply with Status-SMS                      [Pw S]
    The Alarm Inputs                           [Pw A?]
    AL Display Alarm Delays. AnA test Alarm       [Pw AL]
    Numbers for warnings, alerts and Alarms    [Pw N?]
    NL List numbers programmed in memory          [Pw NL]
    Outputs R1, R2, R3, R4 and R5              [Pw R?]
    Change/edit Inputs and Outputs names       [Pw E?]
    Monitor, audio Microphone                  [Pw M?]
    Pw Password  (default 0000)                   [Pw P?]
    Factory parameters restore                 [Pw F?]
    HH:MM:SS for time related functions        [Pw H?]

Advanced Functions listing.   
?? List of extended functions                 [Pw ??]
Ss Reply with Ext. Status SMS                 [Pw SS]
Se Status Energy module (optionnel)           [Pw SE]
Sx Advanced Energy module Status              [Pw SX]
Dial to n numbers for alarm and SOS        [Pw D?]
Interval timing on Output n                [Pw I?]
Junctions Inputs n to Output n             [Pw J?]
V1 (Bt) Voltage alarm and control. 0-16Vdc    [Pw V?]
V2 Voltage 2 alarm and control. 0-150Vdc      [Pw V?]
T1 Temperature 1. Alarm/Control. 0 +95°C      [Pw T?]
T2 Temperature 2. Alarm/Control. -40 +125°C   [Pw T?]
Gl Pressure Sensor. Tank Level Alarm/Control  [Pw G?]
Humidity. Alarm and Control. 0-100% rH     [Pw Y?]
AC Réseau (Grid) Main control (power supply)  [AC]
RST 3 Phases Alarm and Control                [RST]
Cj Cp Run time Totalizator and Pulse counter  [Pw C?]
*  Redirect received SMS to PC screen         [Code *?]
Send serial port input as SMS to N1        [Pw #?]
Direct AT commando, SMS to GSM radio       [Pw &?]
Direct Read Write to controller memory     [Pw w? X?]
Basic schematic example   PC program

Some to all functions can be configured or simply left unconfigured according to user needs. They will simply be ignored by the controller when left unconfigured.
The red LED (T54) shows the radio module initialization, the connection attempts to the GSM network and any traffic with if the SIM card is working. You can start sending [commands] after 30s or when LED (T41) will flash at 1 second rate, green when standby and red when alarm function A On or O+.
The yellow LED (T28) shows the grid power when the adapter is used.

The following examples below shows commands sent to the controller as [BOLD] and messages sent from the controller to the cell phone in GREEN.

    S    General status informations.

          [Pw s] to the controller will make it reply with the current basic status.

R1 ON xxx Jn     (xxx = remaining time On if timed).
R2 Off Jn Jn     (Jn eventual Junctions). See (J?).  
R3 Off Jn        (Items can be removed from status(R4?).
R5 ON Jn         See or send [Pw R?] for relais info's.
V1 13.5          Internal Bat Volt(T31) PowSupply input.
V2 53.5          External Voltmeter(Terminal 33)0-150V.
T1 18.2          Temperature T1 (0-95) on Terminal 39.
T2 -24.2         Temperature Thermometer 2 (-40-125)
AC=1 RST         1 or 0 Grid (T29), 3Ph control.
G 24%            Tank (liquid) level. 
Y 56%            Hygrometer (0-100rH).
i0-7: 01101100   Inputs Level.   
A=ON M0          Alarm On/Off, Mic On/Off, Status on call.
13:45            Controller time clock (RTC)

Items can be added or removed from the basic SMS status message. So command [V1-] will remove line V1. V2- T1- T2- GL- and Yg- can also remove corresponding line from the basic status message. Command [V1+] will make line V1 to be listed again. Same for others...

[Pw ss] to the controller will send back the current status from line V1.

V1 12.6
V2 60.2
T1 22.2
T2 20.8

AC=1 0ST         Grid, only phases 2,3.
G 50.1%          Level sensor
Y 53.3%          Humidity sensor
Cd 11:23         Run time counter. DAY
form 00:00
CT 1982:13       Run time counter TOTAL
Pd 240           Pulses counter. DAY
form 00:00
PT 2354148       Pulses counter TOTAL
i0-7: 10111111

Status replies are sent to any number sending request [Pw s] [Pw ss] or to number N1 in list when calling number is not recognized. The system can be setup to automatically send daily or repetitive status messages. see therfore H?.

    A    Alarm Inputs.      Display Alarm Delays.      Force Alarm.

Up to six alarm inputs can be connected. The sensor (or group of sensors) can be any (magnet, pressure, temp, …) switch contacts directly connected to the controller inputs. Any device, like motion detectors or fire alarm sensors with a potential free output that can make or break a circuit (between GND and the input), like a switch will do, can be used.
Be sure that no voltage (or in any cases no more as +12Vdc) will be applied on the inputs. In fact, circuit shorted to GND or open is enough to make the input trigger an alarm (or a Junction event, see J?) and is the way that should be used to drive the inputs A0 to A7.
Inputs 0-7 High level (circuit open) should show about 3.3V and can not drive out any current!

Any level CHANGE on Inputs A1 to A7 will trigger the alarm and the emission of an Alarm SMS after a corresponding Input Delay. Several SMS can be sent according to parameter D [Pw D?] starting from N1 of the number list. The number list can hold up to 64 numbers, see [Pw N?].
Sending any command (or only the password [Pw]) will stop the emission. Sending [Pw A Off] will stop the emission and the JAS (siren or else), if used with output timed or On. See JAS

The Alarm function is standby when A=Off, and is in watch when A=On or A=O+ as shown in the status-SMS. Use [Pw A?] for infos.
The Alarm function can be switched On manually with Input AE (A0) T17 to GND or Off when T17 is left open. Command  [Pw A On] or [Pw A Off] via SMS command to the controller can be mixed with the manual setting. Command [Pw A O+] will prevent the alarm to be set off with the manual switch.
The JAR function can automatically switch an output relais according to the Alarm mode On/O+ or Off. See J?

A received ALARM SMS message look like;

!ALARM! BACKDOOR     Alarm message show !ALARM! first!
A2=Low(0) TRIGGER!   Or High(1)
Delayed SSS sec.     Corresponding input delay. See AL
i0-7: 11011111       Alarm Inputs Level.
Pw S, AL, J?, M?     Suggested commands.
JAS 8 0 R4 N0        Possibly; JAS that triggers on alarms.
Alarm SMS count      Default 5; see parameter D?.
13:02                Controller time

    AL    Display Alarm Delays.

Each alarm input A0 to 7 can have a delay assigned to it. This is the delay before an alarm SMS will be sent after corresponding input level change. So [Pw A1 20 A2 500] will assign input 1 delay to 20 and A2 to 500 seconds. Delay input A0 sets the delay in seconds to get out before the alarm goes from Off (standby) to On (watch) when the alarm is activated with input 0 (T17) to GND. Delay can be from 0 (0 = no delay  =  no alarm) up to several minutes ex: [Pw A0 180] will set the exit delay to 3 min. No EXIT Delay is accounted when the Alarm is turned On via SMS. It then immediately goes to On/Off.

Command [0000 AL] will make SMS you the actual input delays list and names.

0=9 EXIT!     Delay when manually switched On
1=3 A1
  Actual input name
3=1 A3        Only to number 3 in list
4=0 A4       
No alarm on A4 (0!)
5=-553 A5    
Was 32, but disabled for 10mn
6=R6=6 A6
     Can also be used as an Output
7=1 SOS (your SOS msg) 15c only shown with AL
Clock time is added in most SMS

Possibly, A1 to A6 can make send only one SMS alarm N1 to N6 programmed numbers on alarm event if corresponding A1 to A6 delay is set to 1. Like A3 here above, that will send only one SMS to the number programmed at N3 or to the first next valid number in list if no number is found at the pointed position.

Listing the delays will show the time left for the disabled input(s). When 0 again, previously programmed input(s) delays will be reloaded and alarm can be triggered after that.

Command [Pw A5 -600] will disable the alarm input for 10nm. Command [Pw A0 -3600] all Alarm inputs for 1 hour. Negative timing can be from -32000 seconds to -1, which is about 9 hours.

The SOS Emergency function can Alarm you via SMS. Input A7 (T26) is an emergency input that will always send an emergency SMS no matter if the controller is in alarm-, watch- or standby mode. A simple push or any on/off switch can be connected to this emergency input. As for the other Alarm inputs, A7 must hold same level for 5ms before the alarm delay begins decounting and the function will be triggered.
Note: The SOS input (A7 level changes) also triggers Junction JAS (if setup) if the Alarm function is ON or in O+ mode.

A1 to A7 can be edited to the wanted name, so that the message becomes more intuitive. So, the SOS message, that can be edited to your own needs or just left as is, could be like;

   “Call 323123456 immediatley!” See E (sos) to Edit the SOS message.

    AnA    Force/Simulate/Test an Alarm event trigger.

When the alarm is on watch, A=On or A=O+, command [Pw AnA] to the controller will simulate alarm input n change and will reply with an Alarm SMS to number N1. n can be 1 to 7. This gives a real Alarm test for input A1 to A7; the six alarm inputs and A7 the SOS input.

Manually changing the input level by shorting it to GND and releasing it (open circuit) will of course trigger the alarm as well. When an Input is only wanted as a Junction Input and not for alarm issues, set corresponding delay to 0 [Pw A4 0].

See first at J? and know about the Junctions functions before reading the end of the AnA comments.
When Alarm in On or O+ and the inputs are also in use for the Junction function, [Pw AnA] will also force an Alarm test only when the F3 field (the relais output) of the corresponding input Junction i/A1 to i/A7 is 0. Values >0
for F3 field disable this AnA test and the alarm function for corresponding inputs.

If junction JAS is setup, it will be triggered on Alarm event (only if the Alarm is On or O+).This junction works as other junctions, including switching (ex. switching of alarm sirene or lamps on alarm event) and SMS (preferably don't use SMS with JAS). See J? for JAS.

Alarm and junction warnings are both sent when;

- A=On or O+  (if A=Off, only the junction works).

- Alarm event occurs (Input change on input with delay An >0).
- Field F3 = 0, (None of the output will is switched).
- Field F4 points to a valid list number (or no warning).

This combination of An and Jn makes it possible to send an Alarm to the normal alarm numbers (see D?) AND a Warning to a specific list number as defined in the corresponding junction setting (see J?), this for the same input change event. Do not mix Alarm and Junction inputs for an easy startup...

Alarm event can also force execute direct local commands. If for example "=R2 15" is written at N4 in number list, and within the range of parameter D, R2 will be set On for 15s on alarm event. So if D says 5 numbers to SMS to for an Alarm and that the command is written at N3, it will be executed as well.
Write direct commands normally used for the Junction funtion (having F4 pointing to a number position in list) at a high position above the range of D, unless a direct local command is wanted on alarm event.

    N     Programming the numbers where to send Warnings, Alerts, Alarms and SOS.

Up to 64 numbers can be programmed. Command [Pw N?] will reply with an SMS that will remind you what you can do to program the numbers.  

At least one (mobile) number needs to be programmed at position 1 because in many cases, number n1 will be the one where the controller will send an SMS. To add a number to the list at position x, just send command [Pw Nx NUMBER] ex: [0000 n3 06554422 n2 2015423214 N10 +3224561521 n,,,]

The Number list (phone book) will contain short string of text(memo), or the phone numbers pointed by field F4 where to send the junction warnings (see below J?), direct local commands to be executed when vectored to. It can also contain additional so-called "AT commandos" executed at GSM radio module initialization for other gsm radio configuration.

     NL   Listing the numbers.

[Pw NL] will make send back an SMS listing the first found numbers;

1 0655520710     Number N1 mandatory.
2 0206222240     More alarm numbers.
3 +33453256333   Abroad numbers as well.
10 <10101010     Warning number;
15 <0658520220   Jnn (F4=15) Warning only for Low/0/Off.
20 04755245154   Jnn (F4=20) Warning for H/L/1/0/On/Off.
35 >0696465498   Jnn (F4=35) Warning only for High/1/On.
36 >+2356521154
40 =R2 60        Jnn (F4=40) switch R2 On 1mn.
45 Anytext15Chrs Any short text can be stored,
46 more text!    having no functionality (memos).
50 0552545245
55 =s            Status to N1 on Jnn event pointing to N55      
51 =R5 Off s     R5 off, Status to N1 on Jnn event.
55 AT+PSSLEEP=0  AT command executed at radio start.

Numbers are listed in order from 1 to n untill SMS is full. [Pw NL35] will make send back an SMS listing with numbers found from position 35 until no more are found or SMS full again. An SMS can carry up to 160 characters.

Junction command having last Field F4 pointing to a list number can make send a Warning for low/0/Off (<) event, the opposit(>), both event or none when F4 is 0. See at Jnn for more infos on this matter.
The number list can also contain special At commands that will be executed at GSM radio module setup. So, also at system power-up and after command 
[Pw Fz] or in any other cases, making the built-in radio module initialize/restart. Great care must be taken using AT commands to the GSM radio, and doing it without knowledge in the matter will probably at least interrupt any communication with it.
To avoid any confusion, just simply begin writing Alarm numbers into the list from N1 and evaluate the Alarm function before using other possibilities.

    R    Outputs R1 to R5.  Command [Pw r?] gives details on the output function.

The five power outputs let you remotely drive any machine or high power equipment with a simple SMS command . Output 1, 2 and 3 are (No/NC) and Output 4 and 5 are (NC/NO/NC). Up to 10A 250VAC 2500W can be switched*. Be careful when connecting high voltage on the output!
Timing up to 65500 seconds (about 18 Hours) can be added to the command. No timing (just: On) will make the output simply switch On until an Off-command arrives.

To switch an Output On or Off, send command [Pw R1 on] or [Pw R2 off].  Multiple commands are supported in the same SMS command to the controller; [Pw R2 on R3 off R1 On 5 R4 120 s]. Optional trailing s will make the controller immediately send back an SMS that will show the new outputs status including timings.

To switch an output Relais On for 3mn, send command [Pw R1 on 180]. To do so for 1 hour [Pw R1 3600].
Outputs can be given a meaningful name such as Pump, Light, Motor... You can Edit the Output as you like.
So if Relais R1 is Edited to Pump, command [Pw Pump 600] will switch the pump for 10min. [Pw Pump Off] could stop the pump anyway, also before those 10mns. (See E , editing the In- and Outputs for details).

Some output listing in a [Pw s] status SMS command;

R1 ON 187 Jn     187s before Off after [Pw R1 351].
R2 Off AS I2     R2 goes On by alarm trigger (AS).
R3 ON            [R3 On], [R3 Off] to set it Off.
R4 ON Jn         R4 could have been set On by Jn.
R5 ON AR         Also goes On with [Pw A On] (AR)
R7 ON 33         Was [Pw R7 33 s], see just below.

A6 and A7 can also be used as Low power digital outputs having 0 volt level when Off and about +4.5V when On. R6 and/or R7 will show up in the status message when in use and corresponding Alarm inputs are then disabled. Junction Ji6 and Ji7 remain functional and, if setup, will react on R6 and/or R7 output change.
To use them as output, just send same command as for the other Relais output. So [R6 on] , [R6 Off] , 
[R7 30] , [R7 Off] will make them change level and as outputs be able to source or sink about 3 mA; enough to drive a LED or a NPN power input.
R6 and R7 will become inputs again by writing corresponding Alarm delay to any value like [A6 64] , [A7 1]. See A? and AL for info's on Alarm inputs.

*DANGER: Great care is recommended when blindly switching any machine or device remotely. Furthermore, the switching order, that normally should arrive in a few seconds, could arrive delayed at the controller due to a GSM network overload or any other possible unexpected reasons. Therefore and in general, you must really know what you do and always disconnect the controller outputs and power before doing any work or maintenance on the connected devices.

    E    EA     Editing the Alarm Inputs A0-A7     

To Edit Input A2 into Backdoor, send command [Pw EA2 Backdoor] to the controller. An alarm SMS triggered by A2 will then show;

!ALARM! BACKDOOR     Alarm message show !ALARM! first!
A2=Low(0) TRIGGER!   Or High(1), + remaining of the message.
Actual names are also listed in the delay timing SMS. Try [Pw AL]

Alarm input names can have a maximum or 15 alfanumeric characters with no space in the Input name. So [Pw ea2 sensor-2!] will show "!ALARM!  SENSOR-2!" in an Alarm message.

Only the SOS Alarm message, that can be up to 64 characters long, accepts space characters in it. It will be edited the same way; [Pw ea7 this is your sos message for input A7!]

An SOS Alarm will show;
SOS ALARM Input A7! level=(0).
i0-7: 11111110

The SOS input A7 is always on duty no matter the alarm mode A= On or A=Off, if A7 delays is >0 and not used for output as R7.
The same names will be shown in a warning Junction Ji1-7 message corresponding to the Alarm input. Therefore a meaningful alias needs to be chosen for the input i/An.

       ER    Editing Outputs Relais names.
To give R1 the name PUMP, send SMS command [Pw ER1 pump] to the controller. To Edit Output R2 to LIGHT, send command [Pw ER2 light] and for Rn [Pw ERn NewName]. Output Relais names can have a maximum or 15 alfanumeric characters with no space in the output name.
Input and Ouptut names are two different things. Input names are listed with [Pw AL] and Output names with [Pw S]

Any of the Output R1 to R7 edited to only 1 character will not be listed in the status message, but it will not lose any functionality. So [Pw er3 3] will short the status message with one line.
Its new name is now 3, so [Pw 3 3] could switch it for 3 seconds and [Pw 3 13] for 13 seconds. So rename unused output R1 to R5 to only one character in order to reduce the status message when it become to long to fit the status SMS.
Keep single letter output names consistent and edit the outputs like, R4 to 4,  R5 to 5 to avoid later difficulties remembering what they where named.

Actual Output names are listed in the status SMS so [Pw s] to the controller will show the output names.

NewName OFF

After editing, the Alias will be used to command any switching on the outputs. So chose short, meaningful and easy-to-remember output names. To switch On the pump for 15 minutes and the light for 1H, send command [Pw Pump 900 Light 3600].
To rename an Ouput or Intput already, the default name will allways be used. So
[Pw ER1 Motor-2] will rename it from PUMP to MOTOR-2.

      M  Monitor audio.    Send [Pw M?] explains the function.

A Microphone (delivered) can be connected to terminals 49 (positive, red), 50 (negative, black) . So put a device On remotely with as example; [Pw R4 On M2 s] to the controller. After this you can normally voice-call the controller and after 2 rings you will be able to listen (optional trailling (s) will here add a status message to the command). Values 1 to 5 are valid, but rather use 2 or 3.  
Just hang up to terminate the call, call another time or disable the monitoring by sending [Pw M0] or [Pw M9] when finished because the SIM could be called from anywhere by anyone else. Mic disable itself at HH:59+1. [Pw s] or [Pw M?] show the actual setting.

A small speaker 16 to 50 Ohm 0.5W can also be plugged at T51 T52 for duplex audio. Do not install the speaker next to the Microphone and install the antenna as far as possible from the MIC. Any amplifier can be used to amplify the speaker's output signal but, an audio transformer (mandatory) needs to be connected in between to be sure of a correct galvanic insulation. To speek trough the amplifier just use same way as for the mic even when no mic is used. Set M to 2 and call the sim.

Any mistake on these MIC and SP input/output and the gsm radio module will definitively become out of duty! Same for all other in- or controller outputs that you may connect at your risk.

M set to 9, [Pw M9] makes the controller send back a Status short message when called. Message is sent to the first number in the list (position N1) after two rings. To get  the status message, when M9, just normally (voice) call the controller SIM number. The call can be terminated when the third ring is heard.

    Pw    Password  (default 0000).     Changing the password.  [Pw P?]  says how.

The default Password (Pw) is 0000. To change it, send SMS command [OldPw Pw(NewPW)]. The Password is 3 to 7 characters or digits maxi and is case sensitive with no blank in it! Keep it short to make things fast and easy. So [0000 P(123)].

To change it to ABC, send [0000 P(ABC)] and to change it again for "1+2=3" send [ABC P(1+2=3)]

If the Pw is lost or forgotten, disconnect the controller power, any wire on A0 and A1 and short A0 to A1. Power-up the controller again. The default settings are then restored, see (F?), and the Password will be 0000 again. Don't forget to disconnect A0 from A1 after 1 minute! See informations by sending [Pw P?] before changing the Password and be sure what to do. AO is Terminal T17 and A1 T19.
If A0 and A1 can not easily be disconnected, use the internal "In Pw =0000" jumper, found just above the A0 A1 connectors.

    F   Factory parameters restore.    [Pw f?] to the controller shows the details.

In case of a major problem, sending [Pw FSRA] to the controller will force the restoring of the controller and the Parameters to the default factory settings. Wait 30 seconds and use Password 0000 (4 x zero) after a FSRA command. Then start to re-program the parameters to the wanted values. Restoring the controller and the Parameters to the default factory settings can also be achieved with the internal
"In Pw =0000" jumper.

[Pw Fz] only initializes/restarts the built-in radio module (the one that connects to the GSM network),  password and parameters remains the same. This action has the same effect (but from a distance) as removing and re-establishing the controller power.
[Pw Fg] restore the radio module default settings (only use after changing some AT settings).

The [Pw F?] command to the controller will send back an SMS that also shows others relevant parameters.

FSRA Delete/Restore All(Not N list)!
Use Pw=0000 S, after 45s.
Pw Fz restart system, FG radio.
FSRA=2        How many FSRA restorings so far.
Adc=0         ADC converter auto restore count.
GSM=5         Auto reconnection to network count.
Fz=8          Auto+forced system restart count.
GXL8 V1.0     Loaded firmware version.
FSn/s 0       Controller mode; SIM(0) or NO SIM(111).

The SIM/NO SIM option makes the controller work stand alone without connectivity. So the SIM card (also when incerted) is disgarded and all related GSM issues are disabled. This option will be useful when the controller is used to regulate some local systems that do not require GSM control or commands.
Regarding the possibilities, this controller is also a programable control computer at very fair and competitive price!

Command [Pw Fsn] serial or via SMS enables the NO SIM mode. If sent via SMS, it will consequently be the last command received via SMS. [Pw FSS] sent from PC via serial will re-enable GSM communication and restart the controller. Local PC communication still available in NO SIM mode and any settings or commands can be done from it. 

    H     H:M  setting for time related functions.    

To set the controller software and hardware Real Time Clock (needed for all related Time functions) at 14:49, use [Pw H 14:49].  The clock can be adjusted before or after any other command. Like here with [Pw H 12:14 R1 Off s] 
The software clock also tells about unexpected system resets (watchdog that resets the controller computer on a fatal error), because it always restarts at zero when the controller is powered On or by the FSRA or Fz command.
By default and as control, a Status SMS is sent to number N1 3mn after power on or initialize if no command is received by the controller before this lapse. The time shown in the status is then 00:03. After that, the software clock will synchronize with the hardware real time clock. If no power interruption has occured, it will be set to the right time (if parameter Hc is left at 0). The hardware RTC is both fed from bat+ or adaptor+ power.

[Pw h?] lists all time related functions settings.

Pw H 05:38       The actual controller time.
Hs1 3 12:15     
Status to N3 at 12H15 once a day.
Hs2 51 00:00     No status because 00:00 invalid.
Hsm 0 mn         Repetitive status time synchrone to Hs1(N3).
Hss 0 sec        Repetitive status at sec to HS2 N(51) number.
Hse 6 00:00      Energie(SE) to N6. Répetitive (00:MM) or at HH:MM.
HL 05:06         To serial once a day at 05H06.
HLs 0 sec        Print status to PC at second lapse.
Hr4 21:21 00:00  R4 on at 21H21.
Hrs 100s         Off after 100s starting at 21H21.
Hc 0             The actual soft clock correction.
RG=22            Registered to Network test HH:22.

Hc is a clock correction parameter that can be used to tune the software clock only. If you think the clock is too fast with 2s a day, send [Pw Hc -2]. If 4s a day too slow, set it to 4 with command [Pw Hc 4]. [Pw Hc 0] will force use the hardware RTC clock that does not need any correction and is the recommanded setting. Only the software clock is working in the NO SIM mode, not the RTC. So when needed, the Hc parameter can be used.

[Pw Hs1 3 12:15 h?] Will force a Status SMS to N3, each day, at 12:15. This will give a good control of the system. [Pw Hs2 50 2: 30 h?] will send a second status message to N50 at given time. A valid number needs then to be at position N50.

[Pw Hsm 15] forces a status SMS to N1 at time at HH:15 each hour.
[Pw Hsm 75] Status SMS each 2 hours at 60+15nm.
[Pw Hsm 140] Status SMS each 3 hours at 60+60+20nm.
[Pw Hsm 220] Status SMS each 4 hours at H+60+60+60+40mn.
[Pw Hsm 250] Status each 5 hours at 60+60+60+60+10nm.

Following command make output (print) the status on the controller serial port.
[HL 10 30] forces printing a status message to the serial output at 10:30
[HLS 600] to print the status to the serial output every 10mn.

Hss force send status at Hss programmed value to the list number assigned to HS2. So command [Code Hs2 25 00:00 Hss 600] will send the status at number found at position 25 in number list. This on the 10 mn (programmable from 0,1 to 65000sec).

[Code HSE 6 15:30] make send Energy Status  SMS (SE) to Number 6 in list, every days at 15:30. If field HH of HsE is zero, only the minutes are worked out and a Se status will be send out each hour, also synchron to time clock minutes MM.
So command;
[Code HSE 8 00:30] send each hour at HH:30 to Number written phone book list at position 8. (See at bottom Se and Sx for Status request to the energy module that then immediately reply).

An Output can be automatically switched at a wanted time. [Hr2 14:15 14:30] will switch Relais output R2 at 14:15 On, then Off at 14:30. This on the daily. If Hr2 time off is left at 00:00, parameter Hrs will say for how many seconds the output needs to be on. So [Hr2 14:15 0:0 hrs 12] will make switch the output On for 12s at 14H15 everyday.

    D   Dial to n numbers for Alarm and SOS.    [Pw d?]  Shows details + actual values.

Programming how many numbers will receive the message for SOS and ALARM. Parameter Dial tells to how many numbers in thet the Alarm SMS are sent.

Command [Pw D 2 5 d?] will make the controller send SOS Alarm SMS to the 2 first numbers found in the numbers list and Alarm-SMS to the 5 first numbers found in the same number list. Numbers found at lower position will be served first. Following/trailing d? optionally returns you the new settings. (See N above to program the numbers).

    I    Interval timing on Rn .    [Pw I?] gives details. [Pw s] show the Interval values.
Any of the 5 outputs Relais can be used for Interval timer up to 65500 seconds (>18H).

[Pw I3 40 3600] will switch on Output R3 for 40 seconds, waits 3600s (1H) and switches it on again for 40s. Again and again until command
[Pw I0] , [Pw I3 0] or other Interval values are sent to the controller. [Pw I5 40 3600] will use output relais R5.
Do not choose to short times to preserve the mecanical output relais.

    J    Junctions.  Ji1-7 Ar,As, Ac, L1, L2, L3, JV1, JV2, JT1, JT2 JGL, JYg,,,
The "Junctions" functions gives you the possibility to link any input(s) or any event (Voltage, Temperature, Level changes and others) to any output(s) or action. These Junctions, soft but physical, add "extended" functionality and flexibility to the controller.
The most simple one for example, can switch an output relais On, Off or for a time lapse, depending on an input change, while others can force an action at measured values programmable edges.
[Pw J?] explains the principles, [Pw J??] shows more, [Pw JL] lists the active Junction parameters, [Pw Js] lists the junction input delays for Ji1 to JL3, [Pw Jm] the unlock parameter for JAC to JYG and
[Pw JLs] returns a list of basic Jnn settings just for remembering.

A short 5 fields SMS;  [Jnn F1 F2 F3 F4] sent to the controller configures a Junction.

Field Jnn is the Junction name like; Ji4  JAC  JL2   JYg
Field F1 tells what to do for the outputs for level; 1(i1-7), On(Ar,s,c + L1,2,3), and High(V,T1,2,G,Y).
Field F2 for level; 0 (i1-7),  Off (Ar,s,c + L1,2,3) and Low for (V,T1,2,G,Y).
Field F3 tells which output will eventually be switched.
Field F4 tells at which number the Warning message will be sent.

[Pw JL] lists the active Junction and parameters (listed values are fields examples).

Jn s s R N             Jname F1 F2 F3 F4
A1 0 0 1 3             Ji1 for input I/A1 R1 Off on any change
A7 0 0 0 3             Ji7 for input I/A7 Only sent Warning to N3
AR 1 0 2 0             JAR R1 On if alarm On. Off when A=Off.
AS 25 0 4 0            JAS R4 On for 25s on Alarm event (sirene?)
AC 1 1 0 40            grid control via adapter, Alert N40
L2 -1 1 1 0            JL2 R1 No change when On, Off when L2 Off
V1 11.0 13.0 5 5       Vbat R5 On If <11, Off If >13, Warning N5
T1 19.0 24.4 3 15      Temp. R3 On If <19, Off If >24, Warning N15
T2 19.0 22.0 3 0       Temp. R3 On If <19, Off If >22, NO Warning!
GL 5.0% 95.0% 4 0      Tank Level R4 On <5%, Off >95%, No Warning!
Pw JLL                 Only active Jnn listed, LL bcs more to list!

Jn s s R N             [Pw JLL] start listing from J10=JAC.
AC 0 0 0 40            Only Warning to N40, no switching! F3=R0
L2 0 1 0 20            Only Warning to N20, no switching! F3=R0
V1 11.0 13.0 5 0       Only R5 switching, NO Warning! F4=0
T1 19.0 24.4 0 0       No switching, No Warning! Value idles.
T2 -15 -10 3 60        R3 On <-15, Off >-10, Warning to N60!
GL 5.0% 95.0% 14 0     R4 OFF if <5%, ON >95%. Offset 10=Not Rn 
YG 45.0% 66.0% 12 0    R2 OFF if <45%, ON >66%. 12 = Not R2

Ji1-7. For example, this simple Junction SMS command [Pw Ji3 1 0 4 2] to the controller makes switch output R4 On when input i/A 3 changes from low to high and switches it Off when high to low (to GND) level again. A warning message is sent to number 2 from list.

From Ji1 to JL3, F1 what to do with the Output when the Input is or goes to High(1) and/or ON level and F2 what to do when the Input is or becomes low(0) or Off level. (we can speek of On(1)/Off(0) level for JAR to JL3).
The wanted output can be switched On, Off, switched for a time lapse or left unchanged for corresponding event. From Ji1 to JL3, each input has its own configurable delay JnnS for HIGH(Low to High change) and LOW(High to Low change) level events to be awaited for before action occurs.

[Pw JAR 1 0 2 0] Makes output Rn automatically switch Output R2 On when the alarm function is activated (On) and Off for the opposite. This can command other devices On/Off together with the Alarm mode. (As usual, one (1) blank space character should separate the command fields).
[Pw JAS 120 -1 5 0] will force Relais output 5 to be switched on for wanted time lapse (2mn here) in case an Alarm event triggers On an alarm input when the alarm function is On or O+. So a lamp, siren or other could be connected to this 10A Relais output.

[Pw JAC 0 1 3 3] Configures a Junction for the AC grid power failure/recovery (via the delivered AC adaptor connected on T29-30). Relais output 3 is set On on grid power cut event and switched Off on power recovery. SMS warning is sent to number 3 in list.
JAC to JL3 also have configurable input delays for both ON/OFF Inputs level changes. Delay are programmed in SECOND.
So for example, according to the JAC settings just above,  we could send command [Pw JACS 60 10] to setup a 10s delay to wait for before switching R3 On in case of AC power Off and wait 1mn before switching Off after AC power ON recovery.

[Pw JS] lists the junction input delays for i/A1 to i/A7 and JAC to JL3.

L/1 H/0      Ji1 to Ji7, (Low to High) (High To Low)
A1 5 10
A2 0 222     Ji2 only delayed for High To Low change
A3 0 0
A4 240 60    Ji4, 4mn for Low to High, 1mn High To Low
A5 0 0
A6 0 0       Execute Jnn (if setup) without delay
A7 0 0
1/ON OFF     JAC to JL3, (OFF to ON) and (ON to OFF)
AC 0 180     Wait 3mn at ON to OFF before JAC execution
L1 0 0
L2 120 0     Wait 2mn at OFF to ON before JL2 execution
L3 0 0

[Pw JL2S 0 120 JL2 -1 3600 1 10] sets up a Junction that will activate R1 for 1H and sends a warning to N10 on power OFF at input L2 for 120s. Power Up on input L2 again will do nothing because field F1 at -1 discards the output and number N10 as "<10101010" is only sent for low/Off event.
Now let us consider that if AC and L2 are both fed with the same power via two separate adaptors, and that R3 was meant to start a backup generator, R1 is switched On and an Alert is sent by JL2 after 120s if the generator did not start with JAC (or does not give any power on the line feeding the adaptors).

While above, fields F1 and F2 decides of the Rn output action, F1 and F2 will hold the
LOW and HIGH edges values for JV1 to JYg.

From JV1 to JYg;
F1 is the LOW edge INPUT event value that make switch the OUPUT ON.
F2 de HIGH edge INPUT event value field that make switch the OUTPUT OFF.

So normally a relais output will switch On when <LOW and Off when >HIGH edges. Like above, none of the fields is mandatory and as shown below, the switching order for the output On when value F1 is LOW and Off when value F2 is High can simply be inverted when needed.  From JAC to JYG can have and Unlock timing that will reforce the junction when the action fails to give expected result.

[Pw JV1 11.1 14.5 3 0] Enables a Junction between the voltmeter Bt/V1(T31) and output R3. So if battery level becomes lower than 11.1V output R3 is switched On. and off above 14.6V. No warning SMS or field 4 must point to the list position where to find the number to be warned. Same for JV2.

(JT1/2 Low_Temperature High_Temperature R_to_switch N_position_in_list) enables a junction between the Thermometer sensors T1(39) or T2(T47) with output Rn. This Junction gives a simple thermostatic control on T1 ou 2 or can only be used as a control (Rn=0) and warn number N in case of.

[Pw JGL 5 95 0 1] Can make send a warning at N5 and 95% level (no switching R=0).
[Pw JGL 5 95 5 0] Can pump into the tank at 5% and stop at 95% level (no warning N=0).
[Pw JGL 5 95 15 18] Can make switch a pump to empty the tank at 95%, send a warning to N18 and stop at 5% level.

[Pw JYg  40 66 2 0] Switches R2 On at 40% Humidity level and Off at 66%. (no warning if N=0)
[Pw JYg  45 70 0 38] Does not switch (R=0), but sends Humidity
warning ONLY above 70% if N38 [>NUMBER].
It does not send low
warning if number in list is preceeded with the > (superior) sign. If N38 was [<NUMBER], so with a leading sign < (inferior) it would send the warning only for low event, so <45%. See N? again.

[Pw JYg  40 66 12 0] Switches R2 On at 66% and Off at 40% Humidity level (no warning 0!). Notice here that the Relais cycle is inverted because R2 is offset by 10 (2+10!). This makes use of R2 (only ON/Off position) possible. The cycle can also be physically inverted by use of R4 or R5 that have On/OFF/ON positions.

A Junction Warning message looks like;

w) Ph,L2 ON!       Shows that power is on at L2(T36)
JUNCTION TRIGGER!  Specify JUNCTION trigger! to N44
JL2 5 10 3 44      Actual JL2 junction settings
JL2S 10 20         Jl2 delays On/OFF (optional)
JL2M 0             Optionel Mn delays that reforce JL2
R3=ON              Shows what happened with the switching
for: 5s            For how long if it had a timing value
Use Pw s, J?, JL   Suggests commands that can be sent
07:10              Controller time at warning.

Junction field R can first switch an output, field N (that normally vectors to the number to be warned) can also force a local command for the same trigger event like number N44 could with [Pw N44 =R1 OFF] (see N?), other outputs can be switched, switching rules can be inverted and if required, a following junction can be executed.

JM  Unlock timing can be setup for junction (10) JAC to (19) JYG.
Unlock timing is programmed in Minutes and counts for both Input High Low level. UNLOCK timing can force the junction trigger again after 0 to 250 MINUTES if the previous junction action did not change any things. When left unused (JnnM 0) the junction force only one action and optionally one
warning at Low/high edges when simply configured.

So in case we want  to
switch a pump that begin to fill a tank at 5%, a warning to N18 at start and stop the pump at 95% level. We programme JGL  [Pw JGL 5 95 5 18], number 18 in list with; [Pw N18 <NUMBER] and the unlock delays by [Pw JGLM 7]. Or simply [Pw JGL 5 95 5 18 N18 <NUMBER JGLM 7]

The above JGLM settings will reforce the JGL Junction each following 7 minutes; try to start the pump again and Alerte N18 again ONLY if the level is still below 5% AND that there is a real switching because R5 was off (if an other junction put it off or other cause).
If the tank is full as it should be, R5 is Off  (or try to be set off again after 7mn). no
warning is sent any way because of  the number leading <. If the tank if full and R5 was stopped or that the level is between Low and High, JGL will do nothing.
For even more security we could also setup G for a Alert message outside these junction edges like 4% and 96%, to be warn of a malfunction probably somewhere beyon R5! To setup an Alert Use [Pw GL 4 96] this as an example.

[Pw Jm] lists the junction Unlock delays for JAC to JYg.
For L+H      Same delay for High and Low
AC 0         Unlock delay for AC
L1 0         Unlock delay for L1
L2 0         Ac to L3 force the Jonction 
L3 3         also on On/Off inputs toggle!
V1 0
V2 2         Unlock delay for V2
T1 0         Unlock delay for T1
T2 0
GL 7         Unlock delay for Gauge Level
YG 20        Unlock delay for Hygrometer
JnnM MMM     JnnM USE MINUTES 0 to 250!

The use of the PC program will make simulation + evaluation of several combinations much easier.

Added Options for junctions switching.

Three software junctions J20, J21 and J22 were added to the physical Junctions 1(Ji1) to 19(JYg). Any junction Ji1 to JYg can have the F4 (N) field offset by 100. So any junction field F4 at 120, 121, 122 will point to the software junctions 20, 21, 22, configurable the same way as the 19 first one. For more "content" F4 can also vector to a physical junction in range 101/119 and force execute it as well! But to make it easy, please try the basic Junctions at first...

 In this following example; we start by configuring JAC with; (ask us for more examples)

[Pw jacs 0 180]     Setup 3mn delay for AC input to Off.
[Pw jac 0 1 2 120]  R2 OFF if AC On / ON if AC Off. (Vector on F4)
[Pw j20 -1 30 5 18] Following; R5 ON 30s when AC Off and Warn N18.

Note here that fields (On) (Off) to -1 always discard any action on the relais and that thus here above, AC to ON will keep the relais R5 unchanged. If field F3, that assigns corresponding used junction relais, is not 0 the warning is only sent if the relais really does switch (from Off to On or On to Off).
If F3 is 0 (no relais switching), warning SMS is simply sent to the list number pointer by F4; a valid phone number or command needs to be there or nothing happens.

Programmable Restriction and control Alert for junction switching on R1 and R2.

We only will see the command for R1. R1 and R2 having identical commands. So the three fields JRn command [Pw JR1 3 65 10] setup a "Off" restriction for R1 and a control for R1_L1 with alert to number 10.

(3)   Restrictor OFF that prevents R1 to switch OFF if R(3) is (still) ON.
(65) Control Rn_Ln that can have values 0, 1 or 2 to 250. Control L1 for R1 (L2 for R2).
(10) List number to be Alerted. Points to the list number where to send the Alert.

Restrictor OFF here to 3, will force check R3 before any junction action on R1 so that R1 can only go Off if R3 is Off. All relais can be used as restrictor except R1 (or it will remain to ON). Direct commands like [Pw R1 off] [Pw R1 (timing)] still work and always can switch it off.

Control R1_L1 makes send Alert (to number 10 in this example) after junction switching of R1 if after 65 secondes no power appears on L1. Another adaptor on L1 with negative on T34 and positive on Terminal T35 can be used for this test.

If timing is set to 0, no test is made and no Alert (restrictor still works if any assigned).
Timing can be 2 to 250 seconds before the test occurs on L1 after junction switching of R1.
Control Rn_Ln set to 1, prevents R1 junction switching to On if L1 already has power (T35).

The list number to Alert can point to any list number 1 to 63. As for other junctions, the number can be replaced with any valid direct command when wanted.
So [Pw N53 =R4 600 s] will write direct command "R4 600 s" into list number position 53.
This could switch R4 On for 10mn and send a status message if L1 has no power 65s after that a Junction has switched R1 On.

Actual configuration of Restriction and Control parameters are listed and visible in info message J? [Pw J?] and Jls [Pw JLS]. Alert message
a) Rn ON but No Ln Power after; XX sec! will also include parametres JR1/2 R SSS N and controller time at the Alert.

* Alerts are messages sent when the Low/High configured Low/High edges are exceeded. They are simply setup with the function name followed by the Low and High parameters. So for example, for V1 to 11 and 14 volt, [0000 V1 11 14] See also V2, T1, T2, GL and YG. All received Alert messages start with; a)
Warning messages are optionally sent by the Junctions (see just above) that can switch any output. They will notify of an junction action when wanted, to any number of the list N. All received Warnings will start with; w)
Notice that when the GXL8 SMS controller is able to send both a Warning and an Alert message for the same event. This at same or different measured and programmed values.

The Alarm function, when activated with A=On or O+ sends Alarm messages.
Alarm messages start with; !ALARM!

So besides the status, info's and configuration messages received on request, we can get three kind of messages from the controller; Warnings, Alerts and Alarms. Not to be confused at controller setup!

For the same V1, V2, T1, T2, Gl, and Yg event, an Alert as explained below and a Warning as seen above, can be sent. So obviously, Alerts and Warnings are setup with different ans specific parameters...  Back to top

    V      Voltage Alert and setup for V1 and V2.   

The voltmeter function can automatically send you a Alert SMS when exceeding lower or higher programmed limits. A Low/High Voltage Alert is programmable with a single SMS command; [Pw V1 11.2 13.4]
See JV1 and  JV2 for any switching and Warnings at Voltage values.

a) V1 Bat LOW!      or HIGH! Alert to N1
Now; 10.9           The actual Voltage.
Low limit; 11.0     Programmed LOW voltage edge <
High limit; 14.2    Programmed HIGH voltage edge >
Use Pw s or V?      Recommended info's.
Not from;           Specifies Alert, not a Junction warning!
V1 11.5 13.8 5 0    Shows the V1 junction settings
10:41               Controller time at Alert.

Voltage V1 will reflect the battery supply voltage at Terminal (T31). Normally a battery or else from 8 to 16Vdc maxi can be connected to also feed the controller via this supply input.The other supply input is the 240/12VDC adaptor. V2 will be externally connected at (T33), that can measure from 0 to over 100Vdc. Keep this input lower than 150V to prevent any problems!

Command [Pw v?] will show the voltmeter function info's.

Pw V1 L H           The way to setup V1 Low High edges
Pw V2 L H           No switching for V1,2 L/H see JV1,2
V1 10.9 10.5 14.2   Actual Volt, Low/High for V1
V2 57.9 47.0 56.5   Actual Volt, Low/High for V2
<V> SMS N1          Alert to N1 if <Low or >High
V1o 0               Offset. [Pw V1o -0.3] will show 10.6
V2o 0 N10           Offset. [Pw V2o 0.4]. Second Alert Number.
See; JV1 JV2        Junction (Output + Alert) with V1 and V2
V1+ V2-             [Pw V1+] or [Pw T2-] to/from status
Low/High=0 No SMS   No Alert if edge unprogrammed or 0.

An Alert message is always sent to N1, but a second Alert can be sent when wanted. As an example, command [Pw V2N 10] will make send a second Alert to number N10 from the numbers list.

    T  Temperature Alert and setup for T1 and T2.

The thermometer function can automatically send you an Alert when exceeding lower or higher programmed limits. A Low/High Temperature Alert is programmable with a single SMS command; [Pw T1 18.4 19.8].
Command [Pw T1N 22] will send a second Alert to number 22 from the numbers list when T1 <> are exceeded.  See JT1 and  JT2 for any switching and Alert at Temperature values.

w) T1 Temp. LOW!    or HIGH! Alert to N1 (and N22)
Now; 18.4           The actual temperature at sensor.
LOW limit; 18.5     Programmed LOW Temperature edge <
HIGH limit; 21.0    Programmed HIGH Temperature edge >
Use Pw T? or Pw s   Recommended commands
Not from;           Specifies Alert.
T1 19.0 20.0 3 0    Show the T1 junction settings
               Controller time at Alert.

T1 is the 0-95 degrees delivered thermometer connected with GND T38, Signal T39 and +5volt positive at T40 or simply plug in at same connections with no mistake SVP.
T2 is the optional
-40 +125 degrees digital sensor, but T2 connections can also receive another standard 0-95 degeees Celcius thermometer sensor. T2 connections are shared with the Hygrometer sensor. If only the standard sensor is connected at T2 terminals (so no hygrometer sensor can be in use), command [YT 0] has to be used in order to be able to read it. Always see schema and especially the controller top label that says about connecting the hygrometer and T2 temperature sensor.

[Pw T?] Shows the temperature function info's.
Pw T1 L H           The way to setup T1 Low High edges
Pw T2 L H           No switching for T1,2 L/H see Jt1,2
T1 18.4 18.5 21.0   Actual temperature, Low/High for T1
T2 20.9 -5.0 22.2   Actual temperature, Low/High for T2
<T> SMS N1          Alert to N1 if <Low or >High
T1o 0 N22           Offset. [Pw T1o -0.2] will show 18.2
T2o 0               Offset. [T2o 0.1] will show 20.9+0.1
See; JT1 JT2        Junction (Output + Alert) with T1 and T2
T1+ T2-             [Pw T1+] or [Pw T2-] to/from status
Low/High=0 No SMS   No Alert if edge < or > = 0.

    AC  Réseau/Grid/main
Warning and setup on (T29+) (T30-).  Use JAC.

The controller can be powered in two ways; by the main grid power via an adapter 220AC to 12Vdc (T29) and possibly a battery (T31) or any other power source (from 8 to 16Vdc). The double power source make that if the AC grid fails, the controller can go on with the battery supply and will still be able to switch an output (start/stop), send warnings and alerts messages...

For a generator set control and command, with NO grid available, the adapter can be plugged into the generator high voltage output 100 to 270VAC and its 12Vdc output to supply Terminal T29+ and T30-. This way an warning can be sent, may the generator high voltage fail or by engine start/stop with Junction JAC.
The 12V generator battery will be connected to T31+ and T32-.
The engine battery can be monitored with the controller's internal Voltmeter V1 via input T31 and V1 function can send an Alert messages. For example command [PW V1 10.5 14.5] make Alert below 10.5 and above 14.5.
JV1 function can also switch any required device and optionnally send a Warning, may the battery voltage get too low or too high (see JV1).

For a backup generator, Junction JAC can monitor the AC main grid trough the adaptor connected to supply Terminal T29+ and T30-  making possible to automatically start the generator after grid failure and stop after grid recovery. Both start/stop can occur after a configurable delay from 0 to over 4mn.
When the adaptor is controlling the main AC grid, we can use another adapter plugged into the backup generator outlet and connect it to L1, L2 or L3 and so if wanted also get a warning when the generator give power. We also can use the optional 380 to 3x8VDC adaptor that will be connected to the controller RST (L1, L2, L3) inputs. See RST below...
JAC, JL1, JL2 and JL3 have identical functionality but only JAC can feed the controller so the controller will also need to be powered via the 12V Bat inputs T31+ and T32-.  Here also, advantage will be made using fontion V1 to monitor the generator batterie and possibly  JV1.

For a generator control, any input i/A1-i/A6 can be used for oil and other control (see Ji1-Ji6) while output Relais Rn can start and/or stop the engine. In fact, the controller has enough possibilities for a full generator set control and no other hardware needs to be added.

The controller power supply will need about 30mA in standby mode (A On or A Off,  with Relais Off) but sometimes current pulses upto 1 Ampère when transmitting. So only adequate power supply should be connected (the delivered stabilized adaptor!).
If On, an output Relais take about 20mA.

  G    Gauge Level/Pressure sensor
Alert and setup.  [Pw G?] shows info's and settings.

An analogue or digital pressure Sensor can be connected to the controller. It can be used to tell about the liquid level in a Tank. Those quality pressure sensors, we recommand two types, from
IMPRESS SENSOR L.T.D and SENSOR TECHNICS GmbH, can read the level with a precision of 0.2% at a fair price, but any other analogue sensor can be used when having an output in range 0-5V. Because the sensor type, analogue or digital (rs485), is hardware dependent, it will need to be chosen before setup of the system.
Command [Pw GLN 33] could make send a second Alert to number 33 from the numbers list when GL <> programmed edges are exceeded. See also above the JGL junction function for switching at Low//High level and Warning to any chosen number.

Low/High level SMS Alert can be programmed with;  [Pw GL 4 96]

a) Level LOW!         Or HIGH! Alert to N1 (+ N33?)
Now; 3.9%             Actual value
Low limit; 4.0%       Low edge setting
High limit; 96.0%     High edge setting
Use; Pw s or G?
Not from;             Its a Alert! not JGL warning
JGL 5.0% 95.0% 5 18   Infos over corresponding jGL
12:00                 Controller Alert time.

[Pw G?] shows following infos and settings.

Pw Gl L H             Set low and high like [Pw GL 4 96] 
Pw Glo offset         Already calibrated, but see below.
Gauge/Level.          Now, setting of low and high edges
GL 43.7% 4.0 96.0     N33 is a second alerte number!
GLo 0% N33            Offset. [Pw GLo 1.1] will show 44.8%
GlB 14
                Gauge data for tank empty, 0%
GLT 1005
              Gauge data for tank full, 100%
data= 445             Actual Gauge/sensor data.
GT 1                  Sensor type, [Pw GT 1] Analog 0-5V
See also JGL.         [Pw Gt 0] disables the sensor.
Gl+                   [Pw GL+] add it to status ([Pw s])
Low/High=0 No SMS     No alert for edge at 0.

Parameter GLo can stay at 0 because correct setting of GLB (Bottom data) and GLT (Top data) will scale the result in the 0-100% range*. DATA are the raw gauge values before being transformed in %.
So if the gauge data says 14 at tank Empty, assign GLB parameter with command [Pw GLB 14].
GLT is the top value at tank full. When data shows1005 at tank Full, assign GLT with [Pw GLT 1005].

In the above example, an 160mB immersion (you just put it in the tank) pressure sensor from IMPRESS SENSOR is in use. It gives 14 at tank (water) almost empty (2cm) en 1005 at tank (water) full (160cm). The GL functions were tested with common sensors of 160mBar and 250mBar. Be aware that tank liquids do not all have the same density and that depending of the tank height, correct sensor choice needs to be made. We normally do not sell pressure sensors, but can point to distributors .
The sensor type will be set to 1 [Pw GT1] for common analogue sensors having an 0-5Vdc output full range. 0.5 and 4.5V output can be connected at the expence of a smaller resolution result as well. Digital (I2c/RS485) pressure sensors will have type >10.

We can configure Junction JGL and get an ALERT message on chosen JGL parameters.
As an example setup the Jgl with: [Pw JGL 10 80 4 10] when level gets above 80% following Alert is sent out;

w) GLevel HIGH!        High level Alert!
Now; 80.1%             Actual LEVEL
JUNCTION TRIGGER!      Specify; Warning not Alert
JGL 10.0% 80.0% 4 10   The actual junction settings
JGLM 60                Optionel Mn delays that reforce JGL
R4=Off                 Could be ON if R+10=14
Use; Pw s, J?, JL, J??, JLL
13:13                  Controller warning time.

When the Junction parameters are used to switch, like a pump that could fill (or empty) the tank, programming Alert edges outside the Junction parameters range could alerte for a system failure.
*Absolute pressure sensor (trasducer) are zero referenced against a perfect vacuum, so it is equal to gauge pressure plus atmospheric pressure. Gauge pressure is zero referenced against ambient air pressure, so it is equal to absolute pressure minus atmospheric pressure. We will use a type"Gauge" here...

   Y   Humidity sensor Alert and setup (on T47)  

A humidity sensor can optionnally be connected to T46(-), 47(s(, 48(+) and 49(s) without mistake or with its plug. Always see the connection schema before adding or removing any wire from/to
the controller. The top label of the delivered device will show the connections.
This digital sensor provides very accurate reading from 0.1 to 100 %. The same sensor also includes a digital thermometer that can measure temperatures from -40 to +125°C at 0,4°C accuracy. T2 connections can also receive another standard thermometer the same as the delivered 0-95 degrees sensor.

When the sensor is connected, the function Yg is activated as soon as the parameters are programmed. Send [Pw Y?] for infos.
A Low/High humidity Alert can be programmed with [Pw Yg 42 68].
Command [Pw YgN 45] could make send a second Alert to number 45 when YG <> programmed edges are exceeded. See also above the JYG junction function for switching output at Low//High values and Warning to any chosen number.

a) Hygro  HIGH!       Or LOW! Alert to N1 (45?)
Now; 68.1%            Actual value
Low limit; 42.0%      Low edge setting
High limit; 68.0%     High edge setting
Use; Pw s or Y?
Not from;             It is a Alert not JYG warning!
JYG 45.0% 66.0% 12 10 Infos over corresponding jYG
12:00                 Controller Alert time.

[Pw Y?] shows following infos and settings.

Pw Yg L H             Set low and high like [Pw Yg 42 68] 
Pw Ygo offset         The sensor is already calibrated
Yg 53.9% 48.5 55.5    Now, + low/high edges alerte.
YGo 0% N45            Offset. [Pw Ygo 1.1] will show 55%
YT 40                 Sensor type, here [Pw Yt 40]
See also JYg.         [Pw Yt 0] disables the sensor.
Yg+                   [Pw Yg+] adds it to status ([Pw s])
Yr 5 !0               Sensor reading rate. Denied/Errors
Low/High=0 No SMS     No alert for edge(s) at 0.

You also can configure Junction JYG and get a Warning message at chosen low/High JYG humidity values.

w) Hygro HIGH!          Warning! High
Now; 66.7%              Humidity at sensor
JUNCTION TRIGGER!       Junction Warning!
JYG 45.5% 66.6% 12 10   Actual Junction Configuration
JYGM 20                 Optional Mn delays that reforce JYG
R2=Off                  Off at Top if R2=2+10 (invers)
Use; Pw s, J?, JL, J??, JLL
13:13                   Contrôler time at Warning.

The hygrometer function needs parameters YT to have a value corresponding to the sensor type, programmed here with [Pw YT 40]. The type is shown inside the sensor box. Be aware that the sensor enclosure is grounded to the controller GND, as it is made of conducting material to be EMC at most and so does not get too much surrounding radio disturbances.

The reading speed (1-180s) should not be set lower than needed. So once in 5 seconds will be fine, command [Pw Yr 5] but more (upto 180s) can be chosen depending on the wanted reaction time of the function. The hygrometer sensor should be kept away from rain, other liquid and too hot places.
The sensor includes a digital thermometer that
can read -39.5 up to 124.5°C and can read at same Yr rate.
Know that the hygrometer could give inaccurate values below 10 and above 90°.
So when used for a freezer cell only, the thermometer should be used also with JT2 but then disgard the Yg results. Because of that, JUnction JYg should be deleted with command: [Pw jyg 0 0 0 0]

  RST   3 phases main/generator control and Warnings  Use JL1, L2, L3

An effective phases control can be achieved using the optional RST adapter, that will transform 380VAC to about 8Vdc, by connecting it to terminals T35, T36 and T37. Junction L1, L2, L3 can be setup for loss of power on any of the phase inputs. A Status SMS will show RST when power on the 3 Ph or R0T, 0RT or other combinations (0 = no power on this input).
When not used as 3PH control, one or more of these inputs R, S and T can be used to watch any high tension in the same way as with the delivered adapter that feeding the controller from the grid (
at T29), and Junction JAC. We can deliver those adapters as well. However, a low voltage input on any of these 3 terminals, from 6 to 24Vdc, is also suitable for the same purpose. See JL1, JL2, JL3 junctions for switching actions and warnings on any changes on these inputs.

C   Run time counter and Totalizator. Info's with [Pw C?]
A daily run time counter and totalizator, that can be virtually "connected" to one of the inputs i1 to i7 or An, Ln, Vn, Tn, G or Y, is available.
Count will occur on a defined input level. For example, if  L1 is setup as the counter input, count happens as long as L1 is powered. If no power, it will stop and will count again when re-powered. Count is accurate on the minute. Status (if CJ+) and infos SMS [Pw C?] show the daily counts 0-24H and the totalizator.

Command [0000 Cj 11] for example will internally connect the run time counter to input L1. Number 11 here is simply refer to the junction number. So choosed inputs can be; A1(1) à A7(7), AC(10), L1/2/3(11/12/13), V1/2(14/15), T1/2(16/17), G(18), Y(19).

Status (if CJ+) and infos SMS [Pw C?] show the daily counts 0-24H and the totalizator.

Pw Cj 12         Actual input (L2) for counter Cj
Cj; 1-19         Possible Cj inputs
Cd 03:09         CJ count for this day
CT 56:52         CJ TOTAL count XXXXX:XX
Cjz 0            Tot=0:00 with [Pw CJz] or [Pw CJz 250]
Pw Cp 6          Actual input for counter Cp
Cp; 3,6          Possible Pulses counter inputs
Pd 0             Cp count for this day
PT -1            Cp TOTAL count XXXXXXXXXX
Cpz Total ZERO!  Total=0 with Command [Pw Cpz]
CpS 5            Input for pulses decounting, 0 or 5
Cj- Cp-          [Pw Cj+] [Pw Cp+] add to status.

When chosen for the run time counter, Cj inputs i/A2, i/A4, i/A6, L1, L2,  V1, V2, T1, T2, Gl and Yg will count when the input shows a High or On level (when 12Vdc power is on L1 for example)
i/A1, i/A3, i/A5, i/A7 and L3 will count for low level or OFF.

Pulse Counter and Pulse totalizator. A daily pulses counter and totalizator can be setup for input i/A6 (pulse to GND) or L3 (voltage pulse +8 to +24V).
[Pw Cp 3]  [Pw Cp 6]  Pulses are added to the daily pulses counter and added to the totalizator at 29:59+1. [Pw Cps 5] makes that other pulses at input i/A5 will be substracted from the daily pulses counter and subsequently from the pulses totalizator also at 29:59+1.

    *    Redirect received SMS to the serial port.         [Pw *?] to the controller will show info

Any controller incoming SMS message will be redirected to the RS232 serial output when the SMS message starts with character *.
Output will be at 9600 B/s, no parity and 1 stop bit and 5V level. The controller will do nothing else with the message but transmit it to the serial...
This function can be used when a PC is connected to the controller serial output via our optional interface cable. 

     So following SMS message to the controller;
     [0000 *Any message until 150 characters...]        0000 is the default password, 1sp, *and the text.
     will shows *Any message until 150 characters... on the PC screen.

    #    Send serial port input as SMS to N1.     [Pw #?]
Any string sent from PC to the controller serial port will be sent as an SMS to number n1 if it starts with character #. Pw is not needed before the string of 155 characters maximal, which header's will be #.
This function only makes sense when a PC/laptop is connected to the controller serial at same baud rate, 9600b/s NP 1Sb and that (hyper)terminal or any other advanced communication program is running. Chr# is removed from the SMS message when sent, the number where to send will be at N1.

So sending from the PC string;  #This is an SMS message to an other mobile...   
Will make mobile pionted by N1 receive;   [This is an SMS message to another mobile...]

Any string of characters can be sent as SMS from the PC, so the controlleur can be used as an PC SMS CONTROLLER as well!
So as an example, string;  "#0000 R1 180" from PC* will make send SMS [0000 R1 180] to N1.
(This could Set output O1 for 3mn of an other far away controller if N1 was its SIM number!)

*Any command or SMS message can be sent that way, local or from elsewhere.  #SMS from another phone to the first controller (attached or not the a PC) can receive the SMS and forward it to another number. So: [0000 #0000 R1 180 s] can do it from any place (Pw is needed for any incoming SMS, not for the serial link to the PC). Using our (free) GAR program will make all much more simple when connected to the PC.
Notice here that field N (that normally vectors to the number to be alerted) can also force a local command and therfore also make sent any short text on a Junction trigger. So if N61 is [N61 =#Send 13c maxi] Trigger on J will send it to N61.

    &    Direct AT commando from SMS to the GSM engine. [Pw &?]
This function must be used very carefully, because any wrong AT commando to the built-in GSM engine could make the controller stop all communication until power off and on again or for ever. It is highly advised to study the engine data sheet before using this function. However, the function is locked by default to prevent any mistake remotely via SMS, but it is free to use without restriction and at your risk with the PC program.When unlocked for SMS (ask us), power up the controller or simply wait the next hour will disable the function.

    [Pw Ww 97 111 &AT+CSQ] , will return the radio signal level via SMS.
    [Pw &AT+CGSN] , return the SIM IMEI number.
    [Pw &AT+CREG?] , return the registration type. (x.1 local) (x.5 roaming)
    [Pw &AT+VGT?] , will return MIC gain level.    
The controller checks if the GSM radio is still registered to the network each hour. If not, it will try to register again. So in case of no contact to the controller wait 1H and try again. It then should be online (registered) again.

   W    Direct Read Write to controller memory.     [Pw w?]     [Pw x?]

This function will only be of interest when enabling some controller special features. So we can list any eeprom (w) locations or the static ram (x) or also (very carefully!) write some bytes in there.

Command "Pw Ww Adr Value" can be useful in order to change some controller behaviour...
- Send or does not send an SMS on Initialization (default 3 min after init).
- Set output(s) to ON at Init and startup.
- Changing the Mn value (default 0 or 9 at Init).
- Changing the test if registered to network time (default at HH:22).
- Changing the Output OFF indication by O (default OFF) to save space in lines and SMS.
- Setting the "No SIM" option, and more...

So, to read the eeprom from 60hex, send [0000 wr 60]  you get SMS;


 To Rd the SMS waiting to be send in the controller TX buffer; [Pw  Xr A00] you get back;


To enable any write to the eeprom, (and the ATCommand) an unlock command needs to be sent first (just ask us for it). Most changes to the eeprom parameters require a program startup before taking effect. Use therfore; [Pw Fz].
Waiting the next whole hour HH:59+1 or [Pw Ww 40 0] disable the write-to eeprom function. 

The PC program.     Explainations how to use are in de prog infos files.

Fast configuration of one or several controllers can be done using our free Windows PC program. Testing will be very easy, because SMS and PC traffic/commands can be used simultaneously. Prog interface Download, save, unzip and install...
The PC can do all the same that can be done with SMS, but simply with a few mouse clicks from the command list. As before, also a firmware update can be loaded into the controller via the program. Any added custom functions are also available on request.

  Three interface systems (hardware dependent) between controller and PC are available; Jumper J+5 need to be shorted (=put the jumper in) in order to communicate with the controller. If no comm are in use (or when finished), J+5 Jumper may be removed to save power.

- RS232 TTL level (requires our special interface cable, same as previous controller types).
- RS232 (requires our or an USB-B/RS232 cable).
- USB (requires a free driver for PC/laptop and one A/B USB cable).

SE SX Command for
ENERGY Module. Connected to the Grid or a Generator.

Attention! This Energy modules should only be connected by qualified electricians! Any connection or manipulation to the
220/380/440 grid power or a high tension generator presents real danger and electrocution risks!

Energy Status message reply example (in green) after sending cmd [Pw se] to the SMS controller.

I1 10.4      Phase current, Ampères (via CT).
I2 11.0      Phase current, Ampères (via CT).
I3 9.9       Phase current, Ampères (via CT).
U1 230       Phase voltage, Volts (directly connected).
U2 233       Phase voltage, Volts (directly connected).
U3 229       Phase voltage, Volts (directly connected).
L1 382       Phase line voltage, Volts (directly connected).
L2 384       Phase line voltage, Volts (directly connected).
L3 380       Phase line voltage, Volts (directly connected).
P1 10000     Phase active power Watts (internal calculation).
P2 11000     Phase active power Watts (internal calculation).
P3 12000     Phase active power Watts (internal calculation).
PT 30000     3 Phase total active power Watts (internal calculation).
QT 440.24    3 Phase total reactive power VA (internal calculation).
ST 28000     3 Phase total apparent power VA (internal calculation).
FT 0.90      3 Phase total power factor (internal calculation).
FQ 50.01     Frequency (internal calculation).
KW 552416.6  KWH. 99999999 maxi totalisator, can be reset via SMS.

Displayed measured values, above and below, are only examples and not real values. The order and quantities can differ depending on the connected energy power meter.

Example after command [Pw sx] to the SMS Controller;.

L1 382       Phase line voltage.
L2 382       Phase line voltage.
L3 382       Phase line voltage.
PT 6789      Total active power.
Q1 333.30    Phase reactive power.
Q2 44.44     Phase reactive power.
Q3 25.00     Phase reactive power.
QT 500.00    Total reactive power.
F1 1.00      Phase power factor.
F2 0.90      Phase power factor.
F3 0.80      Phase power factor.
FT 1.00      Phase power factor.
S1 11000     Phase apparent power.
S2 11000     Phase apparent power.
S3 11000     Phase apparent power.
ST 33000     3 phase total apparent power.
FQ 50.01     Frequency.
KW 552416.6  KWH. Totalisator. Can be reset to 0.0 via SMS.

The controller can be easily configured for an automatic emission of a Status
Energy (Se) each hour or each day (See chapter H? and [Code Hse N HH:MM]).  The direct SMS commands [Code se] and [Code sx] simply immediately replies to the number that requested the infos to the controller. The Energy Power Meter will be connected to the SMS controller with the delivered cable.