Download Display - Siemens

Transcript
M7 API
M7GetCBDataType
M7GetCBDataType
Function
Get data type within a callback function
Syntax
#include <m7api.h>
UBYTE
M7GetCBDataType(
M7CBFRB_PTR pCBFRB);
Parameters
Parameter Name
pCBFRB
Description
Meaning
Pointer to the CBFRB passed by the M7 API when the
callback function is called.
The function determines the data type of the variables, which another application is attempting to access via the S7 object server, from a CBFRB
passed to a callback function.
The call is implemented as a C macro.
Return Value
The data type is returned by the call.
The possible data types are listed in Table 2-9.
See Also
M7GetCBBitOffset, M7GetCBBuffer,M7GetCBByteOffset, M7GetCBCount, M7GetCBFlags, M7GetCBObjType, M7GetCBPart
System Software for M7-300 and M7–400, System and Standard Functions, Volume 1
C79000–G7076–C852–02
5-39