68 Rockwell Automation Publication 42EF-UM001A-EN-P - September 2015
Message Structure and Configuration Example Configuration Examples
Service Code
The table that is shown is used to determine the service code that is needed for a
specific Message Instruction.
Source Length: from Data Structure Tables
The tables below can be used to determine the source length that is based on the
service code that is used and the number of bytes being written.
Read Subindex (4B)
Message Data Format:
Source Length= 2 bytes
Read Subindex (4C)
Message Data Format:
Source Length= 2 bytes + Number of bytes of data being written
Read Subindex (4D)
Message Data Format:
Source Length= 1 byte
Write Index (4E)
Message Data Format:
Source Length= 1 byte + Number of bytes of data being written
Service Code (Hex
Need in Implementation
Service Name Description of ServiceClass Instance
4B Required Required Read Subindex Reads a parameter value from the IO-Link device
4C
N/A Required Write Subindex Writes a parameter value from the IO-Link device
4D Required Required Read Subindex
Reads an entire index (all parameters within an index)
from the IO-Link device (uses subindex 0)
4E
N/A Required Write Subindex
Writes an entire index (all parameters within an index)
from the IO-Link device (uses subindex 0)
Byte 0 Byte 1
Subindex Number Channel Number
Byte 0 Byte 1 Byte 2
Byte 3
Subindex Number Channel Number Data 0 Data 1
Byte 0
Channel Number = 1 byte
Byte 0 Byte 1 Byte 2
Byte 3
Channel Number Data 0 Data 1 Data 3