Receive data over Ethernet network
To receive Ethernet packets and to filter on the received packets, use the Ethernet Rx block. You can filter packets by EtherType or length. You can use multiple Ethernet Rx blocks with the same device ID. However, you must configure each block to filter a unique set of packets.
Network Buffer— Network buffer containing packet data
The parameter is a reference to the network buffer.
Device ID— Ethernet board identifier
From the list, select a unique number to identify the Ethernet board. Select the same Device ID as the ID that you selected for the Real-Time Ethernet Configuration block.
Sample time (-1 for inherited)— Sample time of block
-1(default) | numeric
Enter the base sample time or a multiple of the base sample time.
Filter criteria— Filter on EtherTypes or Ethernet lengths
Receive all unmatched types [0 to 65535](default) |
Receive unmatched lengths [0 to 1500]|
Receive unmatched EtherTypes [150 to 65535]|
Specify types to match
From the list, select how you want to filter on EtherTypes (Ethernet II framing standard) or Ethernet lengths (IEEE® 802.3 framing standard).
unmatched types [0 to 65535] — Output all
unmatched packets, both Ethernet II framing and IEEE 802.3 framing
Receive unmatched lengths [0 to 1500] —
Output all packets with IEEE 802.3
Receive unmatched EtherTypes [150 to
65535] — Output all
output packets with Ethernet II framing standard.
Specify types to match —
Explicitly enter the EtherTypes to output.
To see the Receive these types (vector of types 0–65535) parameter,
Specify types to match.
Receive these types (vector of types 0–65535)— EtherTypes to output
[hex2dec('0000')](default) | vector
Enter a vector of EtherTypes that you want to output.
To make this parameter visible, set Filter criteria to
types to match.