Wasco WITIO-PCIe192 STANDARD User manual

Handbuch
wasco®
user‘s guide
wasco®
WITIO-PCIe192
STANDARD
EDP-Nr.: A-864600
192 Inputs/Outputs
WITIO-PCIe192
STANDARD
EDV-Nr.: A-864600
192 Ein- bzw. Ausgänge

2
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
2
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 22
wasco®wasco®
Copyright©2018 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
BASICisteingeschütztesWarenzeichenvonDartmouthCollege.Windows
ist ein eingetragenes Warenzeichen von Microsoft. wasco®ist ein einge-
tragenes Warenzeichen.
Haftungsbeschränkung
Die Firma Messcomp Datentechnik GmbH haftet für keinerlei durch
den Gebrauch der Interfacekarte WITIO-PCIe192STANDARD und dieser
Dokumentation direkt oder indirekt entstandene Schäden.
Copyright©2018 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 preannouncement.
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
BASIC is a registered trademark of Dartmouth College.
Windows is a registered trademark of Microsoft.
wasco®is registered trademark.
Disclaimer
The company Messcomp Datentechnik GmbH assumes no liability for the
use of the interface card WITIO-PCIe192STANDARD and this documentation,
neither for direct nor indirect damages.

3
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
3
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 33
wasco®wasco®
Table of Contents Inhaltsverzeichnis
1. Description........................................................................................5
2. Installation of the WITIO-PCIe192STANDARD........................................6
2.1 Installation of the card into your system ..............................................................6
3. Connectors........................................................................................7
3.1 Position of the connectors on the board..............................................................7
3.2 Pin assignment of CN1........................................................................................8
3.3 Pin assignment of CN2........................................................................................9
3.4 Pin assignment of CN3......................................................................................10
4. System Components......................................................................11
4.1 Block diagram....................................................................................................11
4.2 Access to the system components ....................................................................12
5. 192 Digital Inputs / Outputs...........................................................13
5.1 Selection of the Direction ..................................................................................13
5.2 Read Inputs .......................................................................................................13
5.3 Read / Write outputs..........................................................................................14
5.4 Deactivation of ports..........................................................................................14
5.5 Level Adjustment ...............................................................................................15
5.6 IOs in Compatibility Mode..................................................................................15
5.7 Port Addresses ..................................................................................................16
6. Board Identication........................................................................21
7. Programming under Windows®.....................................................22
7.1 Installation of the Windows®driver ....................................................................22
7.2 Installation of the Windows® development les .................................................22
7.3 Programming the WITIO-PCIe192 with wasco®driver ......................................25
7.4 Assignment of the Memory Mapped I/O Addresses...........................................26
7.5 Compatibility with WITIO-PCI32Standard and WITIO-PCI64Extended .........................27
8. Accessories ....................................................................................28
8.1 Compatible wasco®accessories........................................................................28
8.2 Connecting technique (application examples)...................................................28
8.3 Component parts for customized assembly.......................................................32

4
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
4
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 44
wasco®wasco®
9. Troubleshooting ............................................................................33
10. Specications ................................................................................34
11. Product Liability Act.....................................................................35
12. Declaration of Conformity ............................................................37

5
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
5
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 55
wasco®wasco®
1. Description 1. Produktbeschreibung
Die WITIO-PCIe192STANDARD (Boardname: WASCO-PCIe8182) bietet 192
digitale Ein- bzw. Ausgangskanäle, welche mittels Jumper auf 3,3V oder
5V Ein- bzw. Ausgangspegel einstellbar sind. Diese Karte eignet sich für
Ein- und Ausgabeanwendungen, für die keine galvanische Trennungen
notwendig sind. Die 192 Ein/Ausgabekanäle sind in Gruppen zu je acht
Kanälen als Ein- oder Ausgänge programmierbar. Der interne Datenbus
dieser Karte ist 32 Bit organisiert, jeder Lese- bzw. Schreibzugriff auf die
Ein-undAusgängeerfolgtals32-Bit-Zugriff.Eine68poligeSCSI-Buchseam
Slotblech der Platine und zwei 68polige SCSI-Buchsen mit je 64 Kanälen
ermöglichen den Anschluss der Peripherie. Die Steckerbelegungen aller
Steckverbinder der WITIO-PCIe192STANDARD sind im Kompatibilitätsmodus
identisch zu den Belegungen der PCI-Bus-Karten WITIO-PCI32STANDARD
und WITIO-PCI64EXTENDED, ein Umstieg auf PCIe ist dadurch einfach
realisierbar.
Thewasco®interfacecardWITIO-PCIe192STANDARD (Boardname:WASCO-
PCIe8182) provides 192 digital input or output channels. You can adjust
3,3V or 5V input and output levels by setting jumpers. This card is suitable
for input and output applications not requiring galvanic isolation. The 192
input/output channels are programmable to be input or output in groups of
eightchannelseach.Theinternaldata busofthis cardis32 bitsorganized,
each read / write access to the inputs and outputs is 32-bit access. One
68-pin SCSI socket on the slot plate of the board and two 68-pin SCSI
sockets with 64 channels each allow connection to the peripherals.
The pin assignments of all the connectors of the WITIO-PCIe192STANDARD
are in compatibility mode identical to the the assignments of the PCI bus
cards WITIO-PCI32STANDARD and WITIO-PCI64EXTENDED. A migration to PCIe
is thus easily feasible.

6
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
6
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 66
wasco®wasco®
2. Installation of the WITIO-PCIe192STANDARD
2.1 Installation of the card into your system
BeforeyouinserttheWITIO-PCIe192unplugthepowercordormakesure,
there is no current to/in the computer. Inserting into a running system may
cause damaging or destroying not only WITIO-PCIe192, but even other
already inserted cards of your computer.
Selectafree PCIeslotof yourcomputerfor theninsertingthe card.Please
refertothecomputer‘smanualforsupport.Screwtheslotplateoftheboard
to the computer housing to avoid a card‘s coming loose during operation
by effects of the cables.
2. Installation der WITIO-PCIe192STANDARD
2.1 Installation der Karte in den Rechner
AchtenSievordemEinbau derWITIO-PCIe192 darauf,dassderRechner
vom Netz getrennt ist. Beim Einbau der Interface-Karte in den laufenden
RechnerbestehtdieGefahr,dassnebenderWITIO-PCIe192auchandere
Karten des PCs oder Rechners beschädigt oder zerstört werden.
WählenSieinIhremRechnereinenfreienPCIe-Steckplatz,indenSiedann
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.

7
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
7
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 77
wasco®wasco®
3. Connectors
3.1 Position of the connectors on the board
CN1: 64 TTL I/Os
CN2: 64 TTL I/Os
CN3: 64 TTL I/Os
CN1 CN2
3. Anschlussstecker
CN3
CN1: 64 TTL I/Os
CN2: 64 TTL I/Os
CN3: 64 TTL I/Os
CN1 CN2
CN3

8
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
8
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 88
wasco®wasco®
3.2 Steckerbelegung von CN13.2 Pin assignment of CN1
Vcc:
Internal voltage supply (+ 5V / +3,3V) of the PCIe card (congurable by JP3),
Never apply an external voltage across this pin.
GND:
Ground connection
CN1 GND
CN1 GND
CN1 PH7
CN1 PH5
CN1 PH3
CN1 PH1
CN1 PG7
CN1 PG5
CN1 PG3
CN1 PG1
CN1 PF7
CN1 PF5
CN1 PF3
CN1 PF1
CN1 PE7
CN1 PE5
CN1 PE3
CN1 PE1
CN1 PD7
CN1 PD5
CN1 PD3
CN1 PD1
CN1 PC7
CN1 PC5
CN1 PC3
CN1 PC1
CN1 PB7
CN1 PB5
CN1 PB3
CN1 PB1
CN1 PA7
CN1 PA5
CN1 PA3
CN1 PA1
CN1 VCC
CN1 VCC
CN1 PH6
CN1 PH4
CN1 PH2
CN1 PH0
CN1 PG6
CN1 PG4
CN1 PG2
CN1 PG0
CN1 PF6
CN1 PF4
CN1 PF2
CN1 PF0
CN1 PE6
CN1 PE4
CN1 PE2
CN1 PE0
CN1 PD6
CN1 PD4
CN1 PD2
CN1 PD0
CN1 PC6
CN1 PC4
CN1 PC2
CN1 PC0
CN1 PB6
CN1 PB4
CN1 PB2
CN1 PB0
CN1 PA6
CN1 PA4
CN1 PA2
CN1 PA0
68 34
67 33
66 32
65 31
64 30
63 29
62 28
61 27
60 26
59 25
58 24
57 23
56 22
55 21
54 20
53 19
52 18
51 17
50 16
49 15
48 14
47 13
46 12
45 11
44 10
43 9
42 8
41 7
40 6
39 5
38 4
37 3
36 2
35 1
Vcc:
Interne Versorgungsspannung (+ 5V / +3,3V) der PCIe-Karte (kongurierbar durch JP3).
Hier niemals eine externe Spannung anlegen.
GND:
Masse des Rechners
CN1 GND
CN1 GND
CN1 PH7
CN1 PH5
CN1 PH3
CN1 PH1
CN1 PG7
CN1 PG5
CN1 PG3
CN1 PG1
CN1 PF7
CN1 PF5
CN1 PF3
CN1 PF1
CN1 PE7
CN1 PE5
CN1 PE3
CN1 PE1
CN1 PD7
CN1 PD5
CN1 PD3
CN1 PD1
CN1 PC7
CN1 PC5
CN1 PC3
CN1 PC1
CN1 PB7
CN1 PB5
CN1 PB3
CN1 PB1
CN1 PA7
CN1 PA5
CN1 PA3
CN1 PA1
CN1 VCC
CN1 VCC
CN1 PH6
CN1 PH4
CN1 PH2
CN1 PH0
CN1 PG6
CN1 PG4
CN1 PG2
CN1 PG0
CN1 PF6
CN1 PF4
CN1 PF2
CN1 PF0
CN1 PE6
CN1 PE4
CN1 PE2
CN1 PE0
CN1 PD6
CN1 PD4
CN1 PD2
CN1 PD0
CN1 PC6
CN1 PC4
CN1 PC2
CN1 PC0
CN1 PB6
CN1 PB4
CN1 PB2
CN1 PB0
CN1 PA6
CN1 PA4
CN1 PA2
CN1 PA0
68 34
67 33
66 32
65 31
64 30
63 29
62 28
61 27
60 26
59 25
58 24
57 23
56 22
55 21
54 20
53 19
52 18
51 17
50 16
49 15
48 14
47 13
46 12
45 11
44 10
43 9
42 8
41 7
40 6
39 5
38 4
37 3
36 2
35 1

9
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
9
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 99
wasco®wasco®
3.3 Steckerbelegung von CN23.3 Pin assignment of CN2
Vcc:
Internal voltage supply (+ 5V / +3,3V) of the PCIe card (congurable by JP4),
Never apply an external voltage across this pin.
GND:
Ground connection
CN2 GND
CN2 GND
CN2 PH7
CN2 PH5
CN2 PH3
CN2 PH1
CN2 PG7
CN2 PG5
CN2 PG3
CN2 PG1
CN2 PF7
CN2 PF5
CN2 PF3
CN2 PF1
CN2 PE7
CN2 PE5
CN2 PE3
CN2 PE1
CN2 PD7
CN2 PD5
CN2 PD3
CN2 PD1
CN2 PC7
CN2 PC5
CN2 PC3
CN2 PC1
CN2 PB7
CN2 PB5
CN2 PB3
CN2 PB1
CN2 PA7
CN2 PA5
CN2 PA3
CN2 PA1
CN2 VCC
CN2 VCC
CN2 PH6
CN2 PH4
CN2 PH2
CN2 PH0
CN2 PG6
CN2 PG4
CN2 PG2
CN2 PG0
CN2 PF6
CN2 PF4
CN2 PF2
CN2 PF0
CN2 PE6
CN2 PE4
CN2 PE2
CN2 PE0
CN2 PD6
CN2 PD4
CN2 PD2
CN2 PD0
CN2 PC6
CN2 PC4
CN2 PC2
CN2 PC0
CN2 PB6
CN2 PB4
CN2 PB2
CN2 PB0
CN2 PA6
CN2 PA4
CN2 PA2
CN2 PA0
68 34
67 33
66 32
65 31
64 30
63 29
62 28
61 27
60 26
59 25
58 24
57 23
56 22
55 21
54 20
53 19
52 18
51 17
50 16
49 15
48 14
47 13
46 12
45 11
44 10
43 9
42 8
41 7
40 6
39 5
38 4
37 3
36 2
35 1
Vcc:
Interne Versorgungsspannung (+ 5V / +3,3V) der PCIe-Karte (kongurierbar durch JP4).
Hier niemals eine externe Spannung anlegen.
GND:
Masse des Rechners
CN2 GND
CN2 GND
CN2 PH7
CN2 PH5
CN2 PH3
CN2 PH1
CN2 PG7
CN2 PG5
CN2 PG3
CN2 PG1
CN2 PF7
CN2 PF5
CN2 PF3
CN2 PF1
CN2 PE7
CN2 PE5
CN2 PE3
CN2 PE1
CN2 PD7
CN2 PD5
CN2 PD3
CN2 PD1
CN2 PC7
CN2 PC5
CN2 PC3
CN2 PC1
CN2 PB7
CN2 PB5
CN2 PB3
CN2 PB1
CN2 PA7
CN2 PA5
CN2 PA3
CN2 PA1
CN2 VCC
CN2 VCC
CN2 PH6
CN2 PH4
CN2 PH2
CN2 PH0
CN2 PG6
CN2 PG4
CN2 PG2
CN2 PG0
CN2 PF6
CN2 PF4
CN2 PF2
CN2 PF0
CN2 PE6
CN2 PE4
CN2 PE2
CN2 PE0
CN2 PD6
CN2 PD4
CN2 PD2
CN2 PD0
CN2 PC6
CN2 PC4
CN2 PC2
CN2 PC0
CN2 PB6
CN2 PB4
CN2 PB2
CN2 PB0
CN2 PA6
CN2 PA4
CN2 PA2
CN2 PA0
68 34
67 33
66 32
65 31
64 30
63 29
62 28
61 27
60 26
59 25
58 24
57 23
56 22
55 21
54 20
53 19
52 18
51 17
50 16
49 15
48 14
47 13
46 12
45 11
44 10
43 9
42 8
41 7
40 6
39 5
38 4
37 3
36 2
35 1

10
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
10
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 1010
wasco®wasco®
3.4 Pin assignment of CN3
Vcc:
Internal voltage supply (+ 5V / +3,3V) of the PCIe card (congurable by JP5),
Never apply an external voltage across this pin.
GND:
Ground connection
CN3 GND
CN3 GND
CN3 PH7
CN3 PH5
CN3 PH3
CN3 PH1
CN3 PG7
CN3 PG5
CN3 PG3
CN3 PG1
CN3 PF7
CN3 PF5
CN3 PF3
CN3 PF1
CN3 PE7
CN3 PE5
CN3 PE3
CN3 PE1
CN3 PD7
CN3 PD5
CN3 PD3
CN3 PD1
CN3 PC7
CN3 PC5
CN3 PC3
CN3 PC1
CN3 PB7
CN3 PB5
CN3 PB3
CN3 PB1
CN3 PA7
CN3 PA5
CN3 PA3
CN3 PA1
CN3 VCC
CN3 VCC
CN3 PH6
CN3 PH4
CN3 PH2
CN3 PH0
CN3 PG6
CN3 PG4
CN3 PG2
CN3 PG0
CN3 PF6
CN3 PF4
CN3 PF2
CN3 PF0
CN3 PE6
CN3 PE4
CN3 PE2
CN3 PE0
CN3 PD6
CN3 PD4
CN3 PD2
CN3 PD0
CN3 PC6
CN3 PC4
CN3 PC2
CN3 PC0
CN3 PB6
CN3 PB4
CN3 PB2
CN3 PB0
CN3 PA6
CN3 PA4
CN3 PA2
CN3 PA0
68 34
67 33
66 32
65 31
64 30
63 29
62 28
61 27
60 26
59 25
58 24
57 23
56 22
55 21
54 20
53 19
52 18
51 17
50 16
49 15
48 14
47 13
46 12
45 11
44 10
43 9
42 8
41 7
40 6
39 5
38 4
37 3
36 2
35 1
Vcc:
Interne Versorgungsspannung (+ 5V / +3,3V) der PCIe-Karte (kongurierbar durch JP5).
Hier niemals eine externe Spannung anlegen.
GND:
Masse des Rechners
CN3 GND
CN3 GND
CN3 PH7
CN3 PH5
CN3 PH3
CN3 PH1
CN3 PG7
CN3 PG5
CN3 PG3
CN3 PG1
CN3 PF7
CN3 PF5
CN3 PF3
CN3 PF1
CN3 PE7
CN3 PE5
CN3 PE3
CN3 PE1
CN3 PD7
CN3 PD5
CN3 PD3
CN3 PD1
CN3 PC7
CN3 PC5
CN3 PC3
CN3 PC1
CN3 PB7
CN3 PB5
CN3 PB3
CN3 PB1
CN3 PA7
CN3 PA5
CN3 PA3
CN3 PA1
CN3 VCC
CN3 VCC
CN3 PH6
CN3 PH4
CN3 PH2
CN3 PH0
CN3 PG6
CN3 PG4
CN3 PG2
CN3 PG0
CN3 PF6
CN3 PF4
CN3 PF2
CN3 PF0
CN3 PE6
CN3 PE4
CN3 PE2
CN3 PE0
CN3 PD6
CN3 PD4
CN3 PD2
CN3 PD0
CN3 PC6
CN3 PC4
CN3 PC2
CN3 PC0
CN3 PB6
CN3 PB4
CN3 PB2
CN3 PB0
CN3 PA6
CN3 PA4
CN3 PA2
CN3 PA0
68 34
67 33
66 32
65 31
64 30
63 29
62 28
61 27
60 26
59 25
58 24
57 23
56 22
55 21
54 20
53 19
52 18
51 17
50 16
49 15
48 14
47 13
46 12
45 11
44 10
43 9
42 8
41 7
40 6
39 5
38 4
37 3
36 2
35 1
3.4 Steckerbelegung von CN3

11
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
11
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 1111
wasco®wasco®
4.1 Blockschaltbild
4. Systemkomponenten
4.1 Block diagram
4. System Components
Inputs/Outputs
00...63
Inputs/Outputs
00...63
Inputs/Outputs
00...63
PCIe x1
PCIe Bus
Interface
Control
Logic
+12V
32 Bit interner Datenbus
5V / 3,3V
GND
68pin SCSI Socket 68pin SCSI Socket
Board Identification
68pin SCSI Socket
Ein-/Ausgänge
00...63
Ein-/Ausgänge
00...63
Ein-/Ausgänge
00...63
PCIe x1
PCIe Bus
Interface
Steuer-
Logik
+12V
32 Bit interner Datenbus
5V / 3,3V
GND
68polige SCSI-Buchse 68polige SCSI-Buchse
Board Identifikation
68polige SCSI-Buchse

12
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
12
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 1212
wasco®wasco®
4.2 Access to the system components
ThehardwarecomponentsoftheWITIO-PCIe192areaccessedbyreading
and writing in Memory Mapped I/O addresses using library functions. The
addresses relevant to the WITIO-PCIe192 depend on a base address
assigned by the BIOS. You can access to the WITIO-PCIe192 exclusively
in double word access. (Please nd more information on this topic in the
chapter Programming or in example programs on the supplied CD)
PCIe Bus
Interface Steuer-
Logik
32 Bit PCIe Connector
32 Bit
interner
Datenbus
4.2 Zugriff auf die Systemkomponenten
DerZugriffaufdieHardware-KomponentenderWITIO-PCIe192erfolgtdurch
das Lesen von bzw. Schreiben in Memory-Mapped I/O-Adressen mit Hilfe
von Library-Funktionen. Die für die WITIO-PCIe192 relevanten Adressen
ergeben sich abhängig von einer vom BIOS vergebenen Basisadresse.
DerZugriffaufdieWITIO-PCIe192erfolgtausschließlichimDoppel-Word-
Zugriff. (Hinweise hierzu nden Sie im Kapitel Programmierung sowie in
den Beispielprogrammen auf der mitgelieferten CD).
PCIe Bus
Interface Control
Logic
32 Bit PCIe Connector
32 Bit
internal
Data Bus

13
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
13
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 1313
wasco®wasco®
5. 192 Digital Inputs / Outputs
Fordigitalinput/output,theWITIO-PCIe192Standard providesthreeidentically
constructed connectors with 64 digital IOs each.
These 64 digital IOs are arranged in groups of eight channels each (PortA
to PortH). You can congure the direction (input or output) of each port
individually via a register access. You can set the input / output level
(3.3V/5V) of each connector by setting a jumper.
5.1 Selection of the Direction
The port direction of a connector can be dened by writing to the direc-
tion register (DDIRCN1, DDIRCN2 or DDIRCN3). Each bit of the register
represents a port of the connector. In the default state, all of the ports are
dened to be input (except during compatibility mode).
If the corresponding bit is written 1, the corresponding port is congured
as input port, with a 0 as output port.
5.2 Read Inputs
Forreadingtheinputs,always32IOs(4ports)arejoinedina32-Bitregister
(DIN0CN1, DIN1CN1, DIN0CN2, DIN1CN2, DIN0CN3, DIN1CN3). If not
all of the register ports are congured as input, the corresponding areas
in the register are undened and can be hidden in the application program
using an AND operation.
0 = LOW at the input pin
1 = HIGH at the input pin
5. 192 Digitale Ein-/Ausgänge
ZurdigitalenEin-/AusgabesindaufderWITIO-PCIe192Standard dreiidentisch
aufgebaute Connectoren mit jeweils 64 digitalen IOs. Diese 64 digitalen
IOs sind in Gruppen (PortA bis PortH) mit jeweils 8 Kanälen zusammen-
gefasst. Für jeden Port kann individuell dessen Richtung (Ein-/Ausgang)
über einen Registerzugriff konguriert werden. Der Ein-bzw. Ausgangspegel
(3.3V/5V) eines jeden Connectors kann durch Setzen eines Jumpers
eingestellt werden.
5.1 Richtungsauswahl
Die Richtungen der Ports eines Connectors können durch Beschreiben
desjeweiligenDirection-Registers (DDIRCN1, DDIRCN2oderDDIRCN3)
deniert werden. Dabei steht jedes Bit des Registers für einen Port des
Connectors. Im Default-Zustand sind alle Ports als Eingänge deniert (mit
Ausnahme während des Kompatibilitätsmoduses).
Wird das entsprechende Bit mit einer 1 beschrieben, so ist der entspre-
chende Port als Eingangsport konguriert, mit einer 0 als Ausgangsport.
5.2 Eingänge lesen
Zum Einlesen der Eingänge werden immer 32 IOs (4 Ports) in einem
32Bit-Register (DIN0CN1, DIN1CN1, DIN0CN2, DIN1CN2, DIN0CN3,
DIN1CN3) zusammengefasst. Sind nicht alle Ports des Registers als
Eingang konguriert, sind die jeweiligen Bereiche im Register undeniert
und können im Anwenderprogramm durch eine AND-Verknüpfung aus-
geblendet werden.
0 = LOW am Eingangspin
1 = HIGH am Eingangspin

14
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
14
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 1414
wasco®wasco®
5.3 Read / Write outputs
Writing to the register DOUTyCNx sets the outputs. Each connector has
two of these registers (DOUT0CNx und DOUT1CNx), in each of which 32
IO pins (4 ports) join together. If not all of the register ports are congured
asoutput,thenonlytheoutputrangesintheregisteraretakenintoaccount
by the card.
0 = LOW at the output pin (if congured as output)
1 = HIGH at the output pin (if congured as output)
5.4 Deactivation of ports
In order to minimize the power consumption of the card, and to prevent
possibleinterferencesontheconnector,notusedportsandtheirIOscanbe
deactivated. If a port is deactivated, all of the IOs are high-impedance.
Ports always can be deactivated two by two, that is 16-channel-wise. To
do this, set the respective bit of the DENCNx.
0 = port group activated
1 = port group deactivated
5.3 Ausgänge schreiben/lesen
Das Setzen vonAusgängen erfolgt über das Beschreiben der DOUTyCNx
Register. Jeder Connector hat zwei dieser Register (DOUT0CNx und
DOUT1CNx), in welchen jeweils 32 IO-Pins (4 Ports) zusammengefasst
werden. Sind nicht alle Ports des Registers als Ausgänge konfigu-
riert, so werden nur die Ausgangsbereiche im Register von der Karte
berücksichtigt.
0 = LOW am Ausgangspin (wenn als Ausgang deniert)
1 = HIGH am Ausgangspin (wenn als Ausgang deniert)
5.4 Port deaktivieren
Um den Stromverbrauch der Karte zu minimieren und eventuell mögliche
StörungenaufdemSteckerzuverhindern,könnennichtverwendetePorts
und deren IOs deaktiviert werden. Ist ein Port deaktiviert, so sind alle IOs
hochohmig.
Ports können immer in Zweiergruppen, also 16-Kanal-weise, deaktiviert
werden. Dafür muss in das jeweilige Bit des DENCNx gesetzt werden.
0 = Port-Gruppe aktiviert
1 = Port-Gruppe deaktiviert
(y = Registernummer, x = Connector-Nummer)
(y = Register number, x = Connector number)

15
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
15
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 1515
wasco®wasco®
5.5 Level Adjustment
You can congure the voltage level for each of the connectors (IOs and
VCC-PINs) with +3.3V and +5V. This is done by setting a jumper on the
jumper block of the corresponding connector.
5.6 IOs in Compatibility Mode
Ifrequired,eachoftheconnectorscanoperateincompatibilitymode.Inthis
mode,thepinoutcorrespondstothepinoutofthecardsWITIO-PCI32Standard
and WITIO-PCI64Extended. Then, the rst 32 IO pins are congured as inputs
and the second 32 IO pins as outputs.
Forusingthecompatibilitymodeofaconnector,youhavetosetthejumper
of the respective jumper block as shown below. The registers DDIRCNx
are disabled in the case of the compatibility mode.
JP3 Voltage Level
CN1 +3.3V
JP3 Voltage Level
CN1 +5V
JP4 Voltage Level
CN2 +3.3V
JP4 Voltage Level
CN2 +5V
JP5 Voltage Level
CN3 +3.3V
JP5 Voltage Level
CN3 +5V
JP3 Compatibility Mode
CN1 JP5 Compatibility Mode
CN3
JP4 Compatibility Mode
CN2
5.5 Pegeleinstellung
Für jeden Connector (IOs und VCC-PINs) kann der Spannungspegel
mit +3.3V und +5V konguriert werden. Dies erfolgt durch Setzen eines
Jumpers auf dem zum Connector gehörigen Jumperblock.
5.6 IOs im Kompatibilitätsmodus
Jeder Connector kann bei Bedarf im Kompatibilitätsmodus betrieben
werden. In diesem Modus entspricht die Pinbelegung des Connectors
der der Karten WITIO-PCI32Standard und WITIO-PCI64Extended. Dabei sind die
ersten 32 IO-Pins als Eingänge konguriert und die zweiten 32 IO-Pins
als Ausgänge.
Um den Kompatibilitätsmodus eines Connectors zu verwenden, muss
wie folgend dargestellt der Jumper des jeweiligen Jumperblocks gesetzt
werden.DieDDIRCNx Registersind imFalledes Kompatibilitätsmoduses
deaktiviert.
JP3 Spannungspegel
CN1 +3.3V
JP3 Spannungspegel
CN1 +5V
JP4 Spannungspegel
CN2 +3.3V
JP4 Spannungspegel
CN2 +5V
JP5 Spannungspegel
CN3 +3.3V
JP5 Spannungspegel
CN3 +5V
JP3 Kompatibilitätsmodus
CN1 JP5 Kompatibilitätsmodus
CN3
JP4 Kompatibilitätsmodus
CN2

16
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
16
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 1616
wasco®wasco®
5.7 Port Addresses
Bits
16/0
DIN0CN1 <31:16>
DIN0CN1 <15:0>
DIN1CN1 <31:16>
DIN1CN1 <15:0>
DIN0CN2 <31:16>
DIN0CN2 <15:0>
DIN1CN2 <31:16>
DIN1CN2 <15:0>
DIN0CN3 <31:16>
DIN0CN3 <15:0>
DIN1CN3 <31:16>
DIN1CN3 <15:0>
DOUT0CN1 <31:16>
DOUT0CN1 <15:0>
DOUT1CN1 <31:16>
DOUT1CN1 <15:0>
DOUT0CN2 <31:16>
DOUT0CN2 <15:0>
DOUT1CN2 <31:16>
DOUT1CN2 <15:0>
DOUT0CN3 <31:16>
DOUT0CN3 <15:0>
DOUT1CN3 <31:16>
DOUT1CN3 <15:0>
17/118/219/320/421/522/623/724/825/926/1027/1128/1229/1330/1431/15
Bit
Range
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
Register Name
DIN0CN1
DIN1CN1
DIN0CN2
DIN1CN2
DIN0CN3
DIN1CN3
DOUT0CN1
DOUT1CN1
DOUT0CN2
DOUT1CN2
DOUT0CN3
DOUT1CN3
Offset
Address
0x140
0x144
0x148
0x14C
0x150
0x154
0x160
0x164
0x168
0x16C
0x170
0x174
5.7 Portadressen
Bits
16/0
DIN0CN1 <31:16>
DIN0CN1 <15:0>
DIN1CN1 <31:16>
DIN1CN1 <15:0>
DIN0CN2 <31:16>
DIN0CN2 <15:0>
DIN1CN2 <31:16>
DIN1CN2 <15:0>
DIN0CN3 <31:16>
DIN0CN3 <15:0>
DIN1CN3 <31:16>
DIN1CN3 <15:0>
DOUT0CN1 <31:16>
DOUT0CN1 <15:0>
DOUT1CN1 <31:16>
DOUT1CN1 <15:0>
DOUT0CN2 <31:16>
DOUT0CN2 <15:0>
DOUT1CN2 <31:16>
DOUT1CN2 <15:0>
DOUT0CN3 <31:16>
DOUT0CN3 <15:0>
DOUT1CN3 <31:16>
DOUT1CN3 <15:0>
17/118/219/320/421/522/623/724/825/926/1027/1128/1229/1330/1431/15
Bit
Range
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
Register Name
DIN0CN1
DIN1CN1
DIN0CN2
DIN1CN2
DIN0CN3
DIN1CN3
DOUT0CN1
DOUT1CN1
DOUT0CN2
DOUT1CN2
DOUT0CN3
DOUT1CN3
Offset-
Adresse
0x140
0x144
0x148
0x14C
0x150
0x154
0x160
0x164
0x168
0x16C
0x170
0x174

17
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
17
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 1717
wasco®wasco®
(*) reservierter Bereich ist mit 0 zu belegen
(*) reserved area has to be assigned 0
Bits
16/0
reserviert (*) DDIRCN1 <7:0>
reserviert (*)
DDIRCN2 <7:0>
reserviert (*) DDIRCN3 <7:0>
reserviert (*) ENCN1 <3:0>
reserviert (*) ENCN2 <3:0>
reserviert (*) ENCN3 <3:0>
17/118/219/320/4
reserviert (*)
reserviert (*)
21/522/623/724/8
reserviert (*)
reserviert (*)
reserviert (*)
25/926/1027/1128/1229/1330/1431/15
Bit
Range
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
Register Name
DDIRCN1
DDIRCN2
DDIRCN3
ENCN1
ENCN2
ENCN3
Offset-
Adresse
0x180
0x184
0x188
0x190
0x194
0x198
Bits
16/0
reserved (*) DDIRCN1 <7:0>
reserved (*)
DDIRCN2 <7:0>
reserved (*) DDIRCN3 <7:0>
reserved (*) ENCN1 <3:0>
reserved (*) ENCN2 <3:0>
reserved (*) ENCN3 <3:0>
17/118/219/320/4
reserved (*)
reserved (*)
21/522/623/724/8
reserved (*)
reserved (*)
reserved (*)
25/926/1027/1128/1229/1330/1431/15
Bit
Range
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
31:16
15:0
Register Name
DDIRCN1
DDIRCN2
DDIRCN3
ENCN1
ENCN2
ENCN3
Offset-
Adresse
0x180
0x184
0x188
0x190
0x194
0x198

18
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
18
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 1818
wasco®wasco®
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 R
DIN0CNx <31:24> (PD7 : PD0)
23:16 R
DIN0CNx <23:16> (PC7 : PC0)
15:8 R
DIN0CNx <15:8> (PB7 : PB0)
7:0 R
DIN0CNx < 7:0> (PA7 : PA0)
Register DIN0CNx (x = number of the connector):
Bit 31 - 24 DIN0CNx <31:24> Port D Inputs PD7 to PD0 of the connector
Bit 23 - 16 DIN0CNx <23:16> Port C Inputs PC7 to PC0 of the connector
Bit 15 - 8 DIN0CNx <15:8> Port B Inputs PB7 to PB0 of the connector
Bit 7 - 0 DIN0CNx <7:0> Port A Inputs PA7 to PA0 of the connector
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 R
DIN1CNx <31:24> (PH7 : PH0)
23:16 R
DIN1CNx <23:16> (PG7 : PG0)
15:8 R
DIN1CNx <15:8> (PF7 : PF0)
7:0 R
DIN1CNx < 7:0> (PE7 : PE0)
Register DIN1CNx (x = number of the connector):
Bit 31 - 24 DIN1CNx <31:24> Port H Inputs PH7 to PH0 of the connector
Bit 23 - 16 DIN1CNx <23:16> Port G Inputs PG7 to PG0 of the connector
Bit 15 - 8 DIN1CNx <15:8> Port F Inputs PF7 to PF0 of the connector
Bit 7 - 0 DIN1CNx <7:0> Port E Inputs PE7 to PE0 of the connector
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 R
DIN0CNx <31:24> (PD7 : PD0)
23:16 R
DIN0CNx <23:16> (PC7 : PC0)
15:8 R
DIN0CNx <15:8> (PB7 : PB0)
7:0 R
DIN0CNx < 7:0> (PA7 : PA0)
Register DIN0CNx (x = Connector-Nummer):
Bit 31 - 24 DIN0CNx <31:24> Port D Eingänge PD7 bis PD0 des Connectors
Bit 23 - 16 DIN0CNx <23:16> Port C Eingänge PC7 bis PC0 des Connectors
Bit 15 - 8 DIN0CNx <15:8> Port B Eingänge PB7 bis PB0 des Connectors
Bit 7 - 0 DIN0CNx <7:0> Port A Eingänge PA7 bis PA0 des Connectors
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 R
DIN1CNx <31:24> (PH7 : PH0)
23:16 R
DIN1CNx <23:16> (PG7 : PG0)
15:8 R
DIN1CNx <15:8> (PF7 : PF0)
7:0 R
DIN1CNx < 7:0> (PE7 : PE0)
Register DIN1CNx (x = Connector-Nummer):
Bit 31 - 24 DIN1CNx <31:24> Port H Eingänge PH7 bis PH0 des Connectors
Bit 23 - 16 DIN1CNx <23:16> Port G Eingänge PG7 bis PG0 des Connectors
Bit 15 - 8 DIN1CNx <15:8> Port F Eingänge PF7 bis PF0 des Connectors
Bit 7 - 0 DIN1CNx <7:0> Port E Eingänge PE7 bis PE0 des Connectors

19
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
19
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 1919
wasco®wasco®
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 R/W
DOUT0CNx <31:24> (PD7 : PD0)
23:16 R/W
DOUT0CNx <23:16> (PC7 : PC0)
15:8 R/W
DOUT0CNx <15:8> (PB7 : PB0)
7:0 R/W
DOUT0CNx < 7:0> (PA7 : PA0)
Register DOUT0CNx (x = number of the connector):
Bit 31 - 24 DOUT0CNx <31:24> Port D Inputs PD7 to PD0 of the connector
Bit 23 - 16 DOUT0CNx <23:16> Port C Inputs PC7 to PC0 of the connector
Bit 15 - 8 DOUT0CNx <15:8> Port B Inputs PB7 to PB0 of the connector
Bit 7 - 0 DOUT0CNx <7:0> Port A Inputs PA7 to PA0 of the connector
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 R/W
DOUT1CNx <31:24> (PH7 : PH0)
23:16 R/W
DOUT1CNx <23:16> (PG7 : PG0)
15:8 R/W
DOUT1CNx <15:8> (PF7 : PF0)
7:0 R/W
DOUT1CNx < 7:0> (PE7 : PE0)
Register DOUT1CNx (x = number of the connector):
Bit 31 - 24 DOUT1CNx <31:24> Port H Inputs PH7 to PH0 of the connector
Bit 23 - 16 DOUT1CNx <23:16> Port G Inputs PG7 to PG0 of the connector
Bit 15 - 8 DOUT1CNx <15:8> Port F Inputs PF7 to PF0 of the connector
Bit 7 - 0 DOUT1CNx <7:0> Port E Inputs PE7 to PE0 of the connector
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 R/W
DOUT0CNx <31:24> (PD7 : PD0)
23:16 R/W
DOUT0CNx <23:16> (PC7 : PC0)
15:8 R/W
DOUT0CNx <15:8> (PB7 : PB0)
7:0 R/W
DOUT0CNx < 7:0> (PA7 : PA0)
Register DOUT0CNx (x = Connector-Nummer):
Bit 31 - 24 DOUT0CNx <31:24> Port D Eingänge PD7 bis PD0 des Connectors
Bit 23 - 16 DOUT0CNx <23:16> Port C Eingänge PC7 bis PC0 des Connectors
Bit 15 - 8 DOUT0CNx <15:8> Port B Eingänge PB7 bis PB0 des Connectors
Bit 7 - 0 DOUT0CNx <7:0> Port A Eingänge PA7 bis PA0 des Connectors
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 R/W
DOUT1CNx <31:24> (PH7 : PH0)
23:16 R/W
DOUT1CNx <23:16> (PG7 : PG0)
15:8 R/W
DOUT1CNx <15:8> (PF7 : PF0)
7:0 R/W
DOUT1CNx < 7:0> (PE7 : PE0)
Register DOUT1CNx (x = Connector-Nummer):
Bit 31 - 24 DOUT1CNx <31:24> Port H Eingänge PH7 bis PH0 des Connectors
Bit 23 - 16 DOUT1CNx <23:16> Port G Eingänge PG7 bis PG0 des Connector
Bit 15 - 8 DOUT1CNx <15:8> Port F Eingänge PF7 bis PF0 des Connectors
Bit 7 - 0 DOUT1CNx <7:0> Port E Eingänge PE7 bis PE0 des Connectors

20
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH DV0101
20
WITIO-PCIe192STANDARD © 2018 by Messcomp Datentechnik GmbH EV0103 2020
wasco®wasco®
Register DDIRCNx (x = number of the connector):
Bit 31 - 8 reserved (value 0 is to be written)
Bit 7 - 0 DDIRCNx <7:0> (default = 1)
0 = IO PIN congured as output
1 = IO PIN congured as input
DDIRCNx <0> = Port A, DDIRCNx <1> = Port B,
DDIRCNx <2> = Port C, DDIRCNx <3> = Port D,
DDIRCNx <4> = Port E, DDIRCNx <5> = Port F,
DDIRCNx <6> = Port G, DDIRCNx <7> = Port H
Register DENCNx (x = number of the connector):
Bit 31 - 4 reserved (value 0 is to be written)
Bit 3 - 0 DENCNx <3:0> (default = 0)
0 = enable port groups
1 = disable port groups
DENCNx <0> = Port A+ Port B
DENCNx <1> = Port C + Port D
DENCNx <2> = Port E + Port F
DENCNx <3> = Port G + Port H
Register DDIRCNx (x = Connector-Nummer):
Bit 31 - 8 reserviert ( mit dem Wert 0 beschreiben)
Bit 7 - 0 DDIRCNx <7:0> (default = 1)
0 = IO-PIN als Ausgang geschaltet
1 = IO-PIN als Eingang geschaltet
DDIRCNx <0> = Port A, DDIRCNx <1> = Port B,
DDIRCNx <2> = Port C, DDIRCNx <3> = Port D,
DDIRCNx <4> = Port E, DDIRCNx <5> = Port F,
DDIRCNx <6> = Port G, DDIRCNx <7> = Port H
Register DENCNx (x = Connector-Nummer):
Bit 31 - 4 reserviert ( mit dem Wert 0 beschreiben)
Bit 3 - 0 DENCNx <3:0> (default = 0)
0 = Portpaar aktivieren
1 = Portpaar deaktivieren
DENCNx <0> = Port A+ Port B
DENCNx <1> = Port C + Port D
DENCNx <2> = Port E + Port F
DENCNx <3> = Port G + Port H
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 U
reserved
23:16 U
reserved
15:8 U
reserved
7:0 R/W
DDIRCNx <7:0>
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 U
reserved
23:16 U
reserved
15:8 U
reserved
7:0 U R/W
reserved DENCNx <3:0>
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 U
reserviert
23:16 U
reserviert
15:8 U
reserviert
7:0 R/W
DDIRCNx <7:0>
Bit
Range Bit
31/23/15/7 Bit
30/22/14/6 Bit
29/21/13/5 Bit
28/20/12/4 Bit
27/19/11/3 Bit
26/18/10/2 Bit
25/17/9/1 Bit
24/16/8/0
31:24 U
reserviert
23:16 U
reserviert
15:8 U
reserviert
7:0 U R/W
reserviert DENCNx <3:0>
Table of contents
Other Wasco Computer Hardware manuals