PLUS+1 Software > General controls

Memory condition that is not lost after power off.

(1/1)

bgtwuk:
Gents

How can I safe a latched condition and have it available on my next boot.

It will be a memory of a failure.

Bgtwuk

Jakob:
Hi Bgtwuk
You can make a parameter that your program writes into.
And when system boots up, the program reads the parameter.
It is not difficult, I believe there are examples somewhere :)

I have done this to log machine overload and other useful info.
If you want more details you could make a timestamp value and number of failures.


Jakob

bgtwuk:
THANK YOU

Jakob:
Did you make it work, Bgtwuk?

Might also be a good idea to prevent frequent status logs, the controller memory is just not made for it. According to the documentation, it will wear out the memory after a few million logs or there about. Display memory is different so if you have a display that is where I would store logs.

/Jakob

Navigation

[0] Message Index

Go to full version