stocky6409
Senior Member
Hi All - its been a LONG time since I have been here with a query (marriage breakdown followed by a near nervous breakdown does that too you...)
Anyway - I'm back and happier than ever - all that is in the past now.
My query relates to the newer chips (that I seem to have missed due to my not being here - wow they look good!) - in particular the 20M2
I am working on an old project again and I *think* these will enable me to do a lot of what I failed to acheive with the older chips last time I looked at it
Note I havent got a chip to play with yet and I have ONLY JUST started looking at this seriously (inc reading the updated manuals again)
Slots/tasks - whatever they are called - should allow me to seperate a "user menu" to enable certain parameters to be set
Time - should allow me to implement an elapsed time counter to log a certain functions total run time (actually to log when it reaches a user set value to trigger a maintenace alarm)
What I am scratching my head about it recording this value. Its easy enough to read/write the value from eeprom when the function starts/stops in *NORMAL* operating conditions.
Where I am having the issue if working out how to handle an "ESTOP" shutdown - ie the user hits the BRB and kills ALL power to the cct.
Random thoughts include a super cap and monitoring the supply with an i/o pin and when supply is lost madly add the current val to the stored val and write to eeprom
Anyone looked at this in one of their apps?
Oh - FYI - the time period in question (for the alarm) will be in the range of 100 HOURS give or take maybe 50 hours. Min resolution 0.1 hours
Cheers
Stocky
Anyway - I'm back and happier than ever - all that is in the past now.
My query relates to the newer chips (that I seem to have missed due to my not being here - wow they look good!) - in particular the 20M2
I am working on an old project again and I *think* these will enable me to do a lot of what I failed to acheive with the older chips last time I looked at it
Note I havent got a chip to play with yet and I have ONLY JUST started looking at this seriously (inc reading the updated manuals again)
Slots/tasks - whatever they are called - should allow me to seperate a "user menu" to enable certain parameters to be set
Time - should allow me to implement an elapsed time counter to log a certain functions total run time (actually to log when it reaches a user set value to trigger a maintenace alarm)
What I am scratching my head about it recording this value. Its easy enough to read/write the value from eeprom when the function starts/stops in *NORMAL* operating conditions.
Where I am having the issue if working out how to handle an "ESTOP" shutdown - ie the user hits the BRB and kills ALL power to the cct.
Random thoughts include a super cap and monitoring the supply with an i/o pin and when supply is lost madly add the current val to the stored val and write to eeprom
Anyone looked at this in one of their apps?
Oh - FYI - the time period in question (for the alarm) will be in the range of 100 HOURS give or take maybe 50 hours. Min resolution 0.1 hours
Cheers
Stocky
Last edited: