- •Системы реального времени
- •Выдержка из документации на многофункциональный адаптер acl-8112 dg.
- •4. Registers Structure & Format
- •4.1 I/o Port Address
- •4.2 A/d Data Registers
- •4.3 A/d Channel Multiplexer Register
- •4.4 A/d Range Control Register
- •4.7 Software Trigger Register
- •4.5 A/d Operation Mode Control Register
- •4.6 Interrupt Status Register
- •4.8 Digital I/o register
- •4.9 D/a Output Register
- •4.10 Internal Timer/Counter Register
- •5 Operation Theorem
- •5.1 A/d Conversion
- •5.1.1 A/d Conversion Procedure
- •5.1.2 A/d Trigger Modes
- •5.1.3 A/d Data Transfer Modes
- •5.2 D/a Conversion
- •5.3 Digital Input and Output
- •5.4 Timer/Counter Operation
- •The 8254 Tinier I Counter Chip
- •Pacer Trigger Source
- •Выдержка из документации на адаптер аналогового вывода а626.
- •3. Programming
- •3.1. I/o Register
- •3.2. Data Register
Выдержка из документации на адаптер аналогового вывода а626.
3. Programming
3.1. I/o Register
3.1.1. A-626 I/O Port Address
Address |
Function |
Read/Write |
Base + 0x0 |
D/A CH0 High Byte |
Write |
Base + 0x1 |
D/A CH0 Low Byte |
Write |
Base + 0x2 |
D/A CH1 High Byte |
Write |
Base + 0x3 |
D/A CH1 Low Byte |
Write |
Base + 0x4 |
D/A CH2 High Byte |
Write |
Base + 0x5 |
D/A CH2 Low Byte |
Write |
Base + 0x6 |
D/A CH3 High Byte |
Write |
Base + 0x7 |
D/A CH3 Low Byte |
Write |
Base + 0x8 |
D/A CH4 High Byte |
Write |
Base + 0x9 |
D/A CH4 Low Byte |
Write |
Base + OxA |
D/A CH5 High Byte |
Write |
Base + OxB |
D/A CH5 Low Byte |
Write |
Base + OxC |
D/O Bit 0 - 7 |
Write/ Read |
Base + OxD |
D/O Bit 8 - 15 |
Write/ Read |
A-626 D/A Register
D/A Channel |
High Byte Address |
Low Byte Address |
0 |
Base + 0 |
Base + 1 |
1 |
Base + 2 |
Base + 3 |
2 |
Base + 4 |
Base + 5 |
3 |
Base + 6 |
Base + 7 |
4 |
Base + 8 |
Base + 9 |
5 |
Base + A |
Base + В |
3.2. Data Register
12-bit D/A Data Format:
D/A Low Byte |
|||||||
Bit 7 |
Bit 6 |
Bit 5 |
Bit 4 |
Bit3 |
Bit 2 |
Bitl |
Bit0 |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
D/A High Byte |
|||||||
Bit 7 |
Bit 6 |
Bit 5 |
Bit 4 |
Bit3 |
Bit 2 |
Bitl |
Bit0 |
X |
X |
X |
X |
D11 |
D10 |
D9 |
D8 |
Note: You should be write the high byte data first then write low byte data
Output Range |
Output Voltage |
Binary Code |
Hex. |
Dec. |
0-5V (Unipolar) |
5V |
1111 1111 1111 |
FFF |
4095 |
2.5V |
1000 0000 0000 |
800 |
2048 |
|
0V |
0000 0000 0000 |
0 |
0 |
|
0-10V (Unipolar) |
10V |
1111 1111 1111 |
FFF |
4095 |
5V |
1000 0000 0000 |
800 |
2048 |
|
0V |
0000 0000 0000 |
0 |
0 |
|
±5V (Bipolar) |
5V |
1111 1111 1111 |
FFF |
4095 |
0V |
1000 0000 0000 |
800 |
2048 |
|
-5V |
0000 0000 0000 |
0 |
0 |
|
±10V (Bipolar) |
10V |
1111 1111 1111 |
FFF |
4095 |
0V |
1000 0000 0000 |
800 |
2048 |
|
-10V |
0000 0000 0000 |
0 |
0 |
|
4~20mA (Current Loop) |
20mA |
1111 1111 1111 |
FFF |
4095 |
12mA |
1000 0000 0000 |
800 |
2048 |
|
4mA |
0000 0000 0000 |
0 |
0 |
