beautypg.com

Wesley BC-620-4CA User Manual

Page 102

background image

98

Curtis 1234/36/38 Manual,

OS

11

7 — VCL

USING THE FAULT HANDLER IN VCL
The operating system of the controller detects various faults and takes appropri-
ate fault actions to protect the controller. These faults have fault codes that are
flashed on the controller status LEDs, and fault text is displayed in the 1311
System Faults and Fault History menus. These operating system faults are cov-
ered in Section 8. Additionally, the operating system makes the status of the
operating system faults available for use in VCL programs in the form of seven
variables called Status1, Status2, Status3, Status4, Status5, Status6, and Status7.
Each of these 16-bit variables contains the status of 8 faults in the lower byte
(the upper byte is always set to 0). These Status1–7 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–7 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 Undervoltage (Code 17)

*

Bit2 = Severe Overvoltage (Code 18)

*

Bit3 = Undervoltage Cutback (Code 23)

*

Bit4 = Overvoltage Cutback (Code 24)

*

Bit5 = Not Used

*

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 Overcurrent (Code 26)

*

Bit2 = Digital Out 7 Overcurrent (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)