Contec PO-32L(PC)V User Manual

Page 1
Opto-Isolated Digital Output Board
PO-32L(PC)V
The PO-32L(PC)V is a 32-channel digital output interface board for the IBM PC/AT and compatible computers. It can also be installed into a CONTEC I/O expansion unit.
PO-32L(PC)VVer.1.30
Features
Specification
Item Specification
Output
Type Opto-Isolated Open Collector Output (current sinking type) (Negative logic)
Common
Voltage 35VDC (Max.) Rating
Current 100mA Max. per channel Number of Channels 32 channels (16 channels with the common) Response time 1ms (Max.)
I/O address Any 4-byte boundary External power supply 12 to 24VDC (±15%) Note: 4mA/12V to 8mA/24V per input channel Power consumption 5VDC 50mA (Max.) Operating condition 0 to 50°C, 20% to 90% (not condensing) Connecting distance 50m (Typ.) (depending on wiring environment) Dimension (mm) 163.0(L) x 122.0 (H) Weight 120g
163.0
122.0
[mm]
Functions
Output
When installed on a personal computer (PC), these boards write up to 16/32 digital signals (in two groups of eight) to an external device. The PC accesses the board for output through four arbitrarily configurable output ports. When the OUT instruction is executed to write data to any of these output ports, the corresponding latch circuit holds the data. The digital signals are then electrically insulated by the photocoupler. They are output as a group to an external device via the transistor. The signals output to the external device at this time have negative logic. The data in the latch circuit remains intact until the OUT instruction is executed again.
Accessories (Option)
Accessories (Option)
Screw Terminal: EPD-37 *1 Termination Panel: DTP-3(PC) Termination Panel: DTP-4(PC) Signal Monitor for Digital I/O: CM-32(PC) Signal Monitor for Digital I/O: CM-32(PC)E *1
*1 : The option cable PCB37P or PCB37PS is needed.
Cable & Connector (Option)
Cable & Connector (Option)
Flat cable with 37-pin D-SUB connectors at either end:
PCB37P-*(1.5m, 3m, 5m)
Shielded cable with 37-pin D-SUB connectors at either end:
PCB37PS-*(0.5m, 1.5m, 3m, 5m)
Flat cable with a 37-pin D-SUB connector at one end:
PCA37P-*(1.5m, 3m, 5m)
Shielded cable with a 37-pin D-SUB connector at one end:
PCA37PS-*(0.5m, 1.5m, 3m, 5m)
Product Configuration List
Product Configuration List
- Board[PO-32L(PC)V] ... 1
- This User's Manual ... 1
1
Page 2
External Connection
C o n n e c t o r
u s e d 3 7 - p i n
D - S U B
c o n n e c t o r
( F e m a l e ) D C L C - J 3 7 S A F - 2 0 L 9
( m f d .
b y
J A E )
e q u i v a l e n t S c r e w
n u t
:
U N C
# 4 - 4 0
( i n c h
s c r e w )
A p p l i c a b l e
c o n n e c t o r
1 7 J E - 2 3 3 7 0 - 0 2 ( D 8 C )
( m f d .
b y
D
D K ,
M a l e )
F D C D - 3 7 P
(
m f d .
b y
H I
R O S E ,
M
a l e ) D C - 3 7 P - N
(
m f d .
b y
J A E ,
M
a l e ) 1
2 1 9
2 0 2 1 3 7
To connect an external device to this board, plug the cable from the device into the interface connector (CN1) shown below.
Ver.1.30PO-32L(PC)V
Interface Connector Pin Assignment
To connect an external device, plug it into the 37-pin connector on the PO-32L(PC)V interface board.
Com m on m i n u s pi n f or +0/+1 ou t pu t por t
Com mon pl u s pi n f or +0/+1 ou t pu t por t
+0 por t (Ou t put )
+1 por t (Ou t put )
ON 0/1
O 00 O 01 O 02 O 03 O 04 O 05 O 06 O 07 O 10 O 11 O 12 O 13 O 14 O 15 O 16 O 17
OP 0/1
N .C.
1
20
2
21
3
22
4
23
5
24
6
25
7
26
8
27
9
28
10
29
11
30
12
31
13
32
14
33
15
34
16
35
17
36
18
37
19
ON 2/3 O 20 O 21 O 22 O 23 O 24 O 25 O 26 O 27 O 30 O 31 O 32 O 33 O 34 O 35 O 36 O 37 OP 2/3
Comm on mi n u s pi n f or +2/+3 ou t put por t
+2 por t (Ou t pu t )
+3 por t (Ou t pu t )
Com m on pl u s pi n f or +2/+3 ou t put por t
Output Circuit
Output circuit
The output circuit of these boards is illustrated in the following figure. The output channel is a photocoupler­isolated open-collector (sink type). You need an additional power supply that is isolated from the PC to drive these insulation circuits. The maximum output current ranting is 100mA per channel.
V cc
1k
1k
1 2 k
12 k
B oa r d
P l u s
C om m on
O u t p u t
P i n
O u t p u t
P i n
M i n u s
C om m on
L oa d
E x t er n a l D ev i ce
L oa d
E x t er n a l P ow er Su p p l y D C 1 2 V
~24 V
2
Page 3
PO-32L(PC)VVer.1.30
I/O Address Setting
Use the on-board DIP switches (SW1 and SW2) to set the I/ O base address of your board. Individual bits in SW1 and SW2 correspond to the 15 high-order bits (A15 to A1) in the I/O base address. Always set A1 to A0 to "0" (OFF) for the board.
SW1
Bi nary
H exadecima l
1234567
OFF
A15 A14 A13 A1 2 A11 A1 0 A9 A8
0 0 0 000 0 1 130 0 0 000 0 0 0
8
A7 A6 A5 A4 A3 A2 A1 A0
The figure shows that the head I/O Address is set as 0300H by a diagram, and this board occupies the I/O Address of 0300H-0301H.
SW 2
1234567
OFF
8
0
I/O Port Bit Assignment
Output Port Bit Assignments
When "1" is output to a bit, the corresponding output data is set to "ON." If "0" is output to the bit, the data is set to "OFF."
I/O base address
D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0
+0H
O07
[9]
+1H
O17 [17]
O27
+2H
[28]
O37
+3H
[36]
Oxx is an output sign al name; numbers in br ackets [ ] are connector pin num bers.
Output Group 0 (+0 port)
O04
O05
O06
[7]
[8]
Output Group 1 (+1 port)
O14
O15
O16 [16]
O26 [27]
O36 [35]
[14]
[15]
Output Group 2 (+2 port)
O24
O25
[25]
[26]
Output Group 3 (+3 port)
O34
O35
[33]
[34]
O02
O03
[4]
[5]
[6]
O12
O13
[12]
[13]
O22
O23
[23]
[24]
O32
O33
[31]
[32]
O01
[3]
O11 [11]
O21 [22]
O31 [30]
O00
[2]
O10 [10]
O20 [21]
O30 [29]
Address bus
(A15~A0)
IOR IOW AEN RESET
PC/AT I/O expansion bus
Data bus (D7~D0)
Block Diagram
DIP
swit ch
I/O address coincidence
circuit
Control circuit
Data
driver
Photo­coupler
& Tran­sistor
Photo­coupler
& Tran­sistor
Photo­coupler
& Tran­sistor
Photo­coupler
& Tran­sistor
PO-32L(PC)V
External digit al output
(8ch, group 0)
External digit al output
(8ch, group 1)
External digit al output
(8ch, group 2)
External digit al output
(8ch, group 3)
3
Page 4
Example
-
O 0 0 ( C N 1
:
2 p i n )
P
External
Power supply
D C 1 2
~
2 4 V L E D
5 . 1 k
O
Positiv
e common
( C N 1 :
1 8 p i n )
Negative common
(
C N 1
:
1 p i n )
Ver.1.30PO-32L(PC)V
Program that makes LED connected to O00 output terminal as an example of use of this board. According to ON/OFF of the external switch connected to I00 input terminal turn on switch off is shown below. Description language is Microsoft C. In the state of switch-on, 1 is displayed on screen, LED lights up, 0 is displayed on screen in the state of switch-off, and LED puts out the light.
Setting Conditions
I/O Address: 0300H Interrupt: unused (Please remove all the short connectors of JP1.)
Connection example
o
r t
+
Flow Chat
Start
Set I/O Address
Bit Setting Of
Output Data
Output Data
Bit Setting Of
Output Data
Output Data
Program List
#include<stdio.h> void main (void) { int port ; int pidata ;
port = 0x300 ; /*Set I/O Address*/ do { pidata = inp ( port ) ; /*Input data*/ printf( "%x\n", pidata ); /*Display data*/ outp( port, pidata ) /*Output data*/ }while( !kbhit() ) ; }
4
Loading...