4/8/2024 6:34 AM | |
Joined: 11/4/2021 Last visit: 4/19/2024 Posts: 64 Rating:
|
While reviewing the latest demo project for unified HMIs I noticed that there was a screen displaying the current memory usage of the panel. I have not seen this documented anywhere so I thought I'd share. https://support.industry.siemens.com/cs/document/109822799 In the demo they use an indirect method to access some hidden system tags so that the compiler doesn't produce an error. The following code is running in a scheduled task and writes to an internal HMI tag:
I tried this in simulation and on a physical panel using V19 Update 1 and it works as expected. The system tag examples in the demo project are as follows and they all work.
In addition, with a little digging I found that these system tags and others are defined in the following file as well as any complex types used:
With a little ChatGPT parsing we can get the full list of possible system tags including the hidden tags. I suspect that some are only valid for the PC runtime and not for panels as I couldn't get anything useful from the @ProcessorInformation_1 or @DiskInformation_1 tag structure. The @Heartbeat_1 tag was working as well but I didn't check most of the others. I only extracted the tags that were prefixed with @ but there was a lot of reference to the HMI and OPC UA Server connections. Maybe some other magic strings work also. Here is the list I extracted with some of the nested complex types:
|
Last edited by: MBerghauser at: 04/08/2024 06:49:14 |
|
This contribution was helpful to
3 thankful Users |
Follow us on