Read CoE parameters

1. Send a "Write Request" with the content specified below
The ER9320-0022 sends a "Write Response"
2. Wait 100 to 250 ms
3. Send a "Read Request" with the content specified below
The ER9320-0022 sends a "Read Response". The "Read Response" contains the requested data.

Wireshark® example for reading: Download

Write Request

PROFINET record data

Value

Meaning

Slot

Position of the EtherCAT device (1...255)

Slot number, position of the EtherCAT device

SubSlot

1

Sub slot number, always "1"

Index

0x200F

PROFINET index number

Length

4

Length of the following data

Data

  • Bytes 1…2: CoE index
  • Byte 3: CoE subindex
  • Byte 4: "0", reserved

CoE data

Read Request

PROFINET record data

Value

Meaning

Slot

Position of the EtherCAT device (1...255)

Slot number, position of the EtherCAT device

SubSlot

1

Sub slot number, always "1"

Index

0x200F

PROFINET index number

Length

4

Length of the following data

Data

  • Byte 1: "1"
  • Byte 2: "0"
  • Byte 3: "0"
  • Byte 4: "0"

CoE data

Read Response

PROFINET record data

Value

Meaning

Slot

Position of the EtherCAT device (1...255)

Slot number, position of the EtherCAT device

SubSlot

1

Sub slot number, always "1"

Index

0x200F

PROFINET index number

Length

4 bytes + x bytes

Length of the following data

Data

  • Bytes 1...4: ADS return code
  • Bytes 4…x: CoE data value

CoE data

The ADS return code is "0" if the response is error-free. A list of ADS return codes can be found in the "ADS basics" manual: https://infosys.beckhoff.com/content/1033/tc3_ads_intro/index.html