Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Graham Waterworth on April 29, 2006, 04:36:24 AM

Title: Has Mach got user timers
Post by: Graham Waterworth on April 29, 2006, 04:36:24 AM
Hi,

I have looked in the Mach docs and can not find any reference to timers.  The thing I was looking for was some way of turning on a auto lube pump every 10 minutes for about 30 seconds.

Is there something I have missed?

Graham.
Title: Re: Has Mach got user timers
Post by: ynneb on April 29, 2006, 05:21:36 AM
Good question and a good idea to implement if it hasnt.
Title: Re: Has Mach got user timers
Post by: Brian Barker on April 29, 2006, 07:20:14 AM
There is kinda... If you do a maro pump you can turnn things on and off by looking at the time the job has been running..
Title: Re: Has Mach got user timers
Post by: fdos on April 29, 2006, 02:01:29 PM
I have looked in the Mach docs and can not find any reference to timers.  The thing I was looking for was some way of turning on a auto lube pump every 10 minutes for about 30 seconds.

Graham

You could use an external timer.  Or in the case of my current project the pump does it's own timing via a sycronous motor, which triggers the pump every 6 minutes (adjustable)

Wayne..
Title: Re: Has Mach got user timers
Post by: Graham Waterworth on April 30, 2006, 04:32:55 AM
Hi,

thanks for the ideas,  I still think a couple of timers built into mach would be a good idea, not just for lube pumps.

Graham
Title: Re: Has Mach got user timers
Post by: axilleas on July 13, 2006, 01:37:48 AM
Hi

I am trying to measure a time period looking at the time the job has been running but...

GetDRO(14) returns 0.??

Is 14 the correct Function code to read this time?

Thanks Achilles
Title: Re: Has Mach got user timers
Post by: Brian Barker on July 13, 2006, 01:40:52 PM
There are timers built into MAch3 :) I didn't know about them till the other day  :o

I think there is a bug in reading the Elapsed time... I will look into it :)

Title: Re: Has Mach got user timers
Post by: axilleas on July 13, 2006, 05:07:34 PM
I did it with time() vb script function

Thanks anyway