indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
Qualified Personnel
personnel qualified
Proper use of Siemens products
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
Disclaimer of Liability
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
The product/system described in this documentation may be operated only by
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Note the following:
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
for the specific
11/2016 Subject to change
Preface
Validity of this manual
This document contains information on the following LOGO! products:
The two devices differ in the supported mobile wireless standards. The remaining range of
functions of both devices is identical.
3
Preface
Product names and abbreviations
Purpose of the manual
New in this release
Replaced documentation
Current manual release on the Internet
● CMR or device
In this document, the term "CMR" or "device" is also used instead of the full product name
"LOGO! CMR2020 or LOGO! CMR2040. CMR is the abbreviation for Communication
Module Radio.
● BM or LOGO! BM
Basic module: LOGO! 8
● WBM
Web Based Management; Web user interface with which the CMR is configured.
● SD card
Below, the term “SD card" is used instead of micro SD card.
This manual supports you during the configuration, installation, commissioning and operation
of the communications modules LOGO! CMR2020 and LOGO! CMR2040.
A detailed example (Page 121) supports you during commissioning.
● New functions of the above firmware version:
– OpenVPN for transfer via glass mobile wireless
– HTTPS via LAN and mobile wireless
– Simplified syntax for writing and reading SMS messages
– Sending e-mails
– DynDNS for the mobile wireless interface (only with public IP address)
● Further national approvals, see section Approvals (Page 145).
● Editorial revision, see also section System Time (Page 72).
This manual replaces the manual edition 05/2015.
You will also find the current version of this manual on the Internet pages of Siemens
Industry Online Support at the following address:
Read the license conditions for open source software carefully before using the product.
Security information
In this manual there are often cross references to other sections.
To be able to return to the initial page after jumping to a cross reference, some PDF readers
support the command <Alt>+<left arrow>.
You will find an overview of further reading and references in the Documentation references
in this manual.
Connection of a LOGO! BM to an LTE, UMTS or GSM/GPRS mobile wireless network and a
GPS system.
The device contains a wireless transmitter that could, under certain circumstances, impair
the functionality of electronic medical devices such as hearing aids or pacemakers. Do not
use the device in places where the operation of wireless devices is prohibited. You can
obtain advice from your physician or the manufacturer of such devices.
To prevent data media from being demagnetized, do not keep disks, credit cards or other
magnetic data media near the device.
The license conditions for open source software are stored on the device and can be read
out using the WBM: In the header line of the WBM you will find an icon with you can save the
OSS license texts on the PC and then extract and open them.
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is
necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial
security concept. Siemens’ products and solutions only form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems, machines
and networks. Systems, machines and components should only be connected to the
5
Preface
Recycling and disposal
Trademarks
SIMATIC NET glossary
Service & Support
enterprise network or the internet if and to the extent necessary and with appropriate security
measures (e.g. use of firewalls and network segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be taken into
account. For more information about industrial security, please visit
Link: (http://www.siemens.com/industrialsecurity)
Siemens’ products and solutions undergo continuous development to make them more
secure. Siemens strongly recommends to apply product updates as soon as available and to
always use the latest product versions. Use of product versions that are no longer supported,
and failure to apply latest updates may increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS
Feed under
Link: (http://www.siemens.com/industrialsecurity).
Due to the low level of pollutants the product can be completely recycled. For
environmentally friendly recycling and the disposal of your old device contact a certified
disposal company for electronic scrap.
The following and possibly other names not identified by the registered trademark sign ® are
registered trademarks of Siemens AG:
SIMATIC NET
Explanations of many of the specialist terms used in this documentation can be found in the
SIMATIC NET glossary.
You will find the SIMATIC NET glossary here:
● SIMATIC NET Manual Collection or product DVD
The DVD ships with certain SIMATIC NET products.
● On the Internet under the following entry ID:
50305045 (http://support.automation.siemens.com/WW/view/en/50305045)
In addition to the product documentation, the comprehensive online information platform of
Siemens Automation Customer Support supports at any time and at any location in the
world. You will find the Service & Support pages on the Internet at the following address:
Link: (www.siemens.com/automation/service&support)
Apart from news, you will also find the following information there:
SITRAIN - Siemens training for automation and industrial solutions
● Technical Support - Ask the Siemens experts
● Our service offer:
– Technical Consulting, Engineering support
– Field Service
– Spare parts and repairs
– Maintenance, optimization, modernization and more
You will find contact data on the Internet at the following address:
Link: (www.automation.siemens.com/partner)
With over 300 different courses, SITRAIN covers the entire Siemens product and system
spectrum in the field of automation and drive technology. Apart from the classic range of
courses, we also offer training tailored for individual needs and a combination of different
teaching media and sequences, for example self-learning programs on CD-ROM or on the
Internet.
You will find detailed information on the training curriculum and how to contact our customer
consultants at the following Internet address:
A Accessories ........................................................................................................................................ 155
B Additional information on SMS ............................................................................................................ 163
C Documentation references .................................................................................................................. 175
In stand-alone operation (see below) you can access the I/O via the inputs and outputs of
the CMR
The information can be read out and transferred by SMS message or e-mail. An event-based
notification via SMS message or e-mail is possible, see "Mobile wireless".
With the CMR, you establish a mobile data connection to a mobile wireless network: The
following specifications are supported:
If the establishment of a connection from the CMR2040 to the LTE network fails, the dialin falls back automatically to the next lower mobile wireless network (LTE > UMTS >
GPRS).
You will find the supported frequencies in the section Technical specifications (Page 141).
You will find the country-specific wireless approvals in section Approvals (Page 145) and on
the following Internet page;
Link: (https://support.industry.siemens.com/cs/ww/en/ps/15383/cert)
The CMR can receive position data and the time of day of a GPS system.
On a configuration PC / smartphone / tablet you can use HTTPS to access the CMR. HTTPS
is supported on both interfaces of the CMR: LAN and WAN (mobile wireless)
You can use the CMR with the following structures:
●
:
The CMR is connected locally to a BM via Ethernet. The CMR establishes the connection
to a mobile wireless network.
●
You can also operate the CMR in stand-alone mode: in other words without a connected
BM. To connect the I/O you use the two digital inputs and outputs of the CMR.
A Web user interface (WBM - Web Based Management) for the configuration of the CMR
protected by user and password queries, see section "WBM" below.
●
Tunnel technology OpenVPN for secure data transmission via mobile wireless, see
section "OpenVPN" below.
●
– Querying position by SMS
– Forwarding position to the BM
●
Use of dynamic DNS on the WAN interface (mobile wireless)
●
– Sending and receiving SMS messages
– Sending e-mail
For information on the functions, refer to the section "Messages" below.
●
The process image of the BM can be read out by SMS message (command
"MONITOR?").
●
The two outputs of the CMR can be written by SMS.
●
With e-mail and SMS you can have read access to the process image of the BM, the
variable memory of the BM and the process image of the CMR using configurable
signals.
●
Via the variables memory, you have read and write access to the current values of
function blocks of the BM.
From internal events and events coming from the process reactions can be generated by the
WBM that lead to information, diagnostics and alarm SMS messages or e-mails being sent.
Using SMS messages, the outputs of the CMR and the BM can be written. The authorization
is checked by comparing the phone number of the sender with the configured phone
numbers. Password protection is optional.
Example of the SMS text for writing a single bit with the value zero:
<Password>;LOGO=VM115.1,0,BIT
Functions for simplifying SMS syntax:
● Alias SMS
Configuration of symbolic names as placeholders for the entire SMS text
● Constants for values that are repeated
Configuration of symbolic constants as placeholders for values to be written that are
repeated
● Use of signal names as parameters in SMS messages
Configuration of signals as placeholders for variables of the BM
You will find the relevant information in the following sections:
● Diagnostics > Notifications (Page 76)
● WAN > SMS (Page 92) and the following
● Users / groups > User (Page 104) and > Recipient groups (Page 106)
● Monitoring > Constants (Page 111)
● Monitoring > Message texts (Page 113)
● Monitoring > Signals (Page 113)
and
● Response of the CMR when receiving an SMS message/replying to SMS message
(Page 163) and the following
You can use the VPN technology of OpenVPN for the secure transfer of data via the mobile
wireless connection of the CMR. A VPN tunnel is established between the CMR and the
connection partner (mobile phone/tablet, PC). In this case the CMR is the OpenVPN server,
the partner (mobile phone, PC) is the OpenVPN client.
In addition to this you can use OpenVPN for direct communication with the BM if the CMR is
entered as a router with the BM.
OpenVPN is implemented on the CMR as a TUN device (routing mode). The following
security functions are supported:
● Encryption
The data to be transferred is encrypted with the AES-128 CBC method.
● Authentication of the connection partner
SHA-256 is used as hash algorithms for authenticating the user data.
You will find the requirements for the OpenVPN client on the VPN partner in the section
Requirements for use (Page 18).
Using the WBM you can view a diagnostics buffer for diagnostics purposes. It is also
possible to save the diagnostics buffer on the SD card or the PC.
You will find details in the section Diagnostics options (Page 131).
●
To use the mobile wireless communication via the WAN interface of the CMR, you require
a contract with a suitable mobile wireless network provider.
For more information on the contract and SIM card see below.
●
To be able to use the mobile wireless interface, there must be a mobile wireless network
within the reach of the CMR.
●
For the following data services you require a data contract with your mobile wireless
network provider:
E-mail, NTP, DynDNS, OpenVPN, HTTPS via mobile wireless
●
For time-of-day synchronization using NTP, apart from the requirements listed above
(SIM card, data contract, mobile wireless network) you also require the address data of
an NTP server.
●
Apart from the requirements listed above (SIM card, data contract, mobile wireless
network) you also require the following to use OpenVPN via the mobile wireless network:
– A public IP address for the CMR
– An OpenVPN client as communications partner (e.g. PC for access to the WBM of the
– A key compatible with the OpenVPN client (pre-shared key)
The key can be generated in the WBM of the CMR or generated by the
communications partner and imported via the WBM of the CMR.
The OpenVPN client in the Open VPN partner must support the following functions:
– OpenVPN V2.3.11 or higher
You can export the information of the Open VPN server of the CMR as a file for the client,
see section OpenVPN-PSK (Page 98).
●
To use DynDNS, apart from the requirements listed above (SIM card, data contract,
mobile wireless network) you also require the following:
– A suitable service provider
– A public IP address
– Note the section "Time of day" below.
●
– For HTTPS via mobile wireless you require a public IP address for the CMR.
– Note the section "Time of day" below.
●
When you use certificates, for example when you use HTTPS, e-mail (secure) or
DynDNS, you require the precise time of day and the precise date for checking the
certificates.
Only use antennas from the accessories program for the CMR. For more information, refer to
the section Antennas (Page 155).
● Mobile wireless
To operate the CMR, you require an antenna that is adapted to the standard of the
mobile wireless network you are using.
For the fallback behavior when using an LTE network, refer to section Application and
communications functions (Page 13).
You will find the frequency bands supported by the CMR in the section Technical
specifications (Page 141).
● GPS
If you want to use GPS, you require a suitable GPS antenna, see section Antennas
(Page 155).
You require a voltage source with a voltage between 12 VDC and 24 VDC that provides
adequate voltage or current. For more information, refer to the section Technical
specifications (Page 141).
You require a SIM card of your mobile wireless provider.
Note the following recommendations for the mobile wireless contract or for the SIM card:
● Where possible sign a mobile wireless contract with a provider that makes all required
functions available. Should
For example to use DynDNS a public IP address is required.
To send SMS messages, the SIM card must be enabled this function and have a phone
number.
● Avoid using a multi SIM card. This can lead to errors in time-of-day synchronization.
● Where possible sign a fixed mobile wireless contract and do not use prepaid cards.
A flat rate for SMS and data can be recommended.
If, however, you want to use a prepaid card note the following:
– If your credit has been used up, the CMR does not send an automatic warning.
– You can query your current credit with your provider.
● With the CMR2040 for faster data traffic a contract (with corresponding SIM card) is
recommended that supports the mobile wireless standard LTE.
The CMR2040 however also supports UMTS.
● Where possible, use a standard SIM card without an adapter.
● The provider often assigns a PIN (Personal Identification Number) for the SIM card.
SIM cards that are only used for the data services (see above) can be almost always
used without a PIN. You do not need to assign a PIN in the configuration of the CMR.
● The following access data for the mobile wireless network must be present:
– Access Point Name (APN)
– Depending on the service provider also name and password for the APN
– The authentication method
For more information, refer to the section Mobile wireless settings (Page 87).
The card receptacle of the CMR for the SIM card is compatible with the following card
formats:
● Mini SIM card, 25 x 15 mm (ISO/IEC 7810 ID-000)
● Micro SIM card, 15 x 12 mm (ETSI TS 102 221 V9.0.0) if an adapter exists.
● Nano SIM card, 12.3 x 8.8 mm (ETSI TS 102 221, TS 102 221 V11.0.0) if an adapter
Mobile wireless communication by SMS / e-mail without LOGO! BM
1.4 Application examples
As an optional accessory you can use an SD card that is not supplied with the CMR. For
supported SD cards, see the appendix SD card (Page 161).
The SD card makes the following functions available:
● Storing configuration files
If you need to replace the CMR, you can also use the SD card to transfer the
configuration data of the CMR stored there to the new device. See section Replacing the
CMR (Page 137) for information on this.
● Saving diagnostics buffer entries
● Automatic saving of the entire diagnostics buffer if serious errors occur (can be
configured)
The CMR has a wide variety of possible uses in various areas of application. Below, you will
find several configuration examples for applications of the CMR.
Figure 1-2 Mobile wireless communication without LOGO! BM
Mobile wireless communication by SMS / e-mail with LOGO! BM
1.4 Application examples
You can operate the CMR without a BM being connected. If the CMR is connected to a
mobile wireless antenna, the following functions are available:
● Sending an SMS message or e-mail due to a signal at the input of the CMR
● Receiving an SMS message:
– Setting an output of the CMR
– Requesting and SMS message with status information of the CMR
Using the WBM of the CMR, you can configure events such as changing of input signals as
well as actions. The actions are triggered when configurable events occur.
● Installation, connecting up and commissioning have been completed.
● The antenna for receipt of mobile wireless is connected.
To configure access via the mobile wireless network, follow the steps below:
1. First establish a configuration connection between the CMR and a connected PC. To do
this, use an Ethernet patch cable, see Establishing a connection to the CMR (Page 63)
2. Configure the mobile wireless connection, see Mobile wireless settings (Page 87).
3. Configure the device using the WBM.
Figure 1-3 Mobile wireless communication with LOGO! BM
When using a switch, e.g. LOGO!
and PC can be operated at the same time.
1.4 Application examples
If the CMR is connected to the BM, and if you have a mobile wireless antenna connected,
you can use all the functions available in operation without a connected BM. In addition to
this, access to the LOGO! BM is expanded:
● Sending an SMS message or e-mail due to an event in the connected BM
● Receiving an SMS message:
– Triggering an action in the connected BM
– Requesting and SMS message with status information of the CMR
Configuration using the WBM also includes access to the components of the BM.
● Installation, connecting up and commissioning have been completed.
● The antenna for receipt of mobile wireless is connected.
To set up access via the mobile wireless network and to establish a connection to the BM,
follow the steps below:
1. First establish a configuration connection between the CMR and a connected PC. To do
this, use an Ethernet patch cable, see Establishing a connection to the CMR (Page 63).
2. Configure the mobile wireless connection, see Mobile wireless settings (Page 87).
3. Configure the device using the WBM.
4. When configuration is completed, disconnect the CMR from the PC.
CSM, do not disconnect the connections: BM, CMR
5. If you do not use a switch connect the CMR to the BM.
Access by the PC via the Internet and mobile wireless network
1.4 Application examples
If your configuration is connected to the CMR via Internet and the mobile wireless network by
using an OpenVPN tunnel you can access the CMR and the BM.
Figure 1-4 Access by the LOGO! via the Internet and mobile wireless network
You have the following options:
● Secure access from the PC to the CMR with OpenVPN
● Secure access from the PC to the BM with OpenVPN
For this application the CMR must be entered as a router in the BM.
In this way, you can for example reload the program of te BM.
● Access from the configuration PC to the CMR via mobile wireless network using HTTPS
For the procedure, refer to the section Establishing a connection to the CMR (Page 63).
● Sending e-mails optionally encrypted via STARTTLS
● Optional: Use of dynamic DNS to simplify the connection via the publicly reachable IP
● The services used are activated in the CMR via the WBM.
● You have contracts with suitable service providers.
Figure 1-5 Position detection (GPS)
The CMR is equipped with a GPS interface via which the position data of the LOGO! station
can be determined. If a GPS antenna is connected to the GPS interface, the following
functions are available to you:
● Detecting position data:
– Due to an event at an input of the CMR.
– Due to an event from the BM.
– Due to a received SMS message (with the mobile wireless antenna connected)
Note
Using the CMR for mobile wireless communication without BM
If you use the CMR in
(Page
Note
Using a switch
When using a switch, e.g. LOGO! CSM, do not disconnect the connections: BM, CMR
and PC can be operated at the same time.
1.4.5
Time-of-day synchronization
1.4 Application examples
● Sending detected position data:
– By SMS message or e-mail
– To the BM
To be able to use the functions listed above, you first need to activate (Page 70) the GPS
interface in the WBM of the CMR. For correct position detection, the GPS signals need to be
received from three satellites.
● Installation, connecting up and commissioning have been completed.
● An GPS antenna is connected.
To set up access via the mobile wireless network and to establish a connection to the BM,
follow the steps below:
Mobile wireless communication by SMS / e-mail without LOGO! BM
21), the last two steps of the procedure described below can be omitted.
1. First establish a configuration connection between the CMR and a connected PC. To do
this, use an Ethernet patch cable.
See Establishing a connection to the CMR (Page 63)
2. Configure the mobile wireless connection:
See Mobile wireless settings (Page 87)
3. Activate GPS reception (Page 70).
4. When configuration is completed, disconnect the CMR from the PC.
5. If you do not use a switch: Connect the CMR to the BM.
The time-of-day of the CMR can be synchronized using the following three methods:
● NTP
Synchronization with an external NTP server accessible via the mobile wireless network.
● GPS
● Mobile wireless
The availability of the time of day depends on the mobile wireless provider.
You set the method used for time-of-day synchronization via the WBM in the "System" tab,
see section System Time (Page 72).
You can also have the CMR adopt the time of the configuration PC.
If you enable the time of day in the WBM, you can also make a setting in the WBM so that
the CMR also synchronizes the BM with the time of day (time-of-day forwarding). To do this
enable enable "Forward time of day to LOGO! BM".
Even if time-of-day synchronization is disabled, the time of day is forwarded to the LOGO!
BM . In this case, only the manual settings are transferred to the LOGO! BM .
f the BM via the CMR, activate the standard/daylight saving
If you use certificates for example for the e-mail or DynDNS services you need the precise
time of day.
check certificates, the precise time of day is required in the CMR. When using certificates
-of-day synchronization of the CMR.
● The CMR is mounted and connected.
● The antenna for receipt of mobile wireless is connected.
● The CMR is configured.
● Only if the time-of-day synchronization method using the GPS signal was configured: The
antenna for receipt of GPS is connected.
Follow the steps below to configure the time-of-day synchronization:
1. Establish a configuration connection between the CMR and a connected PC. To do this,
use an Ethernet patch cable.
For details, see section Establishing a connection to the CMR (Page 63).