31 lines
893 B
XML
31 lines
893 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="control" access="public" >
|
|
<Code><![CDATA[begin
|
|
|
|
//control the Cycle
|
|
|
|
while !bEnd
|
|
|
|
//Case1: MountSample to Gonio (includes an ummount) ********MountSignal verarbeiten von Beamline (Puck,Sample) eine zusätzliche Bediengung fehlt
|
|
if !bExecuteCycle and bBeamline_Ready==true and bdefinedPuck==true and bdefinedSampl==true
|
|
|
|
//run mount Cycle
|
|
//bMountSample=true
|
|
|
|
endIf
|
|
|
|
//Case2: Unmount Sample **************unmountSignal verarbeiten von Beamline (to Puck, Sample) eine zusätzliche Bediengung fehlt
|
|
//if !bExecuteCycle and bBeamline_Ready== true
|
|
|
|
//run unmount Cycle
|
|
//bExecuteCycle=true
|
|
|
|
//endIf
|
|
|
|
delay(0)
|
|
endWhile
|
|
|
|
end]]></Code>
|
|
</Program>
|
|
</Programs> |