After Home - Y axis takes off in negative =SOLVED

More
07 Sep 2015 19:07 - 07 Sep 2015 23:29 #62194 by jwaldo
Thank goodness for this forum.

Homeing In Axis,
Z axis first, up, finds home switch, down till switch off.
X axis, negative direction, finds home switch, backs off.
Y axis, negative direction, finds home switch backs off.

I would assmue the machine is homed at this point.

Immediately, the Y axis takes off in the negative direction (I'm glad I put those limit switches in)

Loaded G code program contains nothing (I wrote a blank program)
%
(Test)
(does nothing)
%

Interesting, the cone in the Axis display moves correctly for the Z axis. For the Y and Z it moves the wrong way (moves positive when gantry router is moving negative). If I switch direction in StepConf - then it moves the wrong way to find the home switches.

I'm stuck.

Thanks,
Jim.
Last edit: 07 Sep 2015 23:29 by jwaldo.

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

More
07 Sep 2015 20:09 #62196 by BigJohnT
Change the sign of the homing velocity to reverse direction.

BTW, understand what happens or rather what does not happen when you use the % to wrap your code. Much safer to use a Program End and a proper Preamble.

linuxcnc.org/docs/html/gcode/m-code.html#_m2_m30_program_end

gnipsel.com/linuxcnc/g-code/gen01.html

JT

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

More
07 Sep 2015 22:03 #62197 by cncbasher
just for info,

try and change the mechanics of your build rather than rely on using invert or - parameters
makes it so much easier later on , when you start add more complexitys

i.e reverse the sense of the stepper motor direction by swapping a+ coil etc
so the direction sense becomes correct .

ok it's a bit more work but pays dividends later
then the last resort is to use negative values in your ini

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

More
07 Sep 2015 22:15 #62200 by jwaldo
BigJohnT,

Thanks, I'll spruce up the code.

cncbasher,

Thanks, I will swap a coil.

Jim.

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

More
07 Sep 2015 23:28 #62207 by jwaldo
Swapped the coils, gate it a negative home velocity, and a real CNC program and

it works!

Thank you very much for the assistance.

Jim.

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

More
10 Jan 2023 15:53 - 10 Jan 2023 16:05 #261458 by Doug @ Design8Studio.com
Hey, I'm experiencing an issue in dual Y axis homing that is basically what was described here. The answer is a bit confusing to me. Should I discuss here? or post a new topic?

EDIT: Since this topic is already marked as solved, I started a new topic here:
www.forum.linuxcnc.org/49-basic-configur...n-negative-direction
Last edit: 10 Jan 2023 16:05 by Doug @ Design8Studio.com.

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

More
10 Jan 2023 16:03 #261460 by tommylight

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

More
10 Jan 2023 16:05 #261463 by Doug @ Design8Studio.com

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

More
10 Jan 2023 16:27 #261467 by Doug @ Design8Studio.com

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

Time to create page: 0.148 seconds
Powered by Kunena Forum