Measurement-computing Data Acquisition Systems rev.10.4 Manuel d'utilisateur Page 258

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 366
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 257
Expansion I/O
There are several expansion options (DBK2x) that allow the DIO to be expanded on the main unit of the device.
These expansion units operate off of the P2 port of the main unit (if the main unit supports P2) and can be accessed
asynchronously. These expansion cards vary in numbers of DIO as well as DIO connectivity and isolation
characteristics (see the User Manual on characterstics of your particular DBK2x card). All of the DBK2x series
expansion cards can be accessed asynchronously.
When using a DBK20 Series expansion card on P2, the Local P2 port becomes inaccessible.
The following table describes typical port settings. “n” is the expansion card’s position in a system. In a three
card system the first card would have n = 0, the second card n = 1, and the third card n = 2.
Digital I/O Port
devType devPort whichDevice whichExpPort
P2 Local DIO ( one 8255 – three 8-bit DIO banks)
P2 Local 8255 Port A
(P2 pins 30-37)
DiodtP2Local8 DiodpP2Local8 Diodp8255A DioepP2
P2 Local 8255 Port B
(P2 pins 3-10)
DiodtP2Local8 DiodpP2Local8 Diodp8255B DioepP2
P2 Local 8255 Port C
(P2 pins 22-28)
DiodtP2Local8 DiodpP2Local8 Diodp8255C DioepP2
P3 Local DIO/HS Digital IO (one 16-bit DIO bank)
P3 Local 16-bit Port*
(P3 pins 3-10, 22-29)
DiodtP3LocalDig16 DiodpP3LocalDig16 DiodpP3LocalDig16 DioepP3
P2 Expansion DIO with DBK20/21 (dual 8255’s – six 8-bit DIO banks) “n” is the expansion card’s position in a system.
P2 Exp 8255-0 Port A
(see DBK20/21 doc)
DiodtExp8255 DiodpP2Exp8 (nx8) + Diodp8255A DioepP2
P2 Exp 8255-0 Port B
(see DBK20/21 doc)
DiodtExp8255 DiodpP2Exp8 (nx8) + Diodp8255B DioepP2
P2 Exp 8255-0 Port C
(see DBK20/21 doc)
DiodtExp8255 DiodpP2Exp8 (nx8) + Diodp8255C DioepP2
P2 Exp 8255-1 Port A
(see DBK20/21 doc)
DiodtExp8255 DiodpP2Exp8 (nx8) + Diodp8255A + 4 DioepP2
P2 Exp 8255-1 Port B
(see DBK20/21 doc)
DiodtExp8255 DiodpP2Exp8 (nx8) + Diodp8255B + 4 DioepP2
P2 Exp 8255-1 Port C
(see DBK20/21 doc)
DiodtExp8255 DiodpP2Exp8 (nx8) + Diodp8255C + 4
(see example)
DioepP2
P2 Expansion DIO with DBK23 ( three 8-bit DIO banks) “n” is the expansion card’s position in a system.
P2 Exp DBK23 Port A
DiodtDbk23 DiodpP2Exp8 (nx4) + DiodpDbk23A DioepP2
P2 Exp DBK23 Port B
DiodtDbk23 DiodpP2Exp8 (nx4) + DiodpDbk23B DioepP2
P2 Exp DBK23 Port C
DiodtDbk23 DiodpP2Exp8 (nx4) + DiodpDbk23C DioepP2
P2 Expansion DIO with DBK24 ( three 8-bit DIO banks)
P2 Exp DBK24 Port A
DiodtDbk24 DiodpP2Exp8 (nx4) + DiodpDbk24A DioepP2
P2 Exp DBK24 Port B
DiodtDbk24 DiodpP2Exp8 (nx4) + DiodpDbk24B DioepP2
P2 Exp DBK24 Port C
DiodtDbk24 DiodpP2Exp8 (nx4) + DiodpDbk24C DioepP2
P2 Expansion DIO with DBK25 (one 8-bit DIO bank) “n” is the expansion card’s position in a system.
P2 Exp DBK25 Port
DiodtDbk25 DiodpP2Exp8 n + DiodpDbk25 DioepP2
WBK17
WBK17 Digital Output
DiodtWbk17 DiodpWbk17_8Bit
First channel on unit (9, 17, 25 …)
DioeP1
Example of Calculating “whichDevice” for three DBK20 P2 Exp 8255-1 Port C banks.
For the first positioned card n= 0.
Thus for the first card’s P2 Exp 8255-1 Port C ….
whichDevice: (Note 1)
(nx8) + Diodp8255B + 4 =
n = 0
Result:
Diodp8255B + 4
For the second positioned card n= 1.
Thus for the second card’s P2 Exp 8255-1 Port C ….
(nx8) + Diodp8255B + 4 =
n = 1
Diodp8255B + 12
For the third positioned card n= 2.
Thus for the third card’s P2 Exp 8255-1 Port C ….
(nx8) + Diodp8255B + 4 =
n = 2
Diodp8255B + 20
Note 1: The equation is from the whichDevice column and “P2 Exp 8255-1” row (shaded), in the preceding table.
Returns
DerrNoError No error
4.5-28 Daq API Command Reference 908794 Programmer’s Manual
Vue de la page 257
1 2 ... 253 254 255 256 257 258 259 260 261 262 263 ... 365 366

Commentaires sur ces manuels

Pas de commentaire