How to homing the A-axis again with gcode?
- israfilcaglar
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
12 Apr 2025 17:49 #326182
by israfilcaglar
How to homing the A-axis again with gcode? was created by israfilcaglar
Hello, I'm new here. I'm a bit of a novice. Sorry if I put the question in the wrong place.
I'm making a 4-axis swiss lathe. I've never had any mechanical problems. But I'm having some trouble with linuxcnc, I want you to help me.
I have a mesa 7i96s card. I control the spindle with step/dir and I want to use it both for turning and as an a-axis. I'm homing the a-axis, no problem.
I want to do this; I want the a-axis to find the ahome switch again using g28 in the program. The a-axis should rotate until it finds the switch. How do I reset the joint.3.homing pin with g-code? How can it homing again with g-code?
I'm making a 4-axis swiss lathe. I've never had any mechanical problems. But I'm having some trouble with linuxcnc, I want you to help me.
I have a mesa 7i96s card. I control the spindle with step/dir and I want to use it both for turning and as an a-axis. I'm homing the a-axis, no problem.
I want to do this; I want the a-axis to find the ahome switch again using g28 in the program. The a-axis should rotate until it finds the switch. How do I reset the joint.3.homing pin with g-code? How can it homing again with g-code?
Attachments:
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4277
- Thank you received: 1890
12 Apr 2025 18:05 #326184
by Aciera
Replied by Aciera on topic How to homing the A-axis again with gcode?
There is no way to 'unhome/rehome' a joint in gcode.
There is a modified 'orient' component that allows optional rehoming to an encoder index signal before doing the spindle orientation.
This post contains a config for spindle/rotary switching in gcode using the modified 'orient' component to rehome the spindle before switching to rotary mode. (This requires an encoder with index on the spindle)
forum.linuxcnc.org/38-general-linuxcnc-q...blem?start=20#324276
There is a modified 'orient' component that allows optional rehoming to an encoder index signal before doing the spindle orientation.
This post contains a config for spindle/rotary switching in gcode using the modified 'orient' component to rehome the spindle before switching to rotary mode. (This requires an encoder with index on the spindle)
forum.linuxcnc.org/38-general-linuxcnc-q...blem?start=20#324276
Please Log in or Create an account to join the conversation.
- israfilcaglar
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
12 Apr 2025 19:08 #326187
by israfilcaglar
Replied by israfilcaglar on topic How to homing the A-axis again with gcode?
Thank you. I will check and try.
I want to ask you a question. How can I use the M19 command with Mesa 7i96s?
Can I call the M19 gcode and position the spindle?
I want to ask you a question. How can I use the M19 command with Mesa 7i96s?
Can I call the M19 gcode and position the spindle?
Please Log in or Create an account to join the conversation.
Time to create page: 0.126 seconds