STD 7000 7602
Output Port Card
USER'S MANUAL
o
•
•
7602
Output Port Card USER'S MANUAL
9/81
_ MiAI"AW.'Uila." • • :; $I" E,' eAiM i 14'41: ." S ,Q I;;, k i· ,aa .. ,., Xi J g,;; ";; , 4MW¥W2Q P ¢ ¢ » T 4
~@ 7602
@¥@~@~~~~~OUTPUTPORTCARD TTL OUTPUT PORT CARD
This card provides eight 8-bit latched output ports (64 output lines).
Output port lines are accessed at 16-pin DIP sockets on the card. The output lines are TTL compatible with the ability to drive 20 low-power Schottky TTL loads each (5 TTL loads). A reset line is available to clear all ports simultaneously.
The 7602 decodes eight address lines with provision for expansion and memory mapping. An on-card jumper system allows users to establish the eight consecutive output port addresses occupied by the 7602.
FEATURES
• User selectable port address (256 port field)
• Output Drive: 20 low-power Schottky TTL loads ... Provision for expansion and memory mapping
• All Ie's socketed
• Single +5V operation
DAT~~~ D - - - ¥ - - - 4
101XP' o - - - a
WR'c---a SELECT PORT
ADORESS DICODER
Ac)'A20-~~~
SYSRES!T' 0 - - - 0
OUTPUT PORTS
SHADING INDICA T!S SOCKETS
OUTPUT PORT r----CONNECTORS---'
7&02
"INDICATES ACTIVE LOW LOGIC
o
o
o
o
o
•
3. Card Address Mapping .
The 7602 card is selected by a decoded comblnatJl)"
of address lines A3-A 7. The user chooses the card address combination by connecting one jumper wire each from SX and SY to pad matrices adjacent to U2 and U3 (See Diagram). Th~ 7602 is shipped with Port address 00-07 Hexadecimal. To map the 7602 anywhere in the hexadecimal range of OQ-FF change the decoder outputs connected to SX and SY.
~rtA~~"" .
Address lines AO, A 1 and A2 select one of ~Ight sequential output port addresses. The WR- Input controls the output latch function.
4. ADDRESS DECODER OPERATION
Refer to the schematic, document #102788.
The 7602 uses two cascaded 74LS42 decoders (U2, U3) to decode address lines A3-A7.
These decoders are enabled only when IORQ1: and 10EXP* are ac:ive. Address lines AC, Al, A2 and the WR* signal are used to gate the select strobes (wh;~h control
the output ports) from U4.
CHANGING THE 76021s PORT ADDRESS
Refer to the assembly diagram, document #102789. Locate decoders U2 and U3, (74LS42) adjacent to the STO BUS edge connector. Each decoder device has a dual row of pads which form decoder output select matrices. Make one (and only one) connection to each of the matrices adjacent to U2 and U3.
The decoder jumper pads numbered as shown in Figure 3 are adjacent to the decode~
chips on the 7602. Also shown are the jumpers (at XO and YO) which produce hexadecimal port addresses 00, 01, 02 thru 07, the selections made when the card is shipped .
FIGURE 3 - DECODER JUMPER PAD NUMBERING
~=="
___
=.;;M''''M''*4h'M;;;«i'''4i, $ ;:, 4';UNlI",;,;::e J # uri, ; , I $ : : R #,AT¥Y MA4I4f1AMh4A#4MMW4h 4 W q q M W; 4 q ¥4 4 4 4~ 7602 CARD ENVIRONMENTAL SPECIFICATIONS
o
RECOMMENDED OPERATING LIM tT~ ABSOLUTE NON~OPERATING liMITS
r/\R~:1ETER t t11~ iYP ~J...X
I
MIN "',AX U~, I TSTe:npcracure
I -. °c
F're~ Air 0
is
5S -40 75Humidity
& I
~I
95 0 95 1;RH&:
Non-c:ondens i n.9o
o
o 7.
0
•
MECHANICAL
• Meets all STD BUS general mechanical specifi- cations
• May require one additional card slot width for ribbon cable access to output port sockets (con nector dependent).
• Connectors use low profile 16-pin DIP plugs with heavy duty pins. T & 8 Ansley Catalog No. 609- MH 165H or equivalent.
ofa ro
mEl[;p;~]
r: ;",~]
r:~~J [*-:~
[:*.]
0000000
ooooooou
~
r~~J t:;~ :l
r~~J [~;~J
~
[: ;~~J
t~~~:JI
[:*.]
[:~~J [:~~]
[:~~]
t~~]1 [:~~]
[Q§QJ
FIGURE 5 -7602 ASSEMBLY
g,~ &&£iii""'''*',£411 ... $" I .. 4 "T 1 ll4IT#WM¥4M#4¥4 AM;#;,4¢! ;; q¥
EJO . .
B ~ ..
B EJ ..
B B
S. 7602 OPERATING SUBROUTINE MODULES
This section provides flow diagrams and subroutines to operate your 7602 card. These may be used intact, or used as models to construct subroutines for a specific application.
The subroutines are written in S080-family assembly code and will execute on S080, 8085, and z80 processors. The memory addresses selected are compatible with Pro-Log's 7801 (808SA) and 7803 (Z80) processor cards.
The 7602 port addresses used are the address jumper selections made when the 7602 is shipped.
To use these subroutines in systems other than those described above, the me.mory and/or I/O port addresses may require change for compatibility.
The flow diagrams presented can be easily translated into the assembly code used by any microprocessor since they show the steps required to acheive 7602 operation without reference to a particular microprocessor.
The following routines can set or clear a bit or bits on an output port.
To use the routines load the accumulator with the bits that should be changed and set the HL pointer to a place in memory where the port status
is stored.
o
u
D
el
II
A
o
•
•
7()f~~~Y>
~
l:J1;;~( )
..
J..~_.
• (..-A.i -"
C;~]
.,p.ooooooo
-' 1)001)(1000 II Ei~
• 1 . ) / -( " , -..
_---._._---- ~ [;~
~~-;\ . -_.gooo
•• " i , . , , , , OOOIY
~~
F
1'\ ''''I I I '
~ ,'''.,.,;'''. ~ rlN '10 11.'-~or.M£T!o (TV") • .. rI1RA1.M ~fll:r.O"R("S ~r 1\.<''''''4
"'''1 5 .. tift r~ 1I1I1IIlWr.;, ~;rrtln"n
•
76
/mtlJ
W
~
~~
~~~.-L~;J
[ir;]
Ci;J
[e.;]
6
o
5
m!'a
H
Ci.;:_l
[A;:]
r~~l
H
r:ii;J
.--'!.~~---.[·:i:~l
H
.X~.'!:YY_
~ Ur~ H
u'u
~1Il-@
(If)
5
..
fj<r'I//®
-_. I \J
H
H Ii
..
J
1
&~IIrM~·,.r "111'1.12"",,"
rART.<' 1 1<'1 HI'tn?,!'!,
r----l
o
...
iiiCiiiriiiOi .. ,,''!!!.
nEF~RENCE
ONLY
'JlflIT.~~ --]J_:~H.:f~ , • 0_" 2... '.P
._-
".1M ~~~I~i!.i_ ~~L!i~r.~~~_
;oor~9.;.~2.<i CORPORATION
f.R~~J~~~~~':l~.·~~~~"
..
~::: r.Ann. ~ t.·,,,.. ...' .... 11111\ "_"'_'" 0
D
Ie
18
A
~,
~-~
-!'.~.~ • .!!.-.-- ('i)--~
O&@~- l'",(!»-~.
(,:0.-_1',
I! .. OS'.:~_ .. "
O~ (i\--~ I (, _
If
,.)C>, @--~
DI(i~
00 ®-~-
47 @-
".
lOS
,--_--.!!_-
tOI>(;W&,·,.,t~l n ~I ,.!...
Mt~ .. ~~ .L
, \I~ .. ~ ._,,_
~.L
A
®_~/41" 5;1 4_.'!! ...
~l ,.}._~e~ r t -
" @~~::::~B~
~ 74lr..1t ponT r.EL~CT OEc.coE.R WI'. ~n.:0~~ .... , n " ~
J.'.'~ .-, _m .. ...!!.
" ® _ _ '3 (_ Ut ~'!> ~~
®--~."
AO '~.I\
(hrt
'''L~''~
"'5 !. --- .. <" au' 0·'1
." (~
OU~ I~~. -t:~-
it ~ -'('-
~ < ..
-<, --<,t.
~41.5\1~
"" ,
..
-,<. -~,'OUT •. L .(1
,)- . ('1
ii ',tI-I-"-(l -<.~
'D I_L_-<, alIT ,,-(l
.'!.. ( ' ..
--(fib
--< ..
<II
--(.
--( ...
OUT·t. ... '-<\
11!.L_L-<l
~4 ---<.~
' 7
IttL _1_<. II,H'· 0
--('"
,\
___ .. .!.l
---~
-.-~
' )
___ .!l
.. ~
.!I '4l ~1l5
1.l~"S
OUT
2
'~l~115 UII
OUT
,~"
~
~\'..!.I~
,~
,~
,"
--('l
~.
-<It
<, -<It
-< ..
(,'
'-(' (
..
( ' -(,r,
<, {lilT t·O ( ...
---!~
___ .. ____ '1
---"
_____ !l
:·1-····<" [IIJ' • 7 r,,- __
-L J--:~
J
",
OUl
.;
"11\\.~t1\
I,",
OUT
,I-
"
,~ _.
....
---(~
' I I (~
< \"!
---(.
(.~
. <,
4 --I,S _.(1
'p (I ()UT .. 0 ,II ('"
,,,
I -. ..-- < ..
I
nul ~-~ ,',,40 .(, I
OUT I~--.1. .(,
,J -('I)
j--II~. (, ..
.• --.(1.- ___ 'U -5--1'~ -<~
!(t ,II
'4\'~"~
11'0
,"
,\
,s
OUT .',.
j
··..(11
'-(11
( ' "--
(I!t
(, ..
( I -(,C".
·.(1 niH' 0 ('('
_._._,~ 1 1'9
0)5.
/ ---
---.--~
____ .2'
_. _ _ !J J4L'!..lS
"" ,"
OUT .{- 5
,.\
's -<'I
--.(~
• (11..
- .. -(4 ( I '
--<:\
-(, ..
( I -(,~
-<, /H" "-0
- (1'-
"Co fJi}--,
I'CI @-.J " -~---_./. /
/~'"
'--'
~ l ~ .. - - ; ; ...
;;d----l-]",f
- r"T-··F::':;~'~";::::,~~",
---!!.
J4C.I I ,\
OUT
6
7~l.~\l~
'''0
-"
OUT
"I 6
,.l
's
J4 ____ '.L
<7~~
14\..;1 ,~
. - -~ til."
,"
OUT .~
, ~ .!,S j '5 ."
__ !t 10
,"
_'!oil,
! ---
,"
-_.
OUT .1.---.!~ j-,'5
~
.. .(" .)1" &. -,
(~
...("
._,,-;
-< It.
- ( .
·..(I~
- " I~
~I l.~
~, " " , " 0
_. <Ill our 1 1
<,
-.(1
--<"
.. ~. "
.. -<,
.·(11
_.<.
("
--{I
("
-<I
_ ! ( 10. _1._-(, nit' , fl
,H ('"
()SI.
/----
REFERENCE ONLY
'tlS3:' r "'11."
"-";n{bf,.@-gf~,'Ll'--'ll-:-""~"~ ____________________________________ - ___ ~--___________ .J
'(l
r
'~v
0'-1
? _'''~"'''',,_tV'';I'OItIO:'I'''~f".'''..r.Ir.''rtvF 11t, .. '-- (i}-- - -t 1· .~v(;') • II II, "",'i,1n.114
""" (.) .1 1
"'!':1 fI.'_,' ,,"/I/';'."~ II~~:':' ~I/ :.:.: ... ~ ... ~!~"!\~:~.,:J 1\' "'I'I.'\t:f:I" I Vr I~I f If It", '" Ii""'''' ",I',R ~I.()C~_
t
/';'.':\b •• f .. Il'~../. HA.-r-
I--~---'---s---..-r- ----,----.,---.---
IIS-IMr.1f Wl. '111'1/'"
",,'nOt I'''' lJl"I "':'''''0
,,-_~~~:.~~<t CORPORATiON
.
~I?~~:t/· :~~:~·:~=..f..
;::""1 ,~:~: I~: II ~::-~~I!"u . , rvf ~ I In"
~ ). '11'" ." ' 0
I
II ):"lP.~J ~: ~::I I
•
•
•
UlSER'S MANUIAL
2411 Garden Road Monterey, California 93940 Telephone: (408) 372-4593
TWX: 910-360-7082
- - - -
o
o
106663A 600 9/81