• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with the communication of the RS485 interface
#4
Meanwhile I checked the source code of the RTUbuffered mode to see what it is doing: https://github.com/yaacov/node-modbus-se...redport.js

I see in there that whenever the serialport node (used by Modbus RTU node: https://github.com/serialport/node-serialport) raises the event 'data' on each Rx byte that then it is checkin if a complete Modbus RTU message has been received to the end. This is possible since with the previously sent Modus command you know exactly how long the response of the server will be.

Is your python code doing the same thing? I don't know.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
RE: Problems with the communication of the RS485 interface - by Armin@netPI - April-28th-2020, 09:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NPIX-RS485 with auto direction control now available Armin@netPI 11 8,836 May-15th-2020, 10:46 PM
Last Post: EnergyKonnex
  connecting Mitsubishi via RS485 COswald 11 8,812 January-14th-2020, 10:58 AM
Last Post: Armin@netPI
  Dual RS485 Ports primmer 2 3,173 September-25th-2019, 09:43 AM
Last Post: primmer
  Is there a demand for a RS422 interface? Armin@netPI 0 1,797 April-29th-2019, 10:58 AM
Last Post: Armin@netPI
  Communication between BCM2837 and netX51 on netPI RTE 3 Armin@netPI 0 2,091 December-3rd-2017, 01:19 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)