Magnavox W-10CR Installationsanleitung Seite 111

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 322
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 110
Programming Commands 95
ERR continued
If an error or warning occurs during program execution the fault LED
will blink the error code. If the error code is >= 10 the fault LED blinks
on 0.25 seconds and off 0.5 seconds for each ten's digit. The LED goes
off for 1.25 seconds. If the LSB digit is 0 the LED stays on for 1 second
and then goes off for 2.5 seconds. Otherwise, the fault LED blinks on
0.25 seconds and off 0.5 seconds for each unit digit then goes off for 2.5
seconds.
ERR=error number,severity
Used as a user defined error to set an error number and severity of the
error. If the error number is a 0 the fault LED will be turned off. The se-
verity levels are:
1 Stop motors in task at the maximum Deceleration rate.
2 Stop motors in task at the deceleration rate of each axis.
4 Stop motors in task at the maximum Deceleration rate.
16 Create an Error Trap if no other error is set.
EXAMPLES: x = ERR
sets variable x equal to the present error number or warning number for
this task.
ERR = 0,0
clears the error number and enables the error trap.
ERR = nn,1
sets the error number at "nn" and stops all motors in task at the maximum
deceleration rate.
ERR = nn,2
sets the error number at "nn" and stops all motors in task at the decelera-
tion rate of each axis.
ERROR HANDLING: The MX2000 Controller will handle errors in one of two ways. The first
method is to stop execution of the task in which the error occurred; all
remaining tasks continue executing. This is the default method of handling
errors. The second method of handling errors is for the user to write an
error handler routine. The routine must use the label
ERROR_HANDLER. This routine will be called whenever an error
occurs. The user may then evaluate the condition that invoked the error
handling routine. To re-arm the error trap requires the error to be set to 0
(ERR=0,0).
EXAMPLES: ERR=26,17
When this line of code is executed, an error trap condition is created. If
an error handling routine has been written execution will resume at the
ERROR_HANDLER routine. The error number is set to 26 and all
motors in this task will stop at the maximum deceleration rate.
ERROR_HANDLER: This label defines the start of the code that is to be executed if an error
occurs. The last statement in the ERROR_HANDLER code should
be an END or GOTO label.
Seitenansicht 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 321 322

Kommentare zu diesen Handbüchern

Keine Kommentare