Hello Guest it is April 20, 2024, 12:53:29 AM

Author Topic: homing rotating axis  (Read 942 times)

0 Members and 1 Guest are viewing this topic.

homing rotating axis
« on: April 22, 2022, 03:36:56 PM »
hi
if we have rotating spindle axis , after running in speed mode we need to homing rotating axis.
when use m code include dobutton(25) the program go to first line.
how to homing on g code?

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: homing rotating axis
« Reply #1 on: April 22, 2022, 06:41:20 PM »
G91 G28 A0 will home the A axis.
Without engineers the world stops
Re: homing rotating axis
« Reply #2 on: April 23, 2022, 03:27:08 AM »
Hi Graham Waterworth
I thinks your reply solve my problem. thanks very much
but I must use g28.1 to return to home.
g28 just move axis to machin zero (No matter the microswitches). g28.1 move axis until home switch activated and the zero machin position.
thanks and regards
« Last Edit: April 23, 2022, 03:33:54 AM by mjzrpr »
Re: homing rotating axis
« Reply #3 on: April 30, 2022, 05:21:44 AM »
finaly i use mcode to solve mkx g28.1 problem. after use g28.1 ... the gcode go to first line. you must use mcode to set line and start again.


code "g28.1 A0"
while (ismoving())
sleep 1000
wend
setdro(16, xx) ' xx is line number
dooembutton(156)' set next line
dobutton(0)'start