59
SMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S M- K ey and SMS - R e l ai s New: n o charge switchin g by m o bi l e wi th 3 ch a n nel s dat a l ogger with op- tional diagramms on t he inte rne t

v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

  • Upload
    others

  • View
    21

  • Download
    0

Embed Size (px)

Citation preview

Page 1: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

SMS on alarm

SMS-Controller SG35s

mobile phone via SMS and Fax

Instruction manual

with screw connectors

v1-02i-25

Monitoring and switching by

GSM

-Key

and

SMS-R

elai

s

New

: no c

harge

switc

hing

by m

obile w

ith 3

chan

nels

data

logger

with

op-

tional

dia

gram

ms on

the

inte

rnet

Page 2: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Introduction

Function ....................................................................... 5

What’s included ........................................................... 6

Installation

General guidelines ...................................................... 7

Top-hat-rail mounting .................................................. 8

Connection space dimensions .................................... 8

Initiation

Inserting the SIM card ................................................. 9

Connecting the antenna ............................................ 11

Grounding .................................................................. 12

Connecting to GSM network and LED signals .......... 12

Programming

Introduction to programming ..................................... 13

Initial commands after purchase ................................ 15

E-mail Signal ............................................................. 16

Fax Signal ................................................................. 17

Inputs and outputs

e1-3, connecting the binary inputs ............................ 18

e1 bis e3, binary functions ......................................... 19

.fr enable function, binary .......................................... 19

.al ALARM function, binary ........................................ 21

.a1 output1 function, binary ....................................... 21

.a2 output2 function, binary ....................................... 21

.ds direct SMS function, binary .................................. 22

.oe NC contact function, binary ................................. 22

.za counter function, binary ....................................... 23

Page 3: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

.bz operating hours counter function, binary ............. 23

.fl triggering on edge detection, binary ...................... 23

.el input level, binary ................................................. 24

.er input reset function, binary ................................... 24

.et input trigger function, binary ................................. 24

e4, Input, analog ........................................................ 26

ti/te,Temperature sensor ........................................... 26

w1-w2, Water level sensor, binary ............................. 27

ak Battery buffering ................................................... 27

Battery-buffered sensor power supply ....................... 28

eq Signal quality ........................................................ 28

a1-a2, Connecting the outputs .................................. 29

S0-counters ............................................................... 30

PC Programming interface ........................................ 31

Names and more commands

Names, binary ........................................................... 32

Names, analog .......................................................... 32

Names, further ........................................................... 32

Station name SMS-GUARD ...................................... 32

User-Pin upi ............................................................... 33

AN ............................................................................. 33

AUS ........................................................................... 34

Commands, further

quit alarm qu .............................................................. 34

assign and poll phone numbers r1-50 ....................... 34

phone number authorizations .................................... 34

assign phone numbers r51-53 for direct sms ............ 36

Rufnummer rf, toggelt fremde Rufnummer ................ 36

Echo ec, toggles command echo .............................. 36

sms counter indication sz .......................................... 36

Page 4: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Prepaid credit pp, display remaining credit ................ 37

power-up mesage pu, toggle ..................................... 37

User-PIN up, toggle ................................................... 37

direct command d1-3, GSM-Key / SMS-Relay .......... 38

GSM-Key / SMS-Relay .............................................. 38

ringing k1-2 the direct commands d1-3 ..................... 39

input conditions et after a time t in seconds .............. 39

calibration ca at the input e4 0-10VDC ...................... 40

email-Adresse ea ...................................................... 40

data logger dl ............................................................. 42

S0-Impulse resolution i1-3 ......................................... 42

? returns all signal values ....................................... 43

?? shortform for „SMS-GUARD?“ ............................. 43

Polling version number and names ........................... 43

SMS-GUARD? .......................................................... 43

alarm mesage, -monitorig and quitting ...................... 44

Other Commands ...................................................... 44

LED displays in service

LED “ok”, green ......................................................... 45

LED „Alarm“, red ....................................................... 46

Error handling

Appendix

Technical data ........................................................... 49

Limitations ................................................................. 50

Accessories, (excerpt) ............................................... 51

Old device waste disposal ......................................... 51

SMS Command Overview ......................................... 56

Installation Overview ................................................. 58

Page 5: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

5 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

Introduction

Function

SMS-Guard is an licensed GSM-module (CE 1304), for fixed in-stallation, with controlling and monitoring functions for motion sensors (BWM), door switches, smoke detectors, float switches (water), switch contacts, switching outputs for sirens, pumps, etc.

The function GSM-Key / SMS-Relais / INCALL-Function permits the nonchargeable triggering of three diferent commands, with up to fifty authorized mobile phones, and is suited perfectly as door and gate opener.

Measured values can be sent per sms in regular intervals via the function „data logger“. If these sms are sent to our sms-input the user can recall the data, displayed in diagramms, on the internet.

If the inputs e1-3 are conected to alternating current-, three-pha-

se-, gas-, water- or heat meters with S0 impulse the power con-sumption can be represented grafically.

SMS-GUARD is programmed for its monitoring task by means of

Page 6: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 6

SMS commands and reports the set ALARM case/circumstance per sms to any mobile phone, e.g. SMOKE=1=ON.

What’s included

The SG35s comes in a case designed for top-hat-rail mounting, with screw terminals, a magnet-mount antenna with two metres of connecting cable, 230V AC plug-in mains adapter and a 50-mm-long mounting rail for fixing.

The extensive range of original accessories, such as motion sensors, door switches, alternating-current meters, etc. is listed under “Accessories” at the end of this instruction manual.

The phone card needed to operate the SMS-GUARD (e.g. a pre-paid card) is not included. For this, a card contract must be ob-tained with a D1/D2 or E-net operator.

Page 7: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

7 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

Installation

General guidelines

Follow the guidelines below when installing the device and using it for the first time:

• We don’t know where you’ll be using the SMS-GUARD and what you’ll be using it for. It’s therefore up to you to make sure that you comply with all applicable standards and regula-tions when connecting and operating the SMS-GUARD. Con-sult the relevant authorities and bodies responsible, for example when using the device in a hospital, etc.

• The SMS-GUARD is a low-voltage device. Therefore it must not come into contact with mains voltage.

• Always disconnect the SMS-GUARD from its power supply before plugging in or unplugging the SIM card or plug-in accessories (such as temperature sensors, level gauges, etc.) and before wiring up the terminals, otherwise it may be demaged.

• Please note the chapter headed Limitations at the end of this user guide and the references to our website, e.g. under “Questions and answers” for example on the subject of “SMS delivery reliability“.

• The screw terminals are marked in sequence as viewed from above

• The wire should be stripped 9mm to prevent that the isolation is screwed.

Page 8: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 8

Top-hat-rail mounting

The housing can be snap-fitted to a mounting rail confor-ming to EN 50 022 which can be fixed to a wall (M5 oder M6).To find the best pla-ce for the SG35s evaluate the cable lengths. Please refer the „Installation Overview“, last page.

Connection

space dimen-

sions

We recommend pro-viding a connection space of 210 x 55 x 120mm (hxwxd). If a suitable mounting rail is already in place, the SMS-GUARD oc-cupies a width of 22.5 mm.

ple

as

e d

o t

his

ste

p b

y s

tep

Page 9: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

9 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

To snap-fit the SMS-GUARD on to the mounting rai hook its guide (1) on to the top of the rail and press the device down-wards until the metal spring at the bottom of the housing (2) audibly engages.

To release the SMS-GUARD from the top-hat rail, use the tip of a screwdriver to prise the metal clip (3) down in the direc-tion of the arrow and tilt the housing upwards away from the rail, around the point (1).

Initiation

Inserting the SIM cardFirst, diconnect the SMS-GUARD from its power supply as fol-lows: • disconnect the battery voltage (if any) • unplug the mains power supply unitBefore the SMS-GUARD is used for the first time, the SIM card for D or E network must be programmed using a mobile phone to the SIM PIN “9999” preset in the SMS-GUARD. Now test this SIM card by sending a SMS to another mobile and receiving a sms from that mobile. Check the received sms, which is essential for further initiation, and reset any mailbox service by dialing „##002#“.When using prepaid cards it is recommended to specify the card credit, the charge per sms and a lower credit limit at which is no-

Page 10: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 10

tified to recharge the card. Please refer the comand „pp“, „further names“.

Now remove the card holder from the powerless SMS-GUARD. To do thist press the yellow eject button with a pointed ob-ject and carefully withdraw the card holder.

JNow place your SIM card in the card holder and push the holder

carefully into the card recess until it clicks home.

Page 11: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

11 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

Connecting the antenna

The SMS-GUARD comes with an antenna with a mag-netic mount-ing base and two metres of connecting cable which is screwed on to the an-tenna socket. A 12 mm opening will be needed for the antenna connector when installing the antenna outside the connection space.

The antenna must be installed before the power supply voltage is applied. Do not disconnect the antenna when the device is oper-ating or the device may be destroyed.

The distance to a motion detector should be more than 2m.

Page 12: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 12

Applying the supply voltageThe SMS-GUARD is powered from an isolated 110V/230V AC plug-in mains adapter. The adapt-er has a lead about 1 metre long which plugs into the low-voltage DC socket of the SMS-GUARD..

Grounding

The “GND-Vout” terminal of the SMS-GUARD has to be connect-ed to the installation ground to avoid falut currents.

Connecting to GSM network and LED signals

With the antenna plugged in and the SIM card installed, the device is ready to operate when the power is connected. It then attempts to connect to the GSM network.

• Immediately after the supply voltage is applied, the green “ok” LED should show the following signals:

1.) The “ok” LED lights in unison, there is no radio contact. 2.) The “ok” LED flashes momentarily every 2-3 seconds; the

SIM card has been read, the PIN has been accepted and there is sufficient radio contact. The initialisation phase is complete. When the device is working properly, the green

LED should flash every 2-3 seconds

• Problems and error codes If problems arise while the device is initialising, an error code

is displayed by the red “Alarm” LED lighting up (=ON) at a rate of once per second (more under „LED Alarm, red“).

Page 13: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

13 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

• Important Information when it’s used the first time without PC-programmer there

must be sent a sms from a mobile, it’ll be the controll mobile from now on, to the SG35s. The SG35s adopts the mobile number into his phone number memory r1 and then it only accepts instructions from this mobile, also look up „Initial commands after purchase“, p.17.

Programming

Introduction to programming

An sms is used to send the SMS-GUARD one or more com-mands. After processing these commands, the SMS-GUARD sends a report SMS to the phone numbers in its phone number

Page 14: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 14

memory r1-r50, if the echo (ec) is activated.

The commands are kept as short and simple as possible: there are keywords (names) of mostly two letters; for example, a1 stands for output1, or a2 for output2. The command a1=1, for in-stance, closes the contact of output 1 and a1=0 opens it. An sms may contain several commands separated by commas. SMS-

GUARD does not distinguish between upper and lower case

characters.

To make it easier to work with the SMS-GUARD, the user can as-sign designations (of up to 10 alphanumeric characters and „-”) corresponding to the connected devices and functions. For exam-ple, the command SMS message:

a1=siren,a2=pump,pump=1,siren?,pump?

reports back the status of a1 and a2 in sms:

Page 15: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

15 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

SMS-GUARD: siren=0=OFF,pump=1=ON!

Often there is a need to monitor an input in order to signal an ALARM-SMS. For this, a function is applied to the input, e.g.:

e1.al=1

A function is always made up of two letters and is separated from the name by a red dot. If a switching contact is opened at the input e1, the following ALARM-SMS is sent in accordance with the func-tion e1.al=1 (for alarm):

SMS-GUARD: ALARM=e1=1=ON!

Initial commands after purchase

When the SMS-GUARD is purchased, its phone number memory (r1-r50) is empty. Under phone number 1 (r1) the SMS-GUARD stores the number of the mobile phone from which the first com-mand sms was sent to the SMS-GUARD.

For example, if you closed a contact at e1 which is to trigger an ALARM when it opens, the following command:

e1.al=1

starts the SMS-GUARD, which now reports every opening of the contact to your mobile per sms with:

SMS-GUARD:ez=1,sz=2, ALARM=e1=ON!

From now on the SMS-GUARD will only follow instructions from

Page 16: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 16

your mobile which is a good access protection. So your mobile is comparable with a remote control.For even more safety, we recommend protecting the SMS-GUARD from unauthorised use by setting an individual user pin (upi). You can also enter more phone numbers (r2-r50) or you ac-tivate the sharing for foreign mobile numbers with „rf“ which (al-ternatively) have to know the „upi“.

Der Alarm kann nun Ihrerseits zurückgesetzt werden mit:

qu

When a contact is opened at input e1 the SG35s will send an

alarm sms and will stay active until it is confirmed by „qu“ or the function is withdrawn by:

e1.al=0

When programming the first time it’s recommended to check the radio signal strength with the command „eq“, look up „eq signal quality“.

For further programming it is recommanded to read the aplication writtings, look up our download area, which explain the pro-gramming of alarm systems, motion detectors or reporting of ex-ceeding the temperature.

E-mail Signal

The sms text can be transfered as an e-mail and is perfectly qual-ified for logging and archiving all actions on the pc. For this look up „ea“ under „Instructions, more“.

Page 17: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

17 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

Fax Signal

The sms text can also be transfered as fax by entering the fax number as mobile number r1-r50 with your card provider’s prefix. These are:T-mobile 99Vodafone D2 99E-Plus 1551O2 329So if you wanted to send a fax to the number 03320866715 and your card provider would be O2 the phone number would be: „32903320866715“

and would have to be registered as such in r1-r50, without any fur-ther prefix. The provider typically sent after two minutes by SMS a confirmation of delivery of the fax, which is recognized because of the lack of +49 and is not sent as an unauthorized command. It is recommended to test the „sms to fax service„ by using the SG35s’ SIM card with a mobile.

Please ask your provider about additional costs using this service.

Inputs and outputs

The SMS-GUARD has five binary inputs e1-e3 and w1/2 for pas-sive (voltage-free) contacts for the logic states “0” and “1” (ON/OFF or OPEN/CLOSED) and an analog input e4 for measuring voltages between 0 and +10 V.

The terminals are suitable for wires with a cross-section between 0.2 mm2 and 2.5 mm2. Do not over-tighten the terminals. Maxi-mum torque: 0.5 Nm. Keep the wires as short as possible. If long lengths of wiring are unavoidable, use shielded wire.

Page 18: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 18

e1-3, connecting the binary inputs

Voltage-free and potential-free contacts can be connected directly to the inputs, for example from purely mechanical pushbuttons or switches. The contacts may come from a motion sensor or smoke detector via relay contacts, or from the semiconductor contacts of (wear-free) optocouplers.

The contacts should be of the “normally closed” type, e.g closed at rest and should open in the event of an alarm (e1.oe=1). This is the default setting. That way, several contacts can be connect-ed in series and if one of them opens, an ALARM is triggered. We recommend retaining this setting, because it also detects a wire breakage at an input. We also recommend connecting an addi-tional test contact and opening it occasionally to ensure that an ALARM is detected as required and that there is no fault in the in-stallation, such as a short-circuit in the wiring, etc. Such a push-button is also useful as an panic button.

Page 19: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

19 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

It’is possible to close or open e1-e3 by a SMS command. This is useful if you have got an alarm system because now you can arm or disarm it via your mobile phone, independent from the the key switch’s place. Is this activated after the use of the operation “e1=1“ the position of the key swith is obtained. The command e1=1 applys to the logic condition of the input, so it’s independent therefrom if the input is used as opener or closer. With „e1=0“ the input can be reset.

e1 bis e3, binary functions

Each input can be assigned functions so that it can perform its monitoring task. The following functions are supported by the in-puts:

.fr enable function, binary

with e2.fr=1, input e2 is not enabled until input1 =1 is switched. Range of values 0-3:

Page 20: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 20

0: always enabled (default setting)1-3: enabling by inputs1-3This function is needed to arm the alarm system, often by a key switch. By using the key switch at the disengaging input, the coun-ters of the disengaged inputs as well as possible not yet receipted alerts of these inputs are reset.

Page 21: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

21 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

.al ALARM function, binary

with e3.al=1, input3 triggers an ALARM, i.e. reports one ALARM sms with the content of the alarm reason to the call numbers r1-r50Range of values 0-1:0: Input does not report ALARM (default setting)1: Input reports ALARM SMSOnce the alarm is triggered (sms sent and the red LED is con-stantly on), the alarm will be enabled till it is receipted with a „qu“. Is the alarm reason still present a new alarm is triggered. Is a alarm enabled but not receipt and another alarm appears e.g. a blackout, this alarm is sent per sms. All alarms are reset by a re-ception. In connection with the alarm function there should always be used the binary input e1 to arm/disarm the alarm system (also look up .a1). If a alarm is present it can also be reset manually by arming/disarming on e1 or by a direct duty-free call, look up GSM-key / SMS relay / incall.

.a1 output1 function, binary

with e3.a1=1 input3 closes output1, if active.Range of values 0-1:0: input does not close output1 (default setting)1: input closes output1If e3.al=1 is set at the same time, the output contacts remain closed for 30 seconds (siren function).

.a2 output2 function, binary

with e3.a2=1 input3 closes output2, if active.Range of values 0-1:0: input does not close output2 (default setting)1: input closes output2If e3.al=1 is set at the same time, the output contacts remain

Page 22: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 22

closed until the alarm is quitted (flashing light function).

.ds direct SMS function, binary

with e1.ds=a1=0#a1=1# a direct sms (without any sms-header like counters, aso.) will be sent to the mobile number stored at r51.When e1 becomes 0 the direct SMS is „a1=0“ and when e1 becomes 1 the it is „a1=1“. e1.ds uses r51, e2.ds uses r52 and e3.ds uses r53. The sms can be about 30 characters long and the command is separated with the ’#’ sign. If a sms text should be sent for the condition 1 but not for the condition 0, the command has to be e1.ds=#a1=1#

This command allows other SMS-GUARDs to switch directly e.g. to hook up a group of pumpe stations at once, etc. and it is subjected to the condition of the input.

This command also allows to sent free sms to a special number.

Please note that a1 is registered as such in the other device too.

With the .al function you can set if the normal alarm sms is sent to r1-r50 or not, independent from .ds.

.oe NC contact function, binary

with e3.oe=1, input3 reports a 1 if the contact at its input is open (NC contact).Range of values 0-1:0: The input is active if the connected switch is closed (normally-opened (NO) contact)1: The input becomes active if the connected switch is opened (default setting).

Page 23: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

23 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

.za counter function, binary

with e1.za=1 the changeovers from 0 to 1 at the input e1 are counted (20 ms level sensing) and can be polled. For example, a 230 V AC counter can be connected. Range of values 0-1:0: Input does not work as a counter (default setting)1: Input works as a counterif the input is polled with e1?, the following sms is sent:SMS-GUARD: e1.z=12=ON!The .z indicates that the input is working as a counter (0-4294967295). The counter reading is 12, the input is ON! e1.za=0 resets the counter function and the counter is reset to zero (this also happens at power-up). However, if the input triggers an ALARM, the counter will be automatically reset to zero when the ALARM is receipted.

.bz operating hours counter function, binary

with e1.bz=1, an operating hours counter is activated at input 1. Range of values 0-1:0: Input does not work as an operating hours counter (default setting)1: Input works as an operating hours counterif the input is polled with e1?, the following SMS is sent:SMS-GUARD: e1.bz=12=ON!the .bz indicates, that the input is working as an operating hours counter (0-4294967295). The counter reading is 12 seconds, the input is ON. e1.bz=0 resets the counter function and the counter is reset to zero (this also happens at power-up).

.fl triggering on edge detection, binary

With the edge detection a level change triggers an alarm at input e1 , if .al=1 is set. This is important for analysing contacts which

Page 24: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 24

signal interruptions by systems. The drop out of the contact (interruption) is triggered or closing the contact (interruption is cured) , if an already triggered alarm is deleted before with qu. If you want to reset the edge detection and the alarm function, the eradication of the commands are very important in the sms. With „e1.al=0, e1.fl=0“ there won’t be triggered a last unmeant alarm.

.el input level, binary

The input level describes the number of events at the input, from which an alarm is triggered, if .al=1. This is important when using alarm systems, if an alarm should be triggered , when more than one motion detection is signaled. As now a single cable break isn’t recognizable anymore, the visible part of the wire should be installed that way to the motion detector that already a approximation lets the motion detector attach over the metering condition .el which supports our original detector. range of values 1- 225, presetting 1. Is this function used with .al=1 the alarms must be unlocked, normally with e1.

.er input reset function, binary

this function resets the counted events ( look up el) after a expi-ration of seconds automatically. this can be helpful, when a single motion should be unnoticed and the alarm should be only trig-gered when several motions are received in short time.Range of value 0-65535, at 0 this function is inactive, default setting 0. This function only works while there is no alarm triggered. Is this func-tion used in connection with .al=1 the alarm must be unlocked, usually at e1.

.et input trigger function, binary

this fuction checks the switch changes at the input. If they don’t happen in a number of seconds (0-65535), an alarm will be

Page 25: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

25 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

triggered or/and switched. With default setting 0 the function is inactive. With the PC-Programmer, the time base can be changed from seconds to minutes or hours. If this function is used in connection with .al=1 the alarm must be unlocked, usually at e1. More commands are explained in the chapter Names and more

Commands (S.34).

Page 26: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 26

e4, Input, analog

A measuring voltage (0 to +10 V) can be applied to analog input e4. The voltage is measured relative to GND in 1/10 volt steps. The reading is polled with:

e4?

and gives the answer:

e4=86 for 8.6V A lower limit (e4.ug=20) and an upper limit (e4.og=95) can be pre-set. If the measured voltage goes below or above a limit with (e4.al=1), an alarm signal is given, or with (e4.a1=1) output1 is closed, or with (e4.a2=1) output2. In addition, the minimum and maximum values are permanently stored, and can be deleted with (e4.mm=0). The settings, including the minimum and maximum values, can be polled with (e4.?). Also look uo calibration (ca).

ti/te,Temperature sensor

SMS-GUARD has an internal temperature sensor (ti?) and an optional external temperature sensor (te?). That one (which has about 2 metres of cable) can be plugged directly into the sock-et. If the external temperature sensor is not plugged in, the val-ue te is set to -99. Temperatures from -40°C to +110°C are dis-played. The response times of the sensors are of several sec-onds. A lower limit (ti.ug) and an upper limit (ti.og) can be preset.

Page 27: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

27 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

If the temperature goes below or above that limit, an alarm signal (ti.al) is given or an output can be switched with (ti.a1,ti.a2), for example to switch on a heating system for frost protection. The minimum and maximum values are permanently stored and can be deleted with (ti.mm=0). The settings, including the minimum and maximum values can be polled with (ti.?,te.?).

w1-w2, Water level sensor,

binary

As an alternative to the external temperature sensor, an optional two-stage water level sensor or a

motion detector can be plugged into the same socket. Logically, these two sensors are treated as two further binary inputs and can be lined with potential-free switch contacts.The setting can be polled with (w1.?,w2.?).

ak Battery buffering

If you want the SMS-GUARD to continue to operate in the event of a power outage on the 230 V AC network, an optional battery can be connected as described in the data sheet „battery-SG35s.pdf“ (to be found in the download area of our homepage). The given instructions should be followed! :Caution: Incorrect polarity may cause distruction of the unit! The SMS-GUARD automatically monitors the state of charge of the battery and recharges it . The user can poll (ak?) and monitor the battery voltage (e.g.: „ak.ug=110, ak.og=142“, etc). If the set limits are violated, an alarm (ak.al=1) can be triggered and/or an output can be switched (ak.a1=1). When there is no battery, ak?

Page 28: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 28

typically returns a no-load voltage of 14.2V..

Battery-buffered sensor power supply

With a battery-buffered alarm installation it is usually desirable to supply power to the motion sensors as well as to the SMS-GUARD if the power supply fails. For this, the plus (+) terminal of the motion sensor is to be connected to the “Vout” terminal and the minus (-) terminal of the motion sensor to the “GND Vout” ter-minal. The total current drawn by all connected loads and sensors must not exceed 80 mA.The user can poll and monitor the supply voltage with “vs?“(e.g.: „vs.ug=120,vs.og=155“ for 12,0V and 15,5V, etc). If the set limits are violated, an alarm (vs.al=1) can be triggered and/or an output can be switched (vs.a1=1). If a battery is connected and the sup-ply voltage sinks a blackout of the 230V AC network at the plug-in will be detected.

eq Signal quality

„eq?“ polls the signal quality of the radio connection and you get a value between 0-31. 0 means unknown (connection lost) and 31 the best quality (>= 51 dBm).Limits can be ckecked with „eq.ug“ and „eq.og“ and with „eq.al“ and „eq.a1“ you can switch „eq.a2“.If the signal quality becomesunder 10 it is recommended to rise the quality by changing the po-

Page 29: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

29 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

sition of the antenna. Therefore if the value is permanent low youshould try that the signal quality gets better by changing the an-tenna’s position or by a beam antenna (accessory). The SMS-GUARD is also completely ready for use and ready-to-transmit if the signal quality is bad. Simply a sms sent to the SMS-GUARDcan delay itself by 5 minutes (typical) by the avulsed radio contacton the part of the network operator .

a1-a2, Connecting the outputs

The two output contacts a1 and a2 can be closed directly (by hand) with:

a1=ON, a2=1

or automatically via the inputs. If an output is set directly by hand, it closes in any case and can only be reset with „a1=OFF“ or „a1=0“. The automatic function is then restored.There is also the posibility to trigger a pulse with the pulse length of 1-65635 seconds, e.g.:

a1=1=10 closes a1 for 10 seconds.

Please note, that the name a1 is also given that way.

The output contacts are potential-free and can handle up to 24 V and 4 A. To switch bigger loads, the accessory „230V AC

switch“can be used. The relay has 2 contacts as openers and 2 contacts as closers. The switching capacity is 8A / 250VAC.

Page 30: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 30

S0-counters

The inputs e1-3 can be conected directly to alternating current-, three-phase-, gas-, water- or heat meters with S0 impulse. If pol-

Page 31: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

31 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

ling the condition of the input, the meter readings are transmited too and can be sent to our sms-input via the function „data logger“. Then, the user can look up the consumption curve as daily, weekly and monthly graph.

PC Programming interface

With an optional programming adapter the SMS-GUARD can be connected via a socket to a serial or optional USB interface of a Windows PC so that its parameters can be conveniently set. The programm provides additional posibilities, e.g. the setting of offset values for comparison of the temperature sensors, the setting of the edge detection, etc. In addition, the latest versions of pro-

grams can be down-loaded from the Inter-net. Tipp: If you place the mouse pointer on an input field, there appears a yellow help text with

useful explanationes. Please note the installation references on our homepagewww.SMS-GUARD.org/downloads/pc-programmer.pdf.

Page 32: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 32

Names and more commands

The default setting knows the following names:

Names, binary

These names can be changed by the user:e1 for input1, screw terminal connectione2 for input2, screw terminal connectione3 for input3, screw terminal connectionw1 for water switch 1, socket te/w1+2w2 for water switch 2, socket te/w1+2

Names, analog

These names can be changed by the user:ti for the internal temperature te for the external temperature, socket te/w1+2ak for the battery charging voltage, internalvs for the supply voltage, internalv for the external speed, socket GPSeq for the reception (radio) quality, internal signal

Names, further

These names can be changed by the user:

Station name SMS-GUARD

SMS-GUARD, ten-digit alphanumeric (0-9, A-Z, a-z, “-”) device designation, polling „SMS-GUARD?“ (short form „??“) re-turns version numbers (with internal parameters) and „SMS-GUARD=HAUS“ assigns new names.

Page 33: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

33 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

User-Pin upi

A four letter (a-Z) User-PIN (upi) can be used as access authori-sation for every sms-command. If the command „up“ is activated every command sms is preceded by the upi as password e.g.:

„mach a1=1“

Please note, that the name a1 also is given that way.

Changing the upi with with activated upi: „mach mach=tues,tues“. If the SMS-GUARD receives a sms which starts with a not valid upi, the following sms is sent to r1-r50:

upi??!+491234567890 sent : received smsIf you don’t want to receive too many greeting messages from the radio network operator in the range of national radio network transgression, the sending of the upi- mistake can be disabled with stoping the echoes “ec“. SIM-PIN spiThe SIM-Pin is a four-digit numeric (0-9) and has to agree with the SIM-PIN of the inserted SIM card. The spi is changed with:

„9999=1234,1234“

This change also reprograms the SIM card in the SMS-GUARD. In a chain of commands the command should be positioned at the end.

AN

assign value for 1, e.g.:„a1=ON“

closes the output contact a1 just like „a1=1“.

Page 34: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 34

Please note, that the name a1 is also given that way.

AUS

assign value for 0, e.g.:

„a1=OFF“

opens the output contact a1 just like „a1=0“Please note, that the name a1 is also given that way.

Commands, further

These names cannot be changed:

quit alarm qu

quits all present alarms and resets the “Alarm” LED. qu? polls which alarms are active.

assign and poll phone numbers r1-50

by activating the function „.al“ at the triggering input a sms is sent to the phone numbers r1-50. Only sms commands sent by these phone numbers are worked (can be disabled with „rf“). „r1=,“ de-lets the phone number r1, „r1=+491234567“ assigns the phone number a1 and „r?“ polls 10 numbers from a1, „r10?“ from r10. A valid phone number has between 4 and 20 digits (including +).Al-so look up „authorization of phone numbers“.

phone number authorizations

The command „r1=+491234567=1“ gives an authorization to every desired phone number from v1-02h-23. „=1“ sets the autho-rization for this phone number to 1. „0“ is preset for the authori-zation of all phone numbers. It allows all phone numbers to do everthing. The authorization is encoded bitwise. If the bit is set, it

Page 35: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

35 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

means:Bit 0: the phone number isn’t allowed to change the settingsBit 1: there isn’t sent a sms to this phone numberBit 2: reservedBit 3: reserved

Berechtigung Bit3 Bit2 Bit1 Bit0

0 0 0 0 0

1 0 0 0 1

2 0 0 1 0

3 0 0 1 1

4 0 1 0 0

5 0 1 0 1

6 0 1 1 0

7 0 1 1 1

... ... ... ... ...

15 1 1 1 1

Page 36: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 36

assign phone numbers r51-53 for direct sms

The Command „.ds“ sends a direct sms to these phone numbers. e1 corresponds with r51, e2 corresponds with r52 and e3 with r53Deleting and setting the phone numbers is done as with „r1-50“ ..

Rufnummer rf, toggelt fremde Rufnummer

„rf“ toggles „strange phone numbers“: Initially it is set to OFF. In this state commands are only accepted from phone number listed in r1-r50. With „rf“ strange phone numbers are activated, i.e. com-mands are accepted from every mobile phone (then it’s recom-mended to activate the „up“). A further „rf“ disables strange phone numbers again.

Echo ec, toggles command echo

The command sms’ echo is initially set to ON, i.e. the executed commands are sent back as conformation. The „ec“ command re-sets the echo and another „ec“ activates the echo again. Disable-lig the echo saves operating costs.

sms counter indication sz

toggels counter indication.The counter indication is initially set to ON. The „sz“ command re-sets the counter display, a further „sz“ reactivates it again. The counter display helps to control the activities from (and to) SMS-GUARD.

Page 37: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

37 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

Prepaid credit pp, display remaining credit

With the command „pp=2500,19,500“ the prepaid credit is dis-played, whereupon the actual asset of the prepaid account is 2500 Cent (25€ , range of value: 0-65535, default setting 0), one SMS costs 19 Cent (range of value: 0-225, default setting), and if the credit falls beneath 500Cent (range of value: 0-65535, default setting 0) the credit balance will bedisplayed in every sms, e.g.:

SMS-GUARD:ez=106,sz=105,pp=486,...“

With this important additional information it is possible to reload the card before the prepaid-credit is exhausted. Condition is, that directly after reloading, the new prepaid-credit is announced with the command“pp“. „pp?“ polls the parameters.

power-up mesage pu, toggle

pu toggles a power-up message. Power-up message is initially set to ON, i.e. by restarting the SMS-GUARD e.g. after a blackout or a new registration in the radio network. With the command „pu“ the message is switched on and with another „pu“ the message is switched off again.

User-PIN up, toggle

up toggles the „User-PIN“ (upi). The upi is initially switched off and is activated with the command „up“. Another „up“ switches off the upi. The value of the upi (default setting „mach“) is maintained. If the upi is activated, it will be reported in every reporting sms e.g.:

„SMS-GUARD:ez=106,sz=105,up,Alarm...“

to show the userthat every command sms has to start with the upi e.g. „mach qu“ for quiting an alarm.

Page 38: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 38

direct command d1-3, GSM-Key / SMS-Relay

GSM-Key / SMS-Relay

The function GSM-Key / SMS-relay is programed with d1-3. If the SMS-GUARD is called directly by a mobile phone with the call number r1-50, it is counted how often the bell signal arrived and with the command „k1“ and „k2“ a direct command d1-3 is carried out according to the setting . As the call isn’t received (not answe-red), there aren’t produced any charges. The direct command can be up to 30 signs long and contains the discharging commands seperated by a comma e.g.:

„d1=a1=1=3,et=60=3“

Please note, the the name a1 is given that way too.

After the command sequence the sms must end. In this example the output a1 would be closed for 3 seconds and after 60 seconds you would receive a sms with the polling of the outputs e1 and e2. For example it would let control a garage door actuation with re-sponse about the position of the doors at e1 and e2. The direct commands’ setting can be polled with „d?“. A command’s execu-tion isn’t reported as echo per sms and the calling mobile’s num-ber-ID must be activated, so that the call number appears on the callee’s display . Therefor, the phone numbers r1-50 (caller) have to include their country code e.g. „+49176123456“. If the com-mands starts with a „si“, e.g:

„d1=si,a1=1=2=3“

in this example the output „a1“ is closed for 2seconds, which is done 3 times. If a horn is connected to the output, this horn sounds 3 times.

Page 39: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

39 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

If „foreign mobile numbers“ (rf) is set, the direct command can be triggered by any caller (the authentication doesn’t apply).With r2=+49123456=3, r3=+49123455=3, etc. the calling mobile phones are disabled from carrying out changes and from recei-ving sms. Only the programing mobile needs the authorization for carrying out changes and receiving sms to be able to check and change the programation via sms. If using a PC programer, all mobiles can be enabled to be calling (door opening) mobiles. All mailbox services of the prepaid card in the SG35s have to be di-sactivated (dailing ##002#) as well as all sorts of notifications. This is important if for example the SG35s has to reconnect itself to the radio network because of bad reception.

ringing k1-2 the direct commands d1-3

with k2=2 and k3=5 the direct command 1 would be executed, if ringing 2 times and if ringing 3 or 5 times direct command 2 would be executed. Direct command 3 would be executed if ringing 6 or more times. Also look up command „d1-3“. „k?“ polls the setting. range of value 1-15, default setting k1=2, k2=5.

input conditions et after a time t in seconds

et=60=3 makes it possible to report the input conditions after a certain time (in seconds), in this example 60. This is particuarly in-teresting in conection with direct command „d1-3“. The second parameter, parameter 3, quotes which inputs should be reported. Bit0=e1, Bit1=e2, Bit2=e3, Bit3=w1,Bit4=w2, Bit5=e4, Bit6=te, Bit7=eq

so according to3, the inputs e1 and e2 would be reported. The range of value is 0-255. If the second parameter is omited, all in-puts are reported.

Page 40: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 40

calibration ca at the input e4 0-10VDC

With :

ca=8=0=38=100

the measuring signal at input „e4“ is calibrated.This means:8 is the lower metering point measured in 1/10V (=0.8V).0 is the display value at the lower metering point38 is the upper metering point measured in 1/10V (=3.8V)100 der Anzeigewert am oberen Messpunkt

therefor, the measured value is displayed in the range of 0.8V to 3.8V as 0-100(%).

With :

ca?,e4?

the measured value’s settings can be polled.

The answer:

SMS-GUARD:ez=1,sz=2,ca=8=0=38=100,e4=65

If the upper metering point is set to 0, the e4 input signal will be displayed in 0-10V measured in 1/10V.

email-Adresse ea

ea enters an email address, e.g.:

„ea=max.mustermann*t-online.de“

Page 41: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

41 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

Please watch that the „*“ is placed instead of the usually used „@“. The phone numbers r1-50 now await the provider’s gateway num-ber of the sim-card. The sms-to-email gateways’ phone numbers are:

T-Mobile 8000Vodafone 3400E-Plus 7676245O2 Germany 6245

The alarm sms will now be sent to the SMS-to-Email Gatway and there it’ll be changed into an email.

„ea=max.mustermann*t-online.de,r3=6245“ programms O2

The programmed email address can be polled with „ea?“ Please inform youself if your provider charges additional costs for this service.

The service must be activated/ deactivated by the provider by sending a sms to the Gateway number

T-Mobile OPEN / CLOSEVodafone OPEN / CLOSEE-Plus START / STOPO2 Germany doesn’t matter / STOPThis sms has to be sent to the provider from the sms-guard’s sim card via a mobile, e.g.: send „STOP“ to 6245 to disactivate the O2 service. In addition the call number in the SMS-GUARD must be deleted and „r3=,ea=“ delets the email address.

Page 42: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 42

data logger dl

dl=60 reports the inputs’ conditions after a 60minutes, i.e. every 60minutes a sms is sent to the phone number r2. Range of value: (4 weeks), default 0=inactive. „dl?“ polls the value. Please note: if reseting or registrating newly in the radio network the down-wards counter starts from the beginning. If using the „data logger“ function it is recommended to conclude a sms flat rate. Otherwise high costs could be produced.If a sms is sent to the sms input, all data can be recalled in a dia-gram via the internet (for a little fee).

S0-Impulse resolution i1-3

A S0 impulse for „data logger“ can be connected to e1-3. „i1=1000“ sets its impulse resolution to 1000Impulse/kWh , which is displayed in Wh. i1?,i2?,i3? polls the values, range of values: 0-

Page 43: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

43 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

60000, 0 inactive, default 0.

? returns all signal values

?? shortform for „SMS-GUARD?“

Polling version number and names

Command SMS, the station marking with a question mark returns the version number and all names e.g.:

SMS-GUARD?

answers:

„v1-02g-17,0,0,0,0,0,0,0,0,e1,e2,e3,w1,w2,gp,e4,ti,te,ak,vs,eq,v,SMS-GUARD,a1,a2,OFF,ON!“

If an unknown command is refused with ?? , this request receives the actual assigned name as answer.

Page 44: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 44

alarm mesage, -monitorig and quitting

(also look up Function .al)

If an alarm is triggered, it is reported per sms e.g.: ALARM=e1=1=ON!

„qu“ deletes all present alarms and following sms is sent back:ALARM:e1=1=ON,qu!

he alarm has been quitted, the triggering signal was e1, the mo-mentary condition is „1=ON“ , which means that the alarm is still present and will be triggered in a moment. The funcion edge de-tecion „.fl“ disables this multiple report.

„qu?“ polls any present alarms. Are no alarms present, the SMS-GUARD answers:no ALARM

apart from that present alarms are reported:ALARM:e1=1=ON,vs=0,qu!

Other Commands

f you don’t find a sought-after command in this list, it can also be a function (.), e.g.:

e1.ds=a1=0#a1=1#

These are described in the capital Functions (P.22).

Page 45: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

45 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

LED displays in service

The SMS-GUARD has one green LED „ok” and one red LED „Alarm” which show the equipment’s working condition. To easier understand the flashing sequence of the LEDs they are repre-sented as animated images on our homepage under „faqs“.

LED “ok”, green

The green LED indicates the status of the radio connection.

When the device is working normally, the LED flashes briefly

every 2-3 seconds. Every deflection signals a error status!

In the unlikely event of radio communication problems, the LED flashes at a constant rate ( it searches a wireless conection) or stops flashing altogether (the modem isn’t working). If this is the case proof if the antenna plug is properly bolted. If the radio con-nection does not return to normal ( corresponds in PC program-mer to the value „GSM-reception problem=30“) within about 30 seconds, the SMS-GUARD attempts to reconnect to the GSM net-work reinitialising. At first a power down is performed, this takes about 30 seconds. During this time the green LED is constantly working and the values „no GSM connection“, „code is started“ and „ therefrom internal starts“ increase by one.

The flashing during the common mode working process also ap-pears when the prepaid sim card’s assets are used up (also look up „pp“ under „more names“) or if an error occured sending a sms. As long as this case remains the green LEDs’ status is in-verted. In normal use, this means that the green LED glows and expires briefly if being proberly linked to the radio network ( inver-ted flashing). After recharging the prepaid card some radio net-

Page 46: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 46

work providers require that the first sms is sent via a mobile before it can send sms from the sms guard. The SMS-GUARD can pro-cess sms commands accordingly if there isn’t any credit left but it can’t send sms. Outputs can still be switched per sms commands and the automatic also works but reconnecting itself to the radio network isn’t possible. The inversion is cancelled by sending an error free sms.

LED „Alarm“, red

The red LED is lit during an ALARM and is reset by quitting (qu) he alarm. If the cause of the alarm persists, ALARM is triggered again. Ifan SMS command is received, the LED changes its state only an instante (10 ms). The LED also flashes once for every report sms sent and twice if it was unsucessful.

Apart from that, an error code is displayed by the red LED lighting up (=ON) at a rate of once per second when initialising.

5 x ON, Modem doens’t react to polling the sim-pin6 x ON, infinite loop, error sim-carde. Either the sms-card isn’t plugged, the sim card doesn’t react or the SG35s’ sim pin is wrong. Please note, that the SIM card is blocked after three incor-rect attempts and must be unblocked with the PUK. The SIM must be removed when the device is idle and the default setting „9999“ (or to the last PIN programmed in the SMS-GUARD) has to be set via a mobile. 7 x ON, modem reports an error reacting to command 78 x ON, modem reports an error reacting to command 8

IIf error#6 occurs, the error sequence will be repeated again until the power supply is reconnected. Apart from that, after 20 sec-onds all errors are followed by a warmstart and consequently it

Page 47: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

47 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

will be tried to reinitialise it.

Further error codes are:-if a warmstart is executed, the alarm LED flashes twice for 50milliseconds- if a long term memory error occurs the alarm LED flashes con-stantly 50milliseconds. In this case the SMS Guard has to be re-programmed (internet update) and if the error repeats itself the console must be sent for repairation.-if a SIM card problem occurs while reprogramming spi with the PC programmer, the LED flashes constantly 100 milliseconds. In this case the SIM card should be removed and the spi should be proved with a mobile and it should be proved if a sms can be sent with the SIM card. Afterwards put the SIM card back into the SMS-GUARD, connect the PC programm adapter, apply the sup-ply voltage to the SMS-GUARD, set the spi to the right value using the PC programmer and set the parameter in the SMS-GUARD-if a SMS is received from an unauthorized mobile number (rf=0) and the upi is switched off (up=0) the red LED flashes for 10 se-conds with a 20 millisecond rhythm.

Error handling

When the device is working normally, the green LED flashes

briefly every 2-3 seconds. Any other signal of this LED, e.g. flashing in the common mode or brief expiration (inverted flash-ing) is described exactly under „LED green“.

If the red LED is lit an ALARM is present. After quitting (qu) the alarm the red LED will expire constantly, as long as the cause of the alarm doesn’t persist - in such a case the console triggers the alarm again.

Page 48: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 48

If the red LED is lighting up an error has occured in the initializa-tion phase. An initialization always occurs after a start of program, triggered by hooking up the supply voltage (also after a blackout), or by a failing radio connection, visible by the constant flashing of the green LED every second (common mode service).

If the inputs flutter, the bolt terminals of the affected input are to be checked firstly on fixed contact. If happening to detectors, the supply voltage (Vout and GND) has to be checked too. This is also true for the connection of the asset grounding. If a detector flutters while a sms ris eceived (e1.al=1,e1.fl=1), the antenna’s minimum distance of 2m has to be checked.

More information as well as scores of application writings with de-tailed descriptions can be found on our website in the download area and under „Questions and answers SG35“.

Page 49: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

49 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

Appendix

Technical data

• Power consumption: up to 5W in transmit mode. In standby mode, typically 1-2W (without loads connected, e.g. motion sensors, etc.)

• “Vout” for external sensor supply with an upper current limit of 80 mA

• GSM networks: D1/D2-network or E-network, Europe-wide • Inputs e1-e3: for the direct connection of potential-free

switching contacts • Input e4: A measuring voltage (0 to +10 V) can be applied to

this input. The voltage is measured relative to GND. Internal resistance: Ri: 130 kOhm

• Temperature sensors: measuring range -40°C to +110°C typ-ical accuracy of ±1°C every 20°C.

• Outputs: These are potential-free switching contacts which can handle up to 24 V and 5 A. Power consumption with closed contact about 0.25 W, with open contact 0 W.

• Working temperature range for SG35s: -20°C to +55°C. The device works till up to +70°C but deviations from the GSM’s specification are possible.

• Supply voltage 12V-15V DC, rechargable battery 15V DC • Supply voltage from universal plug-in mains adapter

230V~AC (100-240V~AC at 47-63 Hz), working temperature 0-40°C

• location temperature range: -40°C to +85°C • Maximum relative Humidity 85%, without condesation • Weight SG35s modul ca. 170g • Connection space required 210 x 55 x 120 mm (h x w x d)

Page 50: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org 50

Limitations

• The information in this description specifies technical properties; it does not guarantee properties.

• Great care was taken in developing the SMS-GUARD. SMS-GUARD requires a working GSM connection of a telephone company to operate.

• SMS is a virtually secure transmission medium. In very few cases delay or lose is possible. We therefore recommend that report messages should be sent to more than one telephone number and that the execution of SMS commands should be checked by polling the relevant status.

• SMS texts are not allowed to content special signs, although some mobiles offer it. Using special signs can entail that the sms text arrives shortened and therefore the SMS Guard does not interpreted correctly. For this reason, alphanumeric signs (a-Z,0-9) and (comma,.,-,#) should only be used.

• If sending more than one command SMS to SMS-GUARD, allow at least 30 seconds per entered phone number so that the module can process the commands in an orderly manner.

• The original accessories for the SMS-GUARD has been carefully chosen and the interfaces of the SMS-GUARD are adjusted to suit them in terms of function. We do not recommend the use of untested accessories.

• The memory for permanently stored data, such as texts and min/max values, error messages and the program start counters are designed for about 100.000 write cycles.The program memory is designed for up to 1.000 write cycles with the programming adapter and is not written on in normal operation.

Page 51: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

51 Technische Änderungen und Irrtum vorbehalten. www.SMS-GUARD.org

Accessories, (excerpt)

• Extension cable for antenna • beam antenna • Battery • Low-power motion sensors with lenses • Switches in form of door, window or shutter contacts • Keyswitches • Alarm sensor (siren + flashing light) • Water level sensor • Temperature sensor • 230V~ switching relay • 230 V~ AC counter • 380V~ three-phase meter • warm water meter • cold water meter • PC programmer for WINDOWS with serial interface or

optional with USB-serial-adapter for a USB interface

The current range can be seen at the web shop on our website: http://www.sms-guard.org

Old device waste disposal

The device must not be depolluted by the public waste collection places or garbage cans. Either it must be depolluted orderly in ac-cordance of the WEEE guideline or it can be sent back to us at own expense.

Page 52: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

52

.a1 output1 function, binary ..................................... 21

.a2 output2 function, binary ..................................... 21

.al ALARM function, binary ...................................... 21

.bz operating hours counter function, binary ........... 23

.ds direct SMS function, binary ................................ 22

.el input level, binary ............................................... 24

.er input reset function, binary ................................. 24

.et input trigger function, binary ............................... 24

.fl triggering on edge detection, binary .................... 23

.fr enable function, binary ........................................ 19

.oe NC contact function, binary ............................... 22

.za counter function, binary ..................................... 23

? returns all signal values ..................................... 43

?? shortform for „SMS-GUARD?“ ........................... 43

a1-a2, Connecting the outputs ................................ 29

Accessories, (excerpt) ............................................. 51

ak Battery buffering ................................................. 27

alarm mesage, -monitorig and quitting .................... 44

AN ........................................................................... 33

Appendix ................................................................. 49

assign and poll phone numbers r1-50 ..................... 34

assign phone numbers r51-53 for direct sms .......... 36

AUS ......................................................................... 34

Battery-buffered sensor power supply ..................... 28

calibration ca at the input e4 0-10VDC .................... 40

Commands, further .................................................. 34

Connecting the antenna .......................................... 11

Connecting to GSM network and LED signals ........ 12

Connection space dimensions .................................. 8

data logger dl ........................................................... 42

Register A-Z

Page 53: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

53

direct command d1-3, GSM-Key / SMS-Relay ........ 38

e1 bis e3, binary functions ....................................... 19

e1-3, connecting the binary inputs .......................... 18

e4, Input, analog ...................................................... 26

Echo ec, toggles command echo ............................ 36

E-mail Signal ........................................................... 16

email-Adresse ea .................................................... 40

eq Signal quality ...................................................... 28

Error handling .......................................................... 47

Fax Signal ............................................................... 17

Function ..................................................................... 5

General guidelines .................................................... 7

Grounding ................................................................ 12

GSM-Key / SMS-Relay ............................................ 38

Initial commands after purchase ............................. 15

Initiation ..................................................................... 9

input conditions et after a time t in seconds ............ 39

Inputs and outputs ................................................... 17

Inserting the SIM card ............................................... 9

Installation ................................................................. 7

Installation Overview ............................................... 58

Introduction ................................................................ 5

Introduction to programming ................................... 13

LED “ok”, green ....................................................... 45

LED „Alarm“, red ..................................................... 46

LED displays in service ........................................... 45

Limitations ............................................................... 50

Names and more commands .................................. 32

Names, analog ........................................................ 32

Names, binary ......................................................... 32

Page 54: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

54

Names, further ......................................................... 32

Old device waste disposal ....................................... 51

Other Commands .................................................... 44

PC Programming interface ...................................... 31

phone number authorizations .................................. 34

Polling version number and names ......................... 43

power-up mesage pu, toggle ................................... 37

Prepaid credit pp, display remaining credit ............. 37

Programming ........................................................... 13

quit alarm qu ............................................................ 34

ringing k1-2 the direct commands d1-3 ................... 39

Rufnummer rf, toggelt fremde Rufnummer .............. 36

S0-counters ............................................................. 30

S0-Impulse resolution i1-3 ....................................... 42

SMS Command Overview ....................................... 56

sms counter indication sz ........................................ 36

SMS-GUARD? ........................................................ 43

Station name SMS-GUARD .................................... 32

Technical data ......................................................... 49

ti/te,Temperature sensor ......................................... 26

Top-hat-rail mounting ................................................ 8

User-PIN up, toggle ................................................. 37

User-Pin upi ............................................................. 33

w1-w2, Water level sensor, binary .......................... 27

What’s included ......................................................... 6

Page 55: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

55

Page 56: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

Subject to change without notice. Errors and omissions excepted. www.SMS-GUARD.org 56

Overview of commandsE

xa

mp

le c

om

ma

nd

s

e1?

po

ll sta

te e

1: e

1=

0=

OF

F!,

e

1=

1 s

et

e1

, a

1=

1 s

ets

a1

e2.f

r=1

, e

nab

le e

2 o

nly

if e

1 a

ctive

=1 (

arm

ing)

e1.?

giv

es a

s a

n a

nsw

er

all

active f

unctions o

f

e1

: e

1.f

r=1

.al.

oe

Ala

rm c

on

tact

with s

iren

fun

ction

:e

1.a

l=1,e

1.a

1=

1

Ala

rm insta

llation

with

mo

tion s

en

sor

(BW

M):

e1=

arm

ed

, e

2=

BW

M, B

WM

.fr=

1,

BW

M.a

l=1,B

WM

.a1

=1,B

WM

.a2

=1

Oth

er

co

mm

an

ds:

qu

ackn

ow

l. A

LA

RM

(qu?

asks w

he

the

r

an a

larm

exis

ts)

r1

ph

one

nu

mbe

r r1

-r4,

eg

.

r1=

+4

917

91

234

56

,r? p

olls

r1-4

ec t

ogg

les c

om

man

d e

cho

sz to

gg

les S

MS

coun

ter

dis

pla

y?

re

turn

va

lues o

f a

ll sig

nals

a1=

1 c

lose

s th

e c

onta

cts

of ou

tpu

t a1

pp=

2500

,19

,50

0 s

ets

th

e p

rep

aid

asse

t

to 2

50

0 C

ents

, one

SM

S c

osts

19 C

ents

and

th

e lo

wer

limit is s

et to

50

0 C

ents

up t

ogg

les th

e u

ser-

pin

(d

efa

ult=

OF

F).

If up

=

On,

every

co

mm

and

SM

S b

eg

ins w

ith

th

e

user

PIN

(upi)

, d

efa

ult s

ettin

g „

mach

“.

Chan

ge t

he

up

i w

ith:

„mach=

doit,d

oit

Co

mm

an

ds

fo

r b

ina

ry s

ign

als

an

d v

alu

e r

an

ges

Description

0:

a

lways e

nab

led

1-3

: ena

blin

g

th

rough

inp

uts

e1-e

3

1:

tr

igge

rs A

LA

RM

1:

sw

itches o

utp

ut1

1:

sw

itches o

utp

ut2

0-1

:se

nd

dir

ect S

MS

1:

w

ork

s a

s N

C c

ont.

1:

w

ork

s a

s c

ounte

r

1:

w

ork

s a

s o

pera

tin

g

h

ours

co

unte

r [s

ecs]

1:

tr

igge

r o

n e

dg

es

In

put

leve

l

>0:

Inp

ut

rese

t [s

ec]

>0:

Inp

ut

trig

ger

[sec]

The

de

fau

lt v

alu

es a

re s

ho

wn in

bo

ld typ

e. e

1-e

3 a

re s

witch

ing

inputs

at

the

scre

w te

rmin

als

. w

1-w

2 a

re w

ate

r le

vel se

nso

rsw

ith

dir

ect

plu

gs. g

p =

in

tern

al sig

na

l 1=

wh

en

po

sitio

n is r

each

ed,

need

s G

PS

-rece

iver

an

d S

G3

5k.

.a1

in c

onn

ectio

n w

ith

.al siren

function (

OF

F a

fte

r 3

0s).

.a

2 in

con

nection w

ith .

al w

arn

ing lig

ht

function (

OF

F w

ith q

u).

gp

-

0-1

0-1

0-1

0-1

0-1

0-1

0-1

0-1

1-2

55

0-6

55

35

0-6

55

35

w2

w1

e3

0-3e2

e1

.fr

.al

.a1

.a2

.ds

.oe

.za

.bz

.fl

.el

.er

.et

Page 57: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

57 Subject to change without notice. Errors and omissions excepted. www.SMS-GUARD.org

Exam

ple

co

mm

an

ds

ti?

Po

ll in

tern

al te

mp

era

ture

ti.u

g=

5,t

i.a1=

1, if t

i <

5°C

outp

ut

con

tacts

a1

clo

ses

e4.o

g=

85,e

4.a

l=1,

if e

4 >

8,5

V A

LA

RM

eq

.?, p

oll

se

ttin

gs (

functions)

of th

e r

ecep

tion

qu

alit

y,

sta

ting t

he m

in a

nd

ma

x v

alu

es

eq

.mm

=0,

Rese

ttin

g th

e m

in a

nd m

ax v

alu

es

of

the

re

cep

tion q

ua

lity

Co

mm

an

ds

fo

r a

nalo

g s

ign

als

an

d v

alu

e r

an

ge

s

Description

0: n

ot e

na

ble

d

1: e

nab

led

0: n

o filt

er

va

lue

1-4

: filter

valu

e

1: tr

igg

ers

ALA

RM

1: sw

itche

s o

utp

ut1

1: sw

itche

s o

utp

ut2

low

er

limit v

alu

e

upp

er

limit v

alu

e

Min

an

d m

ax v

alu

es. A

re

po

lled w

ith .?

a

nd

reset

with .

mm

=0

Th

e d

efa

ult v

alu

es a

re s

how

n in b

old

type

. e4

is a

me

asuri

ng

inpu

t o

n th

escre

w te

rmin

al. t

i is

inte

rnal te

mp

era

ture

. te is e

xte

rnal te

mp

era

ture

. ak is

ba

ttery

ch

arg

ing v

olta

ge

.vs is s

upp

ly v

oltag

e. e

q is r

ece

ptio

n q

ualit

y.

eq

0-1

0-1

0-1

0-1

0 -

31

0 -

31

0 -

31

v 0-1

- 0-1

0-1

0-1

0 -

999

0 -

999

0 -

999

vs

0-1

- 0-1

0-1

0-1

0 -

28

0

0 -

28

0

0 -

28

0

ak

0-1

- 0-1

0-1

0-1

0 -

142

0 -

142

0 -

142

te 0-1

- 0-1

0-1

0-1

-40 -

110

-40 -

110

-40 -

110

ti 0-1

- 0-1

0-1

0-1

-40

-110

-40

-110

-40

-110

e4

0-1

0-4

0-1

0-1

0-1

0 -

10

0

0 -

10

0

0 -

10

0

.fr

.fi

.al

.a1

.a2

.ug

.og

.mm

Page 58: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

58

Installation Overview

Page 59: v1-02i-25 SMS-Controller SG35sSMS on alarm SMS-Controller SG35s mobile phone via SMS and Fax Instruction manual with screw connectors v1-02i-25 Monitoring and switching by G S - K

SMS-GUARD