14.12.2023, 07:38
Hello admin, I have a device that operates on RS485. I would like to read data from it. It's not Modbus, but some other RS485. How can I 'listen' to what is coming on the port?
Rs 485
|
14.12.2023, 07:38
Hello admin, I have a device that operates on RS485. I would like to read data from it. It's not Modbus, but some other RS485. How can I 'listen' to what is coming on the port?
14.12.2023, 09:43
This script will log every received character in hexadecimal form.
Code: port = require('serial').open('/dev/RS485-1', {
I needed something similar for rs232 too. There was one example on the site for rs 232 but it is gone.
Thank you!
14.12.2023, 14:49
For RS232 change /dev/RS485-1 to /dev/RS232 and duplex from half to full
|
« Next Oldest | Next Newest »
|