IO-Link Master  1.03.03
IO-Link Port Definitions

Overview

IO-Link Port Definitions.

Macros

#define IOL_USE_FULL_CHECKSUM_LOOKUP   1
 This define sets the size of the checksum lookup table. More...
 
#define IOL_T_T1_BIT   1
 UART frame transmission delay of Master (ports). More...
 
#define IOL_T_T2_BIT   3
 UART frame transmission delay of Devices. More...
 
#define IOL_T_TA_BIT   10
 Response time of Devices. More...
 
#define IOL_T_TDMT_BIT   32
 Master Message Delay. More...
 
#define IOL_T_REN_US   500
 Receive enable delay. More...
 

Macro Definition Documentation

◆ IOL_T_REN_US

#define IOL_T_REN_US   500

Receive enable delay.

See 5.3.3.3 of IO-Link Specification v1.1.2. This delay is the wait time after the wake-up pulse, before the communication is starting.

◆ IOL_T_T1_BIT

#define IOL_T_T1_BIT   1

UART frame transmission delay of Master (ports).

See A.3.3 of IO-Link Specification v1.1.2. This is the maximum time between two Master Tx UART bytes. Depending on the hardware implementation (using of FIFO or DMA) this value can be set to 0. The value is only used to calculate the frame monitor and mincycletime.

For the Device implementation this value should always be set to the maximum allowed value in the specification.

◆ IOL_T_T2_BIT

#define IOL_T_T2_BIT   3

UART frame transmission delay of Devices.

See A.3.4 of IO-Link Specification v1.1.2. This is the maximum time between two Device Tx UART bytes. Depending on the hardware implementation (using of FIFO or DMA) this value can be set to 0. The value is only used to calculate the frame monitor and mincycletime.

For the Master implementation this value should always be set to the maximum allowed value in the specification.

◆ IOL_T_TA_BIT

#define IOL_T_TA_BIT   10

Response time of Devices.

See A.3.5 of IO-Link Specification v1.1.2. This value is the delay after the last Master UART byte until the Device starts with the response.

◆ IOL_T_TDMT_BIT

#define IOL_T_TDMT_BIT   32

Master Message Delay.

See 7.3.2.3 of IO-Link Specification v1.1.2. This is the number of bit times, the Master has to wait, before trying another baud rate.

◆ IOL_USE_FULL_CHECKSUM_LOOKUP

#define IOL_USE_FULL_CHECKSUM_LOOKUP   1

This define sets the size of the checksum lookup table.

If 1, there is a 256 byte lookup table used. if 0, there is only a 32 byte lookup table used. The bigger lookup table is faster, the smaller needs less code. The checksum had to be computed twice (Master+Device) during an IO-Link cycle. Because of this it is recommended to use the full lookup table.