EasyManua.ls Logo

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

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-22 CIP Messaging API
fatalfault_proc
Syntax:
MVICALLBACK fatalfault_proc( );
Parameters:
None
Description:
fatalfault_proc
is an optional callback function which may be passed to
the CIP API in the MVIcip_RegisterFatalFaultRtn call. If the
fatalfault_proc
callback has been registered, it will be called if the
backplane device driver detects a fatal fault condition. This allows the
application an opportunity to take appropriate actions.
Return Value:
The
fatalfault_proc
routine must return MVI_SUCCESS.
Example:
MVIHANDLE Handle;
MVICALLBACK fatalfault_proc( void )
{
// Take whatever action is appropriate for the application:
// - Set local IO to safe state
// - Log error
// - Attempt recovery (e.g., restart module)
return(MVI_SUCCESS);
}
See Also:
MVIcip_RegisterFatalFaultRtn
;

Table of Contents

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

Related product manuals