Started transportation job queue
This commit is contained in:
26
PLC/POUs/Scheduler/DUTs/ST_TransJob.TcDUT
Normal file
26
PLC/POUs/Scheduler/DUTs/ST_TransJob.TcDUT
Normal 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>
|
||||
Reference in New Issue
Block a user