Modicon PAC Forum
A forum for topics related to the scope of Modicon PAC offers and ecosystem along the whole lifecycle: Modicon M580 and 340, EcoStruxure Control Expert, EcoStruxure Process Expert (Unity Pro) and more.
Link copied. Please paste this link to share this article on your social media post.
Posted: โ2025-02-14 07:11 PM
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: โ2025-02-18 02:57 AM . Last Modified: โ2025-02-18 10:08 PM
Show us your code and maybe someone can help you figure it out. But the first thing that comes to my mind is if you set a timeout in the GEST variable? The third INT in a 1..4 array should be set to 10 for example for 1000ms timeout. And don't forget to save this array in a %MW so it retains its value or make sure this third INT is set at at least each PLC start.
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.
Link copied. Please paste this link to share this article on your social media post.
Posted: โ2025-02-24 09:21 AM
Is the GEST animation from when it has stopped working? A 7 in the second int's least significant byte means "Problem in sending to the destination". I have no idea what could cause that ๐
7424 (bit 0 is not set) also tells us it is not waiting for something which is also a bit strange but that might be that your "round robin" trigger tells it to hold in this exact moment.
Is that first int counting/changing or is it frozen? How is bit 0 in it behaving?
I think I would capture the communication at network level with wireshark to better understand what really happens. I would also try what happens if you change the communication to another device like another PLC to see if it has something to do with this particular device.
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: โ2025-02-24 10:24 AM
Another thing that comes to my mind, what version is the CPU firmware?
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: โ2025-02-24 07:52 PM
Firmware version of CPU - 3.22
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: โ2025-02-24 08:56 PM
Hi, It could be that the relay stops responding. Have you tried poling the same register using a modbus simulator (plenty free ones on the web)?
With Modbus comms I always start by using a Modbus Simulator from my PC to the device as this eliminates a lot of uncertainties.
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: โ2025-02-24 10:22 PM
3.22 skuld be good, last in 3.x line. 4.x is mostly about security/new features so it would probably not help. My bet is that this has something to do with the specific device.
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: โ2025-02-25 12:15 AM
Yes i have tried from Modscan. But the problem is after timeout when i download the program again, it works till timeout. So i dont think the relay stops responding.
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: โ2025-02-25 12:18 AM
Which security features need to enable for this?
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: โ2025-02-25 09:33 AM
Now I don't understand what you mean?
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: โ2025-02-25 07:49 PM
Is there any features to enable for timeout or anything to check in specific device?
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: โ2025-02-26 07:52 AM . Last Modified: โ2025-02-26 08:25 AM
I would try to change address on the read_var block from 3 to 2 or 4 to eliminate register vs offset address issue.
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.