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

Page 636

Advertising
background image

L-force | PLC Designer

General Editors

634

DMS 4.1 EN 03/2011 TD29

G55:
It adds to the existing offset the values of X/Y/Z.
Example:

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

G56 :
It modifies the internal offset in the decoder so that the current position is X/Y/Z.
Example:

N0 G0 X100 Y100
N10 G56 X0 Y0 (actual Position (100/100) becomes (0/0))
N20 G1 X10 (movement to (110/100))
N30 G56 X20 Y0 (actual Position (110/100) becomes (20/0))
N40 G1 X0 (movement to (90/100))

Note: G54, G55, and G56 change the offset only for those coordinates that are given
as parameters. The remaining offset coordinates are unchanged.

Example:

G54 X10 Y20 Z30 U7 ( offset: X=10, Y=20, Z=30, U=7 )
G55 X-10 U7 ( offset: X= 0, Y=20, Z=30, U=14 )

Advertising