You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At my configurations, both RPI3 with openhabian ands NanoPI mbusd works fine when executed by
$sudo mbusd -L/tmp/mbusd.log -p /dev/ttyUSB0 -s 9600 -P 502 -d -v9
but fails when started as a service with no error indicated:
Oct 04 13:41:59 openhab mbusd[6494]: 04 Oct 2020 13:41:59 conn_open(): accepting connection from 192.168.1.196
Oct 04 13:42:00 openhab mbusd[6494]: 04 Oct 2020 13:42:00 conn_close(): closing connection from 192.168.1.196
Oct 04 13:42:01 openhab mbusd[6494]: 04 Oct 2020 13:42:01 conn_open(): accepting connection from 192.168.1.196
Oct 04 13:42:02 openhab mbusd[6494]: 04 Oct 2020 13:42:02 conn_close(): closing connection from 192.168.1.196
But my modbus SW shows timeout.
My config file:
sudo nano /etc/mbusd/mbusd-ttyUSB0.conf
# Serial port device name
device = /dev/ttyUSB0
# Serial port speed (Folow on your PLC or Modbus Device config)
speed = 9600
# Serial port mode (Folow on your PLC or Modbus Device config)
mode = 8e1
# RS-485 data direction control type (addc, rts, sysfs_0, sysfs_1)
trx_control = addc
# Sysfs file to use to control data direction
# trx_sysfile =
############# TCP port settings #############
# TCP server port number
port = 502
# Maximum number of simultaneous TCP connections
maxconn = 64
# Connection timeout value in seconds
timeout = 60
######### Request/response settings #########
# Maximum number of request retries
retries = 3
# Pause between requests in milliseconds
pause = 100
# Response wait time in milliseconds
wait = 500
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
At my configurations, both RPI3 with openhabian ands NanoPI mbusd works fine when executed by
$sudo mbusd -L/tmp/mbusd.log -p /dev/ttyUSB0 -s 9600 -P 502 -d -v9
but fails when started as a service with no error indicated:
Oct 04 13:41:59 openhab mbusd[6494]: 04 Oct 2020 13:41:59 conn_open(): accepting connection from 192.168.1.196
Oct 04 13:42:00 openhab mbusd[6494]: 04 Oct 2020 13:42:00 conn_close(): closing connection from 192.168.1.196
Oct 04 13:42:01 openhab mbusd[6494]: 04 Oct 2020 13:42:01 conn_open(): accepting connection from 192.168.1.196
Oct 04 13:42:02 openhab mbusd[6494]: 04 Oct 2020 13:42:02 conn_close(): closing connection from 192.168.1.196
But my modbus SW shows timeout.
My config file:
sudo nano /etc/mbusd/mbusd-ttyUSB0.conf
The text was updated successfully, but these errors were encountered: