beautypg.com

Festo Кабели и принадлежности User Manual

Page 331

background image

7. Description of the commands

7−65

Festo P.BE−SPC200−EN en 0901d

G91

Relative dimension specification

ć permitted in operating modes: Start/Stop, Record Select

Nn G91 X [Y.., Z.., U..]

n

Position in [mm] or [°]

n = ±9999.99

@n

Position in [mm] or [°] saved in the position register @n

n = 0 ... 99

Effect

Switches to relative positioning and moves relatively at the current speed and, if
applicable, with ramp to the specified position. All the subsequent positions in the
program will be interpreted as relative dimensions. The positioning mode remains
valid until a new positioning mode is set (see also under G00/G01/G02).

Example

N000 G00 G91 X200

N001 X100

N002 G90 X@5 Y@1

N003 G91 X–100

N004 X200

;Move relatively at highest possible
;speed 200 mm further
;Move relatively at highest possible
;speed 100 mm further
;Move to position from register 5 and register 1
;Move 100 mm in a negative direction
;Move 200mm in a positive direction

Remark

The following is set during positioning:
Ĉ absolute positioning (G90)
Command G91 has a saving effect. It remains effective until it is cancelled by
command G90.
Example:

N010 G91 X100

N011 X200

N012 G90 X300

With WinPISA programming, positions can also be specified symbolically. For this
purpose, the position values and position names are entered in the position list.
Example:

N013 G91 X@ABHOL_POS

N014 X@ABLAGE_POS