Hardware Reference Manual
Software Setup
22
Analog Inputs Setup
The optional analog-to-digital converter inputs are ordered either through Option-12 on the baseboard or
Option-2 on the axes expansion board. Each option provides two 12-bit analog inputs with a ±10Vdc
range. The M-variables associated with these inputs provided a range of values b2048 and –
2048 for the respective ±10Vdc input range. The following is the software procedure to setup and read
these ports.
Analog Inputs
I907 = 1746
;Set ADC clock frequency at 4.9152 MHz
WX:$C034, $1FFFFF
;Clock strobe set for bipolar inputs
M305->X:$0714,12,12,S
;ADCIN_1 on JMACH1 connector (Acc-1P) pin 45
M405->X:$0715,12,12,S
;ADCIN_2 on JMACH1 connector (Acc-1P) pin 46
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com