Download PROFIBUS-DP Slave Protocol API

Transcript
The Application Interface
213/238
Packet Structure Reference
typedef struct PROFIBUS_FSPMS_IOL_CALL_RES_POS_Ttag{
PROFIBUS_FSPMS_ACYCLIC_INFO_HEADER_T tAcyc;
PROFIBUS_FSPMS_CALL_HEADER_T tCall;
PROFIBUS_FSPMS_IOL_HEADER_T tIOL;
TLR_UINT8 abIOLData[PROFIBUS_FSPMS_IOL_CALL_MAX_DATA];
} PROFIBUS_FSPMS_IOL_CALL_RES_POS_T;
typedef struct PROFIBUS_FSPMS_PACKET_IOL_CALL_RES_POS_Ttag{
TLR_PACKET_HEADER_T tHead;
PROFIBUS_FSPMS_IOL_CALL_RES_POS_T tData;
} PROFIBUS_FSPMS_PACKET_IOL_CALL_RES_POS_T;
Packet Description
structure PROFIBUS_FSPMS_PACKET_IOL_CALL_RES_POS_T
Variable
Type
Value / Range
Type: Positive Response
Description
structure TLR_PACKET_HEADER_T
ulDest
UINT32
Destination Queue-Handle
ulSrc
UINT32
Source Queue-Handle
ulDestId
UINT32
ulFSPMS0Id
Destination End Point Identifier, specifying the final
receiver of the packet within the Destination Process. Set
to 0 for the Initialization Packet
ulSrcId
UINT32
ulAPMS0Id
Source End Point Identifier, specifying the origin of the
packet inside the Source Process
ulLen
UINT32
12+n
Packet Data Length in bytes
(PROFIBUS_FSPMS_IOL_CALL_RES_POS_SIZE + bytes
read / io-link error PDU)
ulId
UINT32
0 ... 232-1
Packet Identification as unique number generated by the
Source Process of the Packet
ulSta
UINT32
0 (TLR_S_OK)
See chapter 7.1“Error Codes of the FSPMS-Task”.
ulCmd
UINT32
0x0429
PROFIBUS_FSPMS_CMD_IOL_CALL_RES - Command
ulExt
UINT32
0
Extension not in use, set to zero for compatibility reasons
ulRout
UINT32
x
Routing, do not touch
structure PROFIBUS_FSPMS_IOL_CALL_RES_POS_T
tAcyc
PROFIBUS_
FSPMS_ACY
CLIC_INFO_
HEADER_T
Acyclic header
tCall
PROFIBUS_
FSPMS_CAL
L_HEADER_
T
Call header
tIOL
PROFIBUS_
FSPMS_IOL
_HEADER_T
IO-Link header
abIOLData[236]
UINT8[]
IO-Link data
PROFIBUS-DP Slave | Protocol API
DOC050401API15EN | Revision 15 | English | 2013-09 | Released | Public
© Hilscher, 2005-2013