logo elektroda
logo elektroda
X
logo elektroda

RS485 Modbus Communication with modpoll on Linux Returns Only Zero Values

48 6
ADVERTISEMENT
  • #1 21662655
    Jonathan Gowar
    Anonymous  
  • ADVERTISEMENT
  • #2 21662656
    Peter Evenhuis
    Anonymous  
  • ADVERTISEMENT
  • #3 21662657
    Jonathan Gowar
    Anonymous  
  • ADVERTISEMENT
  • #4 21662658
    Peter Evenhuis
    Anonymous  
  • ADVERTISEMENT
  • #5 21662659
    Pieter Kruger
    Anonymous  
  • #6 21662660
    Jonathan Gowar
    Anonymous  
  • #7 21662661
    Jonathan Gowar
    Anonymous  

Topic summary

The discussion addresses an issue with RS485 Modbus communication on a Linux system using modpoll, where the user consistently receives zero values from the device. The user built an RS232 to RS485 converter based on a referenced design and tested with and without terminating resistors and different cable lengths, but the problem persists. Suggestions include verifying the presence and placement of termination resistors, confirming the correct slave address (commonly 1, but multiple devices can have different addresses), and ensuring the device uses Modbus RTU rather than ASCII. Testing the converter with two units connected between PCs or using alternative Modbus tools such as SCADA software (e.g., Citect) is recommended to isolate the issue. The user confirms the device expects RTU and currently has only one device, limiting some test options.
Summary generated by the language model.
ADVERTISEMENT