Questo sito utilizza i cookie per migliorare servizi ed esperienza degli utenti. Se decidi di continuare la navigazione consideriamo che accetti il loro uso.

Panoramica Cerca Sopra
Dettagli del download
Sample35: Access Ethe Sample35: Access Ethernet
(0 voti)

The sample contains one instance of "TcEthernetSample" module, which sends out and retrieves ARP packages for determining a remote hardware (MAC) address.

The CycleUpdate method implements a rudimentary state machine for sending ARP packages and waiting for an answer with a timeout.

The sample uses two Ethernet related components of TwinCAT:

1.
An ITcEthernetAdapter (instance name in sample m_spEthernetAdapter) represents an RT Ethernet Adapter. It provides access to adapter parameters like hardware MAC address, link speed, link errors. It can be used to send Ethernet frames and it allows a module instance to register as an ITcIoEthProtocol via the registerProtocol method.
2.
The ITcIOoEthProtocol is extended by the sample module, which provides to be notified on Ethernet events by the ITcEthernetAdapter.

Informazioni

Versione:
Dimensione25.76 KB
Downloads3
Lingua
Licenza
Autore
Sito Web
Prezzo
Creato17-02-2015
Creato da
Modificato il17-02-2015
Modificato daroby

Solo gli utenti registrati e loggati possono scaricare questo file.

.

.