Parker Hannifin
' This software program is provided free of charge and without
' warranty of any kind, either expressed or implied. In no event
' will PARKER HANNIFIN CORPORATION be liable for any damages,
' including but not restricted to lost profits, lost savings, or
' component failure arising out of the use or inability to use this
' software program. The sole purpose of this program is to
' demonstrate the functional application of the customer’s desired
' application. It is the responsibility of the user to insure that
' this program is not misused.
' *****************************************************************
REM Assign user names (aliases) to system flags and parameters.
REM Ensure a minimum memory allocation for 50 aliases when setting
REM up project in ACR-View's Configuration Wizard. Program memory
REM requirement should be at least 15000 bytes to store and run
REM program.
#DEFINE XPosSoftEOT BIT16140
#DEFINE XNegSoftEOT BIT16141
#DEFINE YPosSoftEOT BIT16172
#DEFINE YNegSoftEOT BIT16173
#DEFINE XPosHardEOT BIT16132
#DEFINE XNegHardEOT BIT16133
#DEFINE YPosHardEOT BIT16164
#DEFINE YNegHardEOT BIT16165
#DEFINE XNotExcessError BIT769
#DEFINE YNotExcessError BIT801
#DEFINE XDriveFault BIT8477
#DEFINE YDriveFault BIT8509
#DEFINE HaltProgOnError BIT128
#DEFINE PrintErrors BIT129
#DEFINE ErrorOccurred BIT130
#DEFINE ClearErrorCodes BIT131
#DEFINE KillMasterMoves BIT522
#DEFINE XKillAllMotion BIT8467
#DEFINE YKillAllMotion BIT8499
#DEFINE XExcessErrorFault BIT8479
#DEFINE YExcessErrorFault BIT8511
#DEFINE XDriveEnabled BIT8465
#DEFINE YDriveEnabled BIT8497
#DEFINE XEncoderFault BIT2560 : REM BIT 2560,2561 are for ENC0
#DEFINE XEncoderLost BIT2561
#DEFINE YEncoderFault BIT2592 : REM BIT 2592,2593 are for ENC1
#DEFINE YEncoderLost BIT2593
#DEFINE MotionEnableOpen BIT5646
#DEFINE LatchedMEIOpen BIT5645
Error Handling 159