Author Topic: Execute GCode under button in Mach3  (Read 756 times)

0 Members and 1 Guest are viewing this topic.

Offline Noahan

  • Holding
  • Posts: 1
    • View Profile
Execute GCode under button in Mach3
« on: May 20, 2018, 03:44:00 AM »
Hello Guys

Im trying to create button which can be able to execute Code after click. Below i put VB code, but it doesn't work. Please help.

'M5001 Macro to run PushStick.Tap
LoadRun("C:\Mach3\Data\Mach3\CurrentMachFile.tap")
While IsLoading()
Wend
DoOEMButton(160)