Process image

The process image of the KL6224 consists of a 6-byte parameter data block and a 6-, 8-, 18-, 30- or 42-byte process data block.
The result is a 12-, 14-, 24-, 36- or 48-byte process image.

The size of the process image can be set via the KS2000 configuration software, or fieldbus-specific via the Bus Coupler. It is stored in register R27 of the KL6224.
After changing the process image the Bus Coupler must be restarted for the modified process image to take effect.

Please refer to chapter Firmeware version of the Bus Couplers to find out which process images your Bus Coupler supports.

Description of the process images

Process image 1:

Selection of the process image

The process image should not be larger than necessary for operating your IO-Link devices!
This saves bandwidth for the higher-level fieldbus and the K-bus. Since only 12 bytes can be transferred to the KL6224 in a K-bus cycle, the update rate of the other terminals is also optimally fast with minimal selection.

12-byte process image

The 12-byte process image consists of a 6-byte parameter data block and a 6-byte process data block.

Output data (PLC -> KL6224)

Parameter data block (6 bytes)

Process data block (6 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

CB0

CB1

ParaOut0

ParaOut1

ParaOut2

ParaOut3

DataOut0

DataOut1

DataOut2

DataOut3

DataOut4

DataOut5

Input data (KL6224 -> PLC)

Parameter data block (6 bytes)

Process data block (6 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

SB0

SB1

ParaIn0

ParaIn1

ParaIn2

ParaIn3

StatusCh1

StatusCh2

StatusCh3

StatusCh4

DataIn0

DataIn1

Key

CB n: Control byte n of the KL6224
SB n: Status byte n of the KL6224
Para Out n: Output parameter, byte n
Para In n: Input parameter, byte n
StatusCH n: Status information of IO-Link device n
DataOut n: Output data byte n
DataIn n: Input data byte n

12-byte process image, compressed mode

In compressed mode the data are compacted in order to save space (e.g. for CANopen Bus Coupler). It can be activated via the parameter Master Control (register R41 on register page 4).
If compressed mode is active, it applies to all IO-Link ports.

The compressed mode is also available for the larger process images (14, 24, 36 and 48 bytes).
For the larger process images the structure of the mixed data block is exactly as shown here, and the process data block then includes the further data bytes from DataOut2/DataIn2.

Output data (PLC -> KL6224)

Mixed data block (6 bytes)

Process data block (6 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

CB0

CB1

ParaOut0

ParaOut1

ParaOut21 or
DataOut2

ParaOut31 or
DataOut2

DataOut2

DataOut3

DataOut4

DataOut5

DataOut6

DataOut7

Input data (KL6224 -> PLC)

Mixed data block (6 bytes)

Process data block (6 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

SB01 or
StatusCh1/22

SB11 or
StatusCh3/42

ParaIn0

ParaIn1

ParaIn31
or
DataIn02

ParaIn41
or
DataIn12

DataIn2

DataIn3

DataIn4

DataIn5

DataIn6

DataIn7

1) for register communication (see chapter Control and status byte)
2
) for process data mode

Key

CB n: Control byte n of the KL6224
SB n: Status byte n of the KL6224
Para Out n: Output parameter, byte n
Para In n: Input parameter, byte n
StatusCh1/2: Status information of IO-Link device n (4-bit low = port 1 / 4-bit high = port 2)
StatusCh3/4: Status information of IO-Link device n (4-bit low = port 3 / 4-bit high = port 4)
DataOut n: Output data byte n
DataIn n: Input data byte n

14-byte process image

The 14-byte process image consists of a 6-byte parameter data block and an 8-byte process data block.

Output data (PLC -> KL6224)

Parameter data block (6 bytes)

Process data block (8 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

Byte 12

Byte 13

CB0

CB1

ParaOut0

ParaOut1

ParaOut2

ParaOut3

DataOut0

DataOut1

DataOut2

DataOut3

DataOut4

DataOut5

DataOut6

DataOut7

Input data (KL6224 -> PLC)

Parameter data block (6 bytes)

Process data block (8 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

Byte 12

Byte 13

SB0

SB1

ParaIn0

ParaIn1

ParaIn2

ParaIn3

StatusCh1

StatusCh2

StatusCh3

StatusCh4

DataIn0

DataIn1

DataIn2

DataIn3

Key

See 12-byte process image.

24-byte process image (default)

The 24-byte process image consists of a 6-byte parameter data block and an 18-byte process data block. This setting is enabled in the delivery state of the KL6224.

Output data (PLC -> KL6224)

Parameter data block (6 bytes)

Process data block (18 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

CB0

CB1

ParaOut0

ParaOut1

ParaOut2

ParaOut3

DataOut0

DataOut1

DataOut2

DataOut3

DataOut4

DataOut5

Process data block (18 bytes, continuation)

Byte 12

Byte 13

Byte 14

Byte 15

Byte 16

Byte 17

Byte 18

Byte 19

Byte 20

Byte 21

Byte 22

Byte 23

DataOut6

DataOut7

DataOut8

DataOut9

DataOut10

DataOut11

DataOut12

DataOut13

DataOut14

DataOut15

DataOut16

DataOut17

Input data (KL6224 -> PLC)

Parameter data block (6 bytes)

Process data block (18 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

SB0

SB1

ParaIn0

ParaIn1

ParaIn2

ParaIn3

StatusCh1

StatusCh2

StatusCh3

StatusCh4

DataIn0

DataIn1

Process data block (18 bytes, continuation)

Byte 12

Byte 13

Byte 14

Byte 15

Byte 16

Byte 17

Byte 18

Byte 19

Byte 20

Byte 21

Byte 22

Byte 23

DataIn2

DataIn3

DataIn4

DataIn5

DataIn6

DataIn7

DataIn8

DataIn9

DataIn10

DataIn11

DataIn12

DataIn13

Key

See 12-byte process image.

36-byte process image

The 36-byte process image consists of a 6-byte parameter data block and a 30-byte process data block.

Output data (PLC -> KL6224)

Parameter data block (6 bytes)

Process data block (30 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

CB0

CB1

ParaOut0

ParaOut1

ParaOut2

ParaOut3

DataOut0

DataOut1

DataOut2

DataOut3

DataOut4

DataOut25

Process data block (30 bytes, continuation)

Byte 12

Byte 13

Byte 14

Byte 15

Byte 16

Byte 17

Byte 18

Byte 19

Byte 20

Byte 21

...

Byte 35

DataOut6

DataOut7

DataOut8

DataOut9

DataOut10

DataOut11

DataOut12

DataOut13

DataOut14

DataOut15

...

DataOut29

Input data (KL6224 -> PLC)

Parameter data block (6 bytes)

Process data block (30 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

SB0

SB1

ParaIn0

ParaIn1

ParaIn2

ParaIn3

StatusCh1

StatusCh2

StatusCh3

StatusCh4

DataIn0

DataIn1

Process data block (30 bytes, continuation)

Byte 12

Byte 13

Byte 14

Byte 15

Byte 16

Byte 17

Byte 18

Byte 19

Byte 20

Byte 21

...

Byte 35

DataIn2

DataIn3

DataIn4

DataIn5

DataIn6

DataIn7

DataIn8

DataIn9

DataIn10

DataIn11

...

DataIn13

Key

See 12-byte process image.

48-byte process image

The 48-byte process image consists of a 6-byte parameter data block and a 42-byte process data block.

Output data (PLC -> KL6224)

Parameter data block (6 bytes)

Process data block (42 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

CB0

CB1

ParaOut0

ParaOut1

ParaOut2

ParaOut3

DataOut0

DataOut1

DataOut2

DataOut3

DataOut4

DataOut25

Process data block (42 bytes, continuation)

Byte 12

Byte 13

Byte 14

Byte 15

Byte 16

Byte 17

Byte 18

Byte 19

Byte 20

Byte 21

...

Byte 48

DataOut6

DataOut7

DataOut8

DataOut9

DataOut10

DataOut11

DataOut12

DataOut13

DataOut14

DataOut15

...

DataOut41

Input data (KL6224 -> PLC)

Parameter data block (6 bytes)

Process data block (42 bytes)

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Byte 10

Byte 11

SB0

SB1

ParaIn0

ParaIn1

ParaIn2

ParaIn3

StatusCh1

StatusCh2

StatusCh3

StatusCh4

DataIn0

DataIn1

Process data block (42 bytes, continuation)

Byte 12

Byte 13

Byte 14

Byte 15

Byte 16

Byte 17

Byte 18

Byte 19

Byte 20

Byte 21

...

Byte 48

DataIn2

DataIn3

DataIn4

DataIn5

DataIn6

DataIn7

DataIn8

DataIn9

DataIn10

DataIn11

...

DataIn37

Key

See 12-byte process image.