Hi,
I have to show the Profinet Device name of the PLC in an eHMI web page.
Is there any way to get the PN Device name as a variable?
Thanks,
Marcello
Hi,
I have to show the Profinet Device name of the PLC in an eHMI web page.
Is there any way to get the PN Device name as a variable?
Thanks,
Marcello
Have you tried the IP_TO_ADDRESS function block inside the PLC Next Controller library?


Thanks for your reply
The FB seems to need as input an „ID“:
Data type:DWORD Description:Unique Profinet address ID to be converted to the Profinet address structure ADDR.
Do you know how can I get this?
Thanks,
Marcello
In the help file for a different profinet function block (RDREC) I found this:

Thanks again for your reply
What I’m looking for is showing on eHMI the station name of the PLC acting as profinet device.
This FB seems to get the profinet station name of the devices when the PLC act as profinet controller.
Thanks,
Marcello
Hi Marcello. Sorry for the very long delay getting an answer for you.
I’ve just heard from the PLCnext Engineer team that this is not currently possible.
There is a system service that provides this information (the Read method on the Profinet Configuration Service), but it’s not trivial to call that method from PLCnext Engineer.
The best suggestion I can think of is to ask the developers of the PLCnextBase library to add this feature to their library. That library already uses other similar system services, so maybe it will be possible for them to extend the library to include this service too.
Thanks!