Open gorbypark opened 7 years ago
That will not happen, if you have connected a real machine, wouldn't it? As if you home the machine, and the INI is set correctly, the soft limits are disabled. And after homing everything should be fine.
The behavior you described is known also in 2.6 or 2.7 branch.
IMHO no ISSUE.
Norbert
I think it's a bug, just not a gmoccapy bug. It seems more likely it's a JA bug.
Compare the behavior of 2.7 and master in configs/sim/axis/axis.ini
F1 F2. Turn jog speed way up. Hold cursor left to jog in -X.
In 2.7, the jog will continue for at least as long as the total soft limit range in X, but stop at some point. then, if you press cursor left again, it will continue jogging.
In master, the jog stops right where linuxcnc thinks the soft limit boundaries are.
Oh, I see that is the problem. I agree with you, it is a bug!
This is certainly a bug, and a very frustrating one for me since I have to take the motors off so I can move the axes home manually as I don't have home switches, yet.
I have encountered this behaviour on the current master build.
I have a lathe with travels defined as negative ranges (-245 to 0mm, -95 to 0mm). I cannot jog positive until homing is performed. I.e. I turn on the machine with the axes in the middle of their travel, and I cannot jog positive, as LinuxCNC seems to think that that position is 0,0. I can jog negative. LinuxCNC seems to call the startup position 0,0. I can activate homing and that works fine. However, homing is slow by necessity. I prefer to jog close to my home switches before activating the homing sequence.
I do not remember this behaviour existing in 2.7, but I can't check for sure.
Here are the steps I follow to reproduce the issue:
This is what I expected to happen:
Be able to move the position of any axis to any position while the axis is un-homed.
This is what happened instead:
Axis' stop at 0.0 (basically where ever the machine happens to be when LinuxCNC starts). Moving to a positive position works, but moving backwards it stops at 0.0
It worked properly before this:
Works in 2.7.7
Information about my hardware and software:
lsb_release -a
): Debian GNU/Linux 7.11 Wheezyuname -a
): Linux linuxcnc 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linuxscripts/get-version-from-git
): v2.8.0-pre1-2653-ge8e4116