Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Vortex on May 02, 2017, 03:37:48 PM
-
Hello to all ,
can someone give me some hints how to Programm a axis zero in the G code ?
So my rotary A axis got no homing position. Always I start the program I have to reset to zero by pushing the button.
Now I thought about programming it in a g code at the end of the program or maybe at the beginning ....doesn't matter ....
Is it possible to do that by a gcode ?
Thank you
-
First check General logic configuration and understand the impact of checking any of the "Rotation" boxes and the distance mode also.
Create a macro to do whatever you want to do, then call the macro in your program code.
RICH
-
Hello Rich
I only want to reset the DRO of the A axis.
So that with a new start of the program, the Dro is set to 0.
I don't understand anything about making macros
-
Is it possible to do that by a gcode ?
If you insert in your Gcode the line:
#99803=0
that will reset the A axis DRO to 0
Tweakie.