RTU3041C TCSB DOC V30 en
RTU3041C TCSB DOC V30 en
Measurement Points
using an RTU3041C
Siemens
SIMATIC RTU3041C / TeleControl Server Basic V3.1 Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109739240 Support
Legal information
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG ("Siemens"). They are
non-binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
© Siemens 2021 All rights reserved
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
Security information
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 constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: https://www.siemens.com/industrialsecurity.
Table of Contents
Legal information ......................................................................................................... 2
1 Introduction ........................................................................................................ 4
1.1 Overview............................................................................................... 4
1.2 Principle of Operation ........................................................................... 6
1.3 Components Used ................................................................................ 7
2 Engineering ........................................................................................................ 8
2.1 Hardware Setup ................................................................................... 8
2.2 Configuration and project planning .................................................... 10
2.2.1 Configuring the SIMATIC RTU3041C ................................................ 10
Configuring SMS/email sending/receiving ......................................... 17
Configuring operating modes ............................................................. 20
Configuring the GPS functionality of the RTU3041C ......................... 21
Creating tags for programming in the RTU3041C ............................. 24
Creating a program in the SIMATIC RTU3041C ................................ 34
Programming email transmission ....................................................... 37
Configuring the connection to the TeleControl Server ....................... 43
2.2.2 Configuring the TeleControl Server Basic .......................................... 47
2.2.3 Configuring OPC UA Clients (UaExpert) ............................................ 51
2.2.4 Loading the Configuration File ........................................................... 55
2.3 Operation ............................................................................................ 61
2.3.1 RTU3041C Wake-Up by Mobile Phone ............................................. 61
© Siemens AG 2021 All rights reserved
2.3.2 Determining the Exact Position of the RTU3041C via GPS ............... 62
3 Useful Information ........................................................................................... 63
4 Appendix .......................................................................................................... 67
4.1 Service and support ........................................................................... 67
4.2 Industry Mall ....................................................................................... 68
4.3 Application support ............................................................................. 68
4.4 Links and literature ............................................................................. 68
4.5 Change documentation ...................................................................... 69
1 Introduction
1.1 Overview
Starting point
The battery-powered SIMATIC RTU30X1C is used to monitor and control remote
stations that are geographically distributed and not connected to a power supply
network. The RTU30X1C can store process data and transmit it to a central station
via mobile wireless or via the LAN interface and an external router.
Furthermore, the RTU30X1C has 4 additional digital outputs and supports position
determination and time synchronization via GPS.
Requirements
An RTU30X1C monitors the fill level of a rain overflow basin.
To conserve power, the RTU30X1C is in sleep mode much of the time, switching to
an update or communication mode in predetermined cycles.
If the level exceeds a critical value, the RTU30X1C informs the operator by email
and SMS, even outside scheduled communication cycles.
In addition, the RTU30X1C informs the operator via SMS when its predefined
target position is reached. The actual position should be within a parameterized
radius.
© Siemens AG 2021 All rights reserved
SMS
Mobile wireless
network
Battery modules
RTU3041C
analog
level sensor
digital
level sensor critical
level
Moisture sensor
Use case
The RTU3041C uses an analog level sensor to monitor the level of a rain overflow
basin. A digital moisture sensor starts the measurement.
In addition, a digital level sensor (float) is installed, which is activated when a
critical level is exceeded.
At configurable, timed intervals, the RTU switches from sleep mode to update
mode to read the inputs and process the program.
The position determination and the time synchronization of the RTU3041C is done
via GPS.
Subsequently, the current data is sent to the TeleControl Server Basic (TCSB).
To read out the data of the TCSB, UaExpert is used as OPC UA Client.
Solution approach
• An application program with the program blocks "Send email" and "Send SMS"
implements the sending of emails and SMS messages.
• The position determination is done with the "GPS position" block. The block
checks whether the RTU is moving outside the specified range.
• The RTU3041C is configured via the Web-Based Management (WBM) of the
RTU.
• The blocks are graphically displayed and programmed via the Web-Based
Management (WBM) of the RTU3041C.
© Siemens AG 2021 All rights reserved
OPC UA
Ethernet
Router
© Siemens AG 2021 All rights reserved
GPS
signal
Cell phone
RTU3041C
Implemented functions
The following functions are implemented in the application example:
• Receiving a wake-up SMS to wake up the RTU3041C from sleep mode.
• Sending an email/SMS to a defined recipient when a critical level is exceeded
or not reached.
• Time synchronization via GPS.
• Position determination of the RTU3041C via GPS.
• Sending an SMS to a defined recipient when the RTU3041C moves outside
the defined range.
dealers
Digital moisture sensor 1 Available from specialist
dealers
SCALANCE M816-1 1 6GK5816-1AA00-2AA2 Another DSL router can
also be used.
TeleControl Server Basic 1 6NH9910-0AA31-0AA0
8 V3.1, Update 3
UaExpert 1 Freeware Download at
https://www.unified-
automation.com/downl
oads/opc-ua-
clients.html
2 Engineering
2.1 Hardware Setup
Section 1.3 lists the required hardware components.
The following diagram shows the hardware setup of the RTU3041C.
Figure 2-1: Circuit diagram RTU
Digital Digital
level sensor moisture sensor
M 0 M 1
X20 X21
RTU3041C
L+ M L+ M 0+ 0-
External power
supply (optional)
+ -
LU150
Note You can also operate the RTU3041C with an external power supply instead of
batteries. To do this, connect the external power supply with DC 12 to 24 V to
terminal block X10 IN.
Note Connection examples for other sensors can be found in the instruction manual:
https://support.industry.siemens.com/cs/ww/en/view/109750942.
The following table provides an overview of all IP addresses used in this example.
Assignment of static IP addresses is assumed.
Table 2-1
Components IP address Description
Engineering station 192.168.0.100 • TeleContol Server
Basic
• OPC UA Client
RTU3041C 192.168.0.3 Access to WBM
The subnet mask in all network components is 255.255.255.0.
© Siemens AG 2021 All rights reserved
Note Adjust the IP addresses of the components in your project so that they are on the
same subnet.
This section shows you all necessary steps to configure the RTU3041C for the
application described here.
For each RTU, you need a SIM card with data option. You can obtain this from
your mobile provider.
General configuration
1. Connect the RTU3041C to your PG/PC via a network cable.
Note If you are using multiple RTUs, address conflicts may occur during initial startup
because each RTU is assigned the same IP address by default. Therefore, during
commissioning, ensure that only one RTU is connected to your network at a time.
10
11. Open the System time tab and select your local time zone.
11
© Siemens AG 2021 All rights reserved
12
© Siemens AG 2021 All rights reserved
Note If you are running multiple RTUs on a network, you must assign a unique IP
address. Assign an IP address according to your network settings (e.g.,
192.168.0.4).
13
14
© Siemens AG 2021 All rights reserved
15
Note If you have changed the IP address of the RTU3041C, then open the web server
of the RTU3041C again in a browser under the new IP address.
17
18
19
16
20
21
© Siemens AG 2021 All rights reserved
22
Note The RTU3041C only accepts wake-up SMS messages from phone numbers that
are stored here.
10
11
11
12
13
14
16
17
18
19
15
21
22
23
20
© Siemens AG 2021 All rights reserved
24
2. Enter the cycle of the update mode e.g., "1 minute" for test purposes
or choose"1 hour" for the application described here.
3. Set the communication mode to "Cyclic" and specify the cycle of the
communication mode e.g., "10 minutes" for test purposes or "12 hours" for the
application described here.
4. Enter how often the mobile wireless interface should be switched on to fetch
SMS. This is not necessary for the application described here. Select "No" for
this purpose
5. Enter the minimum duration of the service mode e.g., "always" for test
purposes or "30 seconds" for the application described here.
Note The RTU3041C dials into the mobile wireless network every 12 hours. If the
RTU3041C dials into the mobile wireless network more frequently, the power
consumption will increase.
10
In order to send the determined GPS position of the RTU3041C to the TeleControl
Server Basic (TCSB), and to read it out via the OPC UA Client, enable the GPS
tags:
11. Navigate to the "GPS" menu.
12. Open the "Tags" tab.
12
13
14
15
© Siemens AG 2021 All rights reserved
16
11
3. Click on input 0.
4. Enable the "Active" checkbox.
5. Assign the name "float".
6. Select that an additional update cycle is also performed in sleep mode when
the value changes.
7. Then click "Apply".
8. Click on input 1.
9. Enable the "Active" checkbox.
10. Assign the name "enableReadFillLevel".
10
11
12
11. Select that an additional update cycle is also performed in sleep mode when
the value changes.
12. Then click "Apply".
13. Open the "Digital memory bits" tab.
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30. Select the measurement type of your analog level sensor. The SITRANS
Probe LU150 sensor must be set to "Current (2-wire connector)".
30
31
31. Enter the settling and integration time as well as the smoothing of the signal of
your sensor. The following settings are recommended for the SITRANS Probe
LU150 sensor:
– Settling time: 30,000 ms
– Integration time: 40 ms
© Siemens AG 2021 All rights reserved
– Smoothing: Weak
Note Note that (settling time + integration time) * smoothing factor must not be longer
than the update mode cycle.
32. Enter the sensor and process values for your application. In this application
example, a sensor signal of 20 mA corresponds to a level of 10,000 m³.
33. Select the digital input "enableReadFillLevel (DI1)" as the "enable signal".
33
34
35
Note This setting means that the analog input "fillLevel" is only read if the digital input
"enableReadFillLevel" is activated. This can significantly reduce power
consumption.
© Siemens AG 2021 All rights reserved
36
37
38
39
38
410
42
43
44
45
46
47
© Siemens AG 2021 All rights reserved
48
49
50
51
52
© Siemens AG 2021 All rights reserved
2. Add a new text to be sent via SMS and email when the critical level is
exceeded:
– Name: critLevelReached
– Text: The fill level of the rain overflow basin at station x has reached a
critical level.
– Date: [DATE]
– Time: [TIME]
3. Then click "Apply".
4. Add a new text to be sent when the critical level is exceeded in the subject of
the email:
– Name: subCritLevelReached
– Text: Critical fill level reached at station x
© Siemens AG 2021 All rights reserved
– Name: fillLevelFallen
– Text: The fill level of the rain overflow basin at station x has fallen below
the critical level.
– Date: [DATE]
– Time: [TIME]
7. Then click "Apply".
8. Add a new text to be sent when the level falls below the critical level in the
subject of the email:
– Name: subFillLevelFallen
– Text: Fill level at station x has fallen below critical level
10
10
10
11
– Name: gpsPositionOK
– Text: The last known GPS position is within the tolerance radius.
– Date: [DATE]
– Time: [TIME]
11. Then click "Apply".
12. Add a new text to be sent by SMS when the RTU3041C moves outside a
parameterized radius:
12
12
12
13
– Name: gpsPositionNotOK
– Text: The last known GPS position is outside the tolerance radius.
– Date: [DATE]
– Time: [TIME]
13. Then click "Apply".
© Siemens AG 2021 All rights reserved
10
11
11
11
© Siemens AG 2021 All rights reserved
12
13
14
© Siemens AG 2021 All rights reserved
15
16
17
18 18
19
20
21
21
22
23
24
25
26
27
28
28
29
30
31
31
32
33
34
35
36
37
38
38
38
39
40
41 41
42
43
44
44
45
46
6. Enter the IPT listener port of the TeleControl server that you have enabled in
your router (55097 by default) as the port number.
7. Enter
– a unique project number
– a unique station number and
– a TeleControl password.
© Siemens AG 2021 All rights reserved
10. Set the following settings for the digital input "float (DI0)":
– Transmission method: (Event (only current values))
© Siemens AG 2021 All rights reserved
– Trigger: Change
– Transfer mode: Buffered transfer
11. Set the following settings for the digital input "enableReadFillLevel (DI1)":
– Transmission method: (Event (only current values))
– Trigger: Change
– Transfer mode: Buffered transfer
12. Set the following settings for the digital input "gpsPosition (DM2)":
– Transmission method: (Event (only current values))
– Trigger: Change
– Transfer mode: Buffered transfer
13. Set the following settings for the digital memory bit "critFillLevel (DM1)":
– Transmission method: (Event (only current values))
– Trigger: Change
– Transfer mode: Unsolicited transfer
14. Set the following settings for the analog input "fillLevel (AI0)":
– Transmission method: (Event (only current values))
– Trigger: Change
– Threshold (%): 5.00
– Transfer mode: Buffered transfer
15. Set the following settings for the analog input "gpsLatitude (GPS0)":
– Transmission method: (Event (only current values))
– Trigger: Change
– Transfer mode: Buffered transfer
16. Set the following settings for the analog input "gpsLongitude (GPS1)":
– Transmission method: (Event (only current values))
– Trigger: Change
– Transfer mode: Buffered transfer
17. Set the following settings for the counter input "visibleSatellites (GPS3)":
– Transmission method: (Event (only current values))
– Trigger: Change
– Transfer mode: Buffered transfer
18. Set the following settings for the counter input "timeLastPosition (GPS4)":
– Transmission method: (Event (only current values))
– Trigger: Change
– Transfer mode: Buffered transfer
19. Then click "Apply".
© Siemens AG 2021 All rights reserved
3. When you log in for the first time, assign your own password.
4. Create a new project by clicking "Add".
5. Assign a project name and a server password with which Engineering Stations
can connect to the TeleControl server.
– The server password is not relevant for this application example but must
be assigned.
– The SMS gateway operator is not relevant for this application example.
Note The parameter "Project number" must match the parameter in Section 2.2.1 in the
configuration of the connection to the TeleControl Server (Step 7).
© Siemens AG 2021 All rights reserved
9. Enter
– a station name
– a unique station number and
– a TeleControl password.
10
Note The parameters "Station number" and "TeleControl password" must match the
parameters in Section 2.2.1 in the configuration of the connection to the
TeleControl Server (Step 7).
Note If you use more than one RTU, you can configure all RTUs in this step. To do this,
select "Add multiple connections" and assign the station data. Click "OK".
11. Click "Save & activate" and confirm the action in the drop-down list.
11
12. Configure the IP address and the IPT listener port (55097) of the TeleControl
server:
"TCSB system > "TCM" tab > General> Address TCM 1".
12
12
12
12
12 12
Note The "55097" must be enabled for communication in your DSL router.
Note The status "Connected" is only displayed when the TeleControl server has a
connection with the RTU3041C whose configuration data has been transferred to
the runtime system.
This section explains how to monitor the data points of the TCSB via OPC UA.
The following is required to use the OPC UA Client "UaExpert":
– "UaExpert" is installed on your PC.
– OPC UA Server (TCSB) is activated (see Section 2.2.2).
– The configuration of the RTU3041C is loaded into the RTU.
To read the data via the OPC UA Client "UaExpert", proceed as follows:
1. Assign the PG/PC Client an IP address in the subnet of the router (according
to Table 2-1).
2. Start "UaExpert" and click the "Add Server" button.
3. In the dialog, double-click "< Double click to Add Server... >" in the "Custom
Discovery" list area.
© Siemens AG 2021 All rights reserved
4. In the following dialog, enter the URL and the port of the OPC UA Server
(TCSB) (e.g., opc.tcp://192.168.0.100:4852).
5. Click on "OK".
192.168.0.100:4852
Note For test purposes, you can also create the connection without exchanging
certificates. If you want a certificate exchange, you have to accept the certificate
manually in the "CMT - Configuration and Monitoring Tool".
7. Enter the user data for the "CMT - Configuration and Monitoring Tool".
8. Set the "Connect Automatically" checkbox.
9. Then confirm with "OK".
192.168.0.100:4852
© Siemens AG 2021 All rights reserved
10. In the following dialog, accept the server certificate by setting the checkbox
"Accept the server certificate temporarily for this session".
10
To permanently add the certificate to the "UaExpert" trusted list, you must select
Note "Trust Server Certificate".
11
12. Then locate the desired data points and drag them into the "Data Access view"
window.
© Siemens AG 2021 All rights reserved
Result:
Note Ensure that only one RTU is connected to your network at a time during
commissioning, as each RTU is assigned the same IP address at the factory.
11
12. The previously set password is overwritten with the password "RTU3041c!"
stored in the configuration file.
13. Navigate to the "System > General" menu.
© Siemens AG 2021 All rights reserved
13
14
15
16
© Siemens AG 2021 All rights reserved
17
18
19
19
20
21
20. Enter the phone number with country code (e.g., "+49" for Germany).
21. Enter the email address for the "Administrator" user.
22. Change the password.
22
22
© Siemens AG 2021 All rights reserved
23
25
26
24
27
© Siemens AG 2021 All rights reserved
28
30
31
29
32
© Siemens AG 2021 All rights reserved
31. Enter the server data of the email account that the RTU3041C should use to
send emails.
32. Then click "Apply".
33. Navigate to the "TeleControl" menu.
34. Open the "TeleControl Basic" tab.
34
35
37
33
37
35. Enter the static WAN IP address of the DSL router to which the TeleControl
Server is connected.
36. Enter the Telecontrol password.
37. Then click "Apply".
2.3 Operation
2.3.1 RTU3041C Wake-Up by Mobile Phone
To read current process values, you can wake the RTU from sleep mode between
two communication cycles.
1. To do this, send an SMS with the text "TELESERVICE" to the mobile phone
number of the SIM card inserted in the RTU3041C.
2. The RTU acknowledges receipt of the wake-up SMS at the next time the
mobile wireless interface turns on and connects to the TeleControl server.
Note If you specify an appointment in the wake-up SMS, the RTU3041C will establish a
connection with its communication partner at the exact time you specify in the
SMS.
Note The telephone number from which the RTU is woken up must be stored and
authorized in the RTU. You can find the setting in the web interface of the RTU
under "Users / groups", see Section 2.2.1.
Note How often the RTU activates the mobile wireless interface and fetches received
SMS depends on the configuration. The setting can be found in the web interface
of the RTU under "Operating mode", see Section 2.2.1.
Note that enabling the mobile wireless interface increases the power
consumption of the RTU.
The exact position of the RTU3041C can be monitored via GPS. This section
shows you how to determine the exact position of your RTU3041C via GPS.
For this scenario, the following is assumed:
– The configuration of the RTU3041C is loaded into the RTU
(see Section 2.2.1).
– OPC UA Server (TCSB) is activated (see Section 2.2.2)
– OPC UA Client (UaExpert) is connected to the OPC UA Server (TCSB)
(see Section 2.2.3).
1. To enter the GPS coordinates of the RTU3041C, open Google Maps, for
example.
© Siemens AG 2021 All rights reserved
2. Get the GPS coordinates of your RTU3041C from UaExpert (follow the steps
from Section 2.2.3).
3 Useful Information
3.1.1 Update and Communication Mode
The RTU cyclically changes from sleep mode to update or communication mode.
The frequency of the update and communication cycles can be defined.
Update mode
In update mode, the RTU goes through the following steps:
– Reading the inputs that were configured for the current cycle
– Editing the program blocks
– Writing of outputs
– Saving the process data to the SD card (with activated logging)
After the update mode, the RTU falls back into sleep mode or switches to
communication mode if this is configured. The update and communication cycles
can also run independently of each other.
Note In order for the RTU to transmit current values of the data points, the update
cycle must be parameterized at least as frequently as the communication cycle.
Configurable events
In addition to the configured update cycle, the RTU switches from sleep mode to
update mode when configurable events occur. You can configure the following
events:
– Value change at analog input "AI0"
– Edge change at a digital input
– Triggering timers of program blocks (e.g., with the pulse generator or with
the on/off delay).
Note Note that monitoring configured events will result in higher power consumption.
Communication mode
In communication mode, the RTU performs the following tasks:
– Sending the data telegrams to the configured communication partner in the
control center
– Sending saved messages (SMS, emails)
– Synchronization of the time (if configured)
Note Note that this will increase the power consumption of the RTU.
The RTU has different transmission modes to transfer data points. You can
parameterize the transmission type for each data point individually.
4 Appendix
4.1 Service and support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible with just a few mouse clicks:
support.industry.siemens.com
Technical Support
The Technical Support of Siemens Industry provides you fast and competent
support regarding all technical queries with numerous tailor-made offers
– ranging from basic support to individual support contracts.
Please send queries to Technical Support via Web form:
support.industry.siemens.com/cs/my/src
© Siemens AG 2021 All rights reserved
Service offer
Our range of services includes the following:
• Plant data services
• Spare parts services
• Repair services
• On-site and maintenance services
• Retrofitting and modernization services
• Service programs and contracts
You can find detailed information on our range of services in the service catalog
web page:
support.industry.siemens.com/cs/sc
The Siemens Industry Mall is the platform on which the entire siemens Industry
product portfolio is accessible. From the selection of products to the order and the
delivery tracking, the Industry Mall enables the complete purchasing processing –
directly and independently of time and location:
mall.industry.siemens.com