Minor bugfixes and future addons
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.7">
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.8">
|
||||
<GVL Name="GVL_SCADA" Id="{8186ff04-764f-4b24-8a6b-d0a44d528e6f}">
|
||||
<Declaration><![CDATA[{attribute 'qualified_only'}
|
||||
VAR_GLOBAL
|
||||
// Array for string HMI
|
||||
stHMIInterface : ARRAY [0..1] OF ST_STRING_HMI_INTERFACE;
|
||||
|
||||
// Acknowledge alarm button
|
||||
stAckAlarmsButton : ST_HMI_CONTROL_BUTTON := (xRelease := TRUE);
|
||||
|
||||
// Butotn to switch all components into manual mode
|
||||
stAllToManualModeButton : ST_HMI_CONTROL_BUTTON;
|
||||
|
||||
// Button to switch all components in to automatic mode
|
||||
stAllToAutoModeButton : ST_HMI_CONTROL_BUTTON;
|
||||
|
||||
// HMI interface to control the battery throught the HMI
|
||||
stAutomaticModeHMI : ST_AUTO_HMI_INTERFACE;
|
||||
|
||||
// Requested control mode by HMI
|
||||
@@ -27,6 +24,18 @@ VAR_GLOBAL
|
||||
// Current battery power
|
||||
diCurrentBatteryPower : DINT;
|
||||
|
||||
// Last power charged value
|
||||
lrChargedPowerValueWH : LREAL;
|
||||
|
||||
// Last power discharged value
|
||||
lrDischargedPowerValueWH : LREAL;
|
||||
|
||||
// Last discharged utility power value
|
||||
lrLastCycleUtilityPowerValueWh : LREAL;
|
||||
|
||||
// Cycle status
|
||||
eCycleStatus : E_CYCLE_STATUS;
|
||||
|
||||
xDummy : BOOL := FALSE;
|
||||
END_VAR]]></Declaration>
|
||||
</GVL>
|
||||
|
||||
Reference in New Issue
Block a user