Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: mick on October 14, 2007, 10:07:04 AM

Title: Mach3 turn not showing tool number
Post by: mick on October 14, 2007, 10:07:04 AM
Hello everyone,
                     i have been trying to write a little vb script ,but the tool number is not displayed,the gcode stops and waits
at M6 Txx for cyclestart.

                       using :   tool= getselectedtool()    allways shows zero.

This is not so in Mach3 mill.

HELP please.                           thanks
                                                      mick.

         
Title: Re: Mach3 turn not showing tool number
Post by: drew on October 14, 2007, 11:49:35 AM
For turn use 'tXXYY' where XX tool number, YY offset number for example "t0101" no M6 needed.
To set the tool number DRO use VB function  "SetCurrentTool(tool)" where var. 'tool' is the selected tool.
If you dont want mach to stop for a tool change there are options for that in the configure menu.
  Drew
Title: Re: Mach3 turn not showing tool number
Post by: mick on October 14, 2007, 12:59:45 PM
drew,
           many thanks for that I,m up and running again.

                                                                            mick.