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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<GVL Name="GVL_SCADA" Id="{8186ff04-764f-4b24-8a6b-d0a44d528e6f}">
|
||||
<Declaration><![CDATA[{attribute 'qualified_only'}
|
||||
VAR_GLOBAL
|
||||
stHMIInterface : ST_STRING_HMI_INTERFACE;
|
||||
stHMIInterface : ARRAY [0..1] OF ST_STRING_HMI_INTERFACE;
|
||||
|
||||
stAckAlarmsButton : ST_HMI_CONTROL_BUTTON := (xRelease := TRUE);
|
||||
|
||||
@@ -14,6 +14,9 @@ VAR_GLOBAL
|
||||
|
||||
// Current control mode
|
||||
eCurrentControlMode : E_BMS_CONTROL_MODE;
|
||||
|
||||
// Can change current control mode
|
||||
xCanChangeControlMode : BOOL;
|
||||
END_VAR]]></Declaration>
|
||||
</GVL>
|
||||
</TcPlcObject>
|
||||
Reference in New Issue
Block a user