11.01.2014 Views

DeviceNet Master Protocol API

DeviceNet Master Protocol API

DeviceNet Master Protocol API

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>DeviceNet</strong>-<strong>Master</strong> Dual-Port Memory • 33<br />

3.2.2 Status & Error Codes<br />

The following status and error codes can be returned in ulSta: List of codes see manual named<br />

netX Dual-Port Memory Interface.<br />

3.2.3 Differences between System and Channel Mailboxes<br />

The mailbox system on netX provides a non-cyclic data transfer channel for field bus and industrial<br />

Ethernet protocols. Another use of the mailbox is allowing access to the firmware running on the netX<br />

chip itself for diagnostic purposes. There is always a send and a receive mailbox. Send and receive<br />

mailboxes utilize handshake bits to synchronize these data or diagnostic packages through the<br />

mailbox. There is a pair of handshake bits for both the send and receive mailbox.<br />

The netX operating system rcX only uses the system mailbox.<br />

• The system mailbox, however, has a mechanism to route packets to a communication<br />

channel.<br />

• A channel mailbox passes packets to its own protocol stack only.<br />

3.2.4 Send Mailbox<br />

The send mailbox area is used by protocols utilizing a non-cyclic data exchange mechanism. Another<br />

use of the mailbox system is to provide access to the firmware running on the netX chip itself. The<br />

send mailbox is used to transfer non-cyclic data to the network or to the protocol stack.<br />

The size is 1596 bytes for the send mailbox in the default memory layout. The mailbox is accompanied<br />

by counters that hold the number of packages that can be accepted.<br />

3.2.5 Receive Mailbox<br />

The receive mailbox area is used by protocols utilizing a non-cyclic data exchange mechanism.<br />

Another use of the mailbox system is to provide access to the firmware running on the netX chip itself.<br />

The receive mailbox is used to transfer non-cyclic data from the network or from the protocol stack.<br />

The size is 1596 bytes for the receive mailbox in the default memory layout. The mailbox is<br />

accompanied by counters that hold the number of waiting packages (for the receive mailbox).<br />

Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D-65795 Hattersheim<br />

Edition 3 – <strong>API</strong>:<strong>DeviceNet</strong>-<strong>Master</strong>#EN– 2009/01

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!