Added Modbus registers

This commit is contained in:
Matthias Heisig
2025-04-08 07:24:55 +02:00
parent e975d23694
commit 4a00a4c414
5 changed files with 44 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.8">
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.11">
<GVL Name="GVL_MODBUS" Id="{913a9222-1338-4c08-b758-91c1bd26dcd9}">
<Declaration><![CDATA[{attribute 'qualified_only'}
VAR_GLOBAL
@@ -16,6 +16,15 @@ VAR_GLOBAL
eChargeStatus := E_CHARGE_STATUS.UNDEFINED,
eBatteryStatus := E_BATTERY_STATUS.OFF)
);
// Addr: 13.000
stBMSErrorReg : ST_MODBUS_REG_13;
// Addr: 14.000 -> 14.023
awWarningsUnitsActive : ARRAY [0..(GVL_CONFIG.uiNumberOfUnits-1)] OF WORD;
// Addr: 15.000 -> 15.023
awErrorsUnitsActive : ARRAY [0..(GVL_CONFIG.uiNumberOfUnits-1)] OF WORD;
END_VAR]]></Declaration>
</GVL>
</TcPlcObject>