runtime keeper

Smallfry251

Member
Join Date
May 2014
Location
Mobile,AL
Posts
5
Hello all, Im trying to record the downtime of our machine and i also want to store this data and hopefully put it on a panelview plus so operators, supervisors, whomever can see it whenever... I know I need a GSV WALLCLOCKTIME and im thinking machine run XIC ONS then maybe a JSR to a new routine which will have the data store in it but the wallclocktime is just a clock not a stopwatch which is basically what I need is there a math function Im not seeing that will subtract time??? I guess I need to clarify that this is AB controllogix with RSLogix 5000 any help will be greatly appreciated.
 
The WALLCLOCKTIME essentially gives you access to the processors clock which might not be what you want. I'd probably just setup some timers and counters to keep track of down time. You could add a timer with a 60 second preset (60000), every time it's done trigger a counter. The counter will keep track of minutes. You could use your minute counter to trigger another counter to keep track of hours.
 
Thanks for the reply dmroeder and thats great simpler is better!! Will that affect the scantime? I wouldnt want a hangup from my timers to shut the machine down..
 
Adding another routine with some new tags to keep track of your downtime will add an unmeasurable amount of scan time. The only thing you typically have to worry about with timers and counters shutting down your machine is moving a negative value into their preset (which will fault the processor). If you are not moving values into the presets then you shouldn't have much to worry about.

If you come up with some code and want someone to look it over before adding it then post it here (zip it first or host on something like dropbox). If you don't want to post your entire program then you can just export your new routine and post that instead.
 

Similar Topics

hello s7-400h and wincc are connected to each other via Ethernet. I need help on how to do time synchronization
Replies
0
Views
47
when i tried to go online, why its showing lie this
Replies
1
Views
87
I have been trying to add a button to an HMI Panelview version 5.1 for a couple days. Each time I download I get no data in my buttons, only...
Replies
0
Views
206
Hi there! I got a HMI terminal Panelview Plus 7 (PN-332439 / CAT 2711P-T12W21D8S) which work on a APP 8.00 i'm trying to modify with my FT View...
Replies
9
Views
680
Hello ladies and gents I’ve hit a road block on a project, it’s AB for preface this is a converting line including Winder tailsealer and...
Replies
4
Views
768
Back
Top Bottom