ACR Electronics FPR-10 PROGRAMMER Manuel Page 185

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 199
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 184
Parker Hannifin
Error Handling 185
IF (YPosSoftEOT AND YErrorCode <> 1)
INH -824
Set ErrorOccurred
YErrorCode = 1
$V3 = "Positive Software End-of-travel hit, Axis 1"
CLR YPosSoftEOT : REM EOT flag is automatically cleared,
REM but we clear it to prevent recursive
REM printing of error
INH -YPosSoftEOT
CLR KillMasterMoves
ENDIF
IF (YNegSoftEOT AND YErrorCode <> 2)
INH -824
Set ErrorOccurred
YErrorCode = 2
$V3 = "Negative Software End-of-travel hit, Axis 1"
CLR YNegSoftEOT : REM EOT flag is automatically cleared,
REM but we clear it to prevent recursive
REM printing of error
INH -YNegSoftEOT
CLR KillMasterMoves
ENDIF
REM --------- Check Axis X ---------
IF (XKillAllMotion AND NOT LatchedMEIOpen)
INH -792 : REM When KAMR flag is set, all motion stops with
REM JOG move
SET ErrorOccurred
XErrorCode = 0 : REM Error number for axis 0
REM some "master" programs can be resumed, all others must be
REM halted when error occurs.
IF (HaltProgOnError)
HALT PROG0 : REM stop program 0 and kill interpolated motion
REM (MOV, CIRCW, CIRCCW, SINE)
ELSE
PAUSE PROG0 : REM issue RESUME PROG0 or CLR1048 to
REM resume main prog
ENDIF
REM --------- Hardware EOT's ----------
IF (XPosHardEOT)
XErrorCode = 3
$V2 = "Positive Hardware End-of-travel hit, Axis 0"
CLR XPosHardEOT : REM EOT flag is not automatically
REM cleared, program must clear it
ENDIF
IF (XNegHardEOT)
XErrorCode = 4
$V2 = "Negative Hardware End-of-travel hit, Axis 0"
CLR XNegHardEOT : REM EOT flag is not automatically
REM cleared, program must clear it
ENDIF
Vue de la page 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 198 199

Commentaires sur ces manuels

Pas de commentaire