PN_PortConfiguration (FB)
FUNCTION_BLOCK PN_PortConfiguration
This function block reads or updates the PROFINET Port configuration (PN-PC) of a single Port (Profinet Data-Record 0xB900).
- InOut:
Scope
Name
Type
Comment
Input
xExecuteBOOLRising edge: Execute
IOLD_IDDWORDIO-Link Device Submodule ID
RD_WRBOOLIndicates whether the ProtConfig Data shall be read (RD = FALSE) or written (WR = TRUE)
Inout
PortConfigPROFINET Port configuration (PN-PC)
Output
xDoneBOOLAction successfully completed
xBusyBOOLFunction block active
xErrorBOOLerror occurred, function block aborts action
STATUSDWORDBus error code