Activity Forums Questions & Troubleshooting Multiple ModbusRTU device

  • Multiple ModbusRTU device

  • ryan

    Member
    September 29, 2021 at 5:54 am

    So, i would like to use multiple Modbus device and they are of different parity check. How can i program them? If i use ModbusRTU::end() to terminate the communication and start a new one, i think it will crash somehow. Do i make another struct object like ControllinoModbusMaster2(MasterModbusAdd, RS485Serial, 0)? Will this cause crash while running?

    • This discussion was modified 3 years, 3 months ago by  ryan.
  • ryan

    Member
    September 29, 2021 at 8:15 am

    I have tested it. I think if i just write two begin with different parity check, they will just crash and no signal is R/W. Is there any way to use the end() function in the struct? I see it but when i tried to use it, it will be a error. I also dont see the detail code for this function.

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now