<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
  <DUT Name="ST_SunspecInverterThreePhase" Id="{f9acf95c-14fe-4c1e-9c73-dff4af6d43b5}">
    <Declaration><![CDATA[// Sunspec register 40.070 - 40.120 (Size 52)
TYPE ST_SunspecInverterThreePhase :
STRUCT
	// Model value
	uiID : UINT;
	
	// Model length
	uiL : UINT;
	
	// AC current. Sum of active phases
	iA : INT;
	
	// AC current. Phase A
	iAphA : INT;
	
	// AC current. Phase B
	iAphB : INT;
	
	// AC current. Phase C
	iAphC : INT;
	
	// AC current scaling factor
	iASF : INT;
	
	// Phase voltage AB
	uiPPVphAB : UINT;
	
	// Phase voltage BC
	uiPPVphBC : UINT;
	
	// Phase voltage CA
	uiPPVphCA : UINT;
	
	// Phase voltage AN
	uiPhVphA : UINT;
	
	// Phase voltage BN
	uiPhVphB : UINT;
	
	// Phase voltage CN
	uiPhVphC : UINT;
	
	// Phase voltage scaling factor
	iVSF : INT;
	
	// AC Power
	iW : INT;
	
	// AC power scaling factor
	iWSF : INT;
	
	// Line frequency
	uiHz : UINT;
	
	// Line frequency scaling factor
	iHzSF : INT;
	
	// AC apparent power
	iVA : INT;
	
	// AC apparent power scaling factor
	iVASF : INT;
	
	// AC reactive power
	iVAr : INT;
	
	// AC reactive power scaling factor
	iVArSF : INT;
	
	// AC power factor
	iPF : INT;
	
	// AC power factor scaling factor
	iPFSF : INT;
	
	// AC Energy
	udiWH : UDINT;
	
	// AC Energy scaling factor
	iWHSF : INT;
	
	// DC current
	uiDCA : UINT;
	
	// DC current scaling factor
	iDCASF : INT;
	
	// DC voltage
	uiDCV : UINT;
	
	// DC voltage scaling factor
	iDCVSF : INT;
	
	// DC power
	iDCW : INT;
	
	// DC power scaling factor
	iDCWSF : INT;
	
	// Cabinet temperature
	iTmpCab : INT;
	
	// Heat sink temperature
	iTmpSnk : INT;
	
	// Transformer temperature
	iTmpTrns : INT;
	
	// Other temperature
	iTmpOt : INT;
	
	// Temperature scaling factor
	iTmpSF : INT;
	
	// Operating state
	wSt : WORD;
	
	// Vendor specific operating state
	wStVnd : WORD;
	
	// Bitmask value. Event fields.
	dwEvt1 : DWORD;
	
	// Reserved for future use
	dwEvt2 : DWORD;
	
	// Vendor defined events 1
	dwEvtVnd1 : DWORD;
	
	// Vendor defined events 2
	dwEvtVnd2 : DWORD;
	
	// Vendor defined events 3
	dwEvtVnd3 : DWORD;
	
	// Vendor defined events 4
	dwEvtVnd4 : DWORD;
END_STRUCT
END_TYPE
]]></Declaration>
  </DUT>
</TcPlcObject>