Problems maybe when zero set to machine bed

I posted a thread some months ago here:

I was having a problem with the machine’s Z-axis sort of going backwards or maybe just raising too much when running a file created with Cut2D using the Shapeoko (mm) translator, and wondered if it wasn’t my probing macro (in Universal G-Code Sender).

With the new macro from that thread, things were working great. Till today. I needed to cut a part from an older file where the z-zero is set to the machine bed. I normally have the z-zero set to the top of the material.

So maybe that is a clue?

Current probing macro:

G21;G91;G38.2 Z-25 F100;G4P0.25;G10 L20 P1 Z6.32;G4P0.25;G0 Z10;G90

Any thoughts on that?

1 Like

What’s not working?.

After I’ve zeroed my X/Y (with Z having been zeroed via a macro), and I hit the play/run button, the X/Y seem to move in the correct direction, but the Z just keeps lifting and will run into the stop (I don’t have homing switches).

I believe this only happens when I’m running a job where the Z has been set to the bed, instead of the surface of my material.

And it doesn’t always happen, it is inconsistent.

Even running the same job?

What CAM and post processor?
Can you post the first 20 lines of your gcode?

Yep, exact same file, generated by Cut2D using the Shapeoko (mm) processor.

T1
G17
G21
G0Z2.7940
G0X0.0000Y0.0000S12000M3
G0X25.0066Y-38.4699Z2.5400
G1Z0.0000F1651.0
G1Y-1.2176Z-0.4346
G1X25.2581Y-1.1985Z-0.4376
G1X25.7934Y-1.2161Z-0.4438
G1Y-13.9760Z-0.5927
G1Y-1.2161Z-0.7415
G1X25.2581Y-1.1985Z-0.7478
G1X25.0066Y-1.2176Z-0.7507
G1Y-38.4699Z-1.1853
G1Y-1.2176
G1X25.2581Y-1.1985
G1X25.7934Y-1.2161
G1Y-38.4181
G1X25.2828Y-38.4888

With UGS I’ve had problems with metric vs imperial units - in particular, it had issues if I had switched from metric jog to standard and back the probe would take off in a weird direction after probe. I chalked it up to the probe cycle on ugs not setting the mode properly before or after the probe.

2 Likes

@cgallery Does the Z gradually move up, or does it just go up like a homing sequence?
Are you sure that your file had Z0 at the wasteboard? Looks like you’re cutting into negative Z on that file.

I suppose it is possible the machine is getting into imperial mode somehow, so a 3mm move might be a 3in move.

I guess I should try updating my build of UGS again.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.