brainelectronics / micropython-modbus

MicroPython Modbus RTU Slave/Master and TCP Server/Slave library
GNU General Public License v3.0
104 stars 45 forks source link

rtu slave with master on each uart #87

Open modbusrtus opened 7 months ago

modbusrtus commented 7 months ago

Description

can anyone help me develop rtu slave which support connection from master on each uart and allow to read/write into same registers? ive created connection, everything works, but basically on each uart is different sets of registers. im fairly new into this matter, i know that i need to have one instance with both connections and handle them according to request, but im a little bit stuck..

Reproduction steps

1. 2. 3. ...

MicroPython version

v1.22.1

MicroPython board

Raspberry Pico

MicroPython Modbus version

v2.3.7

Relevant log output

No response

User code

No response

Additional informations

No response