IO-Link Master with EtherNet/IP Interface StandardLine 4 Ports IP 65 / IP 66 / IP 67
104
>
Example: Write fail-safe value
54696
Task:
Write fail-safe mode for IO-Link port X02 to "Fail-safe with pattern" and fail-safe value to 0x1234
IO-Link device in the port: 0x02
Fail-safe mode: 0x03
Fail-safe value: 0x1234
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 Attribute
USINT
0x02
Port number
CIP Service Code ID
USINT
0x4D
Request "Write Failsafe Pattern"
CIP User Specific Service Data
USINT
0x03
"Fail-safe with Pattern" mode
USINT
0x12
Failsafe Pattern (MSB)
USINT
0x34
Failsafe Pattern (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
IO-Link acyclic access
CIP Instance ID
UINT
0x01
IO-Link master
CIP Attribute
USINT
0x02
Port number
CIP Service Code ID
USINT
0x4D
Response "Write Failsafe Pattern"
CIP Error Code
USINT
0x00
Request processed successfully
CIP Exended Error Code
USINT
0x00
--
If an error occurs while the request is executed, the response area will have the following content:
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 Attribute
USINT
0x02
Port number
CIP Service Code ID
USINT
0x4D
Response "Write Failsafe Pattern"
CIP Error Code
USINT
e. g. 0x0F
Error code: Insufficient access rights
CIP Exended Error Code
USINT
0x00
no additional information