Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: getget on April 20, 2015, 03:22:57 PM

Title: Create my own G function ?
Post by: getget on April 20, 2015, 03:22:57 PM
Hello, I'm a teacher and we are bulding a machine (automatic riveter) with my students.

We need to move Z axis down at slow speed until a force sensor tells us the rivet is well riveted.

Is it possible to create a new G function in order to do this ?

Should we use Macros or Brain ?

Thank you.
Title: Re: Create my own G function ?
Post by: TPS on April 20, 2015, 04:12:43 PM
G31 is your friend
Title: Re: Create my own G function ?
Post by: getget on April 20, 2015, 07:26:31 PM
Thank you, it's exactly what we needed  ;D