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
xExecute
BOOL
Rising edge: Execute
IOLM_ID
DWORD
IO-Link Master ID
Port
BYTE
Port number
RD_WR
BOOL
Indicates whether the Port-Config Data shall be read (RD = FALSE) or written (WR = TRUE)
Inout
PortConfig
IOL-Tool based Port configuration (IOL-PC)
Output
xDone
BOOL
Action successfully completed
xBusy
BOOL
Function block active
xError
BOOL
error occurred, function block aborts action
STATUS
DWORD
Bus error code