Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: mongkol on June 27, 2011, 02:52:51 AM
-
Hi Experters,
I have some problem on spindle motor and the torch of plasma machine.
I know the macro command of spindle is m03 " CW running" and m05 " stop running".
I know the macro command of torch fire is same as spindle command ---> m03 is fire and m05 is stop fire.
I have both spindle motor and the torch of plasma machine on Z- axis.
If I write m03 on MDI page, the spindle motor will rotate and the torch fire also.
Is it possible to separate command ?
If I write m03 on MDI page, the spindle motor can rotate but the torch can not fire.
Or If I write mxx on MDI page, the spindle motor can not rotate but the torch can fire.
How to write the command of macro ?
Pls help
Mongkol
-
If you're not using flood or mist, put the spindle on one of those outputs, then turn it on with an M7/8 and off with an M9. Not sure if you can do that with a VFD spindle, but it works fine with a spindle, or any other device, that just needs a simple on/off.