1
VB and the development of wizards / M3 and M5 not working
« on: June 04, 2012, 10:25:15 AM »
I have a small VB program assigned to a button that does a cycle start [DoOEMButton(1000)] and runs a Gcode file already loaded into Mach. Once the Gcode run is finished the VB code checks an input and if it is active, it loops back and does another cycle start. The issue is: when I run the Gcode manually (click on the cycle start button) everything works as it should, however when the cycle start comes from the VB code the M3 (spindle on) and M5 (spindle off) functions do not work. Any ideas?