5111
General Mach Discussion / Re: Sherline 4 Axis Mill (For Laser Welding)
« on: August 19, 2013, 09:47:22 AM »
I think you should be using M calls of M1000 and upwards (not M100).
For example: M1000.m1s macro containing the command line ActivateSignal(OUTPUT1) will turn on Output #1 so all you need to do is configure Output #1 (Ports & Pins / Output Signals) to the output port and pin number of your choice. Then include the command M1000 into your GCode file to make it work.
More info on macros and the OEM Button codes can be found in this document http://www.machsupport.com/wp-content/uploads/2013/02/Mach3_V3.x_Macro_Prog_Ref.pdf
Tweakie.
For example: M1000.m1s macro containing the command line ActivateSignal(OUTPUT1) will turn on Output #1 so all you need to do is configure Output #1 (Ports & Pins / Output Signals) to the output port and pin number of your choice. Then include the command M1000 into your GCode file to make it work.
More info on macros and the OEM Button codes can be found in this document http://www.machsupport.com/wp-content/uploads/2013/02/Mach3_V3.x_Macro_Prog_Ref.pdf
Tweakie.