This commit is contained in:
2026-02-11 16:32:03 +01:00
parent 69ef2c6904
commit d6a4fc6e42
6 changed files with 194 additions and 51 deletions

View File

@@ -225,7 +225,7 @@ _xRunSMAgain := FALSE;
_iState := 40;
END_IF
// Didnt receive command ack in time
// Didn't receive command ack in time
// So resend the command if max retries are not reached
IF _tonReceiveTimeout.Q THEN
_xEnableReceiveTimeout := FALSE;
@@ -235,7 +235,7 @@ _xRunSMAgain := FALSE;
IF _uiRetries > MAX_RETRIES THEN
_iState := 90;
ELSE
// Retry by sendind command again
// Retry by sending command again
_iState := 20;
END_IF
END_IF
@@ -368,6 +368,7 @@ _iCmdLength := LEN(sCmd);
// start sendind command state machine
_xSendCmd := TRUE;
_xBusy := TRUE;
M_SendCmd := TRUE;]]></ST>
</Implementation>