Exboom / FreemodbusMulti

Freemodbus with support for multiple protocols at the same time (the project is not finished)
2 stars 0 forks source link

modbus tcp simultaneously connection #1

Open emyildiz opened 2 years ago

emyildiz commented 2 years ago

Hello does this implemantation of freemodbus supports multiple connection with slaves? I want to use modbus TCP and connect to the one master (client) with several slaves (servers) at the same time. Thanks in advance.

Exboom commented 2 years ago

Hello does this implemantation of freemodbus supports multiple connection with slaves? I want to use modbus TCP and connect to the one master (client) with several slaves (servers) at the same time. Thanks in advance.

Hi! I'm sorry, but I didn't implement such functionality. The work was carried out so that the slave could use different interfaces (RTU and TCP) when working with different masters at the same time. However, the project is still not finished, as I don't have time due to the main work.

emyildiz commented 2 years ago

Thank you very much for your response. Is there any suggestions for multiple connection for slaves? Even a little help can come in handy for me.

Exboom commented 2 years ago

Thank you very much for your response. Is there any suggestions for multiple connection for slaves? Even a little help can come in handy for me.

If I understand correctly, you want to use a star network. This requires a proper implementation of master. Slaves simply have their own ip address, with which they will be accessed by the master. Unfortunately, I will not be able to suggest something for the implementation of master, try to take the work of Armink as an example, and for the slaves to work correctly, it is enough to use the original freemodbus driver.