25
OPTORE-PCIe16
STANDARD
© 2019 by Messcomp Datentechnik GmbH
DV03
25
OPTORE-PCIe16
STANDARD
© 2019 by Messcomp Datentechnik GmbH
EV03
25
25
25
25
wasco
®
wasco
®
8.4 Zuordnung der Memory Mapped I/O-Adressen
Die Memory Mapped I/O-Adressen der einzelnen Hardware-Komponenten
ergeben sich abhängig von der Basisadresse wie folgt:
Port/Register
BA + Offset
RD/WR
Optokoppler-Eingangsport A
BA + $0
RD
(IN00...IN07)
Optokoppler-Eingangsport B
BA + $4
RD
(IN08...IN015)
Relais-Ausgangsport A
BA + $8
RD/WR
(OUT00...OUT07)
Relais-Ausgangsport B
BA + $C
RD/WR
(OUT08...OUT15)
Board Identifikation
BA+ $3E0
RD
Achtung! Die Offset-Konstanten des Treibers funktionieren direkt nur für
die PCI-Karten. Wir empfehlen bei der Programmierung die Offsets statt
der Konstanten zu verwenden.
Port/Register
BA + Offset
RD/WR
Optokoppler-Eingangsport A
BA + $0
RD
(IN00...IN15)
Relais-Ausgangsport A
BA + $8
RD/WR
(OUT00...OUT15)
Board Identifikation
BA+ $FF8
RD
8-Bit-Modus
32-Bit-Modus
8.4 Assignment of the Memory Mapped I/O Addresses
The Memory Mapped I/O addresses of the single hardware components
depend on the base address, as shown in following table:
Port/Register
BA + Offset
RD/WR
Optocoupler Input Port A
BA + $0
RD
(IN00...IN07)
Optocoupler Input Port B
BA + $4
RD
(IN08...IN015)
Relay Output Port A
BA + $8
RD/WR
(OUT00...OUT07)
Relay Output Port B
BA + $C
RD/WR
(OUT08...OUT15)
Board Identification
BA+ $3E0
RD
Attention! The offset constants of the driver work directly only with PCI
boards. When programming, we recommend to use offsets instead of the
constants.
Port/Register
BA + Offset
RD/WR
Optocoupler Input Port A
BA + $0
RD
(IN00...IN15)
Relay Output Port A
BA + $8
RD/WR
(OUT00...OUT15)
Board Identification
BA+ $FF8
RD
8-bit mode
32-bit mode