IO-Link Master with EtherNet/IP Interface StandardLine 4 Ports IP 65 / IP 66 / IP 67
98
>
Example: reading the parameter value of anIO-Link device
34350
Task:
reading the value of the parameter X of an IO-Link device
IO-Link device at the port: 0x02
Parameter X in the object directory of an IO-Link device: Index: 90, sub-index 3
From this, the following results for the configuration of the EtherNet/IP command Message (MSG):
CIP format
Data type
MSG Config
Description
CIP Class ID
UINT
0x80
IO-Link acyclic access
CIP Instance ID
UINT
0x01
IO-Link master
CIP Attributes
USINT
0x02
Port number
CIP Service Code ID
USINT
0x4B
Request "ISDU_Read"
CIP User Specific Service Data
UINT
0x005A
IO-Link ISDU object index
USINT
0x03
IO-Link ISDU object sub-index
After successful execution of the request, the response area has the following content:
CIP format
Data type
MSG Config
Description
CIP Class ID
UINT
0x80
Object class "IO-Link requests"
CIP Instance ID
UINT
0x01
IO-Link master
CIP Attributes
USINT
0x02
Port number
CIP Service Code ID
USINT
0x4B
Response "ISDU_Read"
CIP Error Code
USINT
0x00
Request processed successfully
CIP Extended Error Code
USINT
0x00
--
CIP User Specific Service Data
USINT
e.g. 0x12
Parameter value that has been read (byte 0)
USINT
e.g. 0x34
Parameter value that has been read (byte 1)
If an error occurs while the request is executed, the response area has the following content:
CIP format
Data type
MSG Config
Description
CIP Class ID
UINT
0x80
Object class "IO-Link requests"
CIP Instance ID
UINT
0x01
IO-Link master
CIP Attributes
USINT
0x02
Port number
CIP Service code ID
USINT
0x4B
Response "ISDU_Read"
CIP Error code
USINT
0x1E
Error code: Embedded service error
CIP Extended error code
USINT
0x00
--
CIP User specific service data
USINT
e.g. 0x80
IO-Link Error Code: Error in device application
USINT
e.g. 0x20
IO-Link Additional Code: Service temporarily
unavailable