Skip to content
MB Datasuite
  • Features
  • Applications
  • Energy
  • Visualization
  • Prices
  • Free Trial
  • Deutsch
MB Datasuite
  • Features
  • Applications
  • Energy
  • Visualization
  • Prices
  • Free Trial
  • Deutsch

System requirements and compatibility

7
  • System requirements for DataSuite
  • Supported operating systems
  • Operate as a windows service
  • Database connections 
  • PLC support  
  • Notes on safe operation  
  • White Label

Quick start

9
  • Installation  
  • Set up PLC connection  
  • Create trigger  
  • Select trigger variable in the handshake  
  • Execute trigger  
  • Create Excel file  
  • Write header data to the file  
  • Write record  
  • Connect to a Database

Tutorials, HowTos and instructions

1
  • Alarm emails with OPC-UA: Monitoring excess temperature with an S7 1500 PLC

User Manual

96
  • General information on the user manual
  • Accounts
    • Threema account
      • Threema Time limit  
      • Configure Threema account 
      • Set up a Threema account
    • E-Mail account
      • Email time limit
      • Configure email account  
      • General info about e-mail account
    • SMS-account
      • Configuring a SMS / Seven Account
      • SMS time limit
      • SMS Sandbox
    • Telegram account
      • Telegram time limit
      • Configure Telegram account 
      • Set up Telegram
  • Error Codes
    • General   (0 – 99)
    • PLC (200 – 299)
    • E-mail (300 – 399)
    • SMS (400 – 499)
    • Excel (500 – 599)
    • OPC UA (700 – 799)
    • Databases (800 – 899)
    • Print (1000 – 1099)
    • PDF (1100 – 1199)
    • HTML (1200 – 1299)
    • Start external applications  (1300 – 1399)
    • Rest (1400 – 1499)
    • Time Master (1900 – 1999)
    • Telegram (2000 – 2099)
    • Threema (2100 – 2199)
  • Devices (Shelly)
    • General information about Shelly
    • Add devices 
    • Using Shelly variables 
  • Excel, CSV, PDF files
    • CSV files: Formats, special characters, encodings
    • General information on Excel files
    • File selection 
    • File formats  
    • Read Access 
    • Write Access 
  • Control systems (PLC connections)
    • General information on PLC connections
    • Create PLC connection  
    • Variables  
    • Configure PLC connection  
  • Databases
    • General information on databases
    • Database: Write record (Insert) 
    • Database: Write several data records (insert) 
    • Database: Read data record (Select) 
    • Database: Read multiple records (Select) 
    • Database: Execute Query 
  • Webserver / REST API
    • General information web server/rest API
    • Settings and security 
    • Calling up web pages 
    • Use Rest-API 
  • Support
    • Create Support Packages  
    • Support contact details
  • Licensing
    • Determining the required licence  
    • Activate your licence  
  • Settings
    • General information
    • Export  
    • Import  
    • Password protection  
    • Change language  
    • Factory settings  
  • Trigger
    • General information about the trigger
    • Create trigger  
    • Trigger structure  
    • Use variables  
    • Trigger Actions
      • General information
      • Write variable 
      • Excel – Writing  
      • Excel – Read  
      • Convert Excel file to PDF  
      • Print Excel file  
      • Convert Excel file to HTML file  
      • Database: Execute Query 
      • Database: Write record (Insert) 
      • Database: Write several data records (insert) 
      • Database: Read data record (Select) 
      • Database: Read multiple records (Select) 
      • File options (copy, move, rename, delete)  
      • Read out file names in folder  
      • Execute REST Request 
      • FTP Upload
      • Send e-mail  
      • Send SMS  
      • Send message using Telegram 
      • Send message using Threema  
      • Start external applications  
      • Exporting and importing data blocks (DB)
      • Update Data Block
      • Set PLC time 
    • Trigger trigger conditions and handshake
      • General information on Trigger conditions and handshake  
      • Standard handshake  
      • Individual handshake  
    • Error handling and log
      • Error handling and log  
    • Additional trigger editing functions
      • Calculations and Formatting of SPS Data
      • Invert Excel Actions 
      • Changing data blocks for all variables in the trigger 

Upgrade from version 2 to version 3

1
  • Change from version 2 to version 3  
  • Home
  • Docs
  • Tutorials, HowTos and instructions
View Categories

Alarm emails with OPC-UA: Monitoring excess temperature with an S7 1500 PLC

Lesedauer: 3 min

We will show you how you can easily send alarm e-mails with DataSuite3 based on machine statuses.
Let’s assume, for example, that you have a hydraulic press with a temperature sensor. If the hydraulic oil exceeds a certain temperature value, an email should be sent to your service team asking them to carry out maintenance on this press.

What do we need? #

To solve this task, we need an email account and the DataSuite software. We assume that the press has an OPC-UA
compatible control system. DataSuite is compatible with many different machine controllers such as Siemens S7, Beckhoff, VIPA, etc.

Alternatively, Siemens controllers can also be addressed directly or you can use OPC-UA compatible temperature measurement technology, e.g. this device from the company Wiesemann und Theis.

You are currently viewing a placeholder content from YouTube. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.

More Information
Unblock content Accept required service and unblock content

Add control #

A PLC simulator is already created in the software, which we will not use in this example. Instead, we will create a new controller of type S7 OPC-UA. In our case, we have an S7 1500 PLC with the IP address 192.168.253.100 and port 4000. We always recommend activating OPC-UA encryption. In our test setup, however, we leave the connection unencrypted.

Now we wait a short moment until the DataSuite software has established the OPC connection to the PLC and the indicator changes to green. Now we can import the required OPC variables. These are then available in many places in the DataSuite software, as we will see later.

Connect e-mail account #

Next, we create an email account. The DataSuite software is compatible with almost all email providers. Please note that a 2-factor authentication is problematic for our planned automated sending of emails. We therefore recommend choosing a provider that allows sending without a second factor. In our example, we have created an address with the largest German email provider, GMX. With GMX, you only need to activate POP3 IMAP so that the DataSuite software can send GMX emails.
Let’s now go to the Account area. There we add a new account of the type Email. Please enter your own names and passwords in the settings. In the case of GMX, the server is… mail.gmx.net… the port is 587.

Create trigger #

Finally, we create a trigger that monitors the temperature in the control unit and sends an e-mail if necessary. We have already created a trigger template for you with the name ‘Send e-mail’.
We now select Individual as the trigger condition and use a variable comparison as the condition. In our case, we compare the temperature variable from the controller with a constant limit value. So we set the comparison to greater and the comparison value to 70 degrees. If the temperature now exceeds this value, the trigger is activated.

As temperatures can fluctuate greatly, but we only want to send one email per incident, we now activate debouncing and hysteresis. Hysteresis is particularly important to prevent an endless number of mails being sent. We set the release condition to less than 65 degrees.

All that remains is to send the email, i.e. the trigger action. To do this, select the previously configured email account and enter a recipient email address. You can now enter your message in the subject line and also in the message text as you wish.

You can also insert variable values anywhere in the text by clicking on the VAR plus button. In our example, we insert the current temperature from the OPC variable and the time.

Wie findest du den Beitrag?
Immer noch Fragen? Wie können wir helfen?

Wie können wir helfen?

Inhalt
  • What do we need?
  • Add control
  • Connect e-mail account
  • Create trigger

MB DataSuite

  • Home
  • Features
  • Applications
  • Prices

Info portal

  • Knowledge Base
  • Newsletter
  • Change Log
  • FAQ & Support

Company

  • About us
  • Imprint
  • Linkedin
  • YouTube
  • Facebook

Legal

  • Privacy
  • EULA
  • Cookie Settings

Help and support

  • Tel +49 2742 72927 80
  • Live Presentation
  • Contact
  • Deutsch
    • About us
    • Support & FAQ
    • Contact
    • Imprint
    • TOS and EULA
    • Privacy policy
    • Linkedin
    • Facebook
    • Youtube
    [MB] Software und Systeme GmbH