Local Coordinate Systems

<< Click to Display Table of Contents >>

Navigation:  Processing >

Local Coordinate Systems

A Local Coordinate System (LCS) can be used to simplify readability of the G code program.  It represents a translation of the plate coordinate system in X,Y and Z.  Rotation of the coordinates is not supported.

It can also be used to implement a Primecut macro tool using absolute coordinates.

Primecut currently has LCS support for milling tools and spindle tools, but if requested support for other tool types can be implemented.  One of the most useful applications is in using it to adjust the Z-Reference plane, for example when pad milling pads of different heights.  For this reason bot spindle and mill processes in Primecut now have a Z-Ref property (defaults to 0) which is simply an easier way to access the Z coordinate the the LCS.

G52[Xxxx][Yyyyy][Zzzzz] is the RS-274 G-code used to implement an LCS in the NC program.  In Touchcut, a G52 with no parameters is interpreted as G52X0Y0Z0, ie restore coordinates to the plate coordinate system.

The X,Y and Z parameters are all optional.  When using Z-Ref, the Z component only is being modified.