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

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

Advertisement

4-22
CIP Messaging API
Publication 1756-RM004B-EN-P - October 2000
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
;

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents