Can the SX handle this application?
Tom Baker
Posts: 1
There is a very large and expensive electromagnet at my work that has a 50% duty cycle and may be allowed to be on for up to 5 minutes. Sometimes the operator exceeds the 5 minute parameter and smokes the magnet. (This happens about 2 or 3 times a year).
So, I am looking into creating a special timer that counts up to 5 minutes and then sounds an alarm. If he turns off the magnet, the timer starts counting down. If he only turns it off for 1 minute, then he can operate it for 1 minute again.
There would have to be a time display for the operator to see how much on-time has elapsed. Is this something that the SX is capable of doing? As an added gizmo, supervision would like an ongoing date-time stamp to be remotely created to see whether the operator paid attention to any alarms that were or were not present. Any suggestions would be appreciated.
Thanks
So, I am looking into creating a special timer that counts up to 5 minutes and then sounds an alarm. If he turns off the magnet, the timer starts counting down. If he only turns it off for 1 minute, then he can operate it for 1 minute again.
There would have to be a time display for the operator to see how much on-time has elapsed. Is this something that the SX is capable of doing? As an added gizmo, supervision would like an ongoing date-time stamp to be remotely created to see whether the operator paid attention to any alarms that were or were not present. Any suggestions would be appreciated.
Thanks
Comments
the SX can definitely handle this application.
In my book, I have described how to drive 7-segment displays, and there is also a stopwatch example which might give you an idea how to code the 5-minutes timer.
You can download all the book code samples from www.parallax.com/dl/src/prod/sx/ProgSXEdPre.zip. In the ZIP file, you will find APP12.SCR (the 7-segment example), and APP15.SRC (the stopwatch).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
Peter