Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!

TM172 built-in HMI variables watch

HVAC and Pumping Forum

Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • HVAC and Pumping Forum
  • TM172 built-in HMI variables watch
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
FedericoM
Commander FedericoM Commander
80
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
52
LeTomas
Lt. Commander LeTomas Lt. Commander
14
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Machine Expert - HVAC

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to HVAC and Pumping Forum
Solved
otrotabi
Commander otrotabi
Commander

Posted: ‎2025-07-23 03:53 AM

0 Likes
6
97
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-07-23 03:53 AM

TM172 built-in HMI variables watch

While debugging HMI pages and scripts under simulation, I know of two different methods to watch the value of a variable defined either local or global in the HMI.

 

1) Define a status variable, set the status with the Video_SetParam function and use the watch screen f the PLC debugger or

2) Display the variables on a screen. This last method is usually faster but it is prone to errors in the pages if you forget to delete them.

 

Is there any other way ?

Labels
  • Labels:
  • HVAC
  • Tags:
  • ecostruxure
  • english
  • hvac
  • TM172
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
obscuresc
Lieutenant obscuresc
Lieutenant

Posted: ‎2025-07-23 05:16 PM

2 Likes
0
81
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-07-23 05:16 PM

Hi @otrotabi,

 

You can use the debugging tool in the HMI tool. The button below will open it.

obscuresc_0-1753315926263.png

Otherwise, you could do a hidden page that displays debugging info, I have one that is protected from access using the preprocessor directives. You could also use the 'sysWriteDbgMsg' of the PLC side to push out logs from HMI. 

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 6
obscuresc
Lieutenant obscuresc
Lieutenant

Posted: ‎2025-07-23 05:16 PM

2 Likes
0
82
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-07-23 05:16 PM

Hi @otrotabi,

 

You can use the debugging tool in the HMI tool. The button below will open it.

obscuresc_0-1753315926263.png

Otherwise, you could do a hidden page that displays debugging info, I have one that is protected from access using the preprocessor directives. You could also use the 'sysWriteDbgMsg' of the PLC side to push out logs from HMI. 

Reply

Link copied. Please paste this link to share this article on your social media post.

otrotabi
Commander otrotabi
Commander

Posted: ‎2025-07-24 04:06 AM

0 Likes
1
65
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-07-24 04:06 AM

Thanks for your answer.  This opens a hidden world to me 🤓

 

So, this button opens a new interface that shows the underlying structured text that builds the pages. A couple of extra questions please:

1) Is it ok to mess with this code implementing extra features ? I can not think of anything particular right now but as of now just out of curiosity. And if that is possible, how do you avoid overwriting the changes you made next time you compile the HMI project ?

2) So, I can see the whole program structure is basically the same as the PLC program structure, so that means I could add extra function blocks and programs ? Maybe add some function blocks to a library in case I would like to reuse them in the future ? I can see that the HMIInterface library must be generated on the fly everytime I compile the HMI project because these represent the strings in the project.

 

otrotabi_0-1753354815578.png

 

Once again, thanks. 

Regards

 

Reply

Link copied. Please paste this link to share this article on your social media post.

obscuresc
Lieutenant obscuresc
Lieutenant

Posted: ‎2025-07-24 03:43 PM

In response to otrotabi
0 Likes
0
60
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-07-24 03:43 PM

You're welcome. It would be nice to be able to edit things here, but according to this post we can't; it only shows a generated ST from the GUI editor of HMI, so we can't edit it. There might be a way to create our own libraries through this section, to be used in the HMI. This is not something I've tried. If you have any success doing this, I would be keen to know.

 

The main things I use this for, other than debugging, is a reference to the constants like 'kACS_PRINT', or to be able to search for where I use variables in the Display. 

Reply

Link copied. Please paste this link to share this article on your social media post.

FedericoM
Commander FedericoM Commander
Commander

Posted: ‎2025-07-25 01:12 AM

0 Likes
0
45
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-07-25 01:12 AM

Hello,

I confirm that the main purpose of this view is debugging and learn how your script are managed, you can't edit it.

What you are asking for is possible with the display of TM173O, it allows to make much more than M171O, but if it is not enough:

FedericoM_0-1753431120114.png

 

Reply

Link copied. Please paste this link to share this article on your social media post.

otrotabi
Commander otrotabi
Commander

Posted: ‎2025-07-25 04:08 AM . Last Modified: ‎2025-07-25 04:08 AM

0 Likes
0
43
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-07-25 04:08 AM . Last Modified: ‎2025-07-25 04:08 AM

Thanks @obscuresc and @FedericoM . It is good to know about this powerful tool. 

 

I hope I will receive TM173s soon.  In the meantime if I choose Expert mode, this message appears:

 

otrotabi_0-1753441461227.png

 

and "menu" folder is created. What you mean is that these function blocks maybe modified ?

 

otrotabi_1-1753441655623.png

 

 

 

 

 

 

 

Reply

Link copied. Please paste this link to share this article on your social media post.

FedericoM
Commander FedericoM Commander
Commander

Posted: ‎2025-07-25 05:13 AM

0 Likes
0
42
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-07-25 05:13 AM

Yes, the code you see is the one that implements the menu defined in the Configuration Perspective at the moment in which you enabled the expert mode.

The changes to folders in the Configuration Perspective has no effect until the Expert mode is enabled.

If it is really needed, I suggest to use as much as possible the Configuration definition and use the expert mode just in the final development phase

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of