
Using the I/O Address Map
DAI12-4(FIT)GY
23
Setting an Output Range
The output range refers to the voltage range over which analog signals are output.
This setting is common to all channels, and involves the conversion of digital signals
into analog output signals at a 12-bit resolution level.
The output range setup control port assumes the following state:
Figure 4.10. Setting an Output Range
Table 4.3. Output Range and Setup Data
Following are examples in which an output range is specified in high-level languages.
The example involves setting an output range of 0 - 10V.
Microsoft C
Microsoft QBASIC
outp( ADR+24, 0x3 );
OUT ADR+24, &H3
outp( ADR+28, 0x80 );
OUT ADR+28, &H80
D7
D7
D6
D5
D4
D3
D2
D1
D0
D6
D5
D4
D3
D2
D1
D0
Command
0
0
0
0
0
0
1
1
output
+24
(18h)
output
+28
(1Ch)
Range settings
Range
Data7
Range
Data6
Range
Data5
Range
Data4
Range
Data3
Range
Data2
Range
Data1
Range
Data0
Starting
I/O Address
00h
±10V
01h
±5V
02 - 7Fh
Not decided
80h
0 - 10V
81h
0 - 5V
82 - BFh
Undecided
C0h
0 - 20mA
C1h and above
Not decided
Output range
Range