EasyManua.ls Logo

IFM Electronic AL1122 - Page 103

IFM Electronic AL1122
111 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
103
ifm Operating Instructions IO-Link Master with EtherNet/IP interface StandardLine 8 Ports IP 65 / IP 67 (AL1122) 2017-05-31
Appendix
>
Example: changing the parameter value of an IO-Link device
23109
Task: changing the parameter X of an IO-Link device
IO-Link device in 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
Class ID
UINT
0x80
IO-Link acyclic access
Instance ID
UINT
0x01
IO-Link master
Attributes
USINT
0x03
Port number
Service code ID
USINT
0x4C
Service "ISDU_Write"
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
Class ID
UINT
0x80
Object class "IO-Link Requests"
Instance ID
UINT
0x01
IO-Link master
Attributes
USINT
0x03
Port number
Service code ID
USINT
0x4B
Service "ISDU_Write"
Error code
USINT
0x00
Request processed successfully
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
Class ID
UINT
0x80
Object class "IO-Link Requests"
Instance ID
UINT
0x01
IO-Link master
Attributes
USINT
0x03
Port number
Service code ID
USINT
0x4B
Service "ISDU_Write"
Error code
USINT
0x1E
Error code: Embedded Service Error
Extended error code
USINT
0x00
--
User specific service data
USINT
e.g. 0x04
IO-Link error code: wrong parameter
USINT
e.g. 0x27
Additional code

Table of Contents