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
  • 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  
    • Additional trigger editing functions
      • Calculations and Formatting of SPS Data
      • Invert Excel Actions 
      • Changing data blocks for all variables in the trigger 
    • 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  
  • Accounts
    • Telegram account
      • Telegram time limit
      • Configure Telegram account 
      • Set up Telegram
    • 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
  • 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

Upgrade from version 2 to version 3

1
  • Change from version 2 to version 3  
  • Home
  • Docs
  • User Manual
  • Control systems (PLC connections)
View Categories

Configure PLC connection  

Lesedauer: 3 min

Depending on the selected PLC connection, different options are available.  

The heartbeat is available for all connections and is explained at the end of the chapter. 

Internal [MB] simulator   #

To connect to the internal simulator, select the [MB] Simulator option at this point.  

No further settings are necessary for the [MB] simulator.  

You can also create several simulators for testing.   

Siemens PLC (S7 communication Put/Get)   #

To establish a connection to a Siemens PLC, select the PLC option.  

IP Set the IP address of your PLC. If you want to use a soft PLC on the same computer, the IP is: 127.0.0.1.   
Rack Rack depends on your hardware configuration. By default, the value should be 0.  
Slot slot depends on your hardware configuration. By default, the value should be 0 (S7-300: value: 2). 

Enter the IP address, rack and slot of your controller. Use the button Test PLC connection to check the correctness of your data. If it is possible to establish a connection with your controller, the model and the complete CPU type are displayed.  

S7 communication with models S7-1200 & S7-1500   #

To operate the S7-1200 and S7-1500 models, the following two settings must be made.  

 
1. Deactivate optimised block access 

As optimised data blocks are not supported by DataSuite, they should be deactivated. To do this, select the properties of the data blocks in Tia Portal and uncheck “Optimised block access” in General attributes. 

2. Allow PUT/GET communication and full access 

From model S7-1200 with firmware version 4.0 and all S7-1500, PUT/GET communication is disabled by default. To use the software, you must allow PUT/GET communication, as full access to the controller is required. You can find these settings in the device configuration of your PLC under the tab “Protection & Security”. There you select full access as the access level and check the box for PUT/GET communication under connection mechanisms. 

PLC – OPC UA   #

To establish an OPC UA connection to your PLC, you must make some settings in the PLC. 

Open the settings of the PLC and select the item OPC UA. There you can activate the OPC UA server and the standard SIMATIC server interface. Below that you can change the port of the connection (default: 4840). 

In the menu item Security you will find the endpoints offered by the PLC. These differ in the respective security settings. Deactivate the endpoints that are not required here. The use of a signed and encrypted connection is recommended.  

Further down in the settings you can edit the user administration of the OPC UA Server.  

Guest authentication  

If you activate guest authentication, anyone can connect to the PLC. 

Authentication via username and password 

If you select this option, a user name and password must be stored for each connection. 

It is recommended to only activate authentication via user name and password. 

Should you choose both authentication methods, a guest connection can also always be established, which undermines the security of authentication via user name and password. 

Runtime licence  

Finally, you must select the OPC UA Runtime licence in the PLC. Then you can load the hardware configuration into the PLC. 

After you have made the settings in the PLC, you can configure the connection in DataSuite. 

IP Set the IP address of your PLC.   
Port Enter the port of the OPC UA connection. (PLC settings can be found on the following page)  
Security Select the desired security settings of the PLC. This option must be activated in the PLC.  
Authentication Select the set authentication.  

OPC UA Server  #

To establish a connection to any OPC UA server, enter the corresponding connection parameters. 

Server address  Set the complete address of the OPC UA Server here. Note that this starts with opc.tcp://.  
Security  Select the desired security settings of the OPC UA Server. 
Authentication  Select the authentication you have set.  

Read-only mode  #

You can activate the read-only mode to prevent any writing from the DataSuite to the PLC. This way you can be sure that the DataSuite does not change any data in the PLC. In this mode, only reading of variable values is possible.   

If you try to write a PLC variable in a trigger, a configuration error is displayed and all write attempts are aborted with an error.

Heartbeat   #

The heartbeat tells your controller that the software is running and that a connection exists. When the heartbeat is activated, a 0 or a 1 is alternately written into the specified variable every second. 

If you use the alarm functions of the DataSuite, it is strongly recommended to use the heartbeat, evaluate it in the PLC and react to it in the PLC if necessary. 

To do this, simply check in the PLC that the value of the variable has not changed for several seconds.  

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

Wie können wir helfen?

Variables  
Inhalt
  • Internal [MB] simulator  
  • Siemens PLC (S7 communication Put/Get)  
  • S7 communication with models S7-1200 & S7-1500  
  • PLC - OPC UA  
  • OPC UA Server 
  • Read-only mode 
  • Heartbeat  

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