EasyManua.ls Logo

Curtis 1234E - Page 128

Curtis 1234E
157 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
124
Curtis 1232E/34E/36E/38E & 1232SE/34SE/36SE Manual, os 30
24 NOVEMBER 2015
dition to ashing the code 52 on the controller status LEDs. An additional VCL
line was added (Put_Spy_Text (“BDI Low”)) to show how additional actions
beyond those provided in the User_Fault_Action_xx can be programmed using
VCL. In this example the Put_Spy_Text(“BDI Low”) will result in the message
“BDI Low” appearing on the model 840 display (presumably as a message to
the vehicle operator). is example will still not result in any display on the
1313/1314 programmer System Faults and Fault History menus.
To add the fault text on the System Faults and Fault History menus it
is necessary to create a Fault Definition. Creating fault definitions is a subject
that is covered in detail in the VCL Programmers Guide (Section 5, Support
for the 1313 Handheld Programmer). Here is an example of a fault definition:
User_Fault_Action_02 = 24 ;Set fault action to ShutdownInterlock
;and ShutdownThrottle
MainLoop:
if (BDI_Percentage < 10)
{
UserFault1.2 = ON ;Set User fault bit
Put_Spy_Text(“BDI Low”) ;Send message to Model 840 display
}
else
{
UserFault1.2 = OFF ;Clear User fault bit
}
goto MainLoop
; PARAMETER_ENTRY “BDI Low Fault”
; TYPE FAULTS
; WIDTH 8BIT
; ALT_ADDRESS Hist_UserFault1
; ADDRESS UserFault1
; BITSELECT 1
; BITACTIVELOW NO
; END
is example will result in the exact same actions as the last example, except now
the fault will be displayed in the programmers System Faults menu (only while
the fault is set) and this fault will be logged into the Fault History menu after
being set. e text displayed in either of these menus will be the text defined
in the fault definition (in this example “BDI Low Fault” will be displayed).
e variable Hist_UserFault1 is listed as an ALT_ADDRESS. is line con-
trols whether the fault gets logged into fault history (and thus appears in the
programmers Fault History menu). e two variables that can be used in the
fault definitions for ALT_ADDRESS are Hist_UserFault1 and Hist_UserFault2;
these should be used in the fault definitions with the corresponding UserFault1
and UserFault2 variables. If you wish to use VCL to clear fault history, use the
VCL function Clear_Diaghist(). Also note that this example fault definition
was for bit 1 of UserFault1. e VCL example set and cleared this bit by using
the UserFault1.2 notation (“.2” being the mask that defines bit 1).
8 — VCL

Table of Contents

Related product manuals