Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Has anybody experience with MODBUS to read temp sensors?
#31
Rudy,

That behavior is normal on Linux and it’s not your imagination.

The device name change (ttyACM0 vs ttyUSB0) is about which driver binds to the USB-serial chip.

ttyUSBx usually means a USB-to-serial adapter using the usbserial/ftdi/cp210x/ch34x style driver.

ttyACMx usually means a CDC-ACM device (different driver stack).
Both can work fine, but they behave a bit differently with buffering/latency and line settings, so it’s plausible that ttyUSB feels “more stable”.

The A/B swap is also normal.
RS-485 naming is messy in the real world: some vendors label A/B inverted, some use A+/B-, some use D+/D-, and it’s not consistent. The bus doesn’t care about the labels; it only cares that the differential pair polarity matches. So depending on the adapter labeling, you sometimes have to cross A/B and sometimes not. Your observation fits that perfectly.


Reply
#32
Hi Petr,

thank you for your clear technical explanation.

Rudy M
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question How to read Google Calendar events? Ikerkaz 10 1,920 07-10-2023, 11:06 AM
Last Post: Ultraman
  SHELL creates unicode file, can't read correctly with LINE INPUT thesolarcode 3 1,261 05-06-2023, 09:41 PM
Last Post: thesolarcode
  Read / Allocate Cores dISP 10 2,300 04-25-2023, 12:23 PM
Last Post: dISP
  Can images be read from a file into an array? PhilOfPerth 11 2,608 02-17-2023, 03:31 AM
Last Post: TerryRitchie

Forum Jump:


Users browsing this thread: 3 Guest(s)