Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-05-26 07:20 AM
Hi,
I have M580 CPU and i would like to communicate with other Modbus TCP devices using the CPU ethernet port. I'm using the READ_VAR and WRITE_VAR blocks but i have some intermittent timeouts. I would like to know the limitations of thoses blocks (read and write) ? I do many READ_VAR and WRITE_VAR at the same time(maximum of 10). I'm using the EN input on the read_var /WRITE_VAR with %S6 and a NF contact with the activity bit. How many READ_VAR/WRITE_VAR should i do at same time?
Thank you,
Fred
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-05-27 04:12 AM
Hello Crewman,
actually, I do not recommend using read_Var with a large scale or near the limit, you can use DTM approach to make suitable communication and you will have 63 connections,
but you can use enable input but Pulse approach will not be effective, you need to create a block to manage the communication and request queue
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-05-29 06:43 AM
Thanks for the answer.
Do you know the exact limitations of the read_var and write_var? I have some request by modbus RTU and i can't use the DTM approach. i have a mix of RTU and TCP modbus devices.
Thanks,
Fred
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.