Ask our Experts
Didn't find what you are looking for? Ask our experts!
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.
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
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-09-18 11:49 PM
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
Link copied. Please paste this link to share this article on your social media post.
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.
Link copied. Please paste this link to share this article on your social media post.
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.
Link copied. Please paste this link to share this article on your social media post.
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.
Link copied. Please paste this link to share this article on your social media post.
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.
Link copied. Please paste this link to share this article on your social media post.
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
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
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.