problem with mbusd source code
Hello
when modbus program (free MODBUS/TCP to MODBUS/RTU gateway server (mbusd)) on ttyS0 is run, inserted parameter not initialize. Quote:
Quote:
this section of mbusd source code is for initializing : Quote:
anybody can help me to solve this problem. Thanks |
when working with usb to serial adapter and cable, mbusd program works without any problem. (/dev/ttyUSB0)
but when working with serial port (/dev/ttyS0) does not work. In builder site (mbus.sourceforge.net) posted : Please note that currently mbusd can't operate with RS-232/RS-485 converters with direction switching by RTS pin. Use converters with automatic data direction control (i.e. Moxa Transio series). why when i use "$ stty -F /dev/ttyS0 speed 19200 cs8 cread" on ttyS0 my mbusd starts working? |
All times are GMT -5. The time now is 06:14 PM. |