Linked all tank sensors in media cabinet
- Additional fixes for the hmi
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user