12/1/2021 3:41 PM | |
Joined: 7/9/2015 Last visit: 8/30/2024 Posts: 3943 Rating:
|
Hi, you want to check link status of every port of a profinet device. Did you check instruction LED - Read LED status? Regards, Towome |
|
|
12/2/2021 3:32 PM | |
Joined: 3/30/2016 Last visit: 8/14/2024 Posts: 5 Rating:
|
So I've tried it on a physical PLC. It looks like the LED function doesn't work correctly but the RDREC does. So first you've got to get the profinet devices. This function will retrieve all station numbers of the configured profinet devices:
At last, you can get the data from the port:
The two example projects that helped me a lot can be downloaded here: https://support.industry.siemens.com/cs/tw/en/view/38566021 https://support.industry.siemens.com/cs/ww/en/view/98210758 The first example shows how to get the data of a port, the second example is really interesting if you're trying to do anything with hardware diagnositcs. It shows a lot of information about almost all profinet devices. |
Last edited by: Jen_Moderator at: 12/03/2021 08:44:15Optimized links. |
|
This contribution was helpful to
2 thankful Users |
Follow us on