Added Kaco inverter for sensor ripple testing
- Iso error in string will now only be active if the dc circuit breaker is not closed - Added some delay between closing dc circuit breaker and enabling inverter so that the dc bus voltage can stabilize itself
This commit is contained in:
@@ -160,6 +160,9 @@ VAR
|
||||
_uiNumberOfActiveStrings : UINT;
|
||||
|
||||
_xGetPowerMeterData : BOOL;
|
||||
|
||||
//_fbKaco : FB_PowerSupplyKaco('Kaco');
|
||||
//_xEnableKaco : BOOL;
|
||||
END_VAR
|
||||
]]></Declaration>
|
||||
<Implementation>
|
||||
@@ -674,7 +677,23 @@ IF _xConfirmAlarms OR _rtHardwareResetButton.Q THEN
|
||||
_xConfirmAlarms := FALSE;
|
||||
END_IF
|
||||
|
||||
_fbPowerMeter24V();]]></ST>
|
||||
_fbPowerMeter24V();
|
||||
|
||||
// _fbKaco(
|
||||
// sInverterIPAddr:= '192.168.42.14',
|
||||
// xEnable:= _xEnableKaco,
|
||||
// rPower:= 0.0,
|
||||
// xReset:= _xConfirmAlarms,
|
||||
// rMaxBattPower:= 10_000,
|
||||
// uiMinDisVoltage := ,
|
||||
// uiMaxChaVoltage := ,
|
||||
// uiMaxDisCurrent := ,
|
||||
// uiMaxChaCurrent := ,
|
||||
// xActive=> ,
|
||||
// xError=> ,
|
||||
// xHeartbeatOk=> ,
|
||||
// stCurrentValues=> ,
|
||||
// );]]></ST>
|
||||
</Implementation>
|
||||
<Action Name="SM_AUTO" Id="{b5166e16-4fea-442b-9560-02c156f9a9ad}">
|
||||
<Implementation>
|
||||
|
||||
Reference in New Issue
Block a user