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?
Содержание LOGO! CMR2020
Страница 8: ...Preface LOGO CMR2020 LOGO CMR2040 8 Operating Instructions 10 2016 C79000 G8976 C356 03 ...
Страница 12: ...Table of contents LOGO CMR2020 LOGO CMR2040 12 Operating Instructions 10 2016 C79000 G8976 C356 03 ...
Страница 140: ...Dimension drawings LOGO CMR2020 LOGO CMR2040 140 Operating Instructions 10 2016 C79000 G8976 C356 03 ...
Страница 144: ...Technical specifications LOGO CMR2020 LOGO CMR2040 144 Operating Instructions 10 2016 C79000 G8976 C356 03 ...
Страница 154: ...Approvals LOGO CMR2020 LOGO CMR2040 154 Operating Instructions 10 2016 C79000 G8976 C356 03 ...
Страница 159: ...Accessories A 2 Antenna cable LOGO CMR2020 LOGO CMR2040 Operating Instructions 10 2016 C79000 G8976 C356 03 159 ...
Страница 162: ...Accessories A 5 SD card LOGO CMR2020 LOGO CMR2040 162 Operating Instructions 10 2016 C79000 G8976 C356 03 ...
Страница 176: ...Documentation references 0 2 LOGO CMR2020 LOGO CMR2040 176 Operating Instructions 10 2016 C79000 G8976 C356 03 ...