After Home - Y axis takes off in negative =SOLVED
- jwaldo
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
07 Sep 2015 19:07 - 07 Sep 2015 23:29 #62194
by jwaldo
After Home - Y axis takes off in negative =SOLVED was created 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.
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.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7000
- Thank you received: 1172
07 Sep 2015 20:09 #62196
by BigJohnT
Replied by BigJohnT on topic After Home - Y axis takes off in negative directio
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
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.
- cncbasher
- Offline
- Moderator
Less
More
- Posts: 1744
- Thank you received: 288
07 Sep 2015 22:03 #62197
by cncbasher
Replied by cncbasher on topic After Home - Y axis takes off in negative directio
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
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.
- jwaldo
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
07 Sep 2015 22:15 #62200
by jwaldo
Replied by jwaldo on topic After Home - Y axis takes off in negative directio
BigJohnT,
Thanks, I'll spruce up the code.
cncbasher,
Thanks, I will swap a coil.
Jim.
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.
- jwaldo
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
07 Sep 2015 23:28 #62207
by jwaldo
Replied by jwaldo on topic After Home - Y axis takes off in negative directio
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.
it works!
Thank you very much for the assistance.
Jim.
Please Log in or Create an account to join the conversation.
- Doug @ Design8Studio.com
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 43
10 Jan 2023 15:53 - 10 Jan 2023 16:05 #261458
by Doug @ Design8Studio.com
Replied by Doug @ Design8Studio.com on topic After Home - Y axis takes off in negative =SOLVED
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
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.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19464
- Thank you received: 6529
10 Jan 2023 16:03 #261460
by tommylight
Replied by tommylight on topic After Home - Y axis takes off in negative =SOLVED
Video ?
Please Log in or Create an account to join the conversation.
- Doug @ Design8Studio.com
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 43
10 Jan 2023 16:05 #261463
by Doug @ Design8Studio.com
Replied by Doug @ Design8Studio.com on topic After Home - Y axis takes off in negative =SOLVED
ok, will shoot video.
Please Log in or Create an account to join the conversation.
- Doug @ Design8Studio.com
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 43
10 Jan 2023 16:27 #261467
by Doug @ Design8Studio.com
Replied by Doug @ Design8Studio.com on topic After Home - Y axis takes off in negative =SOLVED
I uploaded HAL and INI files and linked video, all over here:
www.forum.linuxcnc.org/49-basic-configur...ive-direction#261466
www.forum.linuxcnc.org/49-basic-configur...ive-direction#261466
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds