Micro Technic Network Card PV 1648 User Manual

MICRONIX PC/104  
DIGITAL IN-/OUTPUT BOARD  
PV-1648  
64 CHANNEL DIGITAL I/O  
16 DIGITAL INPUTS  
48 DIGITAL OUTPUTS  
User Manual  
&
Installation Guide  
VERS. 1.04  
DOC: M5097DM.DOC  
Micro Technic A-S • Denmark •  
Tel. +45 6615 3000 • Fax +45 6615 3077  
 
Users Manual & Installation Guide  
PV-SERIES 16 DIGITAL INPUTS, 48 DIGITAL OUTPUTS  
MODEL SELECTION  
PV - 16 48 - /PX - /5 - /S  
Number of digital inputs  
Number of digital outputs  
Pull-up resistors on outp.[x=K]  
Pull-up to +5V internal  
S=Stack-through  
EXAMPLE:  
PV-1648 with PC-104 Non-Stack-through connector.  
PV-1648 - P1 - S with PC-104 Stack-through connector and 1K pull-up resistors on outputs.  
PRECAUTIONS TO ESD  
Please note, that the Micronix PV modules must be handled with respect to ESD (Electrostatic Discharge).  
Electrostatic Discharge to the PV modules must be avoided.  
Before removing the module from the protection bag, the user must be discharged using a grounded wrist  
ribbon.  
INSTALLATION GUIDE  
SCHEMATIC OUTLINE  
DIGITAL INPUT  
CN1  
CN2  
CN3  
CN4  
CN5  
IRQ  
Pin numbers in:  
CN1, CN2, CN3,  
CN4 and CN5.  
I/O Address  
select  
IRQ setting  
SW 1 Base Address SW1 Base Address  
0
1
2
3
4
5
6
7
200  
208  
210  
218  
220  
228  
230  
238  
8
9
300  
308  
310  
318  
320  
328  
330  
338  
A
B
C
D
E
F
Page 3 of 8  
 
Users Manual & Installation Guide  
PV-SERIES 16 DIGITAL INPUTS, 48 DIGITAL OUTPUTS  
REGISTER FORMAT AND DESCRIPTION  
The PV-1648 occupies 8 consecutive addresses of PC I/O address space. The first address or base address is  
determined during installation by setting the onboard rotary address switch SW1. The registers and their  
functions are listed in the following table (R = Read, W = write and Base = Base address.  
Address  
Base + 0  
Base + 1  
Base + 2  
Base + 3  
Base + 4  
Base + 5  
Base + 6  
Base + 7  
Function  
Type  
W
W
W
W
W
W
R
R
Digital Output 0-7  
Digital Output 8-15  
Digital Output 16-23  
Digital Output 24-31  
Digital Output 32-39  
Digital Output 40-47  
Digital Input 0-7  
Digital Input 8-15  
Page 4 of 8  
 
Users Manual & Installation Guide  
PV-SERIES 16 DIGITAL INPUTS, 48 DIGITAL OUTPUTS  
Software example:  
/* Compiler: Borland C++ 3.1 */  
#include <stdio.h>  
#include <dos.h> /* For inportb() and outportb() */  
#define BASEADDR 0x300 /* This must match with SW1 on the PV1648 */  
#define OUTBYTE0 (BASEADDR+0)  
#define OUTBYTE1 (BASEADDR+1)  
#define OUTBYTE2 (BASEADDR+2)  
#define OUTBYTE3 (BASEADDR+3)  
#define OUTBYTE4 (BASEADDR+4)  
#define OUTBYTE5 (BASEADDR+5)  
#define INBYTE0  
#define INBYTE1  
(BASEADDR+6)  
(BASEADDR+7)  
int main (void)  
{
unsigned char value;  
/* Show input 0-7 */  
value = inportb (OUTBYTE0);  
printf ("Input 0 = %d\n", (value>>0) & 0x01);  
printf ("Input 1 = %d\n", (value>>1) & 0x01);  
printf ("Input 2 = %d\n", (value>>2) & 0x01);  
printf ("Input 3 = %d\n", (value>>3) & 0x01);  
printf ("Input 4 = %d\n", (value>>4) & 0x01);  
printf ("Input 5 = %d\n", (value>>5) & 0x01);  
printf ("Input 6 = %d\n", (value>>6) & 0x01);  
printf ("Input 7 = %d\n", (value>>7) & 0x01);  
/* Show input 8-15 */  
value = inportb (OUTBYTE1);  
printf ("Input 8 = %d\n", (value>>0) & 0x01);  
printf ("Input 9 = %d\n", (value>>1) & 0x01);  
printf ("Input 10 = %d\n", (value>>2) & 0x01);  
printf ("Input 11 = %d\n", (value>>3) & 0x01);  
printf ("Input 12 = %d\n", (value>>4) & 0x01);  
printf ("Input 13 = %d\n", (value>>5) & 0x01);  
printf ("Input 14 = %d\n", (value>>6) & 0x01);  
printf ("Input 15 = %d\n", (value>>7) & 0x01);  
/* Examples of output operations on DO0 – DO7 */  
outportb (OUTBYTE0, 0x01);  
outportb (OUTBYTE0, 0x02);  
outportb (OUTBYTE0, 0x04);  
outportb (OUTBYTE0, 0x08);  
outportb (OUTBYTE0, 0x10);  
outportb (OUTBYTE0, 0x20);  
outportb (OUTBYTE0, 0x40);  
outportb (OUTBYTE0, 0x80);  
outportb (OUTBYTE0, 0x81);  
return 0;}  
/* Make /DO0 active, all others off */  
/* Make /DO1 active, all others off */  
/* Make /DO2 active, all others off */  
/* Make /DO3 active, all others off */  
/* Make /DO4 active, all others off */  
/* Make /DO5 active, all others off */  
/* Make /DO6 active, all others off */  
/* Make /DO7 active, all others off */  
/* Make /DO0 & /DO7 active, all others off */  
Page 5 of 8  
 
Users Manual & Installation Guide  
PV-SERIES 16 DIGITAL INPUTS, 48 DIGITAL OUTPUTS  
OPTIONAL CABLES, 30CM  
INPUT CABLE  
DSUB-25 female  
26p. header female  
26-way ribbon cable  
Pin1  
OUTPUT CABLE  
16p. header female  
DSUB-15 female  
16-way ribbom cable  
Pin1  
Page 6 of 8  
 
Users Manual & Installation Guide  
PV-SERIES 16 DIGITAL INPUTS, 48 DIGITAL OUTPUTS  
I/O – connector layout  
DIGITAL OUTPUTS  
CN3 digital output 0-11  
CN4 digital output 24-35  
Pin no: PV1648 & DSUB15F Function:  
Pin no:PV1648 & DSUB15F Function:  
1
Common  
/DO00  
/DO01  
/DO02  
/DO03  
/DO04  
/DO05  
/DO06  
/DO07  
/DO08  
/DO09  
/DO10  
/DO11  
Gnd  
1
Common  
/DO24  
/DO25  
/DO26  
/DO27  
/DO28  
/DO29  
/DO30  
/DO31  
/DO32  
/DO33  
/DO34  
/DO35  
Gnd  
9
2
10  
3
11  
4
12  
5
9
2
10  
3
11  
4
12  
5
13  
6
14  
7
13  
6
14  
7
8,15,(16)  
8,15,(16)  
CN2 digital output 12-23  
Pin no: PV1648 & DSUB15F Function:  
CN5 digital output 36-47  
Pin no: PV1648 & DSUB15F Function:  
1
13  
6
14  
7
9
2
10  
3
11  
4
12  
Common  
/DO12  
/DO13  
/DO14  
/DO15  
/DO16  
/DO17  
/DO18  
/DO19  
/DO20  
/DO21  
/DO22  
/DO23  
Gnd  
1
13  
6
14  
7
9
2
10  
3
11  
4
12  
5
Common  
/DO36  
/DO37  
/DO38  
/DO39  
/DO40  
/DO41  
/DO42  
/DO43  
/DO44  
/DO45  
/DO46  
/DO47  
Gnd  
5
8,15,(16)  
8,15,(16)  
(16) does not appear in DSUB15F  
DIGITAL INPUTS  
CN1 digital input 0-15  
Pin no: PV1648 & DSUB 25F Function: Pin no: PV1648 & DSUB 25F Function:  
1
2
DI00  
DI01  
7
8
DI08  
DI09  
14  
15  
16  
3
4
5
17  
18  
19  
6
GND00  
DI02  
DI03  
GND01  
DI04  
DI05  
GND02  
DI06  
DI07  
20  
21  
22  
9
10  
11  
23  
24  
25  
12  
GND04  
DI10  
DI11  
GND05  
DI12  
DI13  
GND06  
DI14  
DI15  
GND03  
GND07  
Page 7 of 8  
 
Users Manual & Installation Guide  
PV-SERIES 16 DIGITAL INPUTS, 48 DIGITAL OUTPUTS  
INPUT CIRCUITRY SCHEMATIC  
10K  
DI00  
10K  
DI01  
GND00  
OUTPUT CIRCUITRY SCHEMATIC  
Optional link to + 5V  
+ 5V  
Ext+  
Optional pull-up  
resistors  
K1  
K8  
When powering inductive loads,  
catch diodes must be connected  
across the loads to protect the output  
transistors on the PV1648 card.  
/DO00  
Catch diodes  
/DO07  
Gnd  
Page 8 of 8  
 

LG Electronics Washer WD11020D User Manual
Life Fitness Treadmill 9500HRT User Manual
Lincoln Electric Welder 250FG User Manual
Linksys Switch SLM2008 User Manual
Lowrance electronic GPS Receiver 4000M User Manual
Magnavox CRT Television MS2730C User Manual
Makita Cordless Saw 5091D User Manual
Makita Cordless Saw LS1016 User Manual
Memorex CRT Television MT1132 User Manual
Metra Electronics Car Stereo System GMOS 04 User Manual