Axis Hangup!
27 Feb 2010 15:02 #2089
by eslavko
Axis Hangup! was created by eslavko
Hello...
Here is code that hangup Axis.
Seems that axis dryrun that code and make infiniti loop as #5070 parameter is not updated (probe trigered)
How to overcome that?
Here is code that hangup Axis.
G21
G91
F80
o<YSearch> do
G38.3 Y1
o<YSearch> while[#5070 eq 0]
M02
Seems that axis dryrun that code and make infiniti loop as #5070 parameter is not updated (probe trigered)
How to overcome that?
Please Log in or Create an account to join the conversation.
27 Feb 2010 15:19 - 27 Feb 2010 16:09 #2091
by acemi
Replied by acemi on topic Re:Axis Hangup!
Why do you need while loop here?
Last edit: 27 Feb 2010 16:09 by acemi.
Please Log in or Create an account to join the conversation.
27 Feb 2010 15:44 #2092
by eslavko
Replied by eslavko on topic Re:Axis Hangup!
The idea of code is to make move until probe hit object.
As position is not known I just make progres until get hit.
If I want just one move then move should span trought entire table. But If the probe is in midle of table I got soft limit error.
As position is not known I just make progres until get hit.
If I want just one move then move should span trought entire table. But If the probe is in midle of table I got soft limit error.
Please Log in or Create an account to join the conversation.
27 Feb 2010 16:08 #2093
by acemi
Replied by acemi on topic Re:Axis Hangup!
You can use G90 and an end position before the limit point.
Please Log in or Create an account to join the conversation.
27 Feb 2010 16:19 #2095
by eslavko
Replied by eslavko on topic Re:Axis Hangup!
Where to read axis limit?!? And current position?!?
Please Log in or Create an account to join the conversation.
27 Feb 2010 18:19 #2097
by acemi
Replied by acemi on topic Re:Axis Hangup!
www.linuxcnc.org/docs/devel/html/gcode_m...38.2:-Straight-Probe
You can read the current position after the probing from #5061 ... #5069
You can get the probing result from #5070
The axis limits are in your INI file
You can read the current position after the probing from #5061 ... #5069
You can get the probing result from #5070
The axis limits are in your INI file
Please Log in or Create an account to join the conversation.
27 Feb 2010 20:31 #2101
by eslavko
Replied by eslavko on topic Re:Axis Hangup!
Here are misunderstanding I think...
I Know that axis limits are in INI. I wrote that. But how to read that value inside Gcode?
I know that #5061 to #5070 are probe variable.
But how to determine current position (before probe move?)
So let's go trought example.
I jog machine inside some hole. Now I want to find center of that hole.
1. Remember current coordinate (how to do that?)
2. Go slow Y+ from current position until probe hit or soft limit reached (remember position #5061.....)
3. Go rapid to coordinate from step 1 (back to start)
4. Go slow Y- (same as step 2)
5. calculate midpoint from step 2 and 4 and go rapid here
6. do same thing for X axis (this is precise)
7. repeat again for Y axis (now Y is precise too)
show message that's done and show diameter too...
Holecenter program's I found all require to tell hole diameter and position. I'm shure that's not necessary. Just don't know how to deal it.
Slavko.
I Know that axis limits are in INI. I wrote that. But how to read that value inside Gcode?
I know that #5061 to #5070 are probe variable.
But how to determine current position (before probe move?)
So let's go trought example.
I jog machine inside some hole. Now I want to find center of that hole.
1. Remember current coordinate (how to do that?)
2. Go slow Y+ from current position until probe hit or soft limit reached (remember position #5061.....)
3. Go rapid to coordinate from step 1 (back to start)
4. Go slow Y- (same as step 2)
5. calculate midpoint from step 2 and 4 and go rapid here
6. do same thing for X axis (this is precise)
7. repeat again for Y axis (now Y is precise too)
show message that's done and show diameter too...
Holecenter program's I found all require to tell hole diameter and position. I'm shure that's not necessary. Just don't know how to deal it.
Slavko.
Please Log in or Create an account to join the conversation.
- eFalegname
- Offline
- Elite Member
Less
More
- Posts: 253
- Thank you received: 30
15 Apr 2014 20:03 - 15 Apr 2014 22:11 #45975
by eFalegname
Replied by eFalegname on topic Re:Axis Hangup!
I know, this is an old post, but...
1rst movement-
G38.3 Z0.001 and:
# 5061; #5062; #5063...become populated at the current position without error message, or: # 5420-5428 - current position including offsets (X Y Z A B C U V W).
1rst movement-
G38.3 Z0.001 and:
# 5061; #5062; #5063...become populated at the current position without error message, or: # 5420-5428 - current position including offsets (X Y Z A B C U V W).
Last edit: 15 Apr 2014 22:11 by eFalegname.
Please Log in or Create an account to join the conversation.
Time to create page: 0.112 seconds