Jump to content

Recommended Posts

Posted

If I set a variable as retained, but then also set the initial value, does it re-initialize the variable anytime the PLC loses power, or only on a program change?


Posted

If a variable is both retained and has initial value, the retained value is maintained unless battery dies, or unless the 'clear variables with retain attribute' check box is selected on the transfer to controller screen.

  • Like 1

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...