Limit switches(again)

More
9 years 3 weeks ago #100188 by Dustydevil
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

Please Log in to join the conversation.

More
9 years 3 weeks ago #100191 by PCW
Replied by PCW on 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

Please Log in to join the conversation.

More
9 years 2 weeks ago #100192 by Dustydevil
Replied by Dustydevil on 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.

Please Log in to join the conversation.

More
9 years 2 weeks ago #100196 by Dustydevil
Replied by Dustydevil on topic Limit switches(again)
It worked.
Solved some other problems by searching the forum.
Progress at last.
Massive relief.

Please Log in to join the conversation.

More
9 years 2 weeks ago #100197 by Dustydevil
Replied by Dustydevil on topic Limit switches(again)
More progress.
Switch polarity sorted.
G30.1 set.
Attached updated .hal and .ini files.

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
9 years 2 weeks ago #100256 by Dustydevil
Replied by Dustydevil on 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.

Please Log in to join the conversation.

More
9 years 2 weeks ago #100320 by andypugh
Replied by andypugh on 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)

Please Log in to join the conversation.

More
9 years 2 weeks ago #100426 by Dustydevil
Replied by Dustydevil on 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.

Please Log in to join the conversation.

Time to create page: 0.101 seconds
Powered by Kunena Forum