Problems with either Fusion360 or Linuxcnc

More
10 years 6 months ago #72591 by kornphlake79

N35 T1 M6
N40 T2


This looks a little weird, im not sure why you have T2 on line N40? Unless you are changing to T2 for some reason right after changing to T1.

On or near line 19 you have this

N70 G43 Z0.6 H1

You might have a problem using H1 offset if the machine thinks T2 is in the spindle, I have never tried using an offset for a different tool, and can't think of any reason I would want to.

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

More
10 years 6 months ago #72592 by andypugh

kornphlake79 wrote:

N35 T1 M6
N40 T2


This looks a little weird, im not sure why you have T2 on line N40? Unless you are changing to T2 for some reason right after changing to T1.


It makes sense with a mill, it pre-aligns the tool-changer for the next tool change.

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

More
10 years 6 months ago #72599 by kornphlake79
Interesting, I don't have a tool changer on my machine, but I thought an M code would be needed to pre-align the tool changer. I thought any subsequent T# entries would change the tool in the spindle, kind of like how I can use a G1 on line 10 of my program, then on line 11 I can enter an XYZ coordinate and the machine will move to that position without having to call G1 again on each subsequent line.

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

More
10 years 6 months ago #72609 by andypugh

kornphlake79 wrote: Interesting, I don't have a tool changer on my machine, but I thought an M code would be needed to pre-align the tool changer.


The HAL pins iocontrol.0.tool-prep-number and iocontol.0.tool-prep-pocket change when the T-command is executed.
The iocontrol.0.tool-prepare pin is set at this point, and the toolchanging system waits for iocontrol.0.tool-prepared to be set to true.

The pin iocontrol.0.tool-change goes true when the M6 command is executed and the system waits for iocontrol,0.tool-changed to be set true ti indicate the completion of the change.

In most configs the iocontrol.0.tool-prepare pin is connected directly to the iocontrol.0.tool-prepared pin, so the behavious looks rather simpler. pre-selecting a tool is only relevant to random toolchangers anyway (ie ones that put the old tool in the pocket the new tool came out of, rather than it's own home pocket)

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

More
More
10 years 6 months ago #72628 by Irritant
UPDATE

Well I have fiddled with a bunch of post setting in 360 and I seem to be getting g code that runs, not sure why. I had one file that would sometimes give me an error in lcnc and sometimes it would run, I find that a bit worrisome. My comment that Ctl-K did not work was correct at the time but it seems to work okay now, don't know why. I guess this is all learning curve. I have come from M3 and Rhinocam to 360 and lcnc and I have a lot to learn still. Thanks for all the help!

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

Time to create page: 0.171 seconds
Powered by Kunena Forum