I have a building a project using the Arduio PLC IDE for an Opta.
The 'Parameters' section implies that these values are non-volitile (cos it says in the heading), but when the power goes off they return to there defaults.
Is this a bug or am I missing something.
Thanks for any help you can offer.
Note: I'm an experienced developer - but am a newbie when it comes to PLC's
You are missing that EACH TIME you run the program it is reloaded into memory for execution. No one is there to modify the HEX file with the new values you created when the program was run the last time.
I'm setting the values via Modbus (TCP) from a remote UI app. The values are being changed, but revert to defaults when the power goes off. I would describe that behaviour as volitle? What aspect of these variables is non-volitle?
Thats a low level C++ threading thing, it seems unlikley this is what this is refering to. In the modbus interface the 'parameters' and 'status varaibles' map to 'input' and 'holding' registers, if you were going to mark varaibles as C++ volitile then that could easily apply to either set.