Download PROFIBUS-DP Slave Protocol API

Transcript
The Application Interface
6.2
85/238
The FSPMS Task
Within the Profibus DP-Slave Stack the FSPMS task coordinates the underlying DP-Slave state
machines used for processing of the various services. It consists of the MSCY1S, the MSAC1S
and DMPMS defined in the Chapter 6.3 of the 61158-6 © IEC:2003(E).
Furthermore, it is responsible for all application interactions and represents the counterpart of the
AP task within the existent DP-Slave Stack implementation.
To get the handle of the process queue of the FSPMS task the Macro TLR_QUE_IDENTIFY() has
to be used in conjunction with the following ASCII-Queue name
ASCII Queue Name
Description
"PB_FSPMS_QUE”
Name of the FSPMS task process queue
Table 67: FSPMS task Process Queue
The returned handle has to be used as value ulDest in all initiator packets the AP task intends to
send to the FSPMS task. This handle is the same handle that has to be used in conjunction with
the macros like TLR_QUE_SENDPACKET_FIFO/LIFO() for sending a packet to the FSPMS task.
PROFIBUS-DP Slave | Protocol API
DOC050401API15EN | Revision 15 | English | 2013-09 | Released | Public
© Hilscher, 2005-2013