Doubt about direction of rotation in homing.

More
02 Sep 2020 02:58 #180388 by aparecido
I'm doing tests here, my plate is CNC3AX, based on L297.
Everything is working, running the engines, reading Home position sensors.
For example, I select in Linuxcnc to do the homing of the x axis, the machine can be in position 10 or -10, when homing, the motor always turns to the same side, in the case clockwise. However, it should rotate clockwise to do homing from position 10 and it should rotate counterclockwise to perform homing from position -10.
How to fix? What should I do?
I looked for this information here in the forum and in the links that describe the operation, but I didn't find it.
Thank you.

Please Log in or Create an account to join the conversation.

More
02 Sep 2020 04:59 #180394 by cmorley
Replied by cmorley on topic Doubt about direction of rotation in homing.
Your home switch must toggle - true on one side of the trip point false on the other.
Then the home switch can tell linuxcnc which side of the trip point the axis is and hence the home direction.

linuxcnc.org/docs/2.8/html/config/ini-homing.html#_prerequisite
The following user(s) said Thank You: aparecido

Please Log in or Create an account to join the conversation.

More
02 Sep 2020 11:58 #180420 by aparecido
Replied by aparecido on topic Doubt about direction of rotation in homing.

Your home switch must toggle - true on one side of the trip point false on the other.
Then the home switch can tell linuxcnc which side of the trip point the axis is and hence the home direction.
linuxcnc.org/docs/2.8/html/config/ini-homing.html#_prerequisite


Hi friend, thanks for the answer, I ended up finding how to solve. Just put - (negative sign), at the homing speed, which makes the inverter the direction of rotation of the motor.
For example, homing speed 10, it rotates clockwise. Homing speed -10, it rotates counterclockwise.
Thank you.

Please Log in or Create an account to join the conversation.

More
02 Sep 2020 19:32 #180458 by cmorley
Replied by cmorley on topic Doubt about direction of rotation in homing.
Yes if you just want to changexsearch direction then negate the search rate.
I thought you meant your home switch was in the middle of the travel and would need to search both directions.
The following user(s) said Thank You: aparecido

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum