Download Display - Siemens

Transcript
M7 API
M7UnLinkDataAccessCB
M7UnLinkDataAccessCB
Function
Unlink callback function call for S7 object access
Syntax
#include <m7api.h>
M7ERR_CODE
M7UnLinkDataAccessCB(M7CBFRB_PTR
pCBFRB);
Parameters
Parameter Name
Meaning
pCBFRB
Description
Pointer to the FRB provided for unlinking.
The function unlinks a callback function on the object server.
The callback function must previously have been linked with the M7LinkDataAccessCB function.
Return Value
Error Codes
= M7SUCCESS:
< M7SUCCESS:
The function was successfully executed.
An error occurred.
Error Code
M7E_FRB_NOT_IN_LIST
See Also
Meaning
FRB not linked
M7LinkDataAccessCB, M7GetCBFlags, M7GetCBBuffer, M7GetCBDataType, M7GetCBObjType, M7GetCBPart, M7GetCBCount, M7GetCBByteOffset, M7GetCBBitOffset
System Software for M7-300 and M7–400, System and Standard Functions, Volume 1
C79000–G7076–C852–02
5-215