120
Curtis 1232E/34E/36E/38E & 1232SE/34SE/36SE Manual, os 30
24 NOVEMBER 2015
8 — VCL
USING THE FAULT HANDLER IN VCL
e operating system of the controller detects various faults and takes appro-
priate fault actions to protect the controller. ese faults have fault codes that
are ashed on the controller status LEDs, and fault text is displayed in the
System Faults and Fault History menus of the 1313 handheld and 1314 PC
programmers. ese operating system faults are covered in Section 9. Addi-
tionally, the operating system makes the status of the operating system faults
available for use in VCL programs in the form of nine variables called Status1,
Status2, Status3, Status4, Status5, Status6, Status7, Status8, and Status9. Each
of these 16-bit variables contains the status of 8 faults in the lower byte (the
upper byte is always set to 0). ese Status1–9 variables are read only (RO)
and can be used in a VCL program to trigger additional fault actions such as
sending fault text messages to a display or blinking a dashboard LED.
Here are the bit locations of each of the operating system faults in the
Status1–9 variables:
Status1
* Bit0 = Main Contactor Welded (Code 38)
* Bit1 = Main Contactor Did Not Close (Code 39)
* Bit2 = Pot Low OverCurrent (Code 45)
* Bit3 = Throttle Wiper Low (Code 42)
* Bit4 = Throttle Wiper High (Code 41)
* Bit5 = Pot2 Wiper Low (Code 44)
* Bit6 = Pot2 Wiper High (Code 43)
* Bit7 = EEPROM Failure (Code 46)
Status2
* Bit0 = HPD/Sequencing Fault (Code 47)
* Bit1 = Severe B+ Undervoltage (Code 17)
* Bit2 = Severe B+ Overvoltage (Code 18)
* Bit3 = B+ Undervoltage Cutback (Code 23)
* Bit4 = B+ Overvoltage Cutback (Code 24)
* Bit5 = Sin/Cos Sensor Fault (Code 36)
* Bit6 = Controller Overtemp Cutback (Code 22)
* Bit7 = Controller Severe Undertemp (Code 15)
Status3
* Bit0 = Controller Severe Overtemp (Code 16)
* Bit1 = Coill Driver Open/Short (Code 31)
* Bit2 = Coi12 Driver Open/Short (Code 32)
* Bit3 = Coil3 Driver Open/Short (Code 33)
* Bit4 = Coi14 Driver Open/Short (Code 34)
* Bit5 = PD Open/Short (Code 35)
* Bit6 = Main Open/Short (Code 31)
* Bit7 = EMBrake Open/Short (Code 32)
Status4
* Bit0 = Precharge Failed (Code 14)
* Bit1 = Digital Out 6 Open/Short (Code 26)
* Bit2 = Digital Out 7 Open/Short (Code 27)
* Bit3 = Controller Overcurrent (Code 12)
* Bit4 = Current Sensor Fault (Code 13)
* Bit5 = Motor Temp Hot Cutback (Code 28)
* Bit6 = Parameter Change Fault (Code 49)
* Bit7 = Motor Open (Code 37)