- Posts: 541
- Thank you received: 0
Error: Program Exceeds Machine Maximum, but gcode looks fine
3 years 4 months ago #273111
by MaHa
Replied by MaHa on topic Error: Program Exceeds Machine Maximum, but gcode looks fine
If you post the g-code, i can have a look at it
Please Log in to join the conversation.
- re_relentlessly
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 0
3 years 4 months ago #273117
by re_relentlessly
Replied by re_relentlessly on topic Error: Program Exceeds Machine Maximum, but gcode looks fine
Here is the gcode
Please Log in to join the conversation.
3 years 4 months ago #273124
by MaHa
Replied by MaHa on topic Error: Program Exceeds Machine Maximum, but gcode looks fine
In your file, there was before toolchange 'M6 G43' which produced an error 'no tool prepared'. I replaced that by G0 G53 G49 Z0.
The simulation finished without problem. The x and y offset of the part is a bit off, maybe difficult to touchoff.
Maybe your workflow with offset / toollength has a fault.
In my environment when i start a new job:
The simulation finished without problem. The x and y offset of the part is a bit off, maybe difficult to touchoff.
Maybe your workflow with offset / toollength has a fault.
In my environment when i start a new job:
- G49
- Touch off first tool Z
- G43
- Touch off Z to workpiece, G54
- Touch off X and Y also
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
- re_relentlessly
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 0
3 years 4 months ago #273132
by re_relentlessly
Replied by re_relentlessly on topic Error: Program Exceeds Machine Maximum, but gcode looks fine
Ok, i will go test that out, but before I do
1. the x,y,z gizmo should be at the g54 touch off point? (after touching off the x,y,z 0 of the part the gizmo should be located at g54 0,0,0)
2. how do you load tools without T20 M06 G43? (which for me also invokes the auto tool length measuring)
3. I do x,y g54 first because I have to load a edge finder into the spindle, and then load the tool (which means re measuring tool length), would the touch off order matter?
1. the x,y,z gizmo should be at the g54 touch off point? (after touching off the x,y,z 0 of the part the gizmo should be located at g54 0,0,0)
2. how do you load tools without T20 M06 G43? (which for me also invokes the auto tool length measuring)
3. I do x,y g54 first because I have to load a edge finder into the spindle, and then load the tool (which means re measuring tool length), would the touch off order matter?
Please Log in to join the conversation.
3 years 4 months ago #273193
by MaHa
Replied by MaHa on topic Error: Program Exceeds Machine Maximum, but gcode looks fine
I was talking about this, from the 2nd toolchange it´s there. If it works for you, just keep it, but normally M6 without tool selected gives an error.
If you can post this remap of M6: ngc=tool-change-indymill
You don´t have a prolog and epilog in your remap. Your configuration is far from how i setup my machines.
Attachment not found
If you can post this remap of M6: ngc=tool-change-indymill
You don´t have a prolog and epilog in your remap. Your configuration is far from how i setup my machines.
Please Log in to join the conversation.
- re_relentlessly
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 0
3 years 4 months ago #273214
by re_relentlessly
Replied by re_relentlessly on topic Error: Program Exceeds Machine Maximum, but gcode looks fine
I have attached the 4 files that form the remap
based on : M6 Tool Change Remapping with Tool Length Measurement - LinuxCNC
based on : M6 Tool Change Remapping with Tool Length Measurement - LinuxCNC
Please Log in to join the conversation.
3 years 4 months ago #273247
by MaHa
Replied by MaHa on topic Error: Program Exceeds Machine Maximum, but gcode looks fine
I had a look at the files, for me it's too complicated for simple tool touch off, and i can't help. As your machine has Z endswitch, you could use the gmoccapy way for tool touch off. It's well documented in the manual, about ini entrys and workflow. Change.ngc you can get from sim.gmoccappy, under macros.
Please Log in to join the conversation.
Time to create page: 0.129 seconds
