Rockwell Automation Allen-Bradley ControlLogix 1756-MVI Programming Reference Manual page 73

Multi-vendor interface module
Hide thumbs Also See for Allen-Bradley ControlLogix 1756-MVI:
Table of Contents

Advertisement

rxdata_proc
Return Value:
The rxdata_proc routine must return MVI_SUCCESS.
Example:
MVIHANDLE
Handle;
int _loadds rxdata_proc( MVIHANDLE objHandle, MVICIPRECVSTRUC *sRecv )
{
// Copy the data to our local buffer.
memcpy(RxDataBuf, sRecv->rxData, sRecv->dataSize);
// Indicate that new data has been received
RxDataCnt++;
return(MVI_SUCCESS);
}
See Also:
MVIcip_RegisterAssemblyObj
CIP Messaging API
Publication 1756-RM004B-EN-P - October 2000
4-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents