Chapter 4 Register structure and format 31
With continuous triggering the MUX will scan from the start channel
to the end channel, then repeat. For example, if the start channel is 3
and the stop channel is 7, then the scan sequence is 3, 4, 5, 6, 7, 3, 4,
5, 6, 7, 3, 4...
BASE+2 (write) start and stop scan channels
Bit
D7
D6
D5
D4
D3
D2
D1
D0
Value
CH3
CH2
CH1
CH0
CL3
CL2
CL1
CL0
CH3 to CH0
Stop scan channel number
CL3 to CL0
Start scan channel number
The MUX scan register low nibble, CL3 to CL0, also acts as a pointer
when you program the A/D input range (see previous section). When
you set the MUX start channel to N, the range code written to the
register BASE+1 is for channel N.
Programming example
This BASIC code fragment sets the range for channel 5 to ±0.625 V:
200 OUT BASE+2, 5 ‘SET POINTER TO CH.5
210 OUT BASE+1, 3 ‘RANGE CODE=3 FOR ±0.625 V
Note: The MUX start/stop channel changes each time you change the
input range. Do not forget to reset the MUX start and stop channels to
the correct values after you are finished setting the range.
Summary of Contents for PCL-818L
Page 1: ...PCL 818L High performance DAS card with programmable gain ...
Page 5: ...Chapter 1 General information 1 1 General information C H A P T E R ...
Page 13: ...Chapter 2 Installation 9 C H A P T E R 2 Installation ...
Page 25: ...Chapter 3 Signal connections 21 3 Signal connections C H A P T E R ...
Page 31: ...Chapter 4 Register structure and format 27 4 Register structure and format C H A P T E R ...
Page 41: ...Chapter 5 A D conversion 37 C H A P T E R 5 A D conversion ...
Page 47: ...Chapter 6 D A conversion 43 6 D A conversion C H A P T E R ...
Page 50: ...46 PCL 818L User s Manual ...
Page 51: ...Chapter 7 Digital input and output 47 7 Digital input and output C H A P T E R ...
Page 53: ...Chapter 8 Programmable counter timer 49 8 Programmable timer counter C H A P T E R ...
Page 61: ...Chapter 9 Direct memory access operation 57 9 Direct memory access operation C H A P T E R ...
Page 64: ...60 PCL 818L User s Manual ...
Page 65: ......
Page 68: ...Appendix C PC I O port address map 65 C PC I O port address map A P P E N D I X ...
Page 70: ...Appendix D Calibration 67 D Calibration A P P E N D I X ...
Page 73: ...70 PCL 818L User s Manual ...
Page 75: ...2 PCL 818L User s Manual ...