Weiteres Beispiel - SMA Wechselrichter: Unterschied zwischen den Versionen
Krueuw (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
K (Kategorie "Wechselrichter" eingetragen) |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
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 | ||
Zeile 15: | Zeile 16: | ||
attr SI room SYSTEM->modbus | attr SI room SYSTEM->modbus | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Kategorie:Wechselrichter]] |
Aktuelle Version vom 16. November 2024, 11:53 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