EasyManuals Logo

Curtis Instruments 1351 User Manual

Default Icon
144 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
Page #133 background imageLoading...
Page #133 background image
APPENDIX A — VCL FUNCTIONS
pg. 127
Return to TOC Curtis Model 1351 – December 2018
Function Name
new/unique to 1351 = ()
Arguments Short Comment Description
Reset_Controller 0 Hardware reset Perform a software reset
Setup_Timer 4 Setup a Timer This function initializes a timer to a particular
value
Enable_Timer 1 Enable a Timer This function Enables a timer (starts it timing)
Disable_Timer 1 Disable a Timer This function Disables a timer (stops it from
timing)
Reset_Timer 2 Reset a timer to Zero This function resets all of the timer values (ms,
sec, min, hr and day) to zero and then sets the
Tmr_Enable ag equal to the second parameter
vcl_get_size 1 Return the size (in bytes) of a
variable
Return the size (in bytes) of a variable
Clear_Diagnostic_History 0 Clear the fault history log This routine clears the Fault History log
Disable_Fault_Clear 1 Get Fault Code The prescribed fault is cannot be cleared after
calling this function
Enable_Fault_Clear 1 Get Fault Code The prescribed fault is can be cleared after calling
this function
Get_Fault_Code 1 Get Fault Code The fault stack ranges from 0 to the number
of faults current active. This routine allows you
to recover fault codes from the fault stack by
passing the index to the fault stack and getting
back the fault code. To use this routine, start
with an index of zero. Call this routine. If you get
back a value of zero, there are NO faults. If you
get a value other than zero, report the fault and
increment the index. Then, repeat the process
until you do get a value of zero.
Set_VCL_Fault 2 (Fault, Type) VCL_FUNCTION set_vcl_fault
Clear_VCL_Fault 1 (Fault_Code, Type) VCL_FUNCTION clear_vcl_fault
Set_VCL_Fault_Action 2 (Fault_code, Fault_Action) VCL_FUNCTION set_vcl_fault action
Get_CRC 2 (Key, Value) VCL_FUNCTION Get CRC value of a byte
Set_Receive_Timeout 2 (Mailbox_no, Timeout)
Enter_Start_Manager 1 Go back to the Primary Start Manager
Sin 1 returns the sine of a # VCL_FUNCTION sine()
Cos 1 returns the cosine of a # VCL_FUNCTION cosine()
Tan 1 returns the tangent of a # VCL_FUNCTION tangent()
ASin 1 returns the arcsin of a # VCL_FUNCTION arcsin()
ACos 1 returns the arccos of a # VCL_FUNCTION arccos()
ATan 2 returns the arctan of two lengths
(y,x)
VCL_FUNCTION arctangent()
Sqrt 1 returns the square root of a # VCL_FUNCTION sqrt()
Setup_NMT_State 1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Curtis Instruments 1351 and is the answer not in the manual?

Curtis Instruments 1351 Specifications

General IconGeneral
BrandCurtis Instruments
Model1351
CategoryI/O Systems
LanguageEnglish