EasyManuals Logo

Curtis 1310 User Manual

Curtis 1310
51 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 #29 background imageLoading...
Page #29 background image
Analog Inputs
Get_ADC(1)
This function retrieves the present input value of the selected ADC (Analog to Digital Converter)
channel. Though there are only 4 dedicated analog inputs (called Wiper 1- 4), the 1310 actually
monitors 12 channels of analog values. Many of these analog signals are internal to the 1310
hardware but can be used in VCL. It is NOT necessary to use the Get_ADC() function, as the
ADC channels are constantly monitored and automatically placed in the corresponding
ADC#_Output variable, but the VCL programmer my wish to use this function to insure that the
most recent value is read or for clarity in the program. Note that all ADC channels are read as 10
bit and therefore have a range of 0 to 1023.
Data Values
ADC#_Output Variable that is updated with the value of the ADC
channel.
Parameters
ADC# Identifies which ADC channel is to be read
Can be ADC1 through ADC16
ADC1 = Common Pot High
ADC2 = Pot 1 wiper input
ADC3 = Pot 2 wiper input
ADC4 = Pot 3 wiper input
ADC5 = Pot 4 wiper input
ADC6 = Common Pot Low
ADC7 = Pwr_Up Input (~9.5 counts/volt)
ADC8, 9 & 10 = Not connected
ADC11 = +5 volt output current monitor
ADC12 = +5 & +12 volt combined current (~4.21 counts/ma)
ADC13 = B+/ KSI Input (~9.5 counts/volt)**
ADC14 = Not Connected
ADC15 = PWM 1 drive current (~310 counts/amp)
ADC16 = PWM 2 drive current (~310 counts/amp)
Returns
0 to 1023 = the value of ADC channel
Error Codes
Bad_ID = ADC channel is out of range (>16)
Examples
User1 = Get_ADC(ADC11) ; Put the current reading of +5v into User1
** It is recommended to use the variables KSI_Filtered (instead of ADC_13) since it is factory
calibrated for 100 counts per volt. ADC_13 is uncalibrated.
1310 Vehicle Control System Users Manual Release Rev B Page 29 of 51

Questions and Answers:

Question and Answer IconNeed help?

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

Curtis 1310 Specifications

General IconGeneral
BrandCurtis
Model1310
CategoryController
LanguageEnglish

Related product manuals