I have an application where I need to talk to 12 modbus TCP slaves.
Is it better to have 12 instances of the MBM_Communicate function block or only 1 instance where I loop through all the remote nodes?
The 1st option seems the better for me as it would require less code and as each of my slaves is identical, it could be encapsulated in function blocks.
Anyone have experience here?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have an application where I need to talk to 12 modbus TCP slaves.
Is it better to have 12 instances of the MBM_Communicate function block or only 1 instance where I loop through all the remote nodes?
The 1st option seems the better for me as it would require less code and as each of my slaves is identical, it could be encapsulated in function blocks.
Anyone have experience here?
Thanks
Hi Norman,
I'm afraid that several instances of MBM_Communicate won't work.
The function block has global variables containing an array with all connections. The connections are limited to 10!
I suggest to contact Moeller support ( e sia@moeller.net e ) May be that they can provide a modified Lib.
regards
Klaus
Thank you for your reply. I figured there was some sort of limitation.
I wonder how things will be at Moeller since Eaton has purchased them?
http://www.bloomberg.com/apps/news?pid= ... refer=home m
Who knows??