Hello Guest it is April 16, 2024, 12:15:18 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - keith.fisk

Pages: 1
1
General Mach Discussion / What does "G40.1"
« on: June 11, 2017, 01:04:49 AM »
I am new to Mach 3. What is G40.1 meant to do? It is generated by some of the New Fangled Wizards as per beginning of code below. Some G code simulators mark it as an error.

(Code by Newfangled Wizard, 11-Jun-17)
(Version 2.86)
(Program Posted for Aluminum )
G0 G49 G40.1 G17
G80 G50 G90 G98 
G21 (mm)
(***** Cut Rectangle *****)
M6 T7
M03 S27491.6

Thanks Keith

2

I am new to cnc and Mach3. I have a Wabeco F1210C set up with an ESS motion control board. Everything seems to work very well and I have managed to set it up to profile cut 2 mm thick Aluminium very cleanly with 3 mm end mills. Exactly what I was after.

How can I write a button script to use the Mach 3 Ref All button to home each axis automatically? It has me stumped. My set up has a home switch for each axis, all normally closed wired in series. The only way I have found to home each axis is one at a time from the Diagnostics screen. Starting with clicking Ref X, the table runs to its home switch then zeros the DRO. I then jog the table off the home switch and repeat for Y axis then Z axis.

I would like a button script for the Ref All button to do the same thing. I thought it should be straight forward.

DoButton(24) will run the table to the home switch and zero the DRO but I have found nothing to allow me to jog off the home switch so that I can repeat for the next axis . I thought using JogOn(axis,direction) should do the trick but no matter how I try JogOn() just seems to get ignored. What am I missing?

Thanks Keith

Pages: 1