
ADwin-Gold II
, Manual February 2013
75
Analog Inputs and Outputs
Seq_Mode
ADwin
Seq_Mode
Seq_Mode
initializes operation mode for the sequential control of an ADC.
Syntax
#Include
ADwinGoldII.inc / GoldIITiCo.inc
Seq_Mode
(
adc_no
,
mode
)
Parameters
Notes
After power-up mode 0 is active.
Modes 1 and 2 activate the sequential control of the selected ADC, sin-
gle conversions with
ADC
are disabled then (on this ADC). The sequen-
tial control consecutively runs a conversion on several channels. The
channels are selected by
Seq_Select
.
The modes differ in the following items:
See also
,
,
Valid for
Gold II
T11 TiCo
adc_no
Number (1, 2) of the ADC.
LONG
mode
Operating mode of the sequential control:
0: Single conversion (default), no sequential con-
trol.
1: Mode "single shot", single conversion cycle.
2: Mode "continuous" continuous conversion.
LONG
Mode
Kind of conversion
0 Standard:
Single conversion at one channel without sequential
control, see
ADC
.
1 single shot:
The sequential control is started by
Seq_Start
; it
ends as soon as each of the selected channels is con-
verted once.
The measurement values of the sequential control are
read with
Seq_Read
.
2 continuous:
The sequential control converts the selected channels
continuously, providing new measurement values all
the time. That is, conversion and process cycle run
non-synchronously.
The conversion is started with
Seq_Start
. Inside a
process cycle
Seq_Read
just reads the newest mea-
surement value.
Analog
Inputs
and