Weiteres Beispiel - SMA Wechselrichter: Unterschied zwischen den Versionen
Krueuw (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
K (Forenlink auf Vorlage umgestellt, syntaxhighlight korrigiert) |
||
Zeile 1: | Zeile 1: | ||
Based on the | Based on the {{Link2Forum|Topic=75638|LinkText=discussion in the forum}}, here is another example that shows how the language can be changed in [https://files.sma.de/downloads/EDMx-Modbus-TI-de-16.pdf SMA inverters]. To do this, the value of the double holding register 40013 is read or set. 777 corresponds to DE, 778 to EN. | ||
<syntaxhighlight lang="Text"> | |||
define SI ModbusAttr 3 10 192.168.188.38:502 TCP | define SI ModbusAttr 3 10 192.168.188.38:502 TCP | ||
attr SI closeAfterResponse 0 | attr SI closeAfterResponse 0 |
Version vom 12. November 2024, 15:59 Uhr
Based on the discussion in the forum, here is another example that shows how the language can be changed in SMA inverters. To do this, the value of the double holding register 40013 is read or set. 777 corresponds to DE, 778 to EN.
define SI ModbusAttr 3 10 192.168.188.38:502 TCP
attr SI closeAfterResponse 0
attr SI dev-h-defLen 2
attr SI dev-h-defPoll 0
attr SI dev-h-defRevRegs 0
attr SI dev-h-defUnpack N
attr SI dev-type-ENUM_JN-hint EN,DE
attr SI dev-type-ENUM_JN-map 777:DE,778:EN
attr SI dev-type-ENUM_JN-revRegs 0
attr SI enableControlSet 1
attr SI obj-h40013-reading Sprache
attr SI obj-h40013-set 1
attr SI obj-h40013-showGet 1
attr SI room SYSTEM->modbus