<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.8">
  <DUT Name="ST_MODBUS_REG_11" Id="{7e772293-d4e3-4809-9da8-3d4e0412ede6}">
    <Declaration><![CDATA[{attribute 'analysis' := '-33'}
{attribute 'pack_mode' := '1'}
TYPE ST_MODBUS_REG_11 :
STRUCT
	// Addr: 11.000
	eBatteryStatus : E_BATTERY_STATUS;
	
	// Addr: 11.001
	eChargeStatus : E_CHARGE_STATUS;
	
	// Addr: 11.002
	// Unit: %
	uiSelfDischargeRate : UINT; // 16 bit
	
	// Addr: 11.003
	// Unit: %
	uiMaxAllowedSOC : UINT := 100;
	
	// Addr: 11.004
	// Unit: %
	uiMinAllowedSOC : UINT := 0;
	
	// Addr: 11.005
	// Unit: %
	uiCurrentSOC : UINT;
	
	// Addr: 11.006
	// Unit: %
	uiCurrentDOD : UINT;
	
	// Addr: 11.007
	// Unit: %
	uiCurrentSOH : UINT := 100;
	
	// Addr: 11.008
	// Unit: Ah
	udiChargeCapacity : UDINT; // 32bit
	
	// Addr: 11.010
	// Unit: Wh
	udiEnergyCapacity : UDINT; 
	
	// Addr: 11.012
	// Unit: W
	udiMaxChargingActivePower : UDINT := 30_000;
	
	// Addr: 11.014
	// Unit: W
	udiMaxDischargingActivePower : UDINT := 30_000;
	
	// Addr: 11.016
	// Unit: var
	udiMaxAvailableInductiveReactivePower : UDINT := 0;
	
	// Addr: 11.018
	// Unit: var
	udiMaxAvailableCapacitiveReactivePower : UDINT := 0;
	
	// Addr: 11.020
	// Unit: Wh
	udiChargedEnergy : UDINT;
	
	// Addr: 11.022
	// Unit: Wh
	udiAvailableEnergy : UDINT;
	
	// Addr: 11.024
	// Unit: A
	diTotalACCurrentPhase1 : DINT;
	
	// Addr: 11.026
	// Unit: A
	diTotalACCurrentPhase2 : DINT;
	
	// Addr: 11.028
	// Unit: A
	diTotalACCurrentPhase3 : DINT;
	
	// Addr: 11.030
	// Unit: W
	diSetpointActivePowerMirror : DINT;
	
	// Addr: 11.032
	rSetpointCosPhiMirror : REAL; // 32 bit
	
	// Addr: 11.034
	// Unit: W
	diCurrentActivePower : DINT;
	
	// Addr: 11.036
	// Unit: var
	diCurrentReactivePower : DINT;
	
	// Addr: 11.038
	udiLifeMessage : UDINT;
	
	// Addr: 11.040
	lwWarningBitmap : LWORD; 
	
	// Addr: 11.044
	lwErrorBitmap : LWORD;
END_STRUCT
END_TYPE
]]></Declaration>
  </DUT>
</TcPlcObject>