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 258/315<br />

Packet Description<br />

structure <strong>PROFIBUS</strong>_DL_PACKET_DATA_REPLY_REQ_T<br />

Type: Request<br />

Area Variable Type Value / Range Description<br />

Head<br />

structure TLR_PACKET_HEADER_T<br />

ulDest UINT32 0x20/<br />

PB_DL_QUE<br />

Destination queue handle, unchanged<br />

ulSrc UINT32 0 ... 2 32 -1 Source queue handle, unchanged<br />

ulDestId UINT32 ulDL0Id Destination end point identifier, unchanged<br />

ulSrcId UINT32 ulAPMS0Id Source end point identifier, unchanged<br />

ulLen UINT32 8 + n 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 0x10E <strong>PROFIBUS</strong>_DL_CMD_DATA_REPLY_REQ - Command<br />

Data<br />

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

reasons)<br />

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

structure <strong>PROFIBUS</strong>_DL_DATA_REPLY_REQ_T<br />

bSrvCls UINT8 0,1 Service Class (indicating the priority)<br />

bDstAddr UINT8 0-126 Destination address within the Profibus network<br />

bDstSAPIdx UINT8 0-62,<br />

bSrcSAPIdx UINT8 0-62,<br />

abPad<br />

UINT8[4<br />

]<br />

64 = NIL SAP<br />

64 = NIL SAP<br />

0 Padding bytes<br />

Note: Mask out the highest bit when working with<br />

bDstAddr in order to avoid disturbances as this bit<br />

stores a separate information.<br />

Destination Service Access Point<br />

Source Service Access Point<br />

abSDU UINT8[] Service Data Unit<br />

Table 155: <strong>PROFIBUS</strong>_DL_CMD_DATA_REPLY_REQ - Send SRD Service 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!