hello,
I´m programming with a kr16 controlled by krc2.
I'm doing a multipass program for welding application.simply I want to repeat the cycle between two points 50 times but increasing the height one millimeter on each pass. normally I program in fanuc and in that case it is done by PR but in KUKA i don´t know how . i have programmed the loop and cycle counter but if someone could tell me how to increase height 1 mm each pass between P1 and P2 please? the code that I have scheduled is this:
MULTIPASS.DAT
DECL INT COUNTER=0
MULTIPASS.SRC
INI
PTP HOME=10% DEFAULT
LOOP
PTP P1 VEL=10% PDAT1 TOOL[1] BASE[0]
PTP P2 VEL=10% PDAT1 TOOL[1] BASE[0]
PTP HOME=10% DEFAULT
COUNTER=COUNTER +1
IF COUNTER==50 THEN
EXIT
ELSE
?????????????????????
ENDIF
ENDLOOP
PTP P3 VEL=10% PDAT1 TOOL[1] BASE[0]
COUNTER=0
Thank you