Data mapping
Data mapping is used to define which cyclic data available from the connected IO-Link device is to be used in the inverter. When configuring the inverter with the "EASY Starter", the user assigns the available data to internal objects (parameters) of the inverter and sets the desired functionality.
Details
A connected IO-Link device provides a cyclic input and/or output process data interface. The process data received via the IO-Link ports can be linked directly to functions of the inverter. Likewise, information from the inverter can be linked to the process data sent via the IO-Link ports. In the further description this is called "mapping".
The data within the process data objects can be of different lengths. For the mapping of IO-Link process data, any length from 1 ... 32 bits is supported. On the IO-Link side the length is exactly as selected, in the inverter it is mapped to a parameter of length 8, 16 or 32 bits. Unused bits are padded with 0 (if destination > source) or ignored (if destination < source). The value is always aligned to the least significant bit.
For each input and output of each IO-Link port, an array object (0x24Dx) is available to define the mapping. Each subindex > 0 indicates the mapping for a value exchanged between inverter and IO-Link process data. The mapping information contains the parameter to be mapped (index and subindex) and the size used in the process data. The process data is referenced consecutively with each subindex in ascending order.
Change mapping
To change a mapping, the subindex 0 must be set to "0".
To reactivate the changed mapping, the number of mapping entries must be written to subindex 0.
Structure of the mapping entries
The content of the subindex in the array object is a 32-bit value with the following structure:
|
Byte 3 (MSB)
|
Byte 2
|
Byte 1
|
Byte 0 (LSB)
|
|
Index of the parameter (MSB)
|
Index of the parameter (LSB)
|
Subindex of the parameter
|
Data length in bits
|
"Stuffing” entries
If the process data contains gaps (unneeded data) between the signals, these can be marked as not used with so-called "stuffing" entries.
A "stuffing" entry is an entry with index 0x0005 and subindex 0x00 and an arbitrary data length of 1 ... 255 bits:
|
Byte 3 (MSB)
|
Byte 2
|
Byte 1
|
Byte 0 (LSB)
|
|
0x00
|
0x05
|
0x00
|
0x01 ... 0xFF
|
Parameter