Legato SMS Basic User manual

GSM SMS Alarm Messenger
Version 7
SMS Basic GSM SMS alarm messenger
SMS Pro GSM SMS alarm messenger
SMS Pro-X GSM SMS alarm, voice & data messenger
SMS Pro-SX GSM SMS alarm messenger [Temperature & Humidity Sensor]
SMS Pro-ST GSM SMS alarm & data messenger [2 x Temperature Sensor]
Features Basic Pro Pro-X Pro-XQ Pro-SX Pro-ST
Alarm Input 8 8 8 8 8 8
Relay Output 1 3 3 3 3 3
Phone Number 10 10 10 10 10 10
Low Voltage Alert 999999
Program by SMS 999999
Program by PC Software 999999
Voice 999999
AD Channels - - 2 2 1 0
AD Hi/Lo Alert - - 9999
Temperature Sensor - - - - 1 2
Humidity Sensor - - - - 1 -
Temp Hi/Lo Alert - - - - 99
Humidity Hi/Lo Alert - - - - -
9
GSM Band (MHz) 900/1800 900/1800 900/1800 900/1800
850/1900 900/1800 900/1800
Revision 100924 [v7.1B]

GSM SMS Alarm Messenger SMSPro (Version 7)
2
CONTENT
1. OVERVIEW 3
2. CONNECTION 5
3. INSERTING SIM CARD 6
4. TEMPERATURE SENSOR [PRO-ST] 7
5. EXTERNAL TEMPERATURE & HUMIDITY SENSOR [PRO-SX] 8
6. SCHEMATIC DIAGRAM 9
7. PC SETUP SOFTWARE 12
8. QUICK STARTUP 13
9. ALARM TRIGGER RESPONSE TIME 13
10. GSM NETWORK CONNECTIVITY 13
11. COMMAND LIST 14
12. DEAD LOOP PROBLEM 40
13. POWER LOSS & RESUME 41
14. SAFETY AND REGULATORY NOTICE 42
15. MANUFACTURER’S DISCLAIMER STATEMENT 43

GSM SMS Alarm Messenger SMSPro (Version 7)
3
1. Overview
a. Introduction
SMS Pro is integrated with a 16 bit MCU and reliable Siemens MC39i GSM module.
b. Application
Industrial equipment monitoring
Data capturing
Rural Security
Car Security
Intelligent Home Security
Large scale area monitoring e.g. Power Plant
c. Features
;Operates in GSM covering zones, phone alarm dial & SMS alarm message
;Keep the last 10 SMS alarm messages when sending SMS failed
;Resend the last 10 failed SMS when GSM network resumes normal
;Health Status report by GSM mobile phone or PC (RS232)
;Configuration setup by GSM mobile phone or PC (RS232)
;Arm/Disarm by GSM mobile phone
;8 x Alarm Inputs triggered by N/C, N/O or State Change
;2 x AD channels with user programmable Alert High & Alert Low level
;3 x Relay Outputs, NC/NO activated by alarm input or SMS manually
;8 x Mobile/Fixed Phone Number + 2 x control centre number
;Alarm Alert Modes – SMS, Phone Dial or SMS & Phone Dial
;System status reporting in Automatic, Schedule or Alarm triggered modes
;Central Station monitoring number for Server connected with GSM Modem
;Sound monitoring upon microphone connected
;Each alarm input is associated with independent SMS alarm text
;SMS alarm message text user programmable
;Independent SMS message for close & open triggered alarms
;Schedule power supply voltage level checking
;Automatic reporting on low power voltage level
;Reply message verifying the receipt of each command
d. Safety
yDo not touch the antenna
yGSM 900MHz, 2W max.
yGSM 1800MHz, 1W max.
yNot designed for medical equipment or aerospace application

GSM SMS Alarm Messenger SMSPro (Version 7)
4
e. Electrical Specification
Operating Voltage DC7~15V
Current 500mA (SMS Send/Receive)
10mA (standby)
Peak Pulse Current < 1A
Dimension 135 x 105 x 25 mm
Operating Temperature -25°C ~ 55°C
Weight 600g
RS232 9600bps, 8 Data Bits, None Parity, 1 Stop Bit
f. Antenna Requirement
GSM 900 GSM 1800
RF Frequency 925~960MHz 1805~1880MHz
TX Frequency 880~912MHz 1710~1785MHz
RF Rating 2W 12.5% Loop Loading 1W 12.5% Loop
Loading Resistance 50Ohm
Radiation S/N 0dBi
Note: GSM850/900/1800/1900MHZ is available in US or worldwide version [Pro-Q]
g. Operation

GSM SMS Alarm Messenger SMSPro (Version 7)
5
2. Connection
Sound Monitoring
SMS Pro automatically picks up any phone call after 8
rings. It rejects any call not from alarm phone number.
By connecting the microphone, mobile phone user can
talk to the SMS Messenger.
LED1 green [GSM Signal]
Flashing Off > On duration
* GSM Module Normal Operation
Flashing Same On/Off duration
* GSM Network Connection Problem
Reason:
Antenna not connected
No SIM Card
Defective SIM Card
GSM Module Defect
LED2 red [Operation Status]
On
* Normal
Flash
* Searching GSM Network
* Connecting GSM Network
* Receiving SMS messages
* Sending SMS messages
* Phone dialing
RS232 Pin Assignment Connecting to PC
9600bps, 8bit, No Parity, 1 Stop
Pin 2 RXD
Pin 3 TXD
Pin 5 GND

GSM SMS Alarm Messenger SMSPro (Version 7)
6
3. Inserting SIM card
Press the yellow button to release the SIM
card caddy as shown below.
Make sure that the golden
contact is facing down when
inserting the SIM card caddy.
n
o
p

GSM SMS Alarm Messenger SMSPro (Version 7)
7
4. Temperature Sensor [Pro-ST]
2 x External temperature sensors are supplied with 1m cable. Cable can be extended
up to max. 100 meter.
Temperature Sensor: DS18B20
Temperature Range: -50 ~ 125°C
Accuracy: 0.1°C
AD Channel: 2
High Temperature SMS Alert
Low Temperature SMS Alert
Cable Color Code

GSM SMS Alarm Messenger SMSPro (Version 7)
8
5. External Temperature & Humidity Sensor [Pro-SX]
External temperature & humidity sensor is supplied with 1m cable. Cable can be
extended up to max. 100 meter.
External Temperature Sensor
Temperature Range: -50 ~ 125°C
Accuracy: 0.1°C
AD Channel: 2
High Temperature SMS Alert
Low Temperature SMS Alert
External Humidity Sensor
Humidity Range: 0 ~ 100%RH
Accuracy: ±5%RH
AD Channel: 1
High Humidity SMS Alert
Low Humidity SMS Alert
NOTE: Humidity Sensor must be installed upwards.
External
T
em
p
erature & Humidit
y
sensor
Cable Color Code

GSM SMS Alarm Messenger SMSPro (Version 7)
9
Relay Output jumper
1 2 3
1-2 Short Normal Close
2-3 Short Normal Open (Default)
6. Schematic Diagram
The relay on/off start up status is
determined by the jumper setting.
The relay will resume its start up status
when power is off.
POW Power Input, DC7~12V
GND Power Ground
5VDC Power Output, DC5V [power supply for external sensor]

GSM SMS Alarm Messenger SMSPro (Version 7)
10
1) Alarm Input
Input: 12VDC, 7 ~ 15mA, Opto-isolated Inputs (1KΩInput Resistance)
24VDC, resistor 1~2.2KΩshould be used in serial
(a) IN1, IN3, IN4, IN5, IN6, IN7, IN8
Alarm Input: DC12V 7~15mA, GND: Common Ground
(b) IN2+, IN2-
IN2+: DC5~12V
IN2-: Ground [It must NOT be common to the GND of the board]
2) Relay Output
OUT1, OUT2, OUT3 Max. 1A, 24VDC, 1A, 120VAC
NC/NO (selected by jumper on board)

GSM SMS Alarm Messenger SMSPro (Version 7)
11
3) Analog to Digital Channel
AD1 Analog Digital Channel 1, DC 7-15V Current 4~20mA
AD2 Analog Digital Channel 1, DC 7-15V Current 4~20mA
Models
1) Pro-X AD1 & 2 are available
2) Pro-ST AD1 & 2 are used for temperature sensors
3) Pro-SX AD2 is used for temperature sensor
AD1 is used for humidity sensor

GSM SMS Alarm Messenger SMSPro (Version 7)
12
7. PC Setup Software
The unit can be programmed by: (A) SMS command via mobile phone
(B) Software via its built-in RS232 port
1. Select the COM port of PC connecting to the device.
2. Click [Connect] button to activate the connection between PC and SMS alarm unit.
3. Add a device ID in Phone Book.
4. Select Device ID, Click [Init] to reset or [Ver] to get the version of the device
Please refer to the manual of “SMSPro_Setup” software.
(
A
)
Pro
g
rammed b
y
SMS command via mobile
(
B
)
Pro
g
rammed b
y
PC Software via RS232
p
ort
nop
p

GSM SMS Alarm Messenger SMSPro (Version 7)
13
8. Quick Startup
1. Insert SIM Card into the alarm unit
2. Connect 12VDC power input
3. Wait until the RED LED is off after 15~30 seconds, and GREEN LED flashes every few
seconds
4. Use another mobile phone, write a SMS message as below:
PWD:1234,STATUS%
5. Send the message to the phone number of SIM card in the alarm unit
6. Within 30 seconds, your mobile phone will receive a reply SMS message from the
alarm unit about its health status.
7. The unit is working normal now. Go to the next pages for other operations.
Note: Caller ID service must be activated
9. Alarm Trigger Response Time
After power on, the unit will take about 30 seconds for GSM module initialization and
accessing the GSM network.
Upon alarm triggered, the unit will send the SMS alert message to Control Centre, and
then other 4 programmable phone numbers. Control Centre can be disabled in order to
make the users phone number receiving the alarm sooner.
10. GSM Network Connectivity
1. When GSM network is inaccessible or disconnected on sending SMS, the SMS will be
lost.
2. When GSM network is inaccessible or disconnected before sending SMS, the unit will
keep searching for the network and send the SMS until the GSM network resumes.
3. When sending the SMS alarm message fails, the SMS unit will keep the last 10 SMS
alarm message and resend when the unit succeeds in accessing the GSM network
again.

GSM SMS Alarm Messenger SMSPro (Version 7)
14
11. Command List
System Setup
1. NEW PASSWORD SETUP 15
2. MANUAL HEALTH REPORTING 15
3. SERIAL NUMBER SETUP 16
4. CONTROL CENTRE NUMBER & HEALTH REPORTING SCHEDULE SETUP 16
5. POWER UP MESSAGE 17
6. SYSTEM CLOCK SETUP 17
7. PHONE NUMBER SETUP 18
Alarm Setup
8. ALARM INPUT LEVEL & ALERT SETUP 19
9. SMS ALARM MESSAGE SETUP 21
10. READ THE SMS MESSAGE CONTENT 23
11. USING SMS ALARM MESSENGER TO SEND SMS MESSAGE 24
12. RELAY OUTPUT CONTROL 26
13. RELAY OUTPUT DELAY TIME 26
14. OPERATING VOLTAGE LOW LEVEL ALARM SMS 26
15. INPUT VOLTAGE LOW LEVEL ALARM 27
16. INPUT VOLTAGE THRESHOLD LEVEL SETUP 28
17. ARM/DISARM SETUP 28
Device Information Report
18. DEFAULT SETTING 29
19. SYSTEM PARAMETERS RESET 28
20. SYSTEM VERSION CHECK 28
21. RETURN MESSAGE 29
22. SYSTEM PARAMETERS REPORT 30
AD Channel Setup
23. AD PARAMETERS SETUP 33
24. AD CHANNEL ALARM SETUP 33
25. SYSTEM PARAMETERS REPORT (ABOUT AD CHANNELS) 35
Temperature Sensor Setup
26. MANUAL TEMPERATURE CHECK 37
27. TEMPERATURE ALARM SETUP 37
Humidity Sensor Setup
28. MANUAL HUMIDITY CHECK 38
29. HUMIDITY ALARM SETUP 38
30. FINE TUNING OF TEMPERATURE & HUMIDITY 39

GSM SMS Alarm Messenger SMSPro (Version 7)
15
Command Description
Configure the SMS Alarm Messenger Unit by sending the command text through the
GSM Mobile Phone.
Upon command received and processed, the unit will send a confirmation SMS message
back to the mobile phone.
If command is incorrect, the unit will reply “SMS format is error!” to the mobile phone.
11.1) New Password Setup
Command: PWD:XXXX,NEWPWD:YYYY%
XXXX Current Password
YYYY New Password (4 digits)
Example: PWD:1234,NEWPWD:2222%
Default Password: 1234
New Password: 2222
11.2) Manual Health Reporting
Command: PWD:XXXX,STATUS%
[SMS Message received]
ST:XXX;T:2005/01/28/13:00;V:XXXX;AI1:0000;AI2:0000;K1:X;K2:X;K3:X:K4:X;K5:X;
K6:X;K7:X:K8:X;OUT1:Y:OUT2:Y;OUT3:Y;#.
Example
ST:002;2005/01/28/13:00;V:8.15;AI1:0000;AI2:0000;K1:1;K2:0;K3:0:K4:1;K5:1;K6:
0;K7:0:K8:1;OUT1:1:OUT2:1;OUT3:1;#.
ST Unit Serial Number XXX ASCII code
T Unit Internal Clock XXXX year/month/day/time
V Operating Voltage XXXX
AI1 A/D Channel 1 X hex digits
AI2 A/D Channel 2 X hex digits
K1 Alarm Channel 1 K2~8 Alarm Channel 2~8
K1:0 means “Open”
K1:1 means “Closed”
OUT1 Relay Output 1 OUT2~3 Relay Output 2~3
OUT1:0 means “Open”
OUT1:1 means “Closed”

GSM SMS Alarm Messenger SMSPro (Version 7)
16
11.3) Serial Number Setup
Command: PWD:XXXX,SN:YYY%
XXXX Password
YYY Serial Number (0-999)
Example: PWD:1234,SN:268%
Password: 1234 (default)
Serial Number Set into the unit: 268 (default: 000)
11.4) Control Centre Number & Health Reporting Schedule Setup
Two values are configured by one single command.
(1) Control Centre Number is the phone number receiving the periodic report and
regular report. Besides the periodic report on schedule (Command 5), report of any
command will be sent to this number in addition to the mobile phone number
sending the command. Max. 2 control centre can be defined.
Command: PWD:XXXX,CTRZ:YYYYYYYYYYY,MM#%
XXXX Password
Z Control Centre Number (Max. 2 centres)
1 means the first centre number
2 means the second centre number
YYYYYYYY Phone number in control centre
MM Period Code of Automatic Scheduled Health Report
Example: PWD:1234, CTR1:123456789,05#%
Password: 1234
Report Health Status every 1 hour (refer Table #1)
(2) Periodic health status and any command from other mobile phone will be reported
to the first control centre with number 123456789.
Table #1 Reference Table for the Automatic Periodic Health Status Report
00 No automatic report
07 Every 6 hours
01 Every 5 minutes
08 Every 12 hours
02 Every 15 minutes
09 Every 1 day (8:00am)
03 Every 30 minutes
10 Every odd day (8:00am)
04 Every 1 hour
11 1st, 7th, 14th, 21st, 28th Day (8:00am)
05 Every 2 hours
12 1st, 15th Day (8:00am)
06 Every 3 hours
13 1st Day of Each Month (8:00am)

GSM SMS Alarm Messenger SMSPro (Version 7)
17
SMS Pro automatically reports the unit health status on pre-defined schedule via SMS
message.
[SMS Message received]
ST:XXX;T:2006/10/08/06:15;V:XXXX;AI1:0000:AI2:0000:K1:X;K2:X;K3:X;K4:X;K5
:X;K6:X;K7:X;K8:X;OUT1:1:OUT2:1;OUT3:1;#.
ST Unit Serial Number XXX ASCII code
T Unit Internal Clock XXXX year/month/day/time
V Operating Voltage XXXX
AI1 A/D Channel 1 X hex digits
AI2 A/D Channel 2 X hex digits
K1 Alarm Channel 1 K2~8 Alarm Channel 2~8
K1:0 means “Open”
K1:1 means “Closed”
OUT1 Relay Output 1 OUT2~3 Relay Output 2~3
OUT1:0 means “Open”
OUT1:1 means “Closed”
Example [SMS Message received]:
ST:001;2005/01/27/12:00;V:8.14;AI1:2312;AI2:2131;K1:1;K2:0;K3:0;K4:1;O:1
SMS Unit Current Status
ST Unit Serial Number 001
TIME Unit Internal Clock Date: 27 Jan 2005 Time: 12:00
V Operating Voltage 8.14VDC
AI1 A/D Channel 1 2132
AI2 A/D Channel 2 X2131
K1 Alarm Channel 1 1 Closed
K2 Alarm Channel 2 0 Open
K3 Alarm Channel 3 0 Open
K4 Alarm Channel 4 1 Closed
O Output Relay 1 1 ON
11.5) Power Up Message
Whenever the unit is power up, the unit will automatically send the message “RESTART”
to control centre configured in command 4.
RESTART!
11.6) System Clock Setup

GSM SMS Alarm Messenger SMSPro (Version 7)
18
Command: PWD:XXXX,TIME:AABBCCDDEE%
XXXX Password
AABBCCDDEE Year/Month/Day/Hour/Minute
Example: PWD:1234,TIME:0602031327%
Password: 1234
Clock Set: 3 Feb 2006, 13:27
11.7) Phone Number Setup
8 Mobile Phone Numbers can be preprogrammed to receive the alarm phone dialing or
alarm SMS.
Command: PWD:XXXX,ALMNU1:ZZZZZZZZZZZ,2: ZZZZZZZZZZZ,
3: ZZZZZZZZZZZ,4:ZZZZZZZZZZZ,5:ZZZZZZZZZZZ,6:ZZZZZZZZZZZ,
7: ZZZZZZZZZZZ,8:ZZZZZZZZZZZ#%
XXXX Password
ZZZZZZZZZZZ Phone Number
Example 1:
PWD:1234,ALMNU1:12345678,2:36925814712,3:159357456,4:951753621#%
Password: 1234
Upon Alarm is triggered, call or SMS is made to following numbers.
Number 1 12345678
Number 2 36925814712
Number 3 159357456
Number 4 951753621
Example 2:
PWD:1234,ALMNU1:NUL,3:NUL#%
Password: 1234
Upon first example setup, call to following numbers is cancelled.
Number 1 12345678 Call not made
Number 2 36925814712 Call Retained
Number 3 159357456 Call not made
Number 4 951753621 Call Retained
NUL means no phone number will be set

GSM SMS Alarm Messenger SMSPro (Version 7)
19
1st Relay Control
11.8) Alarm Input Level & Alert Setup
Command: PWD:XXXX,ALMLEVELR:X,YY,ZZZZBBBB,NNN%
XXXX Password
R Alarm Channel Number
X 0 means “Disabled”
1 means “Close” triggered alarm
2 means “Open” triggered alarm
3 means both “Close” or “Open” triggered alarm
YY 00 means alarm not report to Control Centre
10 means alarm report to Control Centre 1
01 means alarm report to Control Centre 2
11 means alarm report to Control Centre 1 and 2
ZZZZBBBB Selection of alarm phone dial and alarm SMS
0 means no alarm report
1 means “SMS” only
2 means “phone dial” only
3 means “SMS” first, and then “phone dial”
Z Z Z Z
B B B B
NNN Relay Output Control
0 means no relay output control
1 means relay output triggered by alarm
N N N
1st phone number
2nd phone number
3rd phone number
4th phone number
2nd Relay Control
3rd Relay Control
5th phone number
6th phone number
7th phone number
8th phone number

GSM SMS Alarm Messenger SMSPro (Version 7)
20
Example 1:
PWD:1234,ALMLEVEL2:1,01,10300000,010%
Password: 1234
Alarm Channel 2: Once input is closed, alarm is triggered.
Control Centre 2 will be reported by SMS.
Phone Number 1 SMS alert
Phone Number 2 no report
Phone Number 3 SMS alert, then phone dial
Phone Number 4-8 no report
Relay Output 1 no control
Relay Output 2 triggered “CLOSE” by alarm
Relay Output 3 no control
Example 2:
PWD:1234,ALMLEVEL1:1,11,12300001,100%
Password: 1234
Alarm Channel 1: Once input is closed, alarm is triggered.
Control Centre 1 & 2 will be reported by SMS.
Phone Number 1 SMS alert
Phone Number 2 alarm phone dial
Phone Number 3 SMS alert , then phone dial
Phone Number 4-7 no report
Phone Number 8 SMS alert
Relay Output 1- triggered “CLOSE” by alarm
Relay Output 2 - no control
Relay Output 3 - no control
Example 3:
How to make the “Relay Output 3” triggered by alarm channels 2 & 5?
Once set, the relay output 3 will no longer be controlled by command 10 “COUT3:1’.
Method 1
Enable the control 3 triggered by alarm channels 2 & 5
PWD:1234,ALMLEVEL2:1,11,11110000,001%
PWD:1234,ALMLEVEL5:1,11,11110000,001%
Method 3
Programmed by PC Software “SMDPro” via RS232
Note: Microphone should be connected if “alarm phone dial” is selected.
This manual suits for next models
4
Table of contents