
Chapter 3 Deployment TM-E
Manual VIPA TM-E
3-44
HB39E - TME - RE_900-1E660 - Rev. 09/11
To be able to react to a confirmation SMS, a script at your TM-E module is
necessary. The configuration of the script happens with the following
approach:
•
Navigate to
Configuration
>
Script settings
.
•
Stop if not just happened the script processing with [STOP (currently
started)].
•
Click at [New section], type in as script name "A1_Quit" and enter the
following programming code:
A1_Quit:
a%=Getsys Prg,"SmsRead"
If(a%<>0) Then
s%=s%+1
PRINT "SMS Nr: ";s%
f$=Getsys Prg,"smsfrom"
Print"From:";f$
Print Getsys Prg,"smsdate"
a$=Getsys Prg,"smsmsg"
Print "Message: ";a$
b$=f$+",gsm,0"
If(a$="A1") THEN
c$="Received message: "+a$
d$="Alarm1 was confirmed"
Sendsms b$,d$
ALMACK "Alarm1",""
Else
e$="Wrong instruction"
Sendsms b$,e$
Endif
Goto A1_Quit
Endif
End
•
To confirm the script click at [Update].
•
So that your TM-E module is able to execute the "A1_Quit" script when
prompted by SMS, the following lines are to added to the "Init Section":
ONSMS "Goto A1_Quit"
•
Confirm with [Update].
•
Click at [RUN (currently stopped)] to start the script processing.
Script for alarm
acknowledge
via SMS
Activating the script
Содержание TM-E 900-1E660
Страница 2: ......
Страница 6: ...Contents Manual VIPA TM E ii HB39E TME RE_900 1E660 Rev 09 11...
Страница 20: ...Chapter 1 Assembly and installation guidelines Manual VIPA TM E 1 12 HB39E TME RE_900 1E660 Rev 09 11...
Страница 78: ...Index Manual VIPA TM E A 2 HB39E TME RE_900 1E660 Rev 09 11 M Stich...