- Configuring LinuxCNC
- Advanced Configuration
- Tuning stepper motors with encoder or glass scale feedback
Tuning stepper motors with encoder or glass scale feedback
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 209
- Thank you received: 14
29 Jun 2025 20:33 #331014
by JackRay
Replied by JackRay on topic Tuning stepper motors with encoder or glass scale feedback
what do you mean by a configuration problem, in a .hal file?
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18794
- Thank you received: 5192
29 Jun 2025 21:05 #331015
by PCW
Replied by PCW on topic Tuning stepper motors with encoder or glass scale feedback
Homing configuration is in both the hal file (index and home switch handling) and the ini file
(type of homing, directions, speeds etc)
linuxcnc.org/docs/html/config/ini-homing.html
(type of homing, directions, speeds etc)
linuxcnc.org/docs/html/config/ini-homing.html
Please Log in or Create an account to join the conversation.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 209
- Thank you received: 14
30 Jun 2025 20:08 #331045
by JackRay
Replied by JackRay on topic Tuning stepper motors with encoder or glass scale feedback
Are you saying that my .ini file is misconfigured and that's why I can't detect my Z homing?
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18794
- Thank you received: 5192
30 Jun 2025 21:10 #331049
by PCW
Replied by PCW on topic Tuning stepper motors with encoder or glass scale feedback
Did you check the home switch operation?
That is, does joint.2.home-sw-in go true (change from red to yellow in halshow)
when you manually trip the home switch?
That is, does joint.2.home-sw-in go true (change from red to yellow in halshow)
when you manually trip the home switch?
Please Log in or Create an account to join the conversation.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 209
- Thank you received: 14
01 Jul 2025 17:07 #331069
by JackRay
Replied by JackRay on topic Tuning stepper motors with encoder or glass scale feedback
my configuration works very well on the x,y,z axes with on/off switches. homming is all done at the same time without any problem. the problem is only on this rotary axis where i have an encoder with which i want to use the Z phase to do my homing.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18794
- Thank you received: 5192
01 Jul 2025 18:24 #331070
by PCW
Replied by PCW on topic Tuning stepper motors with encoder or glass scale feedback
OK, that's probably to be expected since there does not seem to be any B axis home switch
and you have setup a homing scheme that requires that switch.
If you don't have a home switch on B, and you want to home to index, you need to setup
Index-only homing:
linuxcnc.org/docs/html/config/ini-homing.html#_configuration
and you have setup a homing scheme that requires that switch.
If you don't have a home switch on B, and you want to home to index, you need to setup
Index-only homing:
linuxcnc.org/docs/html/config/ini-homing.html#_configuration
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- Tuning stepper motors with encoder or glass scale feedback
Time to create page: 0.091 seconds