Digital Inputs And Outputs; Time-Critical Tasks - Jäger ADwin-Gold-USB Manual

Hide thumbs Also See for ADwin-Gold-USB:
Table of Contents

Advertisement

Inputs and Outputs
INL
DNL
Digital inputs/outputs
Trigger input (EVENT)
Power-up configuration
CONF_DIO(12)
14
Tolerance Ranges
Slight variations regarding the calculated values may be within the tolerance
range of the individual component. Two kinds of variations are possible (in
LSB), which are indicated in this hardware manual:
– The integral non-linearity (INL) defines the maximum deviation from the
ideal straight line over the whole input voltage range.
– The differential non-linearity (DNL) defines the maximum deviation from
the ideal quantization level.

5.2 Digital Inputs and Outputs

On two 25-pin D-SUB sockets (DIO 00...DIO 31) there are 32 digital inputs or
outputs. They are programmable in groups of 8 as inputs or outputs.
The digital inputs are TTL-compatible and not protected against over voltage.
Do not use pins marked as "reserved". They are planned for changes and
expansions and can cause damages to your system if you do not pay attention
to this fact.
The ADwin-Gold is equipped with an external trigger input (EVENT). With this
trigger input processes are triggered by an external signal (trigger) with rising
edge and can completely and immediately be processed, (see also ADbasic
manual, chapter: "Program Structure").
After power-up of the device, all connections are configured as inputs.
The instruction CONF_DIO(12) configures DIO 15:00 as digital inputs and
DIO 31:16 as digital outputs (see Fig. 10).
Only in this configuration will you be able to totally access the inputs and out-
puts with the instructions
DIGIN, DIGIN_WORD, DIGOUT_WORD, SET_DIGOUT, CLEAR_DIGOUT.
About programming under other configurations the following chapter will give
you more detailed information: chapter 5.3 "Time-Critical Tasks" (see also
ADbasic manual and tutorial).
1
2
3
4
5
6
CONN. 1
(male)
14
15
16
17
18
19
Inputs / DIGIN
Fig. 10 – Pin assignment with the configuration CONF_DIO(12)

5.3 Time-Critical Tasks

For extremely time-critical tasks you can use instructions with which you have
direct access to the control and data registers of the ADC and DAC (see
ADbasic manual). These registers can be found in the memory address area
of the ADSP (memory mapped). These instructions also allow to optimize the
program structure (s.b.).
7
8
9
10
11
12
13
CONN. 2
20
21
22
23
24
25
ADwin-Gold USB / ENET, manual version 3.8, October 2005
ADwin
13
12
11
10
9
8
7
6
5
4
3
2
25
24
23
22
21
20
19
18
17
16
15
14
Outputs / DIGOUT
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adwin-gold-enet

Table of Contents