BoVice Posted June 27, 2008 Report Posted June 27, 2008 hey guys, I'm currently working on the final portions of my project. I'm a fresh graduate out out of school and was trained on Allen Bradley, so im not familiar with the Omron gear. i need to make a timer which will track the time that a machine has been running for. after 1000 hours a service light will come on. Allen Bradley retentative timers are pretty straight forward, but im having trouble grasping it with cx programmer. a point in the right direction would be appreciated. thanks
goodyear Posted June 27, 2008 Report Posted June 27, 2008 Something you might want to try is using a totalizing timer (Omron's rendition of a retentive timer), and use it to operate a counter. The totalizing timer is TTIMX (use the X if you have set the PLC to run in Binary mode, or without if in BCD mode). This kind of timer uses a reset input to clear it. Also keep in mind that most of Omron 's timers & counters decrement in value (whereas AB increments) - just a heads up. Good luck
Guest anonymous Posted June 27, 2008 Report Posted June 27, 2008 Hello BoVice, Welcome to the forum. As you are looking at 1,000 hours, I would suggest creating your own totalizer using the "Increment" instruction, pulsed by the PLCs 1 minute clock pulse. You could then compare the chosen memory area (if you use D area - say D0, this is retained) to 60,000, and if true, set the alarm bit, and at the same time reset D0 back to 0 so the whole process starts over. Totalizer.bmp Hope this helps
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now