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... | |
#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.
#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.
#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.
#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.
#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.
#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.