Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started 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.
-
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
-
drew,
many thanks for that I,m up and running again.
mick.