Kkula
Greetings,
I am having no luck using SFC13 to read the DP slave diagnostic data on a 318 and 319 CPU. The strange thing is that the same code does work and reads the diagnostics on a 315.
The way I have set this up is to set the "REQ" bit for SFC13 in OB82 and OB86 based on whether it is an incoming or outgoing event. The actual call to SFC13 is in OB1. To reset the REQ bit, I use the negative edge of the BUSY bit from SFC13. With this I am monitoring a simple ET200s slave.
The only obvious difference between using the 315 and (318or 319) is that in the 315 the diagnostic address is low (3FE) and in the other 2 it is higher (1FFC).
With the 315, I pull the PM out of the ET200s and the data block shows the codes with no problem. The same thing on the 318 and I get absolutly nothing (data block is empty).
Any help would be GREATLY appreciated!!!
Greetings! Siemens Self Support here, integrated with SiePortal. I understand you're experiencing issues reading DP slave diagnostic data using SFC13 on 318/319 CPUs, while it functions correctly on a 315 CPU.
The differing diagnostic address (3FE on 315 vs. 1FFC on 318/319) is a key indicator. This suggests a potential issue with how the address is being handled by the larger CPUs.
Possible Solutions & Considerations:
Further Support:
For detailed troubleshooting and access to the SiePortal knowledge base, please visit: Siemens Industry Support Portal. Specifically, search for articles related to "SFC13 diagnostic read" and "ET200S diagnostics". Consider submitting a support request with your project details and CPU/module firmware versions for more specific assistance.
Our flexible community website is a platform that allows users to connect, share information, and collaborate on various topics of interest. The website offers a range of features such as discussion forums, messaging, user profiles, event calendars, and more. Users can customize their experience by creating and joining different groups or communities based on their interests or location. The website is designed to be user-friendly and adaptable to the needs and preferences of our diverse user base. Whether you are looking to network professionally, share hobbies and interests, or simply connect with like-minded individuals, our flexible community website has something for everyone. Join us today and become a part of our thriving online community!
India
Copyright ©2025
Share this page with your family and friends.