Hi!
I wonder if there is anyone that could help me with one thing. I need to rotate around the corner of one plywood that is picked up in the center of the board.
Is that possible to do in a easy way without geometrik operators and so on... In the code bellow i rotate around the center of the board(tool)...
Reg Peter
;===========================================
; Kör till position Kortsida 1.
;==========================================
lin tmpPos_PressPos1 C_DIS ;Go in to Pressposition
xPlyInPress=true
$VEL.cp=1.5
$ACC.CP=3.0
Wait for ixPressClear
qxRobPreparePress=true
xPlyInPress=false
ShortSide1Ready=true
lin tmpPos_PressPos2 C_DIS ;Go down to zero position
lin tmpPos_PressPos3 C_DIS ;Go out from tool
CONTINUE
$VEL.cp=3.0
CONTINUE
$ACC.CP=8.0
CONTINUE
$OV_PRO=bSpeed
fFromPos.a=45
fFromPos.b=0
fFromPos.c=0
fFromPos.z=-80
fFromPos.y=intDiagonalLenght/2
fFromPos.x=wEndMeassure/2 ;intDiagonalLenght/2+15
LIN fFromPos C_DIS ; Rotate plywood.
CONTINUE
ShortSide1Ready=true
PressSideChoise()
endif