After Home - Y axis takes off in negative =SOLVED

More
11 years 1 month ago #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.

Please Log in to join the conversation.

More
11 years 1 month ago #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 to join the conversation.

More
11 years 1 month ago #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 to join the conversation.

More
11 years 1 month ago #62200 by jwaldo
BigJohnT,

Thanks, I'll spruce up the code.

cncbasher,

Thanks, I will swap a coil.

Jim.

Please Log in to join the conversation.

More
11 years 1 month ago #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 to join the conversation.

More
3 years 9 months ago #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

Please Log in to join the conversation.

More
3 years 9 months ago #261460 by tommylight

Please Log in to join the conversation.

More
3 years 9 months ago #261463 by Doug @ Design8Studio.com

Please Log in to join the conversation.

More
3 years 9 months ago #261467 by Doug @ Design8Studio.com

Please Log in to join the conversation.

Time to create page: 0.204 seconds
Powered by Kunena Forum