Hello thank you , can you help me ?
Sorry for my bad English…
Recently I discovered OPenHab , and I am using it to monitor the home
automation system at home .
Via The me the Modbus RTU RS232 port to connect DFTS DUEMMEGI module that
contains an organized RAM in 16-bit registers each ( Word ) .
Each Word contains information regarding the status of Domino connected bus
modules
Example
001 to 255 word by word you can read the status of inputs in bits or value
257 to 511 word by word you can read / scriere status bit or output value.
Tech support told me to use the function 16
The tests have not been entirely positive
The state of the input word / bit and word / bit can not see properly
while the command of the outputs can only drive the bit 0 of each word all
the other ( 1 -bit / 2 bits / bit 3 ) do not work
What can be the cause ?
THANK YOU
Da: Ssalonen [mailto:bot@community.openhab.org]
Inviato: sabato 19 marzo 2016 08:48
A: premoliomar@tiscali.it
Oggetto: [openHAB] [Add-ons/Bindings] Writing values in modbus binding not
considering valuetype and binding state
<https://community.openhab.org/user_avatar/community.openhab.org/ssalonen/45
/1268_1.png> ssalonen https://community.openhab.org/users/ssalonen
March 19
Ok now I get it. I think not many use the global parameter, after all it was
undocumented for a long while…
It might be useful for some users, see this
https://community.openhab.org/t/modbus-rtu-function-code/7045 post. Not
sure though was it misunderstanding, but we understood that the users slave
did not support fc 6 but it did support fc 16 (yes this is not a typo!).
Like you said, in the current binding, the register write requests contain
only one register… Even with the writemultipleregisters=true!
Best
Sami
Visit
<https://community.openhab.org/t/writing-values-in-modbus-binding-not-consid
ering-valuetype-and-binding-state/5247/10> Topic or reply to this email to
respond
In Reply To
<https://community.openhab.org/user_avatar/community.openhab.org/w2vy/45/218
1_1.png> w2vy https://community.openhab.org/users/w2vy Thomas
https://community.openhab.org/users/w2vy Moulton
March 19
What I am suggesting is that since the current write code only writes a
single register then we can eliminate the global writemultipleregisters
setting and it would not effect anyone… tom
Visit
<https://community.openhab.org/t/writing-values-in-modbus-binding-not-consid
ering-valuetype-and-binding-state/5247/10> Topic or reply to this email to
respond
To stop receiving notifications for this particular topic, click
<https://community.openhab.org/t/writing-values-in-modbus-binding-not-consid
ering-valuetype-and-binding-state/5247/unsubscribe> here. To unsubscribe
from these emails, change your user
https://community.openhab.org/my/preferences preferences