Hello Guest it is April 19, 2024, 10:23:09 PM

Author Topic: Z axis Jogging when MACH is running :)  (Read 3185 times)

0 Members and 1 Guest are viewing this topic.

Z axis Jogging when MACH is running :)
« on: December 05, 2007, 02:32:14 PM »
Hi guys,
How can I Jog the Z axis movement when the MACH3 is running?
Example: I will install an inductive sensor in front of the Z axis (laser), When MACH3 is running and when the sensor reads a signal ON the Z axis should move upwards until the sensor signal is OFF(0) otherwise MACH3  should continue running.
Any help will be appreciated
Thank you
carlo

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: Z axis Jogging when MACH is running :)
« Reply #1 on: December 06, 2007, 11:55:37 AM »
Hi Carlo - not exactly sure what it is you're wanting but it puts me in mind of THC in plasma - any use?

Offline jimpinder

*
  •  1,232 1,232
  • Wakefield, West Yorks, UK
    • View Profile
Re: Z axis Jogging when MACH is running :)
« Reply #2 on: December 06, 2007, 12:26:43 PM »
The way to do this is with a Macro or a Brain. I haven't done much with Brains so I can't help with that.

If your laser is connected to one of the inputs to Mach3, then you can write a Macro to move the Z axis to wherever you want. Have a look at the tutorial on Scripting and it will give you the idea. Adapt it to what you want to do.
Not me driving the engine - I'm better looking.
Re: Z axis Jogging when MACH is running :)
« Reply #3 on: December 08, 2007, 03:40:16 PM »
Hi guys,
Thank you for your reply, I got it.  :o