bas(#tool,1) ;set tool
bas(#base,1) ; set base
bas(#vel_cp,1) ; set lin speed
bas(#vel_ptp,10) ;set ptp speed
bas(#acc_cp,10) ; set max acceleration lin
bas(#acc_ptp,10) ; set max acceleration ptp
$apo.cptp=100 ;
$apo.cdis=100 ;
ptp $pos_act ; replacement first ptp move
;your code:
posRel = {x 0, y 0, z 0, a 0, b 0, c 0}
posRel.x = 50
lin_REL posRel