Wasco OPTOIO-PCIe16 STANDARD User manual

Handbuch
wasco®
user‘s guide
wasco®
OPTOIO-PCIe16
STANDARD
EDV-Nr.: A-829200
16 Eingänge über Optokoppler
16 Ausgänge über Optokoppler
OPTOIO-PCIe16
STANDARD
EDP No.: A-829200
16 optocoupler isolated digital inputs
16 optocoupler isolated digital outputs

2
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
2
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 22
wasco®wasco®
Copyright©2015 by Messcomp Datentechnik GmbH
Diese Dokumentation ist urheberrechtlich geschützt. Alle Rechte sind
vorbehalten.
Messcomp Datentechnik GmbH behält sich das Recht vor, die in dieser
DokumentationbeschriebenenProduktejederzeitundohneVorankündigung
zu verändern.
OhneschriftlicheGenehmigungderFirmaMesscompDatentechnikGmbH
darf diese Dokumentation in keinerlei Form vervielfältigt werden.
Geschützte Warenzeichen
Windows®, Visual Basic®, Visual C++®, Visual C#®sind eingetragene
Warenzeichen von Microsoft.
wasco®ist ein eingetragenes Warenzeichen.
Linux®ist ein eingetragenes Warenzeichen.
Ubuntu®ist ein eingetragenes Warenzeichen.
LabVIEW®ist ein eingetragenes Warenzeichen.
Bei anderen genannten Produkt- und Firmennamen kann es sich um
Warenzeichen der jeweiligen Inhaber handeln.
Haftungsbeschränkung
Die Firma Messcomp Datentechnik GmbH haftet für keinerlei durch
den Gebrauch der Interfacekarte OPTOIO-PCIe16STANDARD und dieser
Dokumentation direkt oder indirekt entstandene Schäden.
Copyright©2015 by Messcomp Datentechnik GmbH
This documentation is copyright by Messcomp Datentechnik GmbH. All
rights are reserved.
Messcomp Datentechnik GmbH reserves the right to modify the products
described in this manual at any time and without prior notice.
No parts of this manual are allowed to be reproduced, copied, translated
or transmitted in any way without a prior written consent of Messcomp
Datentechnik GmbH.
Registered Trademarks
Windows®, Visual Basic®, Visual C++®, Visual C#®are registered trade-
marks of Microsoft.
wasco®is registered trademark.
Linux®is registered trademark.
Ubuntu®is registered trademark.
LabVIEW®is registered trademark
Otherproductandcompanynamesmentionedmaybetrademarksoftheir
respective owners.
Disclaimer
The company Messcomp Datentechnik GmbH assumes no liability for the
use of the interface card OPTOIO-PCIe16STANDARD and this documenta-
tion, neither for direct nor indirect damages.

3
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
3
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 33
wasco®wasco®
Inhaltsverzeichnis
Table of Contents
1. Description........................................................................................5
2. Installation of OPTOIO-PCIe16STANDARD ............................................6
2.1 How to install the card into your system................................................................6
3. Connectors........................................................................................7
3.1 Position of the connector plugs .............................................................................7
3.2 Pin assignment of CN1..........................................................................................8
3.3 Pin assignment of CN2..........................................................................................9
3.4 Pin assignment of CN2 on D-Sub37 at ribbon cable .........................................10
4. System Components......................................................................11
4.1 Block diagram......................................................................................................11
4.2 Access to the system components......................................................................12
5. 16 Optocoupler Isolated Digital Inputs.........................................13
5.1 Pin assignment of the input optocouplers............................................................13
5.2 Input voltage ranges............................................................................................14
5.3 Input circuitry.......................................................................................................16
5.4 Input current ........................................................................................................16
6. 16 Optically Isolated Outputs.........................................................17
6.1 Pin assignment of the output optocouplers .........................................................17
6.2 Optocoupler specications ..................................................................................17
6.3 Output circuitry ....................................................................................................17
7. Board Conguration.......................................................................18
7.1 Board Identication..............................................................................................18
7.2 Access with 8 or 32 Bit........................................................................................19
8. Windows® Programming ................................................................20
8.1 Installation of the Windows®driver......................................................................20
8.2 Installation of the Windows® development les ...................................................20
8.3 Programming of the OPTOIO-PCIe16 by wasco®driver ....................................23
8.4 Access to the board OPTOIO-PCIe16Standard ........................................................24
8.5 Assignment of the Memory Mapped I/O addresses.............................................24
8.5 Compatibility to the OPTOIO-PCI16STANDARD.........................................................25

4
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
4
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 44
wasco®wasco®
9. Linux® Programming ......................................................................26
9.1 Installing the Linux®driver...................................................................................26
9.2 Supported Linux-Distributions/Kernelversions.....................................................26
9.3 Programming the OPTOIO-PCIe16 with wasco®driver.......................................26
9.4 Access to the OPTOIO-PCIe16Standard...................................................................27
9.5 Assignment of the Memory Mapped I/O addresses.............................................27
10. Accessories ..................................................................................28
10.1 Fitting wasco®accessories................................................................................28
10.2 Connecting technique (application examples)...................................................28
10.3 Single components for customer assembly.......................................................29
11. Troubleshooting............................................................................30
12. Specications ...............................................................................31
13. Product Liability Act.....................................................................32
14. EC Declaration of Conformity .....................................................34

5
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
5
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 55
wasco®wasco®
1. Produktbeschreibung
Die OPTOIO-PCIe16STANDARD bietet 16 digitale Eingänge und 16 digitale
Ausgänge mit galvanischer Trennung, einzeln für jeden Kanal. Die Po-
tentialtrennung gewährleisten bei den Ein- wie Ausgängen hochwertige
Optokoppler. Alle Eingangsoptokoppler sind bipolar. Spezielle, leistungs-
fähige Ausgangsoptokoppler bewältigen einen Schaltstrom von bis zu
150 mA.
Jeder Ein- und Ausgang ist zusätzlich durch Schutzdioden gegen schäd-
liche Spannungsspitzen und Impulse geschützt. Über leicht steckbare
Jumper sind für jeden einzelnen Eingangskanal zwei verschiedene Ein-
gangsspannungsbereiche einstellbar.
Die Anschlüsse der Ausgangsoptokoppler sind der am Slotblech der Pla-
tine montierten 37poligen D-Sub-Buchse zugeführt. Die Optokoppler-Ein-
gänge liegen am 40poligen Pfostenstecker auf der Platine an. Über ein
als Option erhältliches Steckerverlegungs-Set ist die Verlegung auf eine
37polige D-Sub-Buchse mit Slotblech möglich.
Die Steckerbelegungen und die Eingangsspannungsbereiche sind iden-
tisch zur ISA-Bus-Karte OPTOIO-16STANDARD und zur PCI-Bus-Karte OP-
TOIO-PCI16STANDARD, ein Umstieg auf PCIe ist dadurch einfach realisier-
bar.
Des Weiteren besitzt die Karte einen Board-Identikations-Jumperblock,
um mehrere identische Karten im PC unterscheiden zu können.
1. Description
The wasco®interface card OPTOIO-PCIe16STANDARD provides 16 digital
inputs and 16 digital outputs with galvanic isolation, individually for each
channel. Optocouplers of high quality ensure the potential separation for
the inputs and outputs. All input optocouplers are bipolar. Special high
power output optocouplers can handle a maximum switching current of
up to 150 mA.
Each input or output is tted with additional protection diodes against
harmful voltage peaks. You can adjust two different voltage ranges for
each single input channel by jumpers easily to plug in.
Outputoptocouplers are led toa37 pin D-Sub jackmountedto the board’s
slot bracket. Optocoupler inputs are fed to a 40-pin box header. A special
available cable (set of female connector, ribbon cable and 37pin female
sub-D-connector with slot bracket) can postpone the connection to a slot
of your PC casing.
Pin assignment and input voltage ranges are identical with the ISA bus
card OPTOIO-16STANDARD and PCI bus card OPTOIO-PCI16STANDARD.There-
fore a switch to PCIe is easily to realise.
Furthermore the card provides a jumper block for card identication.
This enables you to differentiate between several identical cards in your
system.

6
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
6
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 66
wasco®wasco®
2. Installation der OPTOIO-PCIe16STANDARD
2.1 Installation der Karte in den Rechner
Achten Sie vor dem Einbau der OPTOIO-PCIe16 darauf, dass der Rech-
ner vom Netz getrennt oder zumindest ausgeschaltet ist. Beim Einbau
der Interface-Karte in den laufenden Rechner besteht die Gefahr, dass
neben der OPTOIO-PCIe16 auch andere Karten des PCs oder Rechners
beschädigt oder zerstört werden.
Wählen Sie in Ihrem Rechner einen freien PCIe-Steckplatz in den Sie
dann die Karte einsetzen. Nehmen Sie dazu auch das Benutzerhandbuch
Ihres Computers zu Hilfe. Verschrauben Sie das Slotblech der Platine mit
dem Rechnergehäuse, damit sich die Karte nicht während des Betriebs
unter Einwirkung der Anschlusskabel aus dem Steckplatz lösen kann.
2. Installation of OPTOIO-PCIe16STANDARD
2.1 How to install the card into your system
Before you insert the card unplug the power cord or make sure, there is
no current to/in the computer. Inserting in a running system may cause
damaging or destroying not only OPTOIO-PCIe16STANDARD, but even other
already inserted cards of your computer.
Select an empty PCIe slot of your computer for inserting the card. Please
refer to the computer‘s manual for support. Secure the OPTOIO-PCIe16
by screwing the mounting bracket to the casing of the computer to avoid
a card‘s loosening by effects of the cables.

7
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
7
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 77
wasco®wasco®
CN1 CN2
3. Anschlussstecker
3.1 Lage der Anschlussstecker auf der Platine
CN1: Optokoppler-Ausgänge OUT00...OUT15
CN2: Optokoppler-Eingänge IN00...IN15
CN1 CN2
3. Connectors
3.1 Position of the connector plugs
CN1: Optocoupler Output OUT00...OUT15
CN2: Optocoupler Input IN00...IN15

8
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
8
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 88
wasco®wasco®
3.2 Steckerbelegung von CN1
Vcc:
Interne Versorgungsspannung (+ 5V) der PCIe-Karte (nur durch Einlöten einer Drahtbrücke
an L11). Hier niemals eine externe Spannung anlegen.
GND:
Masse des Rechners (nur durch Einlöten einer Drahtbrücke an L12)
NC:
Pin nicht belegt
OUT00-
OUT01-
OUT02-
OUT03-
OUT04-
OUT05-
OUT06-
OUT07-
OUT08-
OUT09-
OUT10-
OUT11-
OUT12-
OUT13-
OUT14-
OUT15-
GND
GND
OUT00+
OUT01+
OUT02+
OUT03+
OUT04+
OUT05+
OUT06+
OUT07+
OUT08+
OUT09+
OUT10+
OUT11+
OUT12+
OUT13+
OUT14+
OUT15+
NC
Vcc
Vcc
1
2
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
OUT00-
OUT01-
OUT02-
OUT03-
OUT04-
OUT05-
OUT06-
OUT07-
OUT08-
OUT09-
OUT10-
OUT11-
OUT12-
OUT13-
OUT14-
OUT15-
GND
GND
OUT00+
OUT01+
OUT02+
OUT03+
OUT04+
OUT05+
OUT06+
OUT07+
OUT08+
OUT09+
OUT10+
OUT11+
OUT12+
OUT13+
OUT14+
OUT15+
NC
Vcc
Vcc
1
2
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
3.2 Pin assignment of CN1
Vcc:
Connector for internal voltage source (+ 5V) (a wiring bridge must be soldered on L11),
Never apply an external voltage across this pin.
GND:
Ground connection (only when a wiring bridge is soldered on L12).
NC:
not connected

9
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
9
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 99
wasco®wasco®
3.3 Steckerbelegung von CN2
Vcc:
Interne Versorgungsspannung (+ 5V) der PCIe-Karte (nur durch Einlöten einer Drahtbrücke
an L21). Hier niemals eine externe Spannung anlegen.
GND:
Masse des Rechners (nur durch Einlöten einer Drahtbrücke an L22)
NC:
Pin nicht belegt
NC NC
NC Vcc
GND Vcc
GND NC
IN15- IN15+
IN14- IN14+
IN13- IN13+
IN12- IN12+
IN11- IN11+
IN10- IN10+
IN09- IN09+
IN08- IN08+
IN07- IN07+
IN06- IN06+
IN05- IN05+
IN04- IN04+
IN03- IN03+
IN02- IN02+
IN01- IN01+
IN00-
40 39
38 37
36 35
34 33
32 31
30 29
28 27
26 25
24 23
22 21
20 19
18 17
16 15
14 13
12 11
10 9
8 7
6 5
4 3
2 1 IN00+
NC NC
NC Vcc
GND Vcc
GND NC
IN15- IN15+
IN14- IN14+
IN13- IN13+
IN12- IN12+
IN11- IN11+
IN10- IN10+
IN09- IN09+
IN08- IN08+
IN07- IN07+
IN06- IN06+
IN05- IN05+
IN04- IN04+
IN03- IN03+
IN02- IN02+
IN01- IN01+
IN00-
40 39
38 37
36 35
34 33
32 31
30 29
28 27
26 25
24 23
22 21
20 19
18 17
16 15
14 13
12 11
10 9
8 7
6 5
4 3
2 1 IN00+
3.3 Pin assignment of CN2
Vcc:
Connector for internal voltage source (+ 5V) ( a wiring bridge must be soldered on L21),
Never apply an external voltage across this pin.
GND:
Ground connection (only when a wiring bridge is soldered on L22).
NC:
not connected

10
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
10
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 1010
wasco®wasco®
3.4 Steckerbelegung von CN2 auf D-Sub 37 (Steckerverlegungsset)
Vcc:
Interne Versorgungsspannung (+ 5V) der PCIe-Karte (nur durch Einlöten einer Drahtbrücke
an L21). Hier niemals eine externe Spannung anlegen.
GND:
Masse des Rechners (nur durch Einlöten einer Drahtbrücke an L22)
NC:
Pin nicht belegt
IN00-
IN01-
IN02-
IN03-
IN04-
IN05-
IN06-
IN07-
IN08-
IN09-
IN10-
IN11-
IN12-
IN13-
IN14-
IN15-
GND
GND
IN00+
IN01+
IN02+
IN03+
IN04+
IN05+
IN06+
IN07+
IN08+
IN09+
IN10+
IN11+
IN12+
IN13+
IN14+
IN15+
NC
Vcc
Vcc
1
2
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
IN00-
IN01-
IN02-
IN03-
IN04-
IN05-
IN06-
IN07-
IN08-
IN09-
IN10-
IN11-
IN12-
IN13-
IN14-
IN15-
GND
GND
IN00+
IN01+
IN02+
IN03+
IN04+
IN05+
IN06+
IN07+
IN08+
IN09+
IN10+
IN11+
IN12+
IN13+
IN14+
IN15+
NC
Vcc
Vcc
1
2
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
3.4 Pin assignment of CN2 on D-Sub37 at ribbon cable
Vcc:
Connector for internal voltage source (+ 5V) (a wiring bridge must be soldered on L21),
Never apply an external voltage across this pin.
GND:
Ground connection (only when a wiring bridge is soldered on L22).
NC:
not connected

11
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
11
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 1111
wasco®wasco®
4.1 Blockschaltbild
4. Systemkomponenten
PCIe x1
PCIe Bus
Interface
Steuer-
Logik
+12V
8 Bit interner Datenbus
+12V 5V
GND
40poliger Pfostenstecker 37polige D-Sub Buchse
Optokopplereingänge
IN00...IN15 Optokopplerausgänge
OUT00...OUT15
Board Identifikation
PCIe x1
PCIe Bus
Interface
Steuer-
Logik
+12V
8 Bit interner Datenbus
+12V 5V
GND
40poliger Pfostenstecker 37polige D-Sub Buchse
Optokopplereingänge
IN00...IN15 Optokopplerausgänge
OUT00...OUT15
Board Identifikation
4. System Components
4.1 Block diagram

12
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
12
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 1212
wasco®wasco®
PCIe Bus
Interface Steuer-
Logik
32 Bit PCIe Connector
32 Bit
interner
Datenbus
4.2 Zugriff auf die Systemkomponenten
Der Zugriff auf die Hardware-Komponenten der OPTOIO-PCIe16 erfolgt
durch das Lesen von bzw. Schreiben in Memory-Mapped I/O-Adressen
mit Hilfe von Library-Funktionen. Die für die OPTOIO-PCIe16 relevanten
Adressen ergeben sich abhängig von einer vom Bios vergebenen Basi-
sadresse. Der Zugriff auf die OPTOIO-PCIe16 erfolgt ausschließlich im
Doppel-Word-Zugriff, wobei die wasco-Treiber-Funktionen aus Kompa-
tibilitätsgründen nur das niederwertigste Byte verarbeiten bzw. berück-
sichtigen. (Hinweise hierzu nden Sie im Kapitel Programmierung sowie
in den Beispielprogrammen auf der mitgelieferten CD).
PCIe Bus
Interface Steuer-
Logik
32 Bit PCIe Connector
32 Bit
interner
Datenbus
4.2 Access to the system components
Access to the hardware components of the OPTOIO-PCIe16 is made by
reading and writing in Memory Mapped I/O addresses by library func-
tions. The relevant addresses for OPTOIO-PCIe16 depend on the base
address given by the BIOS. Access to the OPTOIO-PCIe16 is made by
double word access only. For reasons of compatibility the wasco drivers
handle or regard the lowest value bytes only.
(Please nd more information in chapter Programming or in samples on
the enclosed CD)

13
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
13
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 1313
wasco®wasco®
Die OPTOIO-PCIe16 verfügt über 16 Eingangskanäle, deren galvanische
Trennung mittels Optokoppler erreicht wird. Die Isolationsspannung zwi-
schen Masse des Computers und Eingang beträgt 500 Volt, während die
Spannung zwischen den Eingangskanälen auf 50 Volt begrenzt ist.
5.1 Pinbelegung der Eingangsoptokoppler
5. 16 Optokopplereingänge
16,14,12,10 15,13,11,9
1,3,5,7 2,4,6,8
16,14,12,10 15,13,11,9
1,3,5,7 2,4,6,8
5. 16 Optocoupler Isolated Digital Inputs
The OPTOIO-PCIe16STANDARD provides 16 input channels which are opti-
cally isolated by optocouplers. The isolation voltage between GND and
input is 500 VDC. The voltage within the input channels is limited to 50
VDC.
5.1 Pin assignment of the input optocouplers

14
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
14
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 1414
wasco®wasco®
JP7 JP8
JP4 JP6
5.2 Eingangsspannungsbereiche
Durch das Setzen von Jumpern auf den Blöcken JP4, JP6, JP7 und JP8
kann für jeden Optokopplereingang zwischen zwei Eingangsspannungs-
bereichen gewählt werden.
JP7 JP8
JP4 JP6
5.2 Input voltage ranges
You can select two different input voltage ranges for each optocoupler
input by setting jumpers on the blocks JP4, JP6, JP7 and JP8.

15
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
15
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 1515
wasco®wasco®
1 2
3 4
5 6
7 8
IN05
IN06
IN07
NC
JP6
9 10
NC
1 2
3 4
5 6
7 8
IN13
IN14
IN15
NC
JP8
9 10
NC
Durch das Setzen eines Jumpers zwischen Pin1 und Pin2 des Jumper-
blocks JP4 wechselt der Eingangsspannungsbereich des IN00 von 0..2V
(Low) und 14..30V (High) auf 0..1V (Low) und 5..15V (High). Die rest-
lichen Eingangsspannungsbereiche bleiben unverändert.
1 2
3 4
5 6
7 8
IN08
IN09
IN10
IN11
JP7
9 10
IN12
1 2
3 4
5 6
7 8
IN00
IN01
IN02
IN03
JP4
9 10
IN04
Die Daten der zwei Eingangsspannungsbereiche entnehmen Sie bitte
der folgenden Tabelle:
Jumper low high
gesetzt 0...1 V 5...15 V
nicht gesetzt 0...2 V 14...30 V
1 2
3 4
5 6
7 8
IN05
IN06
IN07
NC
JP6
9 10
NC
1 2
3 4
5 6
7 8
IN13
IN14
IN15
NC
JP8
9 10
NC
1 2
3 4
5 6
7 8
IN08
IN09
IN10
IN11
JP7
9 10
IN12
1 2
3 4
5 6
7 8
IN00
IN01
IN02
IN03
JP4
9 10
IN04
Setting the jumper over Pin1 and Pin2 of the jumper block JP4 the input
voltage range of IN00 changes from 0..2V (Low) and 14..30V (High) to
0..1V (Low) and 5..15V (High). The other input voltage ranges remain
unaffected.
Jumper low high
closed 0...1 V 5...15 V
off 0...2 V 14...30 V
Following table shows the data of the two input voltage ranges:

16
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
16
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 1616
wasco®wasco®
UE- 1,1V
3400Ω
IE ≈
UE- 1,1V
1000Ω
IE ≈
Optocoupler
Jumper
IN.. +
IN.. -
1K 2K4
UEProtection
Diode
5.3 Eingangsbeschaltung
5.4 Eingangsstrom
UE- 1,1V
3400Ω
IE ≈ (Jumper nicht gesetzt)
UE- 1,1V
1000Ω
IE ≈ (Jumper gesetzt)
Optokoppler
Jumper
IN.. +
IN.. -
1K 2K4
UESchutzdiode
5.3 Input circuitry
5.4 Input current
(Jumper off)
(Jumper closed)

17
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
17
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 1717
wasco®wasco®
DieOPTOIO-PCIe16verfügt über 16Ausgangskanäle,derengalvanische
Trennung ebenfalls mittels Optokoppler erreicht wird. Die Isolationsspan-
nung zwischen Masse des Computers und Ausgang beträgt 500 Volt.
6.2 Optokopplerdaten
Spannung-CE: max. 50V
Spannung-EC: 0,1V
Strom-CE: 150 mA
6.1 Pinbelegung der Ausgangsoptokoppler
6. 16 Optokopplerausgänge
1
2
4
3
1
2
4
3
OUT..+
OUT..-
Schutzdiode
Optocoupler
6.3 Ausgangsbeschaltung
OUT..+
OUT..-
Schutzdiode
Optokoppler
6. 16 Optically Isolated Outputs
The OPTOIO-PCIe16STANDARD provides 16 output channels, which are gal-
vanically isolated by optocouplers. The isolation voltage between GND
and output ist 500 VDC.
6.1 Pin assignment of the output optocouplers
6.2 Optocoupler specications
Voltage collector-emitter: max. 50V
Voltage emitter-collector: 0,1V
Current collector-emitter: 150 mA
6.3 Output circuitry

18
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
18
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 1818
wasco®wasco®
JP9
1 2 3 4 5
0 1 2 3 4
Jumper
Bit
Bit 31....876543210
Jumper 54321
Board ID Register 0 0 0 0 0 0 0 x x x x x
JP9
7. Board-Konguration
Die Board-Identifikation dient zur Unter-
scheidung mehrerer PC-Karten gleichen
Typs im Computer. Sie erfolgt durch einen
Jumperblock, welcher per Software gelesen
werden kann.
Die zu lesende Board-Identikation besteht aus einem Byte (8 Bit) und ist
wie folgt aufgebaut:
„x“ entspricht „1“, wenn der Jumper gesetzt ist, sonst „0“
Mittels des Lesebefehls kann die Jumperstellung des Jumperblocks JP1
ausgelesen werden. Die nicht benützten Bits sind grundsätzlich „0“, ein
gesetzter Jumper wird als „1“ gelesen.
z.B.
(Jumper 1 und 3 gesetzt)
Ergebnis des Lesebefehls: $05
Bit 31....876543210
Jumper 54321
Board ID Register 0 0 0 0 0 0 0 x x x x x
7.1 Board-Identikation
JP9
1 2 3 4 5
0 1 2 3 4
Jumper
Bit
JP9
7. Board Conguration
The board Identication enables you to dif-
ferentiate between several PC boards of the
same type in your system. This is realised by
a software readable jumper block.
The board identication to be read consists of one Byte (8 Bit) and is struc-
tured as follows:
„x“ corresponds to „1“, if the Jumper is closed, otherwise „0“
Calling the reading command, you can read out the setting of the jumper
block JP1. Not used bits are basically „0“, a set or closed jumper will be
read as „1“ .
For example:
(Jumper 1 and 3 closed)
Result of the reading command: $05
7.1 Board Identication

19
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
19
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 1919
wasco®wasco®
7.2 Access with 8 or 32 Bit
The jumper block JP10/1-2 enables you to set the data width of the
access.
If the jumper block JP10/1-2 is not set (Default) the card works in compa-
tibility mode. In this mode the card is accessed in 8-bit mode.Additionally,
the offset addresses of the PCI card OPTOIO-PCI16STANDARD are valid with
the factor 4.
If the jumper is set, the card works in 32-Bit mode and it is compatible with
other PCIe boards for offset addressing.
The offset addresses of the two modes are covered in chapter 8.5
„Assignment of the Memory-Mapped I/O Addresses“.
JP10
2 4 6 8 10
1 3 5 7 9
Jumper
JP10
2 4 6 8 10
1 3 5 7 9
Jumper
8-Bit mode 32-Bit mode
7.2 Zugriff mit 8 oder 32 Bit
Mit Hilfe des Jumperblocks JP10/1-2 kann die Zugriffs-Datenbreite ein-
gestellt werden.
Ist der Jumperblock JP10/1-2 nicht gesetzt (Default), so funktioniert die
Karte im Kompatibilitätsmodus. In diesem Modus wird im 8-Bit-Modus auf
die Karte zugegriffen. Zudem gelten die Offset-Adressen der PCI-Karte
OPTOIO-PCI16STANDARD mit dem Faktor 4.
Ist der Jumper gesetzt, so funktioniert die Karte im 32-Bit-Modus und ist
bei der Offset-Adressierung kompatibel mit anderen PCIe-Karten.
Die Offset-Adressen der beiden Modi sind im Kapitel 8.5 „Zuordnung der
Memory-Mapped I/O-Adressen“ beschrieben.
8-Bit-Modus 32-Bit-Modus
JP10
2 4 6 8 10
1 3 5 7 9
Jumper
JP10
2 4 6 8 10
1 3 5 7 9
Jumper

20
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH DV05
20
OPTOIO-PCIe16STANDARD © 2015 by Messcomp Datentechnik GmbH EV05 2020
wasco®wasco®
8. Windows® Programming 8. Programmierung unter Windows®
8.1 Installation des Windows®Treibers
Für die Anwendung der Karte unter Windows®ist es notwendig, einen
speziellen Treiber zu installieren, der den Zugriff auf die Karte ermöglicht.
Unter Windows®10, 8 und 7 meldet das Betriebssystem selbständig nach
dem Einschalten des PCs, dass eine neue Hardware-Komponente ge-
funden wurde. In diesem Fall legen Sie den Datenträger ein und weisen
das System an, von diesem die Treiber-Dateien zu installieren. Sollte sich
das Betriebssystem nicht melden, kann der Treiber auch im Gerätemana-
ger installiert werden.
8.2 Installation der Windows®Entwicklungsdateien
Zur Installation der Windows®Entwicklungsdateien führen Sie bitte die
Datei "Setup.exe" im Ordner Treiber auf der mitgelieferten CD aus und
folgen Sie den Installationsanweisungen.
8.1 Installation of the Windows®driver
To apply the card under Windows®a special driver has to be installed,
which enables access to the card.
After starting-up Windows®10, 8 und 7 your operating system automati-
cally registers a new hardware device to be found. In this case insert the
data medium and advise your system to install the driver les therefrom.
If the operating system does not react it is possible to install the drivers
in the device manager.
8.2 Installation of the Windows® development les
To install Windows® development les please run setup.exe in the di-
rectory „Treiber“ on the enclosed CD and then follow installation instruc-
tions.
This manual suits for next models
1
Table of contents
Other Wasco PCI Card manuals