Curtis 1298 Manual, OS 11
101
7 — VCL
The following PD processing variables are accessible by VCL:
VCL VARIABLE ACCESS DESCRIPTION
Mapped_Throttle Read Only Command from throttle section
VCL_PD_Throttle Read/Write VCL-accessible PD command
PD_Throttle Read Only Resultant command to the PD
PD_Current Read Only Average current flowing in the PD
PD_Output Read Only Resultant PWM at PD output
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)