58 Commits

Author SHA1 Message Date
Matthias Heisig
2d65d0b3db Last changes before SAT 2025-10-14 16:19:19 +02:00
Matthias Heisig
eaaa2371e8 Change E-Stop so that it can also work with one string
- Also optimized CV charging
2025-10-07 16:23:37 +02:00
Matthias Heisig
51842388ea Fixed writing to new inverter modbus register 2025-10-06 14:44:15 +02:00
Matthias Heisig
14ec270259 Fixed modbus interface
- Changed registerdefinition in modbus server because or single register reading
2025-10-06 14:40:45 +02:00
Matthias Heisig
27848d6acc Repaired Project file
- Added controller back to project file. Got missing during last commit
2025-10-01 10:58:09 +02:00
Matthias Heisig
698451cc1f Some bugfixes
- Config for max string power is now correctly calculated
- Adjusted timing for string and inverter timeout
2025-09-29 11:38:43 +02:00
Matthias Heisig
9cf02c1847 Fixed inverter not showing negative dc current 2025-09-24 10:24:15 +02:00
Matthias Heisig
dd82744356 Fixed some bugs and added inverter status to modbus register
- Safety now has a tof of 0,5s for Temp, Voltage and Pressure
- Doppelhöcker now switches powercommand during second phase
2025-09-24 10:10:37 +02:00
Matthias Heisig
d882effb35 Modified safety for better alarm messages and cleaned up 2025-09-12 16:07:02 +02:00
Matthias Heisig
8bd2e9a1ea Added inverter startup timeout to GVL_CONFIG and enabled inverter errors 2025-09-11 16:32:53 +02:00
Matthias Heisig
0d3369d54d Added error and waring messages and updated tower light inputs
- Added strings not ready in time error
- Added battery already full warning
- Added battery already empty warning
- Added battery in stop input to tower light
- Added warnings active to tower light
- Added BMS State Machine errors to tower light input
2025-09-10 12:13:40 +02:00
Matthias Heisig
7c462c9cd4 Added Kaco cyclic data exchange change
- Power will now only be written if the requested power changed
2025-09-10 08:49:21 +02:00
Markus.Neukirch
39a206a1df Fixed startup time reset error in balancing mode 2025-09-09 12:28:22 +02:00
Markus.Neukirch
755da644bc changed modbus communication
moved from all requests at the same time to one request after each other through state machine
2025-09-05 16:20:36 +02:00
Markus.Neukirch
f0e6143997 IBN changes
added sync units for cabinet temperature, changes in modbus interface to EMS (1.0.4 and 1.0.5), added error counter to modbus communication, lot of changes to kaco (faults, consecutive errors, bms error messages), isolation error ledge, allowed startbalancing when on shutdown, tower light integration
2025-09-05 14:24:37 +02:00
Markus.Neukirch
69749409a3 EStop Changes (added cage door estops) 2025-08-20 15:01:26 +02:00
Matthias Heisig
9c6e28b83d Added Kaco inverter implementation
- Added Kaco inverter implementation
- Small refactoring
- Added release inverter power signal for simultaneous start of the
  inverters
2025-08-11 23:26:40 +09:00
Markus Neukirch
6f357a3913 Merge branch 'develop' of gitlab.cmblu.net:sps-allgemein/uniblu into develop
# Conflicts:
#	PLC/PLC.tmc
#	Uniper.tsproj
2025-08-04 18:15:08 +02:00
Markus Neukirch
e2a44b0d37 Added cabinet temperature and modbus registers
added cabinet temperature to each module, scs and bms cabinet, added corresponding config, hmi interface, hardware & links. Added corresponding warning bits to modbus registers
2025-08-04 18:10:15 +02:00
Markus Neukirch
dacce53625 Balancing quick fixes
allowed operating mode to be change when balancing is started, added lock mechanism to not leave balancing state when not enabled
2025-07-31 14:04:30 +02:00
Markus Neukirch
ee3367eaec EMS-BMS heartbeat and modbus fixes
added ledge and error state when modbus communication is lost, seperated register 13004 (confirm) from registers 13000-13001 (BMS/String warning/error messages) for modbus mapping, added Heartbeat error message to bmsErrors
2025-07-14 18:02:33 +02:00
Matthias Heisig
e6802b87b4 Changes after BMS EMS connection test with uniper
- Added EMS heartbeat timeout
- Removed commented code
- Fixed BMS Error DC-Switch: Was true when switch was ok and vice versa
2025-06-19 19:10:26 +02:00
Matthias Heisig
b6791f7951 Small changes after FAT and EMS Test
- Changed Modbus server config for EMS connectivity
- Changed some default EWL Limits
2025-06-13 16:37:14 +02:00
Matthias Heisig
6fe10cc58c Added Doppelhoeckertest 2025-06-10 21:04:06 +02:00
Matthias Heisig
58f3c751d3 Some fixes before the FAT
- Refactored inverter Heartbeat check
- Added SafetyComError on EtherCAT checking
- Adjusted lower pressure value for safety plc from 200 mBar to 300mBar
2025-06-06 19:09:12 +02:00
Matthias Heisig
38f44128d1 Added precharge mode 2025-06-04 19:37:25 +02:00
Matthias Heisig
f12063e294 Added some fixed during pre safety check
- Fixed bug that SafetyIntlkTimeout could not be acknowledged
- Pumps now dont shut off during error in unit (except over- or underpressure), setpoint is now set to discharge power
- Fixed bug not able to restart safety-check when not all strings where off
- Adjusted Safetyparameters to match safetycheck protocol
2025-06-03 18:02:19 +02:00
Matthias Heisig
2f9f4df261 changes during start of safety check
- Refactoring of string fb
- Added pump safety interlocks for pressure segment inlet too low and too high
2025-06-02 19:51:57 +02:00
Matthias Heisig
1677d34d9c Added Kaco inverter for sensor ripple testing
- Iso error in string will now only be active if the dc circuit breaker is not closed
- Added some delay between closing dc circuit breaker and enabling inverter so that the dc bus voltage can stabilize itself
2025-05-08 10:07:16 +02:00
Matthias Heisig
94381dc704 Changed Safety program so that every group can be deactivated 2025-04-28 17:15:43 +02:00
Matthias Heisig
7b810b19d2 Implemented a better balancing algorith for string balancing
* Added error logging to inverter fb
* Changed HMI actual power feedback from dc to ac power
* Small config adjustments
2025-04-16 12:35:06 +02:00
Matthias Heisig
390b831286 Hardware reset button now triggers an alarm acknowledge signal 2025-04-14 19:46:02 +02:00
Matthias Heisig
f79cf27c0c Finished first implementation of modbus error registers 2025-04-14 19:38:17 +02:00
Matthias Heisig
2221f6bab3 Minor bugfixes and future addons 2025-04-06 10:21:01 +02:00
Matthias Heisig
84e0e174a1 Fixed missing multistring handling in some modes 2025-02-14 16:14:07 +01:00
Matthias Heisig
4f0905d64a Fixed some bugs in cycling mode 2025-02-14 15:42:27 +01:00
Matthias Heisig
2ded890dd4 Added multi string handling and balancing 2025-02-13 21:26:50 +01:00
Matthias Heisig
f9df0a5180 Added precharging to SafetyCheck 2025-02-10 08:44:52 +01:00
Matthias Heisig
0345f57a3f Some refactoring 2025-01-17 08:08:37 +01:00
Matthias Heisig
39a02352f6 Iso and leackage error messages added 2024-09-10 16:54:17 +02:00
Matthias Heisig
d9f39953a0 Added shutdown when inverter error 2024-09-06 18:47:03 +02:00
Matthias Heisig
3d041c50c4 - Added new module status
- Added error messages for EtherCAT connection lost
2024-09-05 18:32:49 +02:00
Matthias Heisig
5e94ba4868 Merge branch 'feature/ManualModeSwitch' into develop
# Conflicts:
#	PLC/PLC.tmc
#	PLC/POUs/FB_String.TcPOU
#	PLC/POUs/MAIN.TcPOU
#	Uniper.tsproj
2024-08-30 14:32:11 +02:00
Matthias Heisig
08d2ffd136 Added string startup timeout 2024-08-30 13:12:42 +02:00
Matthias Heisig
112f7cb7d9 Added automatic manual mode change for all components if manual mode is selected, Added moving average filter to analog data 2024-08-26 22:19:29 +02:00
Matthias Heisig
58e511438e Umstellung auf TwinCAT 4026 2024-07-29 07:33:50 +02:00
Matthias Heisig
0d9a4d9c72 WIP: Aktueller stand für fehlersuche Sensorrauschen 2024-05-22 17:43:26 +02:00
Matthias Heisig
cf0d144987 Reordered Modbus registers for Energielenker 2024-05-07 18:02:07 +02:00
Matthias Heisig
5c42d4db0a Added ac phase currents to inverter data and copy it to modbus interface 2024-05-07 17:34:01 +02:00
Matthias Heisig
0ffff9be2a EMS communication and Voltage optimizations
- Added data for EMS communication
- Added highest segment voltage for charging check
- Added lowest segment voltage for discharging check
2024-05-07 17:10:29 +02:00