Coordinate shift, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 635

Advertising
background image

L-force | PLC Designer

General Editors

DMS 4.1 EN 03/2011 TD29

633

Coordinate Shift
The functions G53/54/55/56 modify an position offset that shifts the position of all
following commands. The offset is handled completely inside the NCDecoder FB. So
the coordinates of the path objects (GeoInfo data structures) that are stored in the
OutQueue of the Decoder are offset. Basically the functions G54,55,56 operate not
only with X/Y/Z axis but also with all additional linear axis (P,Q,U,V,W).

Allowed syntax
G53
G54 X Y Z A B C P Q U V W
G55 X Y Z A B C P Q U V W
G56 X Y Z A B C P Q U V W

Parameters of the command

X Y Z A B C P Q U V W

Offset value


Via the following commands of DIN66025 the shift of coordinate system can be
handled:
G53
This command ends the shift coordinate function and the coordinate system is set to
the previous one.
G54 :
It sets an (absolute) offset in the CNC program (so all following X/Y/Z coordinates are
offset with the specified position)
Example:

N0 G0 X100 Y100
N0 G54 X50 Y50 (set offset 50/50)
N0 G1 X0 Y0 (movement to 50/50)
N0 G54 X100 Y100 (set offset 100/100)
N0 G1 X0 Y0 (movement to 100/100)
N0 G53 (set offset to 0)
N0 G1 X0 Y0 (movement to 0/0)

Advertising