Added precharge mode
This commit is contained in:
@@ -19,6 +19,9 @@ VAR_INPUT
|
||||
// Module in safety check mode
|
||||
xInSafetyCheckMode : BOOL;
|
||||
|
||||
// String operation mode
|
||||
eStringOperatingMode : E_STRING_OPERATING_MODE;
|
||||
|
||||
// All safetyinterlocks are ok
|
||||
xSafetyIntlksOk : BOOL;
|
||||
|
||||
@@ -227,6 +230,7 @@ END_IF
|
||||
_fbUnit1(
|
||||
xEnable := xEnable,
|
||||
xStartBalancing := xStartBalancing,
|
||||
eStringOperatingMode := eStringOperatingMode,
|
||||
xInverterEnabled := xInverterEnabled,
|
||||
xInSafetyCheckMode := xInSafetyCheckMode,
|
||||
stUnitConfig:= GVL_CONFIG.stUnitConfig,
|
||||
@@ -266,6 +270,7 @@ END_IF
|
||||
_fbUnit2(
|
||||
xEnable := xEnable,
|
||||
xStartBalancing := xStartBalancing,
|
||||
eStringOperatingMode := eStringOperatingMode,
|
||||
xInverterEnabled := xInverterEnabled,
|
||||
xInSafetyCheckMode := xInSafetyCheckMode,
|
||||
stUnitConfig:= GVL_CONFIG.stUnitConfig,
|
||||
@@ -305,6 +310,7 @@ END_IF
|
||||
_fbUnit3(
|
||||
xEnable := xEnable,
|
||||
xStartBalancing := xStartBalancing,
|
||||
eStringOperatingMode := eStringOperatingMode,
|
||||
xInverterEnabled := xInverterEnabled,
|
||||
xInSafetyCheckMode := xInSafetyCheckMode,
|
||||
stUnitConfig:= GVL_CONFIG.stUnitConfig,
|
||||
@@ -344,6 +350,7 @@ END_IF
|
||||
_fbUnit4(
|
||||
xEnable := xEnable,
|
||||
xStartBalancing := xStartBalancing,
|
||||
eStringOperatingMode := eStringOperatingMode,
|
||||
xInverterEnabled := xInverterEnabled,
|
||||
xInSafetyCheckMode := xInSafetyCheckMode,
|
||||
stUnitConfig:= GVL_CONFIG.stUnitConfig,
|
||||
|
||||
Reference in New Issue
Block a user