Linked all tank sensors in media cabinet

- Additional fixes for the hmi
This commit is contained in:
2026-03-10 18:03:28 +01:00
parent 218d815380
commit f4562af86f
24 changed files with 1859 additions and 288 deletions

View File

@@ -114,7 +114,7 @@ IF _iHead = _iTail THEN
M_Dequeue := FALSE;
ELSE
// Get next entry
_stCurrReq := _astReqQueue;
_stCurrReq := _astReqQueue[_iHead];
_iHead := (_iHead + 1) MOD GVL_ModbusMaster.QUEUE_SIZE;
M_Dequeue := TRUE;
END_IF]]></ST>
@@ -140,7 +140,11 @@ ELSE
_astReqQueue[_iNextTail] := stReq;
_iTail := _iNextTail;
M_Enqueue := TRUE;
END_IF]]></ST>
END_IF
// Reset error and done
stReq.pxDone^ := FALSE;
stReq.pxError^ := FALSE;]]></ST>
</Implementation>
</Method>
</POU>