Why there is this error

More
3 years 8 months ago - 3 years 8 months ago #265614 by Ondrej
Hello,

on my testing PC with connected motors I wanted to run the script, because I want to learn how to use probe screen, which I want to then use on my cnc machine.

I wanted to run just one program, but Iam getting an error which you can see - the part is in the middle of the machine as you can see, there is no place where it can go - I was running exactly the same script even on my cnc machine and I milled some parts, this script is just modifed with some chamfers - so there is another milling bit.

ONLY ERRORS IAM GETTING ( I was trying to fix that ) :
Linear move on line 22 would exceed Ys positive limit
Linear move on line 22 would exceed joint 1s positive limit
invalid params in linear command

 
Last edit: 3 years 8 months ago by Ondrej.

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #265621 by PCW
Replied by PCW on topic Why there is this error
What is the gcode on line 22?

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #265636 by Ondrej
Replied by Ondrej on topic Why there is this error
There is just G18 G3 X68.3 Z-0.2 I-0.6 K0.

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #265752 by andypugh
Replied by andypugh on topic Why there is this error
Is the preview shown as being entirely within the red dotted bounding box? (You might need to look from several angles)

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago - 3 years 7 months ago #266582 by Ondrej
Replied by Ondrej on topic Why there is this error
I solved this - in added variable from INI section named [CHANGE_POSITION] (# Absolute coordinates of the tool change point) there is Z position - it was out of my machine limits. 

NOW I HAVE ANOTHER QUESTION 

Can you give me some hints where can I implement changes, so when there will be needed tool change, the machine will go to probe that? 

I was trying the script with different tools on my testing computer - When the procedure with one milling bit finished, the machine went to tool change position - I clicked OK for tool changed
and from here I was expecting ( but actually I was almost sure it wont work ) the machine will go to probe the milling bit. But it just continued to mill.

To be honest I know what it should do but I am quite lost in how it works. Just if you can give me some hint, where I have to go to solve this. I think this can be in various spaces - like writing my code into g-code, change something in pncconf, hal, ini, macro script, settings in my cam (Iam using Inventor)...
Last edit: 3 years 7 months ago by Ondrej.

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago - 3 years 7 months ago #266597 by andypugh
Replied by andypugh on topic Why there is this error
A starting point for automated tool length probing would be: linuxcnc.org/docs/stable/html/remap/rema...cluding_code_m6_code
Last edit: 3 years 7 months ago by andypugh.

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum