Minor bugfixes and future addons
This commit is contained in:
18
PLC/DUTs/E_CYCLE_STATUS.TcDUT
Normal file
18
PLC/DUTs/E_CYCLE_STATUS.TcDUT
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.8">
|
||||
<DUT Name="E_CYCLE_STATUS" Id="{163b5a12-1523-4982-80d8-ba87ebb439a8}">
|
||||
<Declaration><![CDATA[{attribute 'qualified_only'}
|
||||
{attribute 'strict'}
|
||||
{attribute 'to_string'}
|
||||
TYPE E_CYCLE_STATUS :
|
||||
(
|
||||
OFF := 0,
|
||||
CHARGE_STARTED := 1,
|
||||
CHARGE_ENDED := 2,
|
||||
DISCHARGE_STARTED := 3,
|
||||
DISCHARGE_ENDED := 4
|
||||
);
|
||||
END_TYPE
|
||||
]]></Declaration>
|
||||
</DUT>
|
||||
</TcPlcObject>
|
||||
@@ -1,7 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.8">
|
||||
<DUT Name="ST_MODBUS_REG_10" Id="{0c25ea41-552d-4ad4-8369-cc4ac1877b46}">
|
||||
<Declaration><![CDATA[{attribute 'pack_mode' := '1'}
|
||||
<Declaration><![CDATA[{attribute 'analysis' := '-33'}
|
||||
{attribute 'pack_mode' := '1'}
|
||||
TYPE ST_MODBUS_REG_10 :
|
||||
STRUCT
|
||||
// Addr: 10.000
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
|
||||
<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 'pack_mode' := '1'}
|
||||
<Declaration><![CDATA[{attribute 'analysis' := '-33'}
|
||||
{attribute 'pack_mode' := '1'}
|
||||
TYPE ST_MODBUS_REG_11 :
|
||||
STRUCT
|
||||
// Addr: 11.000
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.8">
|
||||
<DUT Name="ST_MODBUS_REG_12" Id="{7c428918-2d8d-43ab-8096-edbee8bd4171}">
|
||||
<Declaration><![CDATA[{attribute 'pack_mode' := '1'}
|
||||
<Declaration><![CDATA[{attribute 'analysis' := '-33'}
|
||||
{attribute 'pack_mode' := '1'}
|
||||
TYPE ST_MODBUS_REG_12 :
|
||||
STRUCT
|
||||
// Unit: W
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.8">
|
||||
<DUT Name="ST_MODULE_HMI_INTERFACE" Id="{11e89a54-55b7-4731-b5d2-c1f68fd12879}">
|
||||
<Declaration><![CDATA[TYPE ST_MODULE_HMI_INTERFACE :
|
||||
STRUCT
|
||||
@@ -12,6 +12,10 @@ STRUCT
|
||||
// ==============================
|
||||
rVoltage : REAL;
|
||||
|
||||
// Current current for HMI
|
||||
// ==============================
|
||||
rCurrent : REAL;
|
||||
|
||||
// Current status
|
||||
// ====================================
|
||||
eStatus : E_COMPONENT_STATUS;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.8">
|
||||
<DUT Name="ST_STRING_HMI_INTERFACE" Id="{b74e184a-a1d0-4499-8ac0-7e2226af9a4f}">
|
||||
<Declaration><![CDATA[TYPE ST_STRING_HMI_INTERFACE :
|
||||
STRUCT
|
||||
@@ -11,13 +11,17 @@ STRUCT
|
||||
// ==============================
|
||||
rVoltage : REAL;
|
||||
|
||||
// Current current for HMI
|
||||
// ==============================
|
||||
rCurrent : REAL;
|
||||
|
||||
// Current status
|
||||
// ====================================
|
||||
eStatus : E_COMPONENT_STATUS;
|
||||
|
||||
// Current string current
|
||||
// ==============================
|
||||
stStringCurrent : ST_HMI_ANALOG_VALUE;
|
||||
//stStringCurrent : ST_HMI_ANALOG_VALUE;
|
||||
|
||||
// Current inverter data
|
||||
// ==============================
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
|
||||
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.8">
|
||||
<DUT Name="ST_UNIT_HMI_INTERFACE" Id="{a46d51f7-c17c-44e4-be59-edb877b3b5dc}">
|
||||
<Declaration><![CDATA[TYPE ST_UNIT_HMI_INTERFACE :
|
||||
STRUCT
|
||||
@@ -54,6 +54,12 @@ STRUCT
|
||||
// ==============================
|
||||
rVoltage : REAL;
|
||||
|
||||
|
||||
// Current current for HMI
|
||||
// ==============================
|
||||
rCurrent : REAL;
|
||||
|
||||
|
||||
// Current status
|
||||
// ====================================
|
||||
eStatus : E_COMPONENT_STATUS;
|
||||
@@ -61,7 +67,7 @@ STRUCT
|
||||
|
||||
// Aknowledge all alarms button
|
||||
// ===================================
|
||||
stButtonAckAlarms : ST_HMI_CONTROL_BUTTON;
|
||||
//stButtonAckAlarms : ST_HMI_CONTROL_BUTTON;
|
||||
|
||||
END_STRUCT
|
||||
END_TYPE
|
||||
|
||||
Reference in New Issue
Block a user