First working implementation
- Currently only with one sided gripper
This commit is contained in:
31
PLC/POUs/Scheduler/DUTs/ST_FlowRecipe.TcDUT
Normal file
31
PLC/POUs/Scheduler/DUTs/ST_FlowRecipe.TcDUT
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1">
|
||||
<DUT Name="ST_FlowRecipe" Id="{3e2c2867-3147-4627-bf49-6255dbaf5310}">
|
||||
<Declaration><![CDATA[TYPE ST_FlowRecipe :
|
||||
STRUCT
|
||||
// Index in station recipe arrays
|
||||
// -1 is used to determin if the slot
|
||||
// in the product array is free.
|
||||
// The index number will automatically be
|
||||
// assigned by the FB_ProductHandler
|
||||
iProdIdx : INT := -1;
|
||||
|
||||
// Current node in flow graph
|
||||
iCurrNode : INT := 0;
|
||||
|
||||
// Next node in flow graph
|
||||
// will be set by the station after completed process
|
||||
// 0 means that there is no next node and the
|
||||
// flow recipe is finished
|
||||
iNextNode : INT := 0;
|
||||
|
||||
// Number of flow nodes
|
||||
uiNodeCnt : INT := 0;
|
||||
|
||||
// Flow nodes array
|
||||
astNodes : ARRAY[0..(GVL_Scheduler.MAX_RECIPE_NODES - 1)] OF ST_FlowRecipeNode;
|
||||
END_STRUCT
|
||||
END_TYPE
|
||||
]]></Declaration>
|
||||
</DUT>
|
||||
</TcPlcObject>
|
||||
Reference in New Issue
Block a user