Minor bugfixes and future addons
This commit is contained in:
@@ -180,75 +180,21 @@ VAR_GLOBAL PERSISTENT
|
||||
stEWLSCSCurrent : ST_ANALOG_EW_LEVELS;
|
||||
stEWDSCSCurrent : ST_ANALOG_EW_DELAYS;
|
||||
|
||||
// ===========================
|
||||
// Part shortage workaround
|
||||
// ===========================
|
||||
stConfigVoltageSegment1500 : ST_ANALOG_IO_CONFIG := (iAIMax := 32767, iAIMin := 0, rPVMax := 1500, rPVMin := 0, sUnit := 'V');
|
||||
stString1VoltageConfig : ST_STRING_VOLT_CONFIG :=
|
||||
(
|
||||
stModule1VoltConfig :=
|
||||
(
|
||||
xUnit1Is1500V := FALSE,
|
||||
xUnit2Is1500V := TRUE,
|
||||
xUnit3Is1500V := TRUE,
|
||||
xUnit4Is1500V := TRUE
|
||||
),
|
||||
|
||||
stModule2VoltConfig :=
|
||||
(
|
||||
xUnit1Is1500V := FALSE,
|
||||
xUnit2Is1500V := FALSE,
|
||||
xUnit3Is1500V := FALSE,
|
||||
xUnit4Is1500V := FALSE
|
||||
),
|
||||
|
||||
stModule3VoltConfig :=
|
||||
(
|
||||
xUnit1Is1500V := FALSE,
|
||||
xUnit2Is1500V := TRUE,
|
||||
xUnit3Is1500V := TRUE,
|
||||
xUnit4Is1500V := TRUE
|
||||
)
|
||||
);
|
||||
|
||||
stString2VoltageConfig : ST_STRING_VOLT_CONFIG :=
|
||||
(
|
||||
stModule1VoltConfig :=
|
||||
(
|
||||
xUnit1Is1500V := FALSE,
|
||||
xUnit2Is1500V := TRUE,
|
||||
xUnit3Is1500V := TRUE,
|
||||
xUnit4Is1500V := TRUE
|
||||
),
|
||||
|
||||
stModule2VoltConfig :=
|
||||
(
|
||||
xUnit1Is1500V := FALSE,
|
||||
xUnit2Is1500V := TRUE,
|
||||
xUnit3Is1500V := TRUE,
|
||||
xUnit4Is1500V := TRUE
|
||||
),
|
||||
|
||||
stModule3VoltConfig :=
|
||||
(
|
||||
xUnit1Is1500V := FALSE,
|
||||
xUnit2Is1500V := TRUE,
|
||||
xUnit3Is1500V := TRUE,
|
||||
xUnit4Is1500V := TRUE
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
// ===========================
|
||||
// General settings
|
||||
// ===========================
|
||||
|
||||
// Pump on power (%)
|
||||
// Pump posolyt on power in %
|
||||
rPumpPosolytOnPower : REAL := 65.0;
|
||||
|
||||
// Pump negolyt on power in %
|
||||
rPumpNegolytOnPower : REAL := 65.0;
|
||||
|
||||
// Pump discharge segment without inverter power (%)
|
||||
// Pump posolyt discharge segment without inverter power in %
|
||||
rPumpPosolytDisChrgPower : REAL := 45.0;
|
||||
|
||||
// Pump posolyt discharge segment without inverter power in %
|
||||
rPumpNegolytDisChrgPower : REAL := 45.0;
|
||||
|
||||
// Unit voltage pumps shutoff threshold (Volt)
|
||||
@@ -315,6 +261,7 @@ VAR_GLOBAL PERSISTENT
|
||||
timIsoErrorTimeout : TIME := T#20s;
|
||||
|
||||
// Dummy to deactivate functions
|
||||
{attribute 'analysis' := '-33'}
|
||||
xDummy : BOOL := FALSE;
|
||||
|
||||
END_VAR]]></Declaration>
|
||||
|
||||
Reference in New Issue
Block a user