Hello Guest it is July 05, 2020, 09:21:17 PM

Author Topic: Has Mach got user timers  (Read 4195 times)

0 Members and 1 Guest are viewing this topic.

Offline Graham Waterworth

*
  • *
  •  2,102 2,102
  • Yorkshire Dales, England
    • View Profile
Has Mach got user timers
« 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.
Without engineers the world stops

ynneb

*
Re: Has Mach got user timers
« Reply #1 on: April 29, 2006, 05:21:36 AM »
Good question and a good idea to implement if it hasnt.
Re: Has Mach got user timers
« Reply #2 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..
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline fdos

*
  •  326 326
    • View Profile
Re: Has Mach got user timers
« Reply #3 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..

Offline Graham Waterworth

*
  • *
  •  2,102 2,102
  • Yorkshire Dales, England
    • View Profile
Re: Has Mach got user timers
« Reply #4 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
Without engineers the world stops
Re: Has Mach got user timers
« Reply #5 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
Re: Has Mach got user timers
« Reply #6 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 :)

Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Has Mach got user timers
« Reply #7 on: July 13, 2006, 05:07:34 PM »
I did it with time() vb script function

Thanks anyway