EasyManua.ls Logo

Rockwell Automation Allen-Bradley ControlLogix 1756-MVI - Page 64

Rockwell Automation Allen-Bradley ControlLogix 1756-MVI
145 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Publication 1756-RM004B-EN-P - October 2000
4-12 CIP Messaging API
The MVIcip_ReadConnected function can only be used if the
rxdata_proc
callback function pointer was set to NULL in the call to
MVIcp_RegisterAssemblyObject().
Return Value:
MVI_SUCCESS data was read successfully
MVI_ERR_NOACCESS
apiHandle
does not have access
MVI_ERR_BADPARAM
connHandle
or
dataSize
is invalid
MVI_ERR_INVALID an
rxdata_proc
callback has been registered
Example:
MVIHANDLE apiHandle;
MVIHANDLE connHandle;
BYTE buffer[128];
// Read 128 bytes from the connected data buffer
MVIcip_ReadConnected(apiHandle, connHandle, buffer, 0, 128 );
See Also:
MVIcip_WriteConnected
MVIcip_ReadConnected

Table of Contents

Other manuals for Rockwell Automation Allen-Bradley ControlLogix 1756-MVI

Related product manuals