Process Data Acquisition and Monitoring with the SIMATIC S7-1200 / S7-1500 (Data Logging)
-
文档
-
涉及产品
Task
Supermarkets and discounters must ensure the cooling of certain foods. If the cold chain is broken, the foods can no longer be sold and must be disposed of. For this reason, the cooling temperature is to be continuously recorded, archived and monitored (including a signaling function).

The automation task is to include the following requirements:
- Remote access to the data log.
- Program changes via remote maintenance, if required.
- If a maximum temperature is exceeded, a message will be sent to a maintenance technician who will then identify the cause of the problem.
- The logged data should be submitted in intervals automatically to a control center and be archived.
Solution
The STEP 7 (TIA Portal) development environment provides for the SIMATIC S7-1200 / S7-1500 the "Data log" instructions.
These instructions allow you to store process data in the flash memory (S7-1200 CPU or memory card) in CSV format (comma-separated values).
This contributes to reducing the CPU's load memory pressure.
The integrated PLC Web server allows you to conveniently access these files and analyze them, for example, in Microsoft Excel.
The SIMATIC S7-1200 / S7-1500 has routing capability, which enables remote access via the Internet.
For secure communication, the connection via a VPN tunnel (VirtualPrivateNetwork) with the appropriate hardware is a suitable solution.
With the "TMAIL_C" instruction, emails can be sent via secure communication using an existing account with an SMTP (SimpleMailTransferProtocol) server email service provider. This function is used to implement the alarm message as well as the sending of the data log as attachment.
The CSV files can also be archived automatically via the API (ApplicationProgrammingInterface) of the SIMATIC Automation Tool V3.
Downloads
Current version 4.0 for STEP 7 V16 (TIA Portal), S7-1200 CPU FW V4.4, S7-1500 CPU FW V2.8 and TMAIL_C V6.0 Documentation V4.0 (2,9 MB)
Project for STEP 7 V16 (TIA Portal) (4,3 MB)
Executable file (V1.4) for automatic DataLog upload via the API of the SIMATIC Automation Tool V3.1 SP4 (incl. C# source code) (6,2 KB)
SHA-256 Checksum: 846619E9F1C844E4A9A6E7B8C1551815E15A627432A231BC13CF5E8CA7374EA0
Current version 3.0 for STEP 7 V15.1 (TIA Portal), S7-1200 CPU FW V4.2 and TMAIL_C V4.0 Documentation V3.0 (3,2 MB)
Project for STEP 7 V15.1 (TIA Portal) (766,5 KB)
Executable file for automatic DataLog upload via the API of the SIMATIC Automation Tool V3.1 SP3 (incl. C# source code) (6,2 KB)
SHA-256 Checksum: 6766DEE79B13FAB7C9A64D9AA73C22D355C8797652CDAA8961869686833A2D58
Further Information
"S7-1200 Programmable Controller" System Manual
"SIMATIC STEP 7 Basic/Professional V16" System Manual
Sending Emails to SMTP Servers with an S7 CPU
Signaling and Switching via SMS with S7-1200 and CP 1242-7 GPRS V2 (Set 32)
Overview: Secure Remote Access with VPN
VPN Tunnel between the TS Adapter IE Advanced and Windows 7
Download: SIMATIC Automation Tool - the commissioning and service operation tool for SIMATIC modules
Application example: Automated loading and archiving of the CPU service data by means of the SIMATIC Automation Tool via the Application Programming Interface (API)
Last Changes
Update to STEP 7 V16 and S7-1500: Email sending with attachment via secure communication and UploadDataLog via router for SIMATIC Automation Tool V3.1.4
- 德语
- 西班牙语
- 意大利语
文档属于以下产品树图文件夹(n):
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Basic Controller S7-1200 Central processing units Standard CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Basic Controller S7-1200 Central processing units Fail-safe CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Basic Controller S7-1200 Accessories
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Standard-CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Failsafe CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 Accessories
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 Accessories Memory Cards
- Automation Technology Industry software Automation software TIA Portal PLC programming STEP 7 Professional (TIA Portal)
- Automation Technology Industry software Automation software TIA Portal PLC programming STEP 7 Basic (TIA Portal)
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Compact CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Technology CPUs
- Automation Technology Industry software Automation software Software for common tasks for maintenance SIMATIC Automation Tool
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Redundant CPUs
- 存在技术问题/疑问:请询问技术支持人员
- 想要在我们的论坛上开展讨论,并与其它用户交流经验
- 想要为一个或多个产品创建 CAx 数据
- 想要向我们发送有关此 文档 的反馈