Overview

The PLC library Tc3_IoLink is used for communication with IO-Link devices.

For this purpose, function blocks are available that support the “Common Profile” and “Smart Sensor Profile” and enable parameters to be read and written.

Functions

F_IolGetAdsErrorTxt

Conversion of ADS errors to text form.

F_IolGetChannelStateTxt

Conversion of state channel and port to text.

F_IolGetErrorTxt

Returns the IO-Link error as a string in text form.

F_IolGetIolError

Returns the IO-Link error code as E_IOlError.

F_IolGetIolErrorTxt

Returns the IO-Link error code as a string.

F_IolGetPortError

Outputs the state channel as E_IOlPortError.

F_IolGetPortState

Converts state channel to E_IOlPortState.

F_IolGetProfileIdTxt

Converts E_IOlProfileIdentifier to text format.

F_IolIsBusy

Indicates whether a block is being processed.

Function blocks

FB_IoIRead

Reads IO-Link parameters.

FB_IolWrite

Writes IO-Link parameters.

IOL_IdentificationAndDiagnosis

Identifies and diagnoses an IO-Link device.

IOL_MeasurementDataChannel

Defines process data structure, functions, and representation of measurement sensors.

Object-oriented function blocks

I_IolSlave

Defines the parameters.

FB_IOlSlave

Reads out IO-Link parameters.

FB_IolStdVarSlave

Writes and reads out IO-Link parameters.

FB_IolExtIdentSlave

Inherits from FB_IOlSlave.