Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-05-28 03:11 AM
Hello.
I want var to maintain value after download program.
PLC M241 and SoMachine V4.3
I did all is in help.
Placed var into Persistent variables list. The battery is OK.
But after program download the value is not maintained.
Thanks for help.
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.
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.
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: 2020-05-28 05:41 AM
Is your logic not overwriting the variable at startup?
Please create a test variable and do the test.
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: 2021-01-18 11:11 PM
Very strange, maybe it is the case that these variables somehow change in the program?
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: 2021-01-19 11:20 AM . Last Modified: 2021-01-21 12:10 AM
Please check your hour counter function.
Maybe this function overwrite at initalisation the retain presistent var.
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.
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.