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.

The Application Interface 293/315<br />

6.3.16 <strong>PROFIBUS</strong>_DL_CMD_SEND_FDL_STATUS_REQ/CNF – Obtain FDL<br />

Status<br />

This packet is used for obtaining the FDL status of a specific <strong>PROFIBUS</strong>-<strong>DP</strong> slave. According to the<br />

<strong>PROFIBUS</strong>-<strong>DP</strong> specification, the FDL status is defined as “the token ring status of an FDL entity<br />

conveyed in the FC field of the reply frames”. This also exactly represents the entry of this specific<br />

slave in the life list.<br />

Packet Structure Reference<br />

typedef struct <strong>PROFIBUS</strong>_DL_SEND_FDL_STATUS_REQ_Ttag<br />

{<br />

TLR_UINT8 bDstAddr; /* Value to be set */<br />

}<br />

<strong>PROFIBUS</strong>_DL_SEND_FDL_STATUS_REQ_T;<br />

typedef struct <strong>PROFIBUS</strong>_DL_PACKET_SEND_FDL_STATUS_REQ_Ttag<br />

{<br />

TLR_PACKET_HEADER_T tHead;<br />

<strong>PROFIBUS</strong>_DL_SEND_FDL_STATUS_REQ_T tData;<br />

}<br />

<strong>PROFIBUS</strong>_DL_PACKET_SEND_FDL_STATUS_REQ_T;<br />

Packet Description<br />

structure <strong>PROFIBUS</strong>_DL_PACKET_SEND_FDL_STATUS_REQ_T<br />

Type: Request<br />

Area Variable Type Value / Range Description<br />

tHead<br />

tData<br />

structure TLR_PACKET_HEADER_T<br />

ulDest UINT32 0x20/<br />

PB_DL_QUE<br />

Destination Queue-Handle<br />

ulSrc UINT32 0 ... 2 32 -1 Source Queue-Handle<br />

ulDestId UINT32 ulDL0Id Destination End Point Identifier, specifying the final<br />

receiver of the packet within the Destination Process.<br />

Set to 0 for the Initialization Packet<br />

ulSrcId UINT32 ulAPMS0Id Source End Point Identifier, specifying the origin of the<br />

packet inside the Source Process<br />

ulLen UINT32 1 Packet Data Length in bytes<br />

ulId UINT32 0 ... 2 32 -1 Packet Identification as unique number generated by<br />

the Source Process of the Packet<br />

ulSta UINT32 See section 7.3 Error Codes of the DL-Task<br />

ulCmd UINT32 0x132 <strong>PROFIBUS</strong>_DL_CMD_SEND_FDL_STATUS_REQ -<br />

Command<br />

ulExt UINT32 0 Extension not in use, set to zero for compatibility<br />

reasons<br />

ulRout UINT32 x Routing, do not touch<br />

structure <strong>PROFIBUS</strong>_DL_SEND_FDL_STATUS_REQ_T<br />

bDstAddr UINT8 Slave address whose status is to be requested<br />

Table 179: <strong>PROFIBUS</strong>_DL_CMD_SEND_FDL_STATUS_REQ – Obtain FDL Status Request<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!