Ask our Experts
Didn't find what you are looking for? Ask our experts!
Share Your Feedback – Help Us Improve Search on Community! Please take a few minutes to participate in our Search Feedback Survey. Your insights will help us deliver the results you need faster and more accurately. Click here to take the survey
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
Posted: 2022-05-27 09:09 AM . Last Modified: 2022-05-27 09:22 AM
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.
Posted: 2022-05-27 11:36 AM
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.
Posted: 2022-05-27 11:36 AM
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.
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.