Y axis configuration
12 Aug 2024 18:37 #307580
by Ismacr63
Y axis configuration was created by Ismacr63
Hi, I've been trying to configure my Y axis on a bf20 type milling machine for a few days now.
I've read a lot on the forum, but I'm not able to configure it the way I'd like.
I understand that the Y axis, when the spindle moves away from me (or the table moves towards me) should be positive. That's what my Y axis does
I have an inductive sensor installed as a switch for both limits and home. When I search for home it goes to the negative side and I want it to go to the positive side.
I've tried HOME_SEARCH_VEL = 10.000000 and it goes to the positive side, but after home it always hits the hard limits when I get close.
Another issue is that I'd like to change the direction I move the table on the Y axis with the keys. When I press the up arrow I'd like the table to move away from me.
I've read a lot on the forum, but I'm not able to configure it the way I'd like.
I understand that the Y axis, when the spindle moves away from me (or the table moves towards me) should be positive. That's what my Y axis does
I have an inductive sensor installed as a switch for both limits and home. When I search for home it goes to the negative side and I want it to go to the positive side.
I've tried HOME_SEARCH_VEL = 10.000000 and it goes to the positive side, but after home it always hits the hard limits when I get close.
Another issue is that I'd like to change the direction I move the table on the Y axis with the keys. When I press the up arrow I'd like the table to move away from me.
Please Log in or Create an account to join the conversation.
12 Aug 2024 19:18 #307583
by Mecanix
Replied by Mecanix on topic Y axis configuration
#*** AXIS_Y *******************************
[AXIS_Y]
MIN_LIMIT = 0
MAX_LIMIT = 144
MIN_LIMIT = -144
MAX_LIMIT = 0
[JOINT_1]
MIN_LIMIT = 0
MAX_LIMIT = 144
MIN_LIMIT = -144
MAX_LIMIT = 0
Rename attachement keybingdings.py.txt to keybingdings.py
Place into your /config/ folder.
Hope this helps.
[AXIS_Y]
MIN_LIMIT = -144
MAX_LIMIT = 0
[JOINT_1]
MIN_LIMIT = -144
MAX_LIMIT = 0
Rename attachement keybingdings.py
Place into your /config/ folder.
Hope this helps.
The following user(s) said Thank You: Ismacr63
Please Log in or Create an account to join the conversation.
12 Aug 2024 20:56 #307595
by Ismacr63
HOME_SEARCH_VEL
HOME_LATCH_VEL
for positive values and everything perfect.
I think the same thing is going to happen to me with the X and Z axes.
When I install the limit sensors
i will test it and comment.
thank you so much.
Replied by Ismacr63 on topic Y axis configuration
It works but i have had to change HOME_OFFSET#*** AXIS_Y *******************************
[AXIS_Y]
MIN_LIMIT = 0
MAX_LIMIT = 144
MIN_LIMIT = -144
MAX_LIMIT = 0
[JOINT_1]
MIN_LIMIT = 0
MAX_LIMIT = 144
MIN_LIMIT = -144
MAX_LIMIT = 0
Rename attachement keybingdings.py.txt to keybingdings.py
Place into your /config/ folder.
Hope this helps.
HOME_SEARCH_VEL
HOME_LATCH_VEL
for positive values and everything perfect.
I think the same thing is going to happen to me with the X and Z axes.
When I install the limit sensors
i will test it and comment.
thank you so much.
Please Log in or Create an account to join the conversation.
12 Aug 2024 21:04 #307597
by Mecanix
Replied by Mecanix on topic Y axis configuration
Yeah can be confusing those MIN/MAX, pos/neg, sensors, logic levels, it's endless. Took me a while to set-up my mill correctly back when I've introduced Lcnc to it.
Shout out if you're stuck. Pleasure btw, be safe and have fun.
Shout out if you're stuck. Pleasure btw, be safe and have fun.
The following user(s) said Thank You: Ismacr63
Please Log in or Create an account to join the conversation.
13 Aug 2024 12:35 #307626
by Ismacr63
Can you tell me with an example how to do a key remapping?
Replied by Ismacr63 on topic Y axis configuration
Yeah can be confusing those MIN/MAX, pos/neg, sensors, logic levels, it's endless. Took me a while to set-up my mill correctly back when I've introduced Lcnc to it.
Shout out if you're stuck. Pleasure btw, be safe and have fun.
Can you tell me with an example how to do a key remapping?
Please Log in or Create an account to join the conversation.
13 Aug 2024 12:39 #307627
by Aciera
See bottom of first answer and the attached file there.
Replied by Aciera on topic Y axis configuration
Can you tell me with an example how to do a key remapping?
See bottom of first answer and the attached file there.
The following user(s) said Thank You: Ismacr63
Please Log in or Create an account to join the conversation.
13 Aug 2024 13:01 #307630
by Ismacr63
Replied by Ismacr63 on topic Y axis configuration
Yes, I did that. The file with the modification that the colleague made works perfectly.
I am referring to an example of how the file is modified to reassign a key, so that I can reassign the keys that I need.
I am referring to an example of how the file is modified to reassign a key, so that I can reassign the keys that I need.
Please Log in or Create an account to join the conversation.
13 Aug 2024 13:32 #307632
by Aciera
Replied by Aciera on topic Y axis configuration
Not sure if you are aware of this but these are the only relevant lines in the posted file.
Everything else are comments as examples.
So basically you need to 'unbind' the keys you want to reassign and then assign the function.
### unbind a key first (if needed), then rebind to your new thing, for example
root_window.unbind('<Left>')
root_window.unbind('<Right>')
root_window.unbind('<Down>')
root_window.unbind('<Up>')
# then rebind it to your new command
# bind right and left keys to joint 0, usually x
bind_axis("Right", "Left", 0)
# bind down and up keys to joint 1, usually y
bind_axis("Up", "Down", 1)
Everything else are comments as examples.
So basically you need to 'unbind' the keys you want to reassign and then assign the function.
The following user(s) said Thank You: Ismacr63
Please Log in or Create an account to join the conversation.
13 Aug 2024 20:41 - 13 Aug 2024 20:45 #307660
by Ismacr63
Replied by Ismacr63 on topic Y axis configuration
Finally, I have all the axes set up correctly. I also managed to remap the X axis keys
Thank you all very much for the help.
Thank you all very much for the help.
Last edit: 13 Aug 2024 20:45 by Ismacr63.
Please Log in or Create an account to join the conversation.
Time to create page: 0.130 seconds