First string implemented
This commit is contained in:
@@ -167,6 +167,38 @@ VAR_GLOBAL PERSISTENT
|
||||
rMaxDeltaPSegmentInlet := 100.0
|
||||
);
|
||||
|
||||
// ===========================
|
||||
// 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
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
// ===========================
|
||||
// General settings
|
||||
// ===========================
|
||||
@@ -208,7 +240,7 @@ VAR_GLOBAL PERSISTENT
|
||||
diMaxStringDischargePower : DINT := 60_000;
|
||||
|
||||
// Inverter ip address
|
||||
sInverterIp : STRING := '192.168.42.11';
|
||||
sInverterIp : STRING := '192.168.42.10';
|
||||
|
||||
// Absolute shutdown discharge power (Watt)
|
||||
// 12.000 W -> 1.000 W per unit
|
||||
|
||||
Reference in New Issue
Block a user