Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: bankshot on March 08, 2024, 12:48:46 AM
-
1...installed camera.. use button "set variable position" "go to variable position" and "stop teach" wrote my code,,when i run, i get compile error syntax error
2... i have new buttons installed in millbitmaps folder, dont know how to post them in place of the above mentioned buttons,, the new one are jpeg files
-
pls post your code
-
G00 Z .100
G00 X0 Y0
FOR ONE BUTTON
GOO Z .100
G00 X-.3415
G00 Y -3.140
FOR ANOTHER BUTTON
NEXT BUTTON SAME AS 2ND ONE WITH POSITIVE INSTEAD OF NEGATIVE MONVES
-
to excecute G-Code via button script the instruction should be for example:
Code("G00 Z.100")
Code("G00 X0 Y0")
see:
https://www.machsupport.com/wp-content/uploads/2013/02/Mach3_V3.x_Macro_Prog_Ref.pdf
for reference.
-
thanks