Hello Guest it is April 30, 2024, 02:49:00 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - thomash

Pages: 1
1
Hello,

I'm just starting to learn G code and I'm testing out G52 but I'm having unintended movement.  Here is an example:

G52 X0 Y0 Z0
G1 X0 Y0
G1 Z5
G52 X-200 Y200
G1 x0 y0
G1 z0
G52 X0 Y0 Z0
G0 Z15

At the last G0 Z15, it moves to X0 Y0 at the same time, making a diagonal movement instead of just going straight up in Z.

Is this normal?

Then, in my initialization:
G52 X0 Y0 Z0
G1 X0 Y0
Wouldn't this be dangerous, if a previously run program had set G52 Z to something different, and if I called G1 X0 Y0, it would move in the Z direction?

So then, if I wanted to use G52, my next line that contains a G0 or G1 should contain at least the values for the directions that I changed in the G52?

And if I wanted to have something like:
G52 X10 Y10
Z15

I should instead change this to?:
Z15
G52 X10 Y10


Does Mach3 remember the last used G52 offsets on program start, next loaded G-gode, or after emergency stop?  So do I need to use G52 X0 Y0 Z0 in the beginning of all my programs?



thanks

Pages: 1