Posted 19 Oct 2021 Hi everyone, I'm new here. Thank you all in advance for the help you can give me. I have one machine with PLC Omron NJ101-9000, and this is Server in the Modbus communication. In the attachments, you can find the function block I used to communicate with 1 client. This work OK and I don't have problems, but I need to communicate with 2 clients at the same time. This block only admits one connection at a time. How I can connect 2 at a time? If I create 2 of these blocks, does each client need to connect to a different port? Do I need "open" this port in PLC configuration? Thanks! Share this post Link to post Share on other sites
Posted 22 Oct 2021 You can do this but you'll need to "clone" the MTCP_Server block and change the port inside. Once this is done you make an instance of the original and an instance of the cloned block. The code itself is locked but you can cut and paste it pretty easily. I have done this when I needed to increase the data size of the served data. Share this post Link to post Share on other sites