Hi All,
Hoping the community here can help as I'm new to PLC programming. The project I'm working on is using a Micro850 2080-LC50-24QBB and programming in ST. I have the program running mostly as needed, however, only just discovered in the manual that "Micro830 and Micro850 controllers retain all user-created variables" on power cycle.
Here's the thing. I do NOT want that behavior for all my variables. I am specifically implementing a power state machine, and I want the state variable of the state machine to reset to a known value when power to the controller is lost. I had assumed I could achieve this by just giving it an "Initial Value" which the variable would receive when power is restored and the program starts. Is there a way to achieve this functionality (have a user variable get written to say, 0, whenever power is cycled)?
Appreciate any pointers, thanks!
Hoping the community here can help as I'm new to PLC programming. The project I'm working on is using a Micro850 2080-LC50-24QBB and programming in ST. I have the program running mostly as needed, however, only just discovered in the manual that "Micro830 and Micro850 controllers retain all user-created variables" on power cycle.
Here's the thing. I do NOT want that behavior for all my variables. I am specifically implementing a power state machine, and I want the state variable of the state machine to reset to a known value when power to the controller is lost. I had assumed I could achieve this by just giving it an "Initial Value" which the variable would receive when power is restored and the program starts. Is there a way to achieve this functionality (have a user variable get written to say, 0, whenever power is cycled)?
Appreciate any pointers, thanks!