Additional information on SMS
B.4 SMS commands
LOGO! CMR2020, LOGO! CMR2040
166
Operating Instructions, 10/2016, C79000-G8976-C356-03
What do I want to influence?
Example
Set the status of the BM
Password;STATUS=RUN
Write current value
Password;LOGO=VM125,1,WORD
Set digital output of the CMR
Password;OUTPUT=O1,1
Change phone number of a user
Password;CHANGEUSER="Joe","01721234567"
Configure address of an NTP server
Password;NTPSERVER="217.13.75.19"
Query mobile wireless provider using a service
code
Password;SERVICECODE="*100#"
B.4
SMS commands
The following tables describe all the possible SMS structures of the SMS commands and
these are illustrated with examples.
Note
Only 1 SMS command is possible per SMS message to the CMR.
Note
Use of prepaid SIM cards
If you use a prepaid SIM card, you can query the current credit using the appropriate service
code of your provider.
If your credit has been used up, the CMR does not send an automatic warning.
Read diagnostics data from the CMR
Function
Requesting diagnostics data from the CMR
Access
Reading, no password necessary
Structure and key-
word
DIAG?
Return values
Diagnostics data or error message: SMS error messages (Page 165)
Structure of diagnostics data:Diagnostics SMS message (Page 132)
Example
Send SMS message: DIAG?
Reply SMS message: Diagnostics SMS message (Page 132)
Read GPS position from the CMR
Function
Request current GPS position.
The current GPS position is read out and returned to the sender.
Access
Reading, no password necessary
Structure and key-
word
GPSPOSITION?