1
G-Code, CAD, and CAM discussions / Mach3 2,5D Z-axis for activation/deactivation during X,Y move
« on: March 13, 2018, 02:58:06 AM »
Hi everybody.
I´m looking for help with a nailgun machine.
I need to activate and deactivate an output for an exact amount of time (50-100 ms) during movement of X or Y axis, by moving the 2,5D Z-axis
Im trying to do that manually for each activation with code like
G1 G91 X40 f2000
G1 G91 X50 Z1 F2000
G1 G91 X60 Z-1 F2000
... and repeat this on every 50 x-y move
But its not effective.
I was thinking of using the macropump.
Maybe with an IF (M3 is active) statement and While is Moving combination.
But I dont have any solution.
Im looking forward for your help or suggestions.
Thanks.
Robert
I´m looking for help with a nailgun machine.
I need to activate and deactivate an output for an exact amount of time (50-100 ms) during movement of X or Y axis, by moving the 2,5D Z-axis
Im trying to do that manually for each activation with code like
G1 G91 X40 f2000
G1 G91 X50 Z1 F2000
G1 G91 X60 Z-1 F2000
... and repeat this on every 50 x-y move
But its not effective.
I was thinking of using the macropump.
Maybe with an IF (M3 is active) statement and While is Moving combination.
But I dont have any solution.
Im looking forward for your help or suggestions.
Thanks.
Robert