8/14/2020 8:47 AM | |
Joined: 6/7/2015 Last visit: 5/20/2024 Posts: 29 Rating: (0) |
Hi All, If I want to have more than one 'job' per modbus connection, what is the best way of doing it ? Say I want two jobs on connection ID number 1. Do I have two instances of MB_Client and activate "REQ' on the first instance and just EN on the next instance or do I need to activate REQ for both jobs. I would have thought activating REQ for both instances would mean sending a connection request to an already 'open' connection'.....or does the block need a REQ to send the data even if the connection is already established ? Cheers ! ------------------------------------------------------------------------------------------ |
Last edited by: The Helping Hand at: 08/14/2020 09:57:32New subject after splitting |
|
8/16/2020 1:06 PM | |
Joined: 12/22/2006 Last visit: 1/25/2022 Posts: 1742 Rating: (309) |
Hi, The MC_client holds in its instance DB information about the status of the connection. See a suggested solution as annex. AttachmentFB_MyClient.pdf (113 Downloads) |
Best regards |
|
Follow us on