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: 2024-05-29 05:03 AM
I am getting an error message in Wireshark when i was trouble shooting a communication issue. It is noticed that PLC is sending function code-23 data request and not accepted by Slave device.
Function Code-23 request is not sending frequently. it is occurring very rarely. is there a way to control the function codes in IO Scanning or to avoid this exception messages?
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: 2024-05-29 09:00 PM . Last Modified: 2024-05-30 08:54 PM
When you say it is rarely using FC 23, is it mainly using FC 03 and FC 16, and then occasionally probing with FC 23 to see if it works?
Some devices (M221 for example), you only need one line, and it tests FC 23 first, and if rejected, it breaks it up into a FC 03 and FC 16 automatically. Perhaps the M580 is doing the same too.
If you want to make it robust and not have FC 23, make one I/O scanning line for the read and one for the write (one 0 write size and the other 0 read size). This will make it use FC03 and FC16 and you shouldn't see any FC 23.
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: 1 month ago
This is the way.....
The M580 does use FC23 in preference to a separate read and write if it can in one line. Splitting into two lines stops this but consumes more resources. If the FC23 is rejected it will then revert to 3 and 16.
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: 2024-05-29 09:00 PM . Last Modified: 2024-05-30 08:54 PM
When you say it is rarely using FC 23, is it mainly using FC 03 and FC 16, and then occasionally probing with FC 23 to see if it works?
Some devices (M221 for example), you only need one line, and it tests FC 23 first, and if rejected, it breaks it up into a FC 03 and FC 16 automatically. Perhaps the M580 is doing the same too.
If you want to make it robust and not have FC 23, make one I/O scanning line for the read and one for the write (one 0 write size and the other 0 read size). This will make it use FC03 and FC16 and you shouldn't see any FC 23.
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: 1 month ago
This is the way.....
The M580 does use FC23 in preference to a separate read and write if it can in one line. Splitting into two lines stops this but consumes more resources. If the FC23 is rejected it will then revert to 3 and 16.
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: 1 month ago
Thanks for your reply
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: 1 month ago
Thank you 😊
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.