beautypg.com

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

Page 343

background image

7. Description of the commands

7−77

Festo P.BE−SPC200−EN en 0901d

M38

Load actual value

ć permitted in operating modes: Start/Stop

Nn M38 @ X [Y, Z, U]

n

Register number

n = 0 ... 99

Effect

The current position is loaded into the specified position register

Example

N003 G00 G91 X100

N004 M38 @1 X

N005 G29 @0 X@1

N006 G00 G90 X@0

;Move relatively 100 mm further
;Load current position into position register 1
;of the X−axis
;Form the sum of the two position registers 0
;and 1, save result in position register 0
;Move to position in register 0