2 eoe examples, Eoe examples – BECKHOFF ET9300 User Manual

Page 51

Advertising
background image

Application Note ET9300

49

EOE_ServiceInd()

Init Request

Yes

Yes

No

No

Copy frame fragment to

local buffer

This function is called from the
generic mailbox stack if a EoE
datagram was received

Checks if an EoE Init Request was
received

EOEAPPL_SettingsInd()

Frame Fragment

EOEAPPL_ReceiveFrameInd()

Checks if ethernet fragment was
received via EoE.
All other EoE services are not
supprted by the SSC

Received MAC (

„aMacAdd“) and IP

(

„aIpAdd“) address are stored.

Complete frame

Depending on the switch
„

STATIC_ETHERNET_BUFFER

“

dynamic memory is allocated or the
frame is stored in
„

aEthernetReceiveBuffer

“

If the complete ethernet frame was
received the EoE application shall
be triggered

No

Yes

By default only ICMP and ARP
frames are handled by this function

Figure 6: Receive EoE datagram

8.2.2

EoE Examples

The Sample code has a simple ping service integrated that answers to a ping request.

1.) Set the define EOE_SUPPORTED 1 (in ecat_def.h)

2.) Build a binary file (*.hex) (see [3] ).

Advertising