IO-Link Master with EtherNet/IP Interface StandardLine 4 Ports IP 65 / IP 66 / IP 67
101
>
Example: changing the parameter value of an IO-Link device
34355
Task:
changing the parameter X of an IO-Link device
IO-Link device at the port: 0x03
Parameter X in the object directory of an IO-Link device: Index: 91, sub-index 5
new parameter value: 0xABCD
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
0x03
Port number
CIP Service code ID
USINT
0x4C
Service "Write_ISDU"
CIP User specific service data
UINT
0x005B
IO-Link ISDU object index
USINT
0x05
IO-Link ISDU object sub-index
USINT
0xAB
New parameter value (MSB)
USINT
0xCD
New parameter value (LSB)
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
0x03
Port number
CIP Service code ID
USINT
0x4B
Service "Write_ISDU"
CIP Error code
USINT
0x00
Request processed successfully
CIP Extended error code
USINT
0x00
--
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
0x03
Port number
CIP Service code ID
USINT
0x4B
Service "Write_ISDU"
CIP Error code
USINT
0x1E
Error code: Embedded Service Error
CIP Extended error code
USINT
0x00
--
CIP User specific service data
USINT
0x80
IO-Link Error Code: Error in device application
USINT
0x23
IO-Link Additional Code: Access denied