Manual VIPA TM-E
Chapter 4
Deployment TM-E
HB39E - TME - RE_900-1E650 - Rev. 09/11
3-41
•
Open the Web page of the TM-E module.
•
Navigate to "Script setup".
•
To be able to use the SMS services you have to create the scripts
"SMS" and "Restart". For this click at [New section].
•
Enter "SMS" at
Script Name
and click at [Update].
•
Click at [New section].
•
Enter "Restart" and click at [Update]. The new created scripts are now
listed in the Script list.
•
Select in the list the script "SMS" and click at [Edit].
•
In the dialog window type in the following programming code:
SMS:
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$="Reboot") THEN
c$="Received message: "+a$
d$="Reboot is started in 1 min."
Sendsms b$,d$
ONTIMER 1, "goto restart"
Else
e$="Wrong instruction"
Sendsms b$,e$
Endif
Goto SMS
Endif
End
Reboot TM-E
via SMS