Jump to content

Retain Tags at power up


Juan Manuel

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 4 weeks later...

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.