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

Launch of Consumer/Home Owner registration process!
We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.

Machine Expert HVAC - Setting a BOOL from an HMI screen

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.

Search in

Improve your search experience:

  • Exact phrase → Use quotes " " (e.g., "error 404")
  • Wildcard → Use * for partial words (e.g., build*, *tion)
  • AND / OR → Combine keywords (e.g., login AND error, login OR sign‑in)
  • Keep it short → Use 2–3 relevant words , not full sentences
  • Filters → Narrow results by section (Knowledge Base, Users, Products)
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
  • Machine Expert HVAC - Setting a BOOL from an HMI screen
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
Captain FedericoM Captain
90
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
55
LeTomas
Lt. Commander LeTomas Lt. Commander
14
M_Cervati
M_Cervati Support
12
View All

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
Start a Topic
Solved
RichB
Crewman RichB
Crewman

Posted: ‎2025-09-18 11:49 PM

0 Likes
4
163
  • 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-09-18 11:49 PM

Machine Expert HVAC - Setting a BOOL from an HMI screen

Hello,

I have (analog) variables configured in the "Programming" tab that are accessible, displayed and modified on the screens in "Display" tab, and these all work fine.

 

I need to toggle a BOOL variable when clicking a button on a screen. The only way I see to do this is by calling a procedure via the "Events" tab. However, when compiling, an error comes up saying "Object not found" referring to the programming variable coded in the procedure.

If I declare a global BOOL variable in the HMI / Display and use that in the procedure, it works fine an I can toggle it. The problem with that is, I cannot use/find that variable in the Programming section.

 

The reason I'm trying to do it via a procedure, is because the option to insert a check box on the screen is greyed-out (not sure why as the documentation states it's possible), which I'm sure would be the correct way to toggle a bit.

 

I'm developing on a M172PDG42R and the ME HAVAC version is 1.7.0.

 

Please Help...

Richard

Labels
  • Labels:
  • HVAC
  • Tags:
  • english
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
ismailozinan
Lt. Commander ismailozinan Lt. Commander
Lt. Commander

Posted: ‎2025-09-20 09:46 AM

0 Likes
1
141
  • 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-09-20 09:46 AM

If you wish, you can also use the physical buttons on the display as toggles.
For example, in the program linked below, the physical Left button next to the display is configured as a toggle.

Click here 
You can also find a video in the program folder showing how it works.
I hope you find it helpful.

See Answer In Context

Reply

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

Replies 4
ismailozinan
Lt. Commander ismailozinan Lt. Commander
Lt. Commander

Posted: ‎2025-09-20 05:25 AM

0 Likes
0
149
  • 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-09-20 05:25 AM

You can download the sample program from this link 
Additionally, the link includes a video that you may follow if you would like to see the steps I took.

Reply

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

ismailozinan
Lt. Commander ismailozinan Lt. Commander
Lt. Commander

Posted: ‎2025-09-20 09:46 AM

0 Likes
1
142
  • 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-09-20 09:46 AM

If you wish, you can also use the physical buttons on the display as toggles.
For example, in the program linked below, the physical Left button next to the display is configured as a toggle.

Click here 
You can also find a video in the program folder showing how it works.
I hope you find it helpful.

Reply

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

obscuresc
Lieutenant obscuresc
Lieutenant

Posted: ‎2025-09-21 06:23 PM

0 Likes
0
91
  • 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-09-21 06:23 PM

Hi Richard,

 

Code running on the HMI (developed in the Display tab) is almost independent from the code on the PLC backend (Programming tab), which is why the Programming code cannot find the your variables in the procedures you mentioned.

 

The linkage between the two codes is via a communication layer though I am not sure what, but they exchange data though registers defined by you in Commissioning, or shared registers defined by Schneider/Eliwell/Axel. You can link a variable field to a register, basically the way @ismailozinan suggested, though this isn't really event based as you mentioned.

 

The other option is to use the 'Video_SetParam'/'Video_GetParam' functions available in the HMI editor, to initiate read/write of registers on command. These functions can take a hardcoded address to the register, or you can you the 'PAR_ADR' function which returns the register address based on the name of the register.

 

Thanks.

 

 

Reply

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

RichB
Crewman RichB
Crewman

Posted: ‎2025-09-21 09:03 PM

In response to ismailozinan
1 Like
0
56
  • 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-09-21 09:03 PM

Hello Ismailozinan,

 

Thank you very much for your code and videos - they really helped. 

I implemented your second solution and I have it working as intended - toggling of eight BOOLs from the HMI screen.

 

Best Regards

Richard

 

 

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

 

You’ve reached the end of your document

WHAT’S NEXT?

Ask our Experts

Didn't find what you are looking for? Ask our experts!

My Dashboard

Check out the new Feeds and activities that are relevant to you.

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

Welcome!

Welcome to your new personalized space.

of

Explore