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.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-05-27 09:09 AM . Last Modified: 2022-05-27 09:22 AM
Hi All,
Our customers are looking to use our product with Machine Expert. I am in the process of building a library to simplify implementation and usage.
Thanks
Mark
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: 2022-05-27 11:36 AM
I believe I answered my own question. Use the word INTERNAL.
Example:
VAR_GLOBAL INTERNAL
test : INT := 5;
END_VAR
This GVL is now not exposed outside of the library.
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: 2022-05-27 11:36 AM
I believe I answered my own question. Use the word INTERNAL.
Example:
VAR_GLOBAL INTERNAL
test : INT := 5;
END_VAR
This GVL is now not exposed outside of the library.
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-01-06 07:38 AM
Hi.. Mark I have tried to implement your solution.
Where I have multiple blocks that would influence each other I was planning to create a GVL and route all the variables through it. But When I tried to create a VAR_GLOBAL INTERNAL as mentioned by you. My POUs which are some FBs not recognizing the global variable
Eg:
VAR_GLOBAL INTERNAL
test : INT := 5;
END_VAR
Link copied. Please paste this link to share this article on your social media post.
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.
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