How can you have hardware diagnostics information (hard disk status, temperature, fan status, UPS and WinAC RTX) of SIMATIC IPCs displayed in WinCC Runtime?
By default, WinCC provides the "SYSTEM INFO" channel to display system information. Using the "SYSTEM INFO" channel, you can create tags in the WinCC Tag Management, in which the system enters diagnostics information at runtime. For example, you can create tags that contain the following information at runtime:
- CPU load
- Main memory load
- Hard disk load
You can use these tags in other WinCC components (e.g. Graphics Designer, Tag Logging, Global Script).
There might be the requirement to display and edit system information that is not provided by the "SYSTEM INFO" channel, for example:
- Display of the status of a RAID hard disk system
- Display of the temperature of CPU and mainboard
- Display of operating or error status of available fans
- Display of operating or error status of any available UPS (uninterruptible power supply)
- Display of operating or error status of any available PLC software (WinAC RTX)
When using the SIMATIC Industrial PCs listed below, you can display and edit the information described above simply in WinCC Runtime:
- SIMATIC IPC DiagBase
The "SIMATIC IPC DiagBase" software accesses the hardware of the computer and display the information in a separate Windows application (status of hard disks and fans, temperature of CPU and mainboard). The "SIMATIC IPC DiagBase" software replaces the "SOM" diagnostics software in SIMATIC IPCs.
Until all devices are supplied with it ex works, the software is available for downloading in Entry ID: 29316343 . This entry also contains information on the SIMATIC IPCs that can be implemented.
The "PCDiagBridge" software (also called "PCDiag") can be used with one of the above-mentioned SIMATIC Industrial PCs and the "SIMATIC IPC DiagBase" software. It is an ActiveX application that provides a programming interface. You can use this programming interface in WinCC Global Script VBS to access the information of "SIMATIC IPC DiagBase". You can write this information to internal WinCC tags and then use it directly in WinCC pictures, Alarm and Tag Logging.
The "PCDiagBridge" software is available for downloading free of charge in Entry ID: 42674746 . This entry also contains information on the SIMATIC IPCs that can be implemented.
PCDiagBridge V0.1 PCDiagBridge V1.1.1 PCDiagBridge V18.104.22.168 SIMATIC PCDiagBase V1.0 X - - SIMATIC PCDiagBase V1.1 - X X SIMATIC PCDiagBase V1.2 - X X SIMATIC PCDiagBase V22.214.171.124 - X X SIMATIC IPC DiagBase V126.96.36.199 - - X
- In addition to the information from "SIMATIC IPC DiagBase", "PCDiagBridge" also provides information on the status of any SITOP UPS connected and any WinAC RTX installed.
- Detailed information on PCDiagBridge is available in the associated "Readme" file.
- SITOP UPS USB driver (FTD2XX.SYS)
If the information of a connected SITOP UPS is to be read out with "PCDiagBridge", the USB driver for the SITOP UPS must be installed.
This entry provides a project in WinCC V7.0, which demonstrates how to use PCDiagBridge and the "SYSTEM INFO" channel.
PCDiagPrj_WinCCV70.zip ( 2405 KB )
Configuring the "SYSTEM INFO" channel (for displaying CPU, main memory and hard disk loads)
Below we describe the steps to be taken in the sample project to display the information of the "SYSTEM INFO" channel.
|1||Create "System Info" channel|
In the WinCC Explorer, right-click the "Tag Management" item. A pop-up menu opens. Select the "Add new driver..." item. The "Add new driver" window opens. Select the ""System Info.chn" file and then the "Open" button.
|2||Create tags in the Tag Management|
Create the tags for system diagnostics in the "System Info.chn" channel. The figure below shows the tags created in the "System Info" channel.
Use tags in the picture
The "PCDiagSysInfo.pdl" picture contains the following information:
CPU, main memory and hard disk are archived in Tag Logging. The size of the Tag Logging archive (Tag Logging FAST and SLOW) is set as follows:
|5||Configure Alarm Logging|
The tags of the SYSTEM INFO channel do not trigger any messages or alarms in this project. However, you can monitor the tags of the SYSTEM INFO channel yourself via script or using the "Analog Alarm" function of Alarm Logging.
Configuring PCDiagBridge (for displaying temperature, fan error status, hard disks, UPS)
Below we describe the configuration steps to be taken in the sample project to display the information of PCDiagBridge.
|1||Create tags in Tag Management|
PCDiagBridge provides an object and methods for reading out hardware information. In this step, you must create the WinCC tags to which the PCDiagBridge information is to be written later. The tag names are the same as the PCDiagBridge methods for reading the information. For the sake of clarity, a separate tag group entitled "PCDiag" is used and the prefix "PCDIAG" is given to the tag names. The following figures show the tags for the different types of PCDiagBridge information as hard copy of the Tag Management.
|2||Assign values to tags with VBScript|
Create a cyclic action in WinCC Global Script VBS to read hardware information with PCDiagBridge. The following figure shows an excerpt from the script.
The script is also available as a text document.
PCDiagCycle_vbs.txt ( 7 KB )
|3||Display tags in the picture|
The information read with PCDiagBridge is displayed in the picture "PCDiagBase.pdl".
The tags of PCDiagBridge are not archived in Tag Logging.
|5||Configure Alarm Logging|
The figure below shows the configuration of the Alarm Logging.
This entry has been tested with the following versions.
|Component||Product and version designation|
|PC operating system||Microsoft Windows XP Professional SP2|
|Standard tools||SIMATIC PC DiagBase V1.2|
SIMATIC PC DiagBase V188.8.131.52
|HMI software||SIMATIC WinCC V7.0|
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry