Download PROFIBUS-DP Slave Protocol API
Transcript
The Application Interface
6.2.4
102/238
PROFIBUS_FSPMS_CMD_ABORT_REQ/CNF
Signal
–
Send
an
Abort
In order to request an abort signal for the MSAC_C2 connection to the Profibus DP Master class 2,
you can use the PROFIBUS_FSPMS_CMD_ABORT_REQ packet. A PROFIBUS_FSPMS_CMD_ABORT_CNF packet
will then confirm that the connection has been aborted.
Note: Use this packet only when working with linkable object modules. It has not been
designed for usage in the context of loadable firmware.
Packet Structure Reference
typedef struct PROFIBUS_FSPMS_PACKET_ABORT_REQ_Ttag {
TLR_PACKET_HEADER_T tHead;
} PROFIBUS_FSPMS_PACKET_ABORT_REQ_T;
Packet Description
Type: Request
structure PROFIBUS_FSPMS_PACKET_ABORT_REQ_T
Variable
Type
Value / Range
Description
structure TLR_PACKET_HEADER_T
ulDest
UINT32
0x20/PB_
FSPMS_QUE
Destination Queue-Handle of FSPMS task Process Queue
ulSrc
UINT32
0 ... 232-1
Source Queue-Handle of AP task Process Queue
ulDestId
UINT32
ulFSPMS0Id
Destination end point identifier, specifying the final receiver
of the packet within the Destination Process
ulSrcId
UINT32
ulAPMS0Id
Source end point identifier, specifying the origin of the
packet inside the Source Process
ulLen
UINT32
0
Packet Data Length in bytes
32
0 ... 2 -1
Packet Identification as unique number generated by the
Source Process of the Packet
ulId
UINT32
ulSta
UINT32
ulCmd
UINT32
0x0408
PROFIBUS_FSPMS_CMD_ABORT_REQ - Command
ulExt
UINT32
0
Extension not in use, set to zero for compatibility reasons
ulRout
UINT32
x
Routing, do not touch
See chapter 7.1“Error Codes of the FSPMS-Task”.
Table 76: PROFIBUS_FSPMS_CMD_ABORT_REQ - Send an Abort Signal
PROFIBUS-DP Slave | Protocol API
DOC050401API15EN | Revision 15 | English | 2013-09 | Released | Public
© Hilscher, 2005-2013