671504
177
Zoom out
Zoom in
Previous page
1/188
Next page
Additional information on SMS
B.4 SMS commands
LOGO! CMR2020, LOGO! CMR2040
Operating Instructions, 12/2017, C79000-G8976-C356-04
177
Reading the current value from the BM variables memory: Read "current values"
Function Reading the current value from the BM variables memory.
You obtain the address from the BM variables memory. The value <data type> corresponds to BIT,
BYTE, WORD or DWORD.
Only the first 128 bytes of the BM variable memory can be read and written to.
Start addresses of the data types:
BIT / BYTE: 0 ... 127
WORD: 0 ... 126
DWORD: 0 ... 124
You can read any value from the BM variables memory. If you know the LOGO! control program
precisely, this can, for example, be useful for diagnostics purposes.
Access
Reading, no password necessary
Structure and key-
word
LOGO?VM<address>,<data type>
LOGO?<Signal name>
Return values Current value or error message: SMS error messages (Page 173)
Structure of the returned value from the variable memory:VM<address>:<value>(<data type>)
Structure of the returned value from a signal:<signal name>:<value>
Output: Decimal output of the returned value
Example Send SMS message: LOGO?VM125,WORD
Reply SMS message: VM125:1(WORD)
Setting value in the BM variables memory: Write "current values"
Function Setting values of a component in the BM variables memory, e.g. inputs, outputs, flags.
You obtain the address of the component from the BM variables memory.
Only the first 128 bytes of the BM variables memory can be read and written to.
BIT, BYTE: 0 ... 127
WORD: 0 ... 126
DWORD: 0 ... 124
By setting a value in the BM variables memory, you can change the running of a LOGO! control
program.
Only use this command if you have precise knowledge of the control program!
All values are processed by the CMR as signed values.
Access Writing, password (when configured)
Structure and key-
word
<password>;LOGO=VM<address>,<value>,<data type>
<Password>;LOGO=VM<Address>,<Constant name>
<Password>;LOGO=<signal name>,<value>
<Password>;LOGO=<signal name>,<constant name>
Return values Confirmation (optional) or error message: SMS error messages (Page 173)
Example Send SMS message: Password;LOGO=VM125,1,WORD
Reply SMS message: LOGO=VM125,1,WORD: OK
177


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Siemens LOGO CMR2020 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Siemens LOGO CMR2020 in the language / languages: English as an attachment in your email.

The manual is 10,14 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Siemens LOGO CMR2020

Siemens LOGO CMR2020 User Manual - German - 192 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info