Prosoft-technology MVI56E-LDM Bedienungsanleitung Seite 103

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 264
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 102
ControlLogix Platform "C" Programmable CIP API Functions
Linux Application Development Module Developer's Manual
ProSoft Technology, Inc. Page 97 of 264
March 12, 2014
fatalfault_proc
Syntax
OCXCALLBACK fatalfault_proc( );
Parameters
None
Description
fatalfault_proc is an optional callback function which may be passed to the CIP
API in the OCXcip_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 OCX_SUCCESS.
Example
OCXHANDLE Handle;
OCXCALLBACK fatalfault_proc( void )
{
// Take whatever action is appropriate for the application:
// - Set local I/O to safe state
// - Log error
// - Attempt recovery (for example, restart module)
return(OCX_SUCCESS);
}
See Also
OCXcip_RegisterFatalFaultRtn
Seitenansicht 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 263 264

Kommentare zu diesen Handbüchern

Keine Kommentare