Jump to content
Sign in to follow this  
Juan Manuel

Retain Tags at power up

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...