First string implemented
This commit is contained in:
@@ -414,7 +414,7 @@ CASE _iState OF
|
||||
_rOldPower := rPower;
|
||||
_uiMaxLimEn := 1;
|
||||
// Calculate reactive power setting
|
||||
_iMaxPowerVar := LREAL_TO_INT((rReactivePower*100)/(_iMaxPowerVar * EXPT(10,_iVarPctSF)));
|
||||
//_iMaxPowerVar := LREAL_TO_INT((rReactivePower*100)/(_iMaxPowerVar * EXPT(10,_iVarPctSF)));
|
||||
ELSE
|
||||
xError := TRUE;
|
||||
// Goto error state
|
||||
@@ -802,6 +802,7 @@ CASE _iState OF
|
||||
|
||||
IF NOT _fbWriteRegister.bBusy THEN
|
||||
_iState := 0;
|
||||
xError := FALSE;
|
||||
_fbWriteRegister(bExecute := FALSE);
|
||||
END_IF
|
||||
|
||||
@@ -914,6 +915,7 @@ END_CASE]]></ST>
|
||||
<LineId Id="1273" Count="0" />
|
||||
<LineId Id="1289" Count="1" />
|
||||
<LineId Id="1293" Count="0" />
|
||||
<LineId Id="2235" Count="0" />
|
||||
<LineId Id="1291" Count="1" />
|
||||
<LineId Id="1056" Count="0" />
|
||||
<LineId Id="12" Count="0" />
|
||||
|
||||
Reference in New Issue
Block a user