Limit switches(again)

More
11 Oct 2017 00:23 - 11 Oct 2017 00:25 #100188 by Dustydevil
Dustydevil created the topic: Limit switches(again)
Hello all.
Brand new to linux and baffled.

I did the motor setup yesterday with minor problems.

Trying to do homing but I keep getting an error.
'Exceeding positive soft limit on joint 2'

I have looked at the topic on the forum and the internet
(Seems a common problem).

I have tried many of the fixes but no joy.
No hair left.
I attach the ini and hal files.

Can someone have a look please.
Thanks
Attachments:
Last Edit: 11 Oct 2017 00:25 by Dustydevil. Reason: Add file
More
11 Oct 2017 00:43 #100191 by PCW
PCW replied the topic: Limit switches(again)
I'm no expert on homing but I'm pretty sure you are violating this:

Note
The home switch location, as indicated by the HOME_OFFSET variable, must be strictly within the soft limits. That is, MIN_LIMIT < HOME_OFFSET < MAX_LIMIT.


From the LinuxCNC homing docs:

linuxcnc.org/docs/html/config/ini-homing.html
More
11 Oct 2017 03:28 - 11 Oct 2017 06:18 #100192 by Dustydevil
Dustydevil replied the topic: Limit switches(again)
Thank you PWC.

So written out longhand it would read,

Max limit less than Home offset.
Home offset less than Max limit.

With numbers, Min limit -120. 0
Home offset -0.25
Max limit 0.0

I will try that this afternoon.
Last Edit: 11 Oct 2017 06:18 by Dustydevil. Reason: Got Max/Min reversed
More
11 Oct 2017 06:17 #100196 by Dustydevil
Dustydevil replied the topic: Limit switches(again)
It worked.
Solved some other problems by searching the forum.
Progress at last.
Massive relief.
More
11 Oct 2017 06:58 #100197 by Dustydevil
Dustydevil replied the topic: Limit switches(again)
More progress.
Switch polarity sorted.
G30.1 set.
Attached updated .hal and .ini files.

File Attachment:

File Name: my-mill_20...0-11.hal
File Size:4 KB

File Attachment:

File Name: my-mill_20...0-11.ini
File Size:2 KB
Attachments:
More
12 Oct 2017 05:16 #100256 by Dustydevil
Dustydevil replied the topic: Limit switches(again)
I ran a program this morning, op1 only problem was at the end,
Programm finished without command error

op2. Different tool, touch off in Z, tried to run. An error came up about exceeding a limit.

Did a ref all home, X axis moved in the wrong direction.
Also, cannot mdi command while not homed error.

Will this happen every time I change tools.
Do I have to clear all offsets and how.
What is the correct way of setting a tool ?
Thought it would be a case of touching it on top of the work and pressing a button.
Must be missing something.
More
13 Oct 2017 12:45 #100320 by andypugh
andypugh replied the topic: Limit switches(again)
It's close to that.

It might be instructive to look at the difference between Machine Position and Relative Position with each tool loaded, (and don't forget the G43)

It sounds like you might have a very big offset in one too. G10 in the MDI window can be more convenient than editing the tool table (in the background "touch off" does a G10 command)
More
16 Oct 2017 07:39 #100426 by Dustydevil
Dustydevil replied the topic: Limit switches(again)
Well it has taken a week but it finally works.
It seems it was holding on to an offset.
I put a G49 line in before the M30.
Now it works.
The reference in the wrong direction was a sticking home switch.
Looking forward to using it and learning.
Time to create page: 0.082 seconds
Powered by Kunena Forum