M
Momosight

modbus-errors.md · updated 07/06/2026, 14:51:17

Edit

Modbus Errors Troubleshooting

Common Issues

ไม่สามารถ connect Modbus ได้

  1. ตรวจสาย RS485 — สลับ A/B
  2. ตรวจ baud rate — default 9600, 8N1
  3. ตรวจ Slave ID — ต้องไม่ซ้ำกัน
  4. ตรวจ termination resistor — 120Ω ที่ปลายสาย

อ่านค่าได้แต่ผิดปกติ

  1. ตรวจ register address — ดู datasheet ของ device
  2. ตรวจ data type — INT16, UINT16, FLOAT32
  3. ตรวจ byte order — Big Endian vs Little Endian