HomeKnowledgeHow does IO-Link confirm the process data length of a slave?

How does IO-Link confirm the process data length of a slave?

2023-11-20

When configuring a slave for IO-Link, there is no need to select a specific model; simply define the same byte length as the slave's process data. Generally, there are three ways to obtain the process data length of the slave.


How does IO-Link confirm the process data length of a slave?

↑ Solidot IO-Link Master and slave


Consult the operating manual of the slave device


For example, for the Solidot slave IOL7-16CB-M12, the process data description table can be found in the operating manual

process data Mapping

Input data:

Byte

0

1

Bit

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

Subindex

8

7

6

5

4

3

2

1

16

15

14

13

12

11

10

9

Offset bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Pin

X03-pin2

X03-pin4

X02-pin2

X02-pin4

X01-pin2

X01-pin4

X00-pin2

X00-pin4

X07-pin2

X07-pin4

X06-pin2

X06-pin4

X05-pin2

X05-pin4

X04-pin2

X04-pin4

Output data:

Byte

0

1

Bit

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

Subindex

8

7

6

5

4

3

2

1

16

15

14

13

12

11

10

9

Offset bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Pin

X03-pin2

X03-pin4

X02-pin2

X02-pin4

X01-pin2

X01-pin4

X00-pin2

X00-pin4

X07-pin2

X07-pin4

X06-pin2

X06-pin4

X05-pin2

X05-pin4

X04-pin2

X04-pin4


From the table, the process data has 2 bytes of input and 2 bytes of output, so the slot is selected as IOL_I/O_02/02 byte

How does IO-Link confirm the process data length of a slave?



Consult the IODD file of the slave device


Generally, IO-Link slave devices all have an IODD file, as shown in the figure below.

How does IO-Link confirm the process data length of a slave?



Opening this file directly is rather difficult to read, so we can use a software tool called IODD Viewer, which can be downloaded online or obtained by contacting us.

How does IO-Link confirm the process data length of a slave?



By opening the IODD file in the software, we can obtain the desired information more intuitively.

How does IO-Link confirm the process data length of a slave?



Click the first row, process data, to jump to the process data description page, as shown in the figure below. We can clearly see that the process data has 2 bytes of input and 2 bytes of output, so select IOL_I/O_02/02 byte for the slot.

How does IO-Link confirm the process data length of a slave?



Reading ISDU from the slave


Not all masters can read ISDU parameters (for example, Siemens TIA Portal can only perform ISDU write). Here, TwinCAT is used as an example —


Configure the port in IO-Link mode with any length, connect to the slave, and in CoE-online, locate index 9000:0 IOL Info data port 0. From here onward is the slave information read in real time by the master's IO-Link ports 0 to 7. The process data length can be read at 9000:24 and 9000:25.

How does IO-Link confirm the process data length of a slave?



Here you can see 16-bit input and 16-bit output; therefore, this is also 2-byte input and 2-byte output, so select IOL_I/O_02/02 byte