Hi,
I want to move X,Y&Z axis individually by 0.5mm incrementally using new buttons on the screen,I would like to know how to action this,
The movement would be in both directions (+&-),
thanks in anticipation
Printable View
Hi,
I want to move X,Y&Z axis individually by 0.5mm incrementally using new buttons on the screen,I would like to know how to action this,
The movement would be in both directions (+&-),
thanks in anticipation
What kind of CNC control software are you asking this about? They all work somewhat differently.
In Mach3, using a screen designer, add a button that calls an M Code, like M555
Create a macro called M555.m1s, with this code:
Code:DIM XMove
XMove = 0.5
CurrentAbsInc = GetOemLED(48) ' Get the current G90/G91 state
Code "G91"
Code "G0 X" & XMove
While IsMoving()
Wend
If CurrentAbsInc = 1 Then
Code "G90"
End If
Yes, 6 buttons, and 6 macros.
hi,
thanks for the info,
do you know if its poss to incorporate a counter either on the button or adjacent to it to register how many increments have been used,
v new to this, so green as grass!!!,
all help/advice much appreciated,
thanks
Yes. You need to add a user label, and read it when you press the button, then add the increment and re-write to it.