Added JobScheduler and recipe data for stations

This commit is contained in:
2026-02-24 18:28:00 +01:00
parent c4044be7bd
commit 46e294d991
33 changed files with 1454 additions and 2837 deletions

View 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>