![]() |
Feature request - modbus, signed values - Wersja do druku +- Forum Tiny Control Solution (https://forum.tinycontrol.pl) +-- Dział: LanKontroler - sprzęt i wersje wsadów, problemy, zastosowanie (https://forum.tinycontrol.pl/forumdisplay.php?fid=3) +--- Dział: LanKontroler V3.5 (https://forum.tinycontrol.pl/forumdisplay.php?fid=28) +--- Wątek: Feature request - modbus, signed values (/showthread.php?tid=3072) |
Feature request - modbus, signed values - rehor - 01-27-2025 Hello, we are using tiny control 3.9 to read few modbus values from a power supply. When reading 16bit values, its always interpreted as unsigned. Would it be possible to add a toggle in custom value definition that would apply conversion to signed integer? There is a way to do it in our graphing system, but the energy calculation on tiny control is not working properly (when the read current is negative). Please excuse the repost if this issue has been raised already. Thanks RE: Feature request - modbus, signed values - igarette - 02-04-2025 Hey rehor, have you tried manually adjusting the values or using a mathematical formula within your system to account for the signed/unsigned conversion? RE: Feature request - modbus, signed values - rehor - 02-07-2025 I do that for graphing the value as mentioned. But the request is more about the value in LK3 itself. One could perhaps track expected charge state of a battery, but that is currently impossible without external system. There is no way to use it for power calculation if voltage*current gives you nonsensical values. |