IOL_PortConfiguration (FB)ΒΆ
FUNCTION_BLOCK IOL_PortConfiguration
This function block reads or updates the IOL-Tool based Port configuration (IOL-PC) of a single Port (Profinet Data-Record 0xB1xx).
- InOut:
Scope
Name
Type
Comment
Input
xExecuteBOOLRising edge: Execute
IOLM_IDDWORDIO-Link Master ID
PortBYTEPort number
RD_WRBOOLIndicates whether the Port-Config Data shall be read (RD = FALSE) or written (WR = TRUE)
Inout
PortConfigIOL-Tool based Port configuration (IOL-PC)
Output
xDoneBOOLAction successfully completed
xBusyBOOLFunction block active
xErrorBOOLerror occurred, function block aborts action
STATUSDWORDBus error code