Siemens LOGO! CMR2040 Operating Instructions Manual page 168

Simatic net logo! - industrial ethernet
Hide thumbs Also See for LOGO! CMR2040:
Table of Contents

Advertisement

Additional information on SMS
B.4 SMS commands
Configure address of an NTP server
Function
Configuring address of an NTP server.
You can configure the address of an NTP server only if NTP was selected as the time-of-day syn-
chronization method.
<address> can either be the IP address in the format 123.123.123.123 or the name of the NTP
server in URL format, e.g. http://www.ntpservername.de.
Access
Writing, password (when configured)
Structure and key-
<password>;NTPSERVER="<address>"
word
Return values
OK (optional) or error message: SMS error messages (Page 165)
Example
1st example:
Send SMS message: Password;NTPSERVER="http://www.ntpservername.de"
Reply SMS message: NTPSERVER=http://www.ntpservername.de:OK
2nd example:
Send SMS message: Password;NTPSERVER="217.13.75.19"
Reply SMS message: NTPSERVER=217.13.75.19:OK
Note
Direct access to BM variables memory
For security reasons the address in theVM memory can only be read or written using SMS if
the address was created earlier as a signal using the WBM.
The commands "Set or read value in the BM variable memory" access the variable memory
of the BM directly.
When using these commands, remember the points made in the section Overview
(Page 47).
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:
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
168
BIT / BYTE: 0 ... 127
WORD: 0 ... 126
DWORD: 0 ... 124
LOGO?VM<address>,<data type>
LOGO?<Signal name>
LOGO! CMR2020,
Operating Instructions, 10/2016, C79000-G8976-C356-03
LOGO! CMR2040

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Logo! cmr2020Simatic net logo! cmr2020Simatic net logo! cmr20406gk7 142-7bx00-0ax06gk7 142-7ex00-0ax0

Table of Contents