Additional information on SMS
B.4 SMS commands
LOGO! CMR2020, LOGO! CMR2040
Operating Instructions, 10/2016, C79000-G8976-C356-03
167
Read GPS position from the CMR
Return values
GPS coordinates or error message: SMS error messages (Page 165)
Structure of the SMS message: GPS position: ddd:mm:ss.hs N/S ddd:mm:ss.hs W/E Alt mmmm
Example
Send SMS message: GPSPOSITION?
Reply SMS message: GPS position: 49:0:50.4 N 8:24:15.48 E Alt 0350
Explanation of read-
ing the transfer data
ddd
degree
Degree
mm
minutes
Minutes
ss.hs
seconds
Seconds
N/S
North/South
Degree of longitude
W/E
West/East
Degree of latitude
Alt mmmm
Altitude
Height above sea level in meters
Read process image
Function
Reading out the BM process image and the status of the two inputs and outputs of the CMR.
Access
Reading, no password necessary
Structure and key-
word
MONITOR?
Return values
Process image or error message: SMS error messages (Page 165)
Structure of the process image: Reply SMS message to the "MONITOR?" command (Page 170)
Example
Send SMS message: MONITOR?
Reply SMS message: Reply SMS message to the "MONITOR?" command (Page 170)
Read BM status
Function
Query the BM status
Access
Reading, no password necessary
Structure and key-
word
STATUS?
Return values
RUN, STOP or error message: SMS error messages (Page 165)
Example
Send SMS message: STATUS?
Reply SMS message: STATUS:RUN
Set BM status
Function
Setting the BM status to RUN or STOP
Access
Writing, password (when configured)
Structure and key-
word
<password>;STATUS=<LOGO status>
Return values
OK (optional) or error message: SMS error messages (Page 165)
Example
Send SMS message: Password;STATUS=RUN
Reply SMS message: STATUS=RUN:OK