11.01.2014 Views

PROFIBUS DP-Master

PROFIBUS DP-Master

PROFIBUS DP-Master

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Application Interface 137/315<br />

Packet Description<br />

structure <strong>PROFIBUS</strong>_FSPMM_PACKET_WRITE_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 />

FSPMM_QUE<br />

Destination queue handle<br />

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

ulDestId UINT32 ulFSPMM0Id 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 12 +<br />

<strong>PROFIBUS</strong>_FS<br />

PM_MAX_IO_D<br />

ATA_LEN<br />

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.1 Error Codes of the FSPMM-Task<br />

ulCmd UINT32 0x2212 <strong>PROFIBUS</strong>_FSPMM_CMD_WRITE_REQ_T - 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>_FSPMM_WRITE_REQ_T<br />

ulRemAdd UINT32 0 ... 125 Slave address<br />

ulSlot UINT32 0 ... 254 Slot<br />

ulIndex UINT32 0 ... 254 Index<br />

abData UINT8[] Write data<br />

Table 74: <strong>PROFIBUS</strong>_FSPMM_CMD_WRITE_REQ– V1 Class 1 Write 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!