Hello
KRC2 KSS 5.2.14 KR2210_L150
I have a project to take a disk metal with magnetic tool punch the disk and stack the punched disk
so i need to use 2 cicles "FOR"
one cicle for take the disk and heigth Z decreasing dependig of the thickess of the disk
and other cicle "FOR" increase Z height with the finished disk
reading older post i thik the next code can be useful
Code
FOR Height = 10 TO 1 STEP -1
LIN {X 100,Y 100, Z Height} ; this won't work -- illegal KRL construction
ENDFOR
DECL POS _NextPos
_NextPos = $NULLFRAME ; init to all 0s
_NextPos.X = 100
_NextPos.Y = 100
FOR Height = 10 TO 1 STEP -1
_NextPos.Z = Height
LIN _NextPos ; this works, because all the values of _NextPos were set in advance
ENDFOR
Display More
once finished 50 disk , make a Buzzer sound to take the disk with forklif
any suggetions to the project ?
Thanks