11.01.2014 Views

PROFIBUS DP-Master

PROFIBUS DP-Master

PROFIBUS DP-Master

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.

Dual-Port-Memory 35/315<br />

3.3 Status<br />

A status block is present within the communication channel. It contains information about network and<br />

task related issues. In some respects, status and control block are used together in order to exchange<br />

information between host application and netX firmware. The application reads a status block whereas<br />

the control block is written by the application. Both status and control block have registers that use the<br />

Change of State mechanism (see also section 2.2.1 of the netX Dual-Port-Memory manual).<br />

3.3.1 Common Status<br />

The Common Status Block contains information that is the same for all communication channels. The<br />

start offset of this block depends on the size and location of the preceding blocks. The status block is<br />

always present in the dual-port memory.<br />

3.3.1.1 All Implementations<br />

The structure outlined below is common to all protocol stacks.<br />

Common Status Structure Definition<br />

Common Status<br />

Offset Type Name Description<br />

0x0010 UINT32 ulCommunicationCOS Communication Change<br />

of State<br />

READY, RUN, RESET<br />

REQUIRED, NEW,<br />

CONFIG AVAILABLE,<br />

CONFIG LOCKED<br />

0x0014 UINT32 ulCommunicationState Communication State<br />

NOT CONFIGURED,<br />

STOP, IDLE, OPERATE<br />

0x0018 UINT32 ulCommunicationError Communication Error<br />

0x001C UINT16 usVersion Version<br />

Unique Error Number<br />

According to Protocol<br />

Stack<br />

Version Number of this<br />

Diagnosis Structure<br />

0x001E UINT16 usWatchdogTime Watchdog Timeout<br />

Configured Watchdog<br />

Time<br />

0x0020 UINT16 usHandshakeMode Handshake Mode<br />

Process Data Transfer<br />

Mode (see netX <strong>DP</strong>M<br />

Interfce Manual)<br />

0x0022 UINT16 usReserved<br />

Reserved<br />

Set to 0<br />

0x0024 UINT32 ulHostWatchdog Host Watchdog<br />

Joint Supervision<br />

<strong>PROFIBUS</strong> <strong>DP</strong>-<strong>Master</strong> |<br />

DOC061001API12EN | Revision 12 | English | 2010-12 | Released | Public © Hilscher, 2006-2010

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

Saved successfully!

Ooh no, something went wrong!