Started transportation job queue

This commit is contained in:
2026-02-17 11:37:34 +01:00
parent b35746eab0
commit 7126a7dd7e
5 changed files with 158 additions and 12 deletions

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1">
<DUT Name="ST_TransJob" Id="{e6905112-b0c5-4499-9e9b-aaa153fe4e4d}">
<Declaration><![CDATA[TYPE ST_TransJob :
STRUCT
// Station to pick from
uiFromNodeID : UINT;
// Station to put into
uiToNodeID : UINT;
// Static priority from recipe
iStatPrio : INT;
// Dynamic priority from process
iDynPrio : INT;
// Prio sum
iSumPrio : INT;
// Time this job was created
// The older the job the higher the priority
uliTimeCreated : ULINT;
// Is this job in the queue still valid
xValid : BOOL := TRUE;
END_STRUCT
END_TYPE
]]></Declaration>
</DUT>
</TcPlcObject>