Files
mxsc/robot/MXLAB/Controller1/usr/usrapp/SC_TELL/putSampleDewar.pgx
gac-S_Changer afde8da834
2018-06-07 14:35:25 +02:00

47 lines
1013 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<Programs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.staubli.com/robotics/VAL3/Program/2" >
<Program name="putSampleDewar" access="private" >
<Locals>
<Local name="l_pApproSample" type="point" xsi:type="array" size="1" />
<Local name="trOffset" type="trsf" xsi:type="array" size="1" />
</Locals>
<Code><![CDATA[begin
//Movements
if bGonioReady
movel(pDewarWait,tSuna,mDewarEnter)
pDewarTemp.trsf.rz=-90
movel(pDewarTemp,tSuna,mDewarEnter)
//Approach to Sample
l_pApproSample=appro(pResult,{0,0,50,0,0,0})
movel(l_pApproSample,tSuna,mMedium)
//Move to Sample
movel(pResult,tSuna,mPickPlace)
//Close gripper
open(tSuna)
//Approach to Sample
movel(l_pApproSample,tSuna,mPickPlace)
waitEndMove()
movel(pDewarTemp,tSuna,mDewarEnter)
movel(pDewarWait,tSuna,mDewarEnter)
waitEndMove()
else
endIf
end]]></Code>
</Program>
</Programs>