Fixed Modbus register access
This commit is contained in:
33
PLC/POUs/Sunspec/ST_SUNSPEC_CURRENT_VALUES.TcDUT
Normal file
33
PLC/POUs/Sunspec/ST_SUNSPEC_CURRENT_VALUES.TcDUT
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
|
||||
<DUT Name="ST_SUNSPEC_CURRENT_VALUES" Id="{429ce2f6-f580-460c-8eb4-3ddb289effd4}">
|
||||
<Declaration><![CDATA[TYPE ST_SUNSPEC_CURRENT_VALUES :
|
||||
STRUCT
|
||||
// Current DC current (A)
|
||||
rActDCCurrent : REAL;
|
||||
|
||||
// Current DC voltage (V)
|
||||
rActDCVoltage : REAL;
|
||||
|
||||
// Current DC power (W)
|
||||
rActDCPower : REAL;
|
||||
|
||||
// Current AC power (W)
|
||||
rActACPower : REAL;
|
||||
|
||||
// Current AC frequency (Hz)
|
||||
rActACFreq : REAL;
|
||||
|
||||
// Current AC apparent power (VA)
|
||||
rActApparentPower : REAL;
|
||||
|
||||
// Current AC reactive power (VAr)
|
||||
rActReactivePower : REAL;
|
||||
|
||||
// Current AC power factor
|
||||
rActPowerFactor : REAL;
|
||||
END_STRUCT
|
||||
END_TYPE
|
||||
]]></Declaration>
|
||||
</DUT>
|
||||
</TcPlcObject>
|
||||
Reference in New Issue
Block a user