How to disable and enable the 1Wire bus (M503)
-
-
Hi...again
One more stupid question: How do I reset 1-wire bus with mbpoll?
I mean, how can i "convert" those commands:
./pollmb.py -p 502 -u 1 -f 5 -a 1001 -q 1 -d 1 ./pollmb.py -p 502 -u 1 -f 5 -a 1001 -q 1 -d 0
to mbpoll "format". I just don't understand how to read/write coils with mbpoll.
Thank you!
Vesa -
Hi @vesa-kauppinen,
writing 1 to coil 1001:mbpoll -m tcp -a 0 127.0.0.1 -t 0 -0 -r 1001 1
Writing 0:
mbpoll -m tcp -a 0 127.0.0.1 -t 0 -0 -r 1001 0
You can learn more from the quite detailed help of the mbpoll:
mbpoll -h
Regards,
Martin