Ich lese wie folgt meinen WR aus:
define FOX_WR ModbusAttr 1 60 192.xxx.yyy.zzz:502 TCP
attr FOX_WR room Solar
attr FOX_WR silentReconnect 1
attr FOX_WR dev-h-defPoll 1
attr FOX_WR dev-h-defLen 2
attr FOX_WR dev-timing-timeout 5
attr FOX_WR dev-h-combine 50
attr FOX_WR dev-i-combine 40
attr FOX_WR dev-type-U16-len 1
attr FOX_WR dev-type-U16-unpack n
attr FOX_WR obj-h37609-reading BAT_voltage
attr FOX_WR obj-h37609-type U16
attr FOX_WR obj-h37609-expr $val/10
attr FOX_WR obj-h37609-poll 1
attr FOX_WR obj-h37609-pollDelay x5
Das Lesen der Register funktioniert sehr gut. Problem ist das pollDelay Attribute für Register, die ich nicht so oft auslesen will. Es wird nicht angenommen.
Oh, sorry. Es scheint case sensitive zu sein. polldelay x5 wird angenommen.