Y axis configuration

More
2 years 2 months ago #307580 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. 

Please Log in to join the conversation.

More
2 years 2 months ago #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.

Please Log in to join the conversation.

More
2 years 2 months ago #307595 by Ismacr63
Replied by Ismacr63 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.



 
It works but i have had to change HOME_OFFSET
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 to join the conversation.

More
2 years 2 months ago #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.

Please Log in to join the conversation.

More
2 years 2 months ago #307626 by Ismacr63
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 to join the conversation.

More
2 years 2 months ago #307627 by Aciera
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.

Please Log in to join the conversation.

More
2 years 2 months ago #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.

Please Log in to join the conversation.

More
2 years 2 months ago #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.
Code:
### 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.

Please Log in to join the conversation.

More
2 years 2 months ago #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.

Please Log in to join the conversation.

Time to create page: 0.191 seconds
Powered by Kunena Forum