Juan Manuel Posted March 19, 2017 Report Posted March 19, 2017 I can´t retain the tag value at start up, I follow the instructions from the UNITRONICS site, I mean, check the "retain" at the Tag menu, and write a initial Value, but the variables always start at power up with the initial value. If only check the retain box, and don´t write initial neither power up value, my values start in zero. Thaks a lot for your help Juan Manuel
MVP 2023 Joe Tauser Posted March 20, 2017 MVP 2023 Report Posted March 20, 2017 Initial value always wins. What is the data type? Joe T.
Saragani Posted March 20, 2017 Report Posted March 20, 2017 5 hours ago, Joe Tauser said: Initial value always wins. What is the data type? Joe T. Initial data is only being set when: * The application in the PLC is totally different * When the tag does not exist in the PLC (for example, you have added a new retained tag and set an initial value) *When you use Init retained tag from the "UniStream management" in UniLogic It will not be called on every power-up. There is no logic to set the initial value of a retained tag on every power-up since then it makes the retained tag meaningless. Is it a new PLC? (Maybe there is something wrong with the battery that keeps the retained memory). You can download your project to a different PLC (if you have one) and check if it still reproduces. If it does, then send unitronics the project so we could see if maybe there is something wrong with the project, or something was not configured correctly.
Juan Manuel Posted April 16, 2017 Author Report Posted April 16, 2017 Solved!!! Thanks for the replies, I¨m new with the UNITRONICS systems. The problem was the seal on the battery, I install ant wired the panel and I don´t saw the plastic seal on the battery. When I take it out, the tag and variables start normally and retain the value. Thank You
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now