Create Ethernet packet based on the MAC address and EtherType provided
Simulink Real-Time / Ethernet
To create the Ethernet packets that you want to transfer, use the Create Ethernet Packet block.
Data— Payload data for Ethernet packet
Length— Number of bytes in data vector
Network Buffer— Network buffer containing packet data
The parameter is a reference to the network buffer.
Destination MAC— MAC address of the target computer to receive the data
Enter the MAC address of the target computer that receives the data.
EtherType (use 0 for length)— EtherType or the use of Ethernet length
hex2dec('0000')(default) | numeric
Enter a value that represents either the EtherType or the use of Ethernet length:
EtherType — If you are creating Ethernet packets that use EtherType values, to specify which prototype the Ethernet frame transfers, enter a valid EtherType value.
Ethernet length — If you are creating Ethernet
packets that use Ethernet lengths, enter