Digital PDFs
Documents
Guest
Register
Log In
EK-DZ110-UG-002
March 1979
56 pages
Original
17MB
view
download
OCR Version
7.8MB
view
download
Document:
DZ11 User's Guide
Order Number:
EK-DZ110-UG
Revision:
002
Pages:
56
Original Filename:
OCR Text
EK-DZ110-UG-002 D211 user’'s guide digital equipment corporation - maynard, massachusetts Preliminary Edition, March 1977 Preliminary Edition (Rev), June 1977 1st Edition, September 1977 2nd Edition, February 1979 The drawings and specifications herein are the property of Digital Equipment Corporation and shall not be reproduced or copied or used in whole or in part as the basis for the manufacture or sale of equipment described herein without written permission. Copyright © 1977, 1979 by Digital Equipment Corporation The material in this manual is for informational purposes and is subject to change without notice. Digital Equipment Corporation assumes no re- sponsibility for any errors which may appear in this manual. | | Printed in U.S.A. This document was set on DIGITAL’s DECset-8000 computerized typesetting system. The following are trademarks of Digital Equipment Corporation, Maynard, Massachusetts: DIGITAL DECsystem-10 MASSBUS DEC DECSYSTEM-20 OMNIBUS PDP DIBOL OS/8 DECUS UNIBUS EDUSYSTEM VAX VMS RSX RSTS IAS CONTENTS Page - CHAPTER 1 GENERAL DESCRIPTION 1.1 INTRODUC I ION‘Q“*"'"**.'W"”“W»"‘U.*.'"flflfi'*"W"v"'\"".‘."*"’fl‘*.‘fl"“‘*""'. ***************** \.01| 1 1.2 PHYSICAL DESCRIPTION LA R RS AR RS AR R R A R R Con flguratlons A AA LA AR AR AR AR AR R R R A R R 1 A AR R R 1.2.1 1.3 1.3.1 1.3.1.1 1.3.1.2 S SsR N e I I mM T T ITMMT T fi‘fll 2 T I I I I I T I T I T, 1 3 GENERAL SPECIFICATIONS oo 18 Output‘s Q”"fllfi‘!00'0“"0."‘%"‘00!‘I‘Qfli#‘.#'l’.‘l*.‘U*'fi*flfi&flfi"*‘lQ‘W*flh*fi*’llfll!l*lmfib'.llfifi'!fl"lO‘".flll.‘flflw1 -; DZ11-A, -B, and -E ’ \, DZ11-C, -E, and -F ’ ’ LE 2 R BB X LA S LA E N A B E R R E R R RN ER] BERERA R R E R Y BRSNS LE N R S S R R KB 8 R ] (L EE R S E R R R ERNE RN’ LA F E T F R E R R T RN EEE]“’l* lllllllllllllllllllllll » X NI BEER A RN E DWW LA A RS R R ZEEREEDN] 1-9 1-9 1.3.2 1.3.3 Power chmrcmcnts DZ11-A, -B, and E Ceievnaes eeresssrsetsreserenansernreressreranes 1-9 1.3.4 Power Requirements, DZ11-C, -D,and -F............cccceeevvviviivniniiiennieecnnenenn.. 159 1.3.5 Environmental Requirements - All Dles....eestsinestaesiannnsernnssseenersennestrasasan 1-10 1.3.6 1.3.7 1.3.8 1.3.9 1.3.10 1.4 1.4.1 Distortion- DZ11-A, -B, and-E ...... creeeereeenannas Ceveeeerieeens 1-10 Interrupts...... veerrnreereennans ceeeereeenanes verrneeerans Ceretaeerneeraeerteeeateaneaanns Ceereeeenns 1-10 LINE SPeed......coooiieiiiiiiieeeeieiei ererereerieseennnnneeennn 1210 Distance (DZ11-A,-B,and -E)..........ccooiviiiiiiiiiiieeeeeeeeee e eeeeeeeeeeeeeeeens 1-11 Distance (DZ11-C, -D, and -F) .....ccooiiiiiiiiiiieieeeeeeeeeeeeeeeeeeeeeeeeeea e 1-11 FUNCTIONAL DESCRIPTION ...t eeeeeeeeeee e ee e 1-11 PDP-11 Unibus Interface..... 1.4.2 , Control Logic............... terrreereneeaens feeeennerenneeeeteeeanaeetnran——aaetaeeraaetraneeraneeenns 1-12 1.4.3 Line Interface......................... cererrrnnas feeeeeteeeeertereeeettiaaetatreernnn e rraaaas 1-13 CHAPTER 2 INSTALLATION 2.1 SCOPE AR S E R R R RN A AL AR SR A AR R R A R R R R R R R R R R R BAREBEESEEDRNETE BT RN LA A EREEEERE S NN LA RS AR E R E S R A RS R R R ST N E R R Y CONI IGURATION DIFFERENCES LE RS E AL E RSSRR SR RS NN LA R A R AR R R A R RS R R RR R R N R 2.2 2.3 UNPACKING AND INSPECIION llllll LA A A RS A E R A R R R R R R R R A E R R R R R NN 24 24.1 24.1.1 24.1.2 24.2 243 EIA Optlon LA A AR R R AR R R AR R R R A R e sy T T T I MMM I T T LA R E XN 20 mA OptIOHOOflQ flflflflflfl LA AERER R R R R RS EE R LA AR R A SRR R R RS R R R S R R R N T R R RS M7819 MOdUIe Installatlon UUUUUUUU HREPERERREE TR RN kR WHEEERNR SR ‘A AR S R R R R RS R R R R R Y - o e w - A M7814 MOdulc Installatlon BERERADERBESR BRI ES SRR R D ERRT ANERD ER RSNRSB A Z B R A RSEENEEN] LA R A EREERE RSN 2“6 CHAPTER 3 PROGRAMMING 3.1 INTRODUCTION........... ceereenreeeen et ereeea———— tertieteetassasaresarsissorararassesensras eeerens 3-1 Device and Vector Address Assignments ............. eerrerrrana. Ceeeareeeeans eeerereeann 3-1 3.1.1 3.2 3.2.1 REGISTER BIT ASSIGNMENTS........ooviiiieieeeeennn. vessavsevessnsasns veeeeensFUT ...3-2 Control and Status Register (CSR) ...............eeemeeraeeteeanrenntitennaennernstrnsnnsennns 3-2 322 Receiver Buffer (RBUF)......ccoooiuiiiiiiiiiiieeieeeeeeeeeeeeeeeeeeeeee e e, ...3-6 323 Line Parameter Register (LPR)........cccvuviiieeeiiiieeeeeeieeeeena, e, 3-7 3.24 Transmit Control Register (TCR).........uvuveeiiiiiiiiiieeiieiiiiieeeeeeeeeeei 3-8 iii _ CONTENTS (CONT) Page 3.2.5 3.2.6 Modem Status Register (MSR).......ccoivriiieeeiiiiireeeeeeeirineeeeeeeeeesienneeeeeseenennes 3-9 Transmit Data Register (TDR) ..... reeresieshesnineitrarabonsstaberetasiectrannsetensennrensaseres 3-9 3.3 3.3.1 3.3.2 3.33 3.34 3.35 3.3.6 3.3.7 PROGRAMMING FEATURES ............ erererreeens Ceeeenteeeteeeenaeeennerennaetaaaaeanaaernnns 3-9 Baud Rate..................... veetsmasesiereeineeesinseniveseresivearseinrtstnteeranctonasarnserernsceansacen 3-9 Character Length.............. eeetttetertnrerneearhaeaaaeearaaraeararraneranarnnneerreennnaers 3-10 StoOp BitS...cvvuiiiiiiiiiiiiereeeeee s eeeereerereeeteneseearrareatnernraaeearnereannaaeees 3-10 Parity ..ccoovveviiiiiiiicciieneeceeees Ceeemeretteerntereteeetetanaeeteanetataeetetaaeeeneareenaaes 3-10 Interrupts....ccccveevvnievneennnnnn.eeeerrenese eeeteetereeteetierareee e eeeetrtaeeaneeereannaaenns 3-10 Emptying the Silo ................. feesevteesuidiseetariernserasianssenrernasnaseseensenresenssnnansnenans 3-11 Transmitting a Character...........cooevvieiiniiiini, 3-12 34 PROGRAMMING EXAMPLES .......recrcevcve eerreeerteeerreeernaans 3-13 APPENDIX A DZ11 (M7814) TO AN ACTIVE DEVICE INSTALLATION 3.3.8 Data Set Control ..........cccoveveennnnne eeevdiesisnrsaasasans e eer et e e e et —aeereeeeaeeans 3-13 ) B FIGURES Figure No. 1-1 1-2 1-3 1-4 1-5 1-6 1-7 1-8 2-1 2-2 2-3 2-4 2-5 3-1 A-1 A-2 Title Page DZ11 System ApPliCations ..........eeeeeeerrriiiiiiiiimmmiiee e 1-1 DZ11 EIA Module (M7819), Distribution Panel (H317-E), Static Filter (H7004C), and Cables (BCO6L-OJ and BCOSW-15) .....covviiiiniiiiiiiiiiiiiiiiinniicicenn, 1-2 DZ11 20 mA Module (M7814), Distribution Panel (H317-F), Static | Filter (H7004B), and Cables (BCO6K-OJ and BCO8S-15).......ccccuvvmmmiviiininiinnennnn. 1-3 DZ11 Hardware Interconnections..........ccceeevneees teerrrrrerneeaneen eeteernreneereerreeneraeernens 1-4 H3271 or H327 TurnaroUnd ........ccovviiueieuiirierneennenereeessesimeemstssssccssssnsenesssssnns 1-5 Test Connectors H327, H3190, H3271 and H325 ................................................. 1-6 H3190 Staggered Line Turnaround..........ccoocvveeeeeneenenen.rerete e et ——————————— 1-7 General Functional Block Diagram .........cc.cooiiiiiiiiiiiiiiiiniini e, 1-12 M7819 AdAress SEIECION .......oivvriiiiieeiiieiii e earereaeeeta s rneesrasesennseessnsennns 2-3 M7819 Vector Selection........ccuuveeeeiieieiiniineeereeeceerennnnes veessriresresiosertessasanenanseinsierenns 2-3 BCO5W-15 and BCO8S-15 INterconnNection ........cccuuveieeieimiiiinniimniieiirinniecereeennnenes 2-5 M7814 AdAress SEIECHION .....ccuuiviiieiiiiieiiriiierie e eeeenec et s enn s rea e ens s e senesanseaas 2-6 M7814 Vector Selection........ccccceeeeeeeevennnnnnnnee eetaeeeeernreereraaeeerrataeerraraeeerrraeerarans 2-7 Register Bit Assignments........... Creceeneresonines Ceeeerreeenteeerrereennesatnraataaeetanreraneaernsaerannns 3-3 DZ11 (M7814) to Active Device CONNECLION .......ccceuvviiiiiiiniiiiiiiiiiiniieeeieieeeeees A-1 H319 Current Loop Receiver Schematic Diagram ............ eeeeersereeereeeeereaeernnaeeees A-2 v N - TABLES Table No. 1-1 1-2 2-1 2-2 3-1 3-2 3-3 3-4 Title Page DZ11 Model Configurations ...........uuueeeiieiireiiiiiiineieeciieniiieeeeetirnneae e eereseranaaees 1-4 DZ11 Performance Parameters.........cccccevvvevevennnnnen. et eatenreeeetaenteereeerereerearenans 1-8 Items Supplied Per Configuration............cccccuuveennee. Ceeeereeteneeeesenaeeeettrnaeeeraeieaeaans 2-2 DZ11 to Terminal Wiring (Using BCO4R Cable) ....... eereeeeees eeereereeenterararerneres ...2-8 CSR Bit Functions........ vereenees Ceeeneteeeseenetaetaeeaebeenetaetnraneatrreernrreanernennns ceerrerreenenssd=S RBUF Bit Functions..........cc.c...... e teeeretreneerernerernaenernes e tetertereenetnererenererearraaans 3-7 LPR Bit Functions.................. eereens errerene et teeneeaeteeneeneeeeteth e taeteheenernerasrerarnern 3-8 Baud Rate Selection CRaTt.......ovuieiiiiiiiiiiiiiieiiiiiiieetiieeteeessrereseenesrensaceresnsnsenes 3-10 | - . | o CHAPTER 1 GENERAL DESCRIPTION o The DZ11 is an asynchronous multiplexer that provides an interface between a PDP-11 processor and eight asynchronous serial lines. It can be used with PDP-11 systems in a variety of applications that include communications processing, time-sharing, transaction processing, and real-time processing. Local operation to terminals or computers is possible at speeds up to 9600 baud using either EIA RS232C interfaces or 20 mA current loop signaling. Remote operation using the public switched telephone network is possible with DZ11 models offering EIA RS232C interfaces. Enough data set control is provided to permit dial-up (auto answer) operation with modems capable of full-duplex* operation such as the Bell models 103 or 113 or equivalent. Remote operation over private lines for full-duplex* point to point or full-duplex* multipoint as a control (master) station is also possible. Figure 1-1 depicts several of the possible applications for the DZ11 in a PDP-11 system. LOCAL | REMOTE | . TELEPHONE 7 LINE l »| REMOTE ———g—— = TELEPHONE . U le N' B DZ 11 il SYSTEM e — "] TERMINAL it - g P“T“ SeY LINE A Bt AT N Ve | | ° 27 1 svstem |‘;"1‘5’§f { S l —_PDP-11 | w COMPUTER A T e . o .: ,, : | : o oot A 11-4332 Figure 1-1 DZ11 System Applications *The DZ1 IW data set control does not support half-duplex operations or the secondary transmit and receive operations available with some modems such as the Bell model 202, etc. 1-1 The DZ11 has several features that provide flexible control of parameters such as baud rate, character length, number of stop bits for each line, odd or even parity.for each line, and transmitter-receiver interrupts. Additional features include limited data set control, zero receiver baud rate, break generation and detection, silo buffering of received data, module plug-in to hex SPC slots, and line turnaround. Each DZ11 module provides for operation of eight asynchronous serial lines. Since the module interfaces to these channels with a 16-line distribution panel, 2 DZ11 modules can be used with 1 panel. Also note that the two versions of the DZ11 (EIA or 20 mA output) consist of different module and panel types. This fact allows a system to mix EIA and 20 mA by using multiple DZ11s. The DZ11 (8-line configuration) comprises a single hex SPC module and a 13.34 cm (5.25 in), unpowered distribution panel, connected by a 4.6 m (15 ft) ribbon cable. Several types of interconnecting cables are used between the distribution panel and the modem or terminal, depending on the device. A 16-line configuration uses two modules and a single distribution panel connected by two ribbon cables. The DZ11 modules, cables, static filters,* and distribution panel are shown in Figures 1-2 and 1-3. The subsequent paragraphs present a detailed description of the physical and electrical specifications of the various DZ11 options and configurations. DZ11 (M7819-EIA) CABLE (BCOSW-15) __ STATICFILTER {(H7004C) CABLE (BCO6BL-0J) DISTRIBUTION PANEL (H317-E) 8884-1 Module (M7819), Distribution Panel (H317-E), Static Filter (H7004C), and Cables (BC06L-0J and BCO5W-15) *Static filters are not supplied with earlier modules. 5 1-2 DZ11 (M7814-20MA) CABLE (BCO8S-15) STATIC FILTER - {(H7004B) __CABLE (BCOGK-0J) DISTRIBUTION PANEL (H317-F) 8884-2 Figure 1-3 DZI11 20 mA Module (M7814), Distribution Panel (H317-F), Static Filter (H7004B), and Cables (BCO6K-0J and BCO08S-15) 1.2.1 DZ11 Configurations The DZ11 can be supplied in six different configurations, each designated by a suffix letter (A-F). The DZ11-A and the DZ11-B options are EIA devices with partial modem control. The DZ11-E is the combination of a DZ11-A and a DZ11-B. The DZ11-C and the DZ11-D are 20 mA loop output versions. The DZ11-F is the combination of a DZ11-C and a DZ11-D. Table 1-1 lists the various option configurations and Figure 1-4 shows the required hardware for the various configurations. The DZ11-A and DZ11-B each use an M7819 module that plugs into slot 2 or 3 ofa DD11-B or any system unit with a hex SPC slot; however, slotsin the PDP-11/20 BA11 box cannot be used. The H317-E distribution panel pmwdm 16 communication lines from 2 M 7819 modules (8 lines per module) and is included with the DZ11-A and DZ11-E configurations. The H317-F distribution panel provides 16 lines for the DZ11-C and DZ11-F configurations, which use the M7814 modules (20 mA system). The distribution panels require no power and can be mountedin an H960 48.26 cm (19 in) cabinet. Static filters (H7004C, EIA, and H7004B, 20 mA) are used to prevent problems caused by electrostatic discharge. A 50-conductor, flat, shielded cable, BCOSW-15, connects from the M7819 module to the static filter. Cable BCO6L-0J connects the static filter to the EIA distribution panel. A 40-conductor, flat, shielded cable, BCO8S-15, connects from the M7814 module to the static filter. Cable BC0O6K-0J connects the static filter to the 20 mA distribution panel. - PDP-11 DZ11-A | M7819 | (spc sww r——— \ | b (spc sLom)| ¢ ~ pzi-] [ _m781a |[IsPC sLoT) BCOBS-15— L HTOOackl ;mmuwm) | l | H7oc | H70048 'acnam——jg ' LINES ——16 L i1l DATA EQUIVALENT ' o21-¢ ‘i l M7814| " o ( <« BCOSW\" (EIA (im -« BCOSDTM 103A OR UNIBUS 1e L— i’l TERMINAL | 8 LINES H317-F LINES ——»16 t 1 |e—BcO3M TM LOCAL SET 8 LINES l l 1 1 l t 1 1 ' ' ' _' ' 1101J ~_ CUSTOMER SUPPLIED CABLE ~ o , LOCAL TERMINAL TO TELEPHONE LINES NOTE #* Not included with DZ11, must be ordered separately. »%x DZ11-E = DZ11-A and DZ11-8 11-4333 DzZi1-F=DZ11-C and DZ211-D Figure 1-4 DZ11 Hardware Interconnections Table 1-1 DZ11 Model Configurations Test Model Output DZ11-A | EIA DZ11-B | EIA DZ11-E | EIA DZ11-C | 20mA DZ11-D | 20 mA DZ11-F | 20 mA Module Panel Connector M7819 H317-E | H325/H327 M7819 H327 M7819(2) | H317-E | H325/H327 M7814 H317-F | H3190 M7814 H3190 M7814(2) | H317-F | H3190 NOTES Static Cables Filter BCO5W, BCO6L H7004C BCO5W, BCO6L H7004C BCO5W (2), BCO6L (2) | H7004C BCO08S, BCO6K H7004B BCO08S, BCO6K H7004B BCO08S (2), BCO6K (2) | H7004B ' H327 will be replaced by H3271 in later units. H3190 is not supplied with early units. The shipping list will indicate which test connector, if any, is supplied. H7004C, H7004B, BCO6L, and BCO6K are not supplied with early units. The shipping list will indicate which static filter and cable, if any, are supplied. Modems or terminals are connected to the H317-E EIA panel by cables that attach to 16 DB25P cinch connectors. These cables are not provided with the DZ11. The BC0O5D-25 cable is recommended for data set interconnections, and the BCO3M cable is recommended for local terminal interconnections. The BCO5W-15 cable carries the data and control signals for all eight lines. Connections between terminals and the H317-F 20 mA panel are by customer-supplied cables to 16 (4-screw) terminal strips. The data signals for all eight lines are carried to the distribution panel by the BC08S-15 cable. Two accessory test connectors, H325 and H3271*, are provided with each DZ11-A. The H325 plugs into an EIA connector on the distribution panel or on the end of the BCO5D cable to loop back data and modem signals onto a single line. The H3271 connects to the module with the BCO5W cable (two M 7819 modules can be connected to one H3271) and stagge:rs the data and modem lines as shownin Figure 1-5. The connectors are shownin Figure 1-6. The 20 mA (M7814 module) options also havc a staggcred turnaround connector (H3190%). The H3190 connects to the M7814 using the BCO8S cable and staggers the lines as shown in Figure 1-7. A priority level 5 insert plugs into a socket on the M7819 or M7814 module to establish interrupts at level 5 on the Unibus. Maximum configuration allows 16 DZ11 modules per Unibus. TRANS @ * REC 1 DTR @ - I -+ R 1 > CO 1 RI @ REC @ , e s ‘ S— e et DTR 1 > TRANS 1 NOTE: Lines 283, 48 50and 6 8 7 are staggered the same way. 11-4334 Figure 1-5 H3271 or H327 Turnaround *This is a new item replacing the H327. The H327 may be used until the H3271 becomes available. The H327 plugs directly into J1 on the M7819 module. +This is a new item; check the shipping list for availability. 1-5 Hif 0 £ H327 . i »{'k . . . . .. D Q o(n&)fl i -~ o i - iv . o . 8639-1 Figure 1-6 Test Connectors H327, 3190, H3271, and H325 20MA LOOP ot AMA O LINE TRANSMITTER o v W e o— ’ \5 ! e LINE 1 RECEIVER ‘L, o) 20MA LOOP O 1 LINE TRANSMITTER M | O Y / l> D © A A LINE O RECEIVER ) 4 » O LINES 2 & 3, 4 & 6, AND 6 & 7 ARE STAGGERED THE SAME WAY 11-5141 Figure 1-7 H3190 Staggered Line Turnaround 1.3 GENERAL SPECIFICATIONS The following paragraphs contain electrical, environmental, and performance specifications for all DZ11 configurations. Table 1-2 lists the performance parameters of the DZ11. Table 1-2 DZ11 Performance Parameters Parameter Description Operating Mode Full-Duplex Data Format Asynchronous, serial by bit, 1 start and 1, 1-1/2 (5-level codes only), or 2 stop bits supplied by the hardware under program control Character Size 5, 6, 7, or 8 bits; program-selectable. (Does not include parity bit.) Parity Parity is program-selectable. There may be none, or it may be odd or even. Bit Polarities Unibus Interface EIA Out 20 mA Loop Data Signal Low =1 High =0 High =1 Low =0 Low = 1 = Mark High = 0 = Space 0-5mA 15-20 mA Control Signal Low = 1 High =0 High = 1 Low =0 Low = OFF High = ON Order of Bit Transmission /reception low-order bit first Baud Rates 50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2000, 2400, 3600, 4800, 7200, and 9600 Breaks Can be generated and detected on each line Throughput 21,940 characters/second = (bits/second X No. Lines X direction)/(Bits/Character) Example: (9600 X 8 X 2)/7 = 21,940 characters/second NOTE The theoretical maximum is 21,940. A ctual throughput depends on other factors such as type of CPU, system software, etc. 1.3.1 Outputs 1.3.1.1 DZ11-A, -B, and -E - Each line provides voltage levels and connector pinnings that conform to Electronic Industries Association (EIA) standard RS232C and CCITT recommendation V.24 The leads supported by this option are:* Circuit AA (CCITT 101) Circuit AB (CCITT 102) Circuit BA (CCITT 103) Circuit BB (CCITT 104) Circuit CD (CCITT 108.2) Circuit CE (CCITT 125) Circuit CF (CCITT 109 Pin 1 Pin 7 Pin 2 Pin 3 Pin 20 Pin 22 Pin 8 Protective Ground Signal Ground Transmitted Data Received Data Data Terminal Ready Ring Indicator Carrier NOTE Signal ground and protective ground are connected. 1.3.1.2 DZ11-C, -D, and -F - Each line is a 20 mA current loop used for connection to local terminals. (No data set control is provided.) All lines are active and, therefore, can only drive a passive device. However, a pair of H319 20 mA receivers for each line may be used to convert from active to passive operation in order to allow the DZ11 to drive an active device. Refer to Appendix A for connection details. 1.3.2 Inputs The PDP-11 Unibus is the input for all DZ11s. The DZ11-A, -B, -C, and -D present one unit load to the Unibus and the DZ11-E and -F present two unit loads to the Unibus. Four ac loads per module are presented to the Unibus in the EIA version and five ac loads per module are presented in the 20 mA version. 1.3.3 Power Requirements, DZ11-A, -B, and -Et ~ Typical (A) 2.2 0.13 0.1 1.3.4 Maximum (A) 2.5 0.15 0.13 at +5.0 Vdc at-15.0 Vdc at +15.0 Vdc Power Requirements, DZ11-C, -D, and -F¥ Typical Maximum (A) (A) 2.1 0.4 0.12 2.3 0.42 0.15 at +5.0 Vdc at-15.0 Vdc at +15.0 Vdc *Circuit CA (CCITT 105 - Request to Send) is connected to circuit CD (DTR) through a jumper on the distribution panel. This allows control of the Request to Send line for full-duplex modem applications that use the RTS circuit. +DZ11-E and DZ11-F are twice the above given values. 1-9 1.3.5 Environmental Requirements — All DZ11s Class C Environment Operating 5° to 50° C* (41° to 122° F) Temperature Relative Humidity 10 to 95%, with a maximum wet bulb of 32° C (90° F) and a minimum dewpoint of 2° C (36° F) Cooling DZ11-A, -B, -C, and -D DZ11-E and -F Heat Dissipation DZ11-A and -B DZ11-E DZ11-C and -D DZ11-F 1.3.6 | Air flow 1.416 1/second (3 cu. ft/min) Air flow 2.832 1/second (6 cu. ft/min) 3.99 g-cal/second (57 Btu/hr) 7.98 g-cal/second (114 Btu/hr) 3.85 g-cal/second (55 Btu/hr) 7.7 g-cal/second (110 Btu/hr) Distortion - DZ11-A, -B, and -E The maximum *‘space to mark” and “mark to space” distortion allowed in a received character is 40 percent. The maximum speed distortion allowed in a received character for 2000 baud is 3.8 percent. All other baud rates allow 4 percent. The maximum speed distortion from the transmitter for 2000 baud is 2.2 percent. All other baud rates have less than 2 percent. 1.3.7 Interrupts RDONE Occurs each time a character appears at the silo output. SA Silo Alarm. Occurs after 16 characters enter the silo. Rearmed by reading the TRDY silo. This interrupt disables the RDONE interrupt. Occurs when the scanner finds a line ready to transmit on. NOTE There are no modem interrupts. Normally, a level 5 priority plug is supplied. The interface level can be modified to level 4, 6, or 7 by using the proper priority plug. 1.3.8 Line Speed The baud rate for a line (both transmitter and receiver) is program-selectable. Also, the receiver for each line can be individually turned on or off under program control. (See Table 1-2 for a list of available baud rates.) *Maximum operating temperature is reduced 1.8° C per 1000 meters (1.0° F per 1000 feet) for operation at | altitudes above sea level. 1-10 1.3.9 Distance (DZ11-A, -B, and -E) The recommended distance from computer to DZ11 is 15 m (50 ft) at up to 9600 baud with a BCO5D cable or equivalent. Operation beyond 15 m (50 ft) does not conform to the RS232C or CCITT V.24 specifications. However, operation will often be possible at greater distance depending on the terminal equipment, type of cable, speed of operation, and electrical environment. Reliable communication over long cables depends on the absence of excessive electrical noise. For these reasons, DIGITAL cannot guarantee error-free communication beyond 15 m (50 ft). However, the EIA versions of the DZ11 may be connected to local DIGITAL terminals and most other terminals at distances beyond 15 m (50 ft) with satisfactory results if the terminal and computer are located in the same building, in a modern office environment. Shielded twisted pair wire (Belden 8777 or equivalent) is recommended and is used in the BCO3M null modem cable. With cables made with shielded twisted pair wire, such as the Belden 8777, the following rate/distance table may be used as a guide. This chart is for informational purposes only and is not to be construed as a warranty by Digital Equipment Corporation of error-free DZ11 operation at these speeds and distances under all circumstances. 90 m (300 ft) at 9600 baud 300 m (1000 ft) at 4800 baud 300 m (1000 ft) at 2400 baud 900 m (3000 ft) at 1200 baud 1500 m (5000 ft) at 300 baud NOTE The ground potential difference between the DZ11 and terminal must not exceed 2 V. This requirement will generally limit operation to within a single building served by one ac power service. In other cases, or in noisy electrical environments, 20 mA operation should be used. 1.3.10 Distance (DZ11-C, -D, and -F) The length of cable that may be used reliably is a function of electrical noise, loop resistance, cable type, and speed of operation. The following chart is given as a guide; however, there is no guarantee of error-free operation under all circumstances. Speed (Baud) 9600 4800 2400 1200 and below Belden 8777, 22 AWG, 22 AWG, 4 conductor shielded, twisted pairs (shields floating) (DECP/N 9107723) inside station wire (DEC P/N 9105856-4)- 150 m (500 ft) 300 m (1000 ft) 600 m (2000 ft) 300 m (1000 ft) 540 m (1800 ft) 900 m (3000 ft) 1200 m (4000 ft) ~ 1500 m (5000 ft) 1.4 FUNCTIONAL DESCRIPTION ; The following paragraphs present a general description of DZ11 operation. Figure 1-8 is a general functional block diagram that divides the DZ11 into three basic components: Unibus interface, control logic, and line interface. | N\ [controL DATA R U N| ADDRESS L | B ; > PDP-11 INTERFACE ' | U CONTROL - \V f —I SCANNER l I | l """"‘"L—"'] ] REGISTERS L | | N B LINE INTERFACE I " SRRy | F 8 s mmm e __1 11-4335 Figure 1-8 General Functional Block Diagram S i 1.4.1 PDP-11 Unibus Interface The PDP-11 Unibus interface component of the Dle handles all transactions between the Unibus and the DZI11 control logic. The Unibus interface performs three functions: data handling, address recognition, and mterrupt control. In its data handling function, the interface routes data to and from the various registers in the control logic and provides the voltage condltmmng necessary to transmit and receive data to and from the PDP-11 Unibus. The address recognition and control logic activates the proper load and read signals when it recognizes its presclected address on the Unibus. These signals are used by the data handling function to route theimcommg and outgomg data to the desired locations. The interrupt control function initiates and controls mterrupt processing between the DZ11 and the PDP-11 processor. 1.4.2 Control Logic The control logic provides the required timing and control signals to handle all transmitter and receiver operations. The control logic can be divided into two major sections: the scanner and the registers. The scanner contmuausly examines each linein succession and, based on information from the line interface and the reglsters generates signals that cause data to flaw to or from the appropriate line. The scanner comprises a 5.068 MHz oscillator (clock), a 64-w0rd FIFO receiver buffer a 4-phase clocking network, and other control generating logic. The DZ11 uses four device registers in a manner that yields six unique and accessible registers, each having a 16-bit word capacity. The six discrete registers tempora rily store input and output data, monitor control signal conditioning, and establish DZ11 operatin g status. Depending on their functions, some of the registers are accessible in bytes or words; others are restricted to word-only operation. Registers can be read or loaded (written), depending on the operation. The ability to read or write a register allows the use of two of the device registers as four independent registers. 1.4.3 Line Interface Two of the most important operations in the DZ11 are the convers ions from serial-to-parallel and parallel-to-serial data formats. These conversions are required since the DZ11 is located between the PDP-11 Unibus (a parallel data path) and either local terminal s or telephone lines (serial data paths). Conversions for each line in the DZ11 are performed by independent universal asynchronous receiver- transmitter (UART) integrated circuits. Another component of the line interface, the line receiver or driver, converts the TTL voltage levels in the DZ11 so that they correspo nd to those in the external device input lines (modem or terminal). Y CHAPTER 2 INSTALLATION 2.1 SCOPE This chapter contains the procedures for the unpacking, installation, and initial checkout of the DZ11 Asynchronous Multiplexer. 2.2 CONFIGURATION DIFFERENCES The DZ11 can be supplied with or without a distribution panel. The DZ11-B and -D do not have distribution panels. The following list describes the variations. DZ11-A DZ11-B DZ11-C DZ11-D DZ11-E DZ11-F EIA level conversion with distribution panel (8 lines) EIA level conversion without distribution panel (8 lines) 20 mA loop conversion with distribution panel (8 lines) 20 mA loop conversion without distribution panel (8 lines) DZ11-A and DZ11-B (16 lines) DZ11-C and DZ11-D (16 lines) 2.3 UNPACKING AND INSPECTION The DZ11 is packaged in accordance with commercial packaging practices. First, remove all packing material and check the equipment against the shipping list. (Table 2-1 contains a list of supplied items per configuration.) Report damage or shortages to the shipper immediately and notify the DIGITAL representative. Inspect all parts and carefully inspect the module for cracks, loose components, and separations in the etched paths. 2.4 INSTALLATION PROCEDURE The following paragraphs should be followed to install the DZ11 option in a PDP-11 system. 2.4.1 H317 Distribution Panel and Static Filter Installation Install the H317 distribution panel and static filters according to unit assembly drawing D-UA-DZ110-0. 2.4.1.1 EIA Option - For the DZ11-A or DZ11-E option, check to ensure that all of the machineinsertable jumpers on the distribution panel are in place. (See Drawing E-UA-5411928-0-0 for jumper locations.) These jumpers are in anticipation of future use of the DZ11 with modems other than the 103; however, two of the jumpers are now functional. The jumper labeled DTR (refer to D-CS5911928-0-1) connects DTR to pin 4 or Request to Send. This allows the DZ11 to assert both DTR and RTS if using a modem which requires control of RTS. The jumper labeled BUSY is also connected to the DTR lead for use in modems that implement the Force Busy function. This jumper should normally be cut out unless the modem has the Force Busy feature and the system software is implemented to control it. " =) ! ! R R xx**i‘ix *xx X MMM MM * e e e e i e e e e PEXRK = OXX| o K EX K R PO 1 »< X S A T W VORI VDS W — M7819 module H7004C static filter (EIA) H3271 test connectort BCO06L-0J filter cable (EIA) H317-E distribution panel assembly H325 test connector BCO5W-15 cable Print set (B-TC-DZ11-0-6) DZ11, A, B,and C order number MP00132 Software kit Panel and static filter mounting hardware set Priority insert (5) DZ11 User’s Manual (EK-DZ110-OP-01) M7814 module H7004B static filter (20 mA) BCO8S cable - BC06K-01J filter cable (20 mA) H317-F distribution panel assembly Print set (B-TC-DZ11-0-11)DZ11,C, D, and F order number MP00253 H3190 test connector} > Description AKX Quantity Items Supplied Per Configuration AR Table 2-1 *Shipment contains two of the items listed. tNew item: An H327 will be s.hlppcd with each M7819 unit until the H3271 becomes available. The shipping list will indicate which test connector is supplied. iNew item: The shipping list will include the H3190 test connector when supplied. 2.4.1.2 20 mA Option - For the DZ11-C or DZ11-F option, refer to D-UA-5411974-0-0. Each line has a jumper on the distribution panel (W1 through W16) which should be in if the terminal operates at 300 baud or less. The jumper should be removed for higher baud rates. 2.4.2 M?7819 Module Installation To install the M7819 module, perform the following procedure. 1. Ensure that the priority insert (level 5)is properly seatedin socket E52 on the M7819 module(s). (Refer to drawing D-UA-M7819-0-0.) | Refer to Paragraph 3.1.1 for descriptions of the address assignments. Set the switches at E81 so that the module will respond to its assigned address. When a switchis closed (on), a binary 1 is decoded. When a switchis open (off), a binary 0 is decoded. Note that the switch labeled 1 corresponds to bit 3, 2 corresponds to bit 4, etc. (See Figure 2-1.) | A12 A1l A10 A9 A8 A7 A6 A5 A4 A3 10 9 8 7 6 5 4 3 2 1 N | OFF | NOTE: % Address 160000 - A12 through A3, OFF 160010 - A12 through A4, OFF; 177770 - A12 through A3, ON A3, ON (OFF= LOGICAL @, ON=LOGICAL 1) MSB 51| 13|12|1n|lwo|o|8|7]|6|5]|a|s|2]:1 * l N y 1 SWITCHES o X | x | x l ) N 6 OR 7 . P 2 TO7 (DZ11 REGISTERS) 11-4563 Figure 2-1 3. M7819 Address Selection Vector selection is accomplished by the 8-position switch at E11. Switch positions 1 and 8 are not used. Switch position 2 corresponds to vector bit 3, 3 corresponds to vector bit 4, etc. When a switch is closed (on), a binary 0 is decoded. When a switch is open (off), a binary 1is decoded. Note that this is opposite of the address switch decoding. (See F igure 2-2.) - v8 V7 V6 V5 va v3 - 8 7 6 5 4 3 2 1 | > | ON | OFF | ON | " | | E11 OFF NOTE: " ON = LOGICAL 0 OFF = LOGICAL 1 VECTOR V8 V7 V6 V5 V4 V3 310 ON OFF OFF ON ON OFF OFF OFF OFF OFF 300 770 ON OFF OFF OFF ON ON ON OFF 11-5314 Figure 2-2 M?7819 Vector Selection 2-3 4. If the DZI11 is supplied with the H3271 test connector, perform step 4. If the H327 test connector is supplied, go to step 5. a. - Insert the module(s) into an SPC slot and connect the flat shielded cable (BCOSW-15), ribbed side up, to J1 on the module(s). Connect the other end of the cable, ribbed side up, to the H3271.* CAUTION Insert and remove modules slowly and carefully to avoid snagging module components on the card guides and changing switch settings inadvertently. b. c. d. Run the DZI11 diagnostic in staggered mode to verify module operation. Refer to MAINDEC-11-DZDZA, the diagnostic listing. Run at least two passes without error. Remove the BCO5SW-15 cable(s) from the H3271 and install the cable(s) (with smooth side up) to the static filter socket(s) on the back of the H317-E distribution panel. Refer to D-UA-DZI11-0-0 and Figure 2-3. Proceed to step 8. 5. Install the H327 test connector in J1 (the cable connector at the top of the M7819) and align arrows for proper connection. 6. Insert the M7819in its SPC slot and run the DZ11 diagnosticin the staggered mode to verify module operation. Refer to MAINDEC-11-DZDZA, the dxagnostlc listing for the correct procedure. Run at least two passes without error. CAUTION Insert and remove modules slowly and carefully to avoid snagging module components on the card guides and changing switch settings inadvertently. 7. Replace the H327 test connector with the BCOSW-15 cable and observe the same caution as in step 6. Install the other end of the cable at the static filter socket on the back of the distribution panel. Refer to Figure 2-3 and D-UA-DZ11-0-0. 8. Connect the H325 (or H315) test connector on the first line and run the diagnostics in external mode. The test connector may be installed on the H317-E distribution panel or on the end of a BCO5D cable. Repeat this step for each line. 9. Run DEC/XI11 system exerciser to verify the absence of Unibus interference with other system devices. *The H3271 has connections for two H7819 cables. STATIC y FILTER SOCKET SMOOTH SIDE BCOSW-15 CABLE OR BCO8S-15 CABLE RIB SIDE (0\ C] OUTPUT BOARD 11-4327 Figure 2-3 10. BCO05W-15 and BC08S-15 Interconnection The DZ11 is now ready for connection to external equipment. If the connection is to a local terminal, a null modem cable must be used. Use the BCO3M or BCO3P null modem cables for connection between the distribution panel and the terminal. The H312-A null modem unit may also be used with two BCOSD EIA cables (one on each side of the null modem unit). If connection is to a Bell 103 or equivalent modem, a BCO5D cable is required between the distribution panel and the modem. All of the cables mentioned must be ordered separately as they are not components of a standard DZ11 shipment. When possible, run the diagnostic in echo test mode to verify the cable connections and the terminal equipment . 2-5 2.4.3 M7814 Module Installation To install the M7814 module, perform the following procedure. 1. Ensure that the priority insert (level 5) is properly seatedin socket E41. Refer to D-UAM 7814-0-0. 2. Refer to Paragraph 3.1.1 for a description of address assignments. Set the switches at E72 so that the module will respond to its assigned address. When a switch is closed (on), a binary 1 is decoded. When a switch is open (off), a binary 0 is decoded. Note that the switch labeled 1 corresponds to bit 3, 2 to bit 4, etc. (See Figure 2-4.) A12 A1l A0 AS A8 A7 A6 A5 A4 A3 10 9 8 7 6 5 4 3 2 1 ON I OFF T T e B A NOTE: Address 160000 - A12 through A3, OF F 160010 - A12 through A4, OFF; A3, ON 177770 - A12 through A3, ON (OFF:=LOGICAL @, ON=LOGICAL 1) MSB LSB 15 14 13 1 1 1 1 12 1 10 t 9 8 7 6 5 4 SWITCHES 3 > 6 OR 7 2 1 ? X X X @ TO07 (DZ11 REGISTERS) 11-4562 Figure 2-4 M7814 Address Selection 3. Vector selection is accomplished by an 8-position switch at E81 on the module(s). When a - decoded. Note that this is the opposite of the address switch decoding. Also, note that switch positions 7 and 8 are not used and switch 6 corresponds to bit 3, 5 to bit 4, etc. (Refer to switch is closed (on), a binary 0 is decoded. When a switch is open (off), a binary 1 is F:gure 2-5.) CAUTION Insert and remove modules slowly and carefully to avoid snagging module components on the card guides and changing switch settings inadvertently. 2-6 - - v3 va V5 Ve v? v8 8 7 6 3 4 .3 2 1 ON OFF | 1 ON - OFF NOTE: ON = LOGICAL O OFF = LOGICAL 1 VECTOR V8 Vi V6 Vb V4 300 ON OFF OFF ON ON 310 ON OFF OFF ON ON OFF 7:70 OFF OFF OFF OFF OFF OFF V3 ON 11-5140 Figure 2-5 M7814 Vector Selection Insert module(s) into their assigned SPC slot(s). Connect the BCO8S cable, with ribbed side up, to J1 on the module(s). | Skip this step if you have an H3190 test connector; otherwise perform the following. a. Connect the other end of the BCO8S cable to the static filter on the back of the distribution panel (H317-F) with smooth side up. Refer to Figure 2-3 and D-UA-DZ11-0-0. b. Run the DZI1 diagnostic in internal (maintenance) mode for two error-free passes. Refer to MAINDEC-11-DZDZA, the diagnostic listing, for the proper procedure. c. Proceed to step 9. Connect the other end of the BCO8S cable, with smooth side up, to the H3190 test connector. Run the DZ11 diagnostic in staggered mode for two error-free passes.. Refer to MAINDEC11-DZDZA, the diagnostic listing, for the correct procedure. Remove the BCO8S cable from the H3190 test connector and plug it into the static filter socket on the back of the distribution panel (H317-F) with smooth side up. Refer to Figure ~2-3 and D-UA-DZ11-0-0. | | | Run the DEC/X11 system exerciser to verify the absence of Unibus interference with other system devices. | 2-7 10. The DZ11 is now ready for connection to passive external equipment. This is accomplished with a customer-supplied cable. Most DIGITAL terminals use a BCO4R cable as shown in Figure 2-6. Table 2-2 shows terminal connections for connecting VTO05, LA30, or LA36 to DZ11. Run an echo test to verify terminal connections. NOTE For customer terminals that can only transmit or receive in a single direction, the echo test cannot be run. If the DZ11 is to be connected to an active device, a pair of H319s are required. Refer to Appendix A for details on this connection. 11-2700 Figure 2-6 Table 2-2 BCO04R Cable DZ11 to Terminal Wiring (Using _BC04R‘Cable) ’ VTO0S5 Wiring Mate-N-Lok 5 2 3 7 VTO05 Signal | | " Terminal +RCV Terminal —RCV Terminal —XMIT Terminal + XMIT 2-8 - Color Black White Green Red - D711 Terminal No. 4 (XMIT++) 3(XMIT-) 2 (REC-) 1 (RECH) Table 2-2 DZ11 to Terminal Wiring (Using BCO4R Cable) (Cont) LA30, LA36 Wiring Mate-N-Lok 5 2 3 7 'LA30,LA36 DZ11 Signal Color Terminal No. Terminal +XMIT Terminal —XMIT Terminal —REC Terminal +REC Black White Green Red 1 (REC+) 2(REC—-) 3(XMIT-) 4 (XMIT+) - NOTE Terminal RCYV is connected to DZ11 XMIT. Terminal XMIT is connected to DZ11 RCYV. Polarity should always be + to + and — to — for both XMIT and RCV, In addition, post 1 is located at the top of the terminal block on the distribution panel and goes in sequence to post 4 at the bottom of the terminal block. CHAPTER 3 'PROGRAMMING 3.1 INTRODUCTION ‘This chapter provides basic information for programming the DZ11. A description of each DZ11 register, its format, programming constraints, and bit functions are presented to aid programming and maintenance efforts. Special programming features are also presented in this chapter. 3.1.1. Device and Vector Address Assignments W | The DZ11’s device and vector addresses are selected from the floating vector and device address space. NOTE The device floating address space is 160010, to 163776,. The vector floating address space is 300, to 776s. Its floating address space follows the DJ11, DH11, DQI L, DU11, DUPI11, LK11, and DMC11. Its floating vector space follows the DC11; KL11/DL11-A, -B; DP11, DM11-A; DN11; DM11-BB and other modem control vectors; DR11-A; DR11-C; PA611 reader, PA611 punch; DT11; DXI1; DL11-C, -D, -E; DJ11; DH11; GT40; LPS11; DQ11; KW11-W; DUI11; DUPI1; DV11; LK11-A; DWUN; and DMCI1. If a DZ11 is installed in a system with any of the above listed options, then its assigned vector and device address should follow the vector and device address of the other options. Two examples follow. Fimt, the simplest case where there is only one DZ11. Option Address GAP GAP GAP GAP GAP GAP GAP DZ11 GAP 160010 160020 160030 160040 160050 160060 160070 160100 160110 Vector 300 Comment No DJl1l1s NoDHlls NoDQll1s No DUlls No DUPI11s No LKl1l1s No DMCl1s No more DZ11s 3-1 Next, a System with one DJ11, one DH11, one GT40, one KW11-W, and two DZ11s. Option DJ11 GAP GAP n | DHI11 | Address Vector 160010 160020 160030 300 160040 310 160050 GAP 160060 GT40 KWI11-W | | GAP GAP GAP GAP GAP DZ11 160070 160100 160110 160120 160130 160140 GAP 160160 DZ11 3.2 Comment | No more DJ11s | DH11 must start on an address boundary that is a multiple of 20. No more DH11s 320 GT40 address is not in the floating address space. 330 160150 v | 340 350 | S - KW11-W address is not in the floating address space. NoDQlls NoDUlls No DUPl1s No LKl1ls No DMClls | No more DZ11s REGISTER BIT ASSIGNMENTS A comprehensive pictorial of all register bit assignments is shown in Figure 3-1. The four device registers (DRO, DR2, DR4, and DR6) are subdivided to form six unique registers. This subdivision is accomplished in DR2 and DR6 by assigning read-only (RO) or write-only (WO) status to each register. Since the reading and writing of DR2 and DR6 accesses two registers, PDP-11 processor instructions that perform a read-modify-write (DATIP) bus cycle cannot be used with DR2 or DR6. Also, DR2 permits only word instructions, but either byte or word instructions may be used with DR6. DRO and DR4 have no programming constraints. In all register operations, the following applies: read-only bits are not affected by an attempt to write, and write-only and *“‘not-used” bits appear as a binary 0 if a read operation is performed. Specific programming constraints for each register are discussed in the following paragraphs. A description of each bit function is presented in Tables 3-1 through 3-3. 3.2.1 Control and Status Register (CSR) The control and status register (CSR) contains the states of flags and enable bits for scanning, processor interrupts, clearing, and maintenance. The 16-bit CSR has no programming constraints. The format is depicted in Figure 3-1, and bit functions are described in Table 3-1. Write-only and *“not-used” bits are read as zeros by the Unibus, and read-only bits are not affected by write attempts. «*'V'MMMW"\‘!‘J,, BYTES MSB | HIGH g LOW 15 14 13 12 RO RW RO RW 1 09 08 07 RO RO RO JRO 14 (CSR) 04 03 RW RW RW 02 N RECEIVER RO _|RO_|RO _JRORO RO(RO __| RO RX RX BUFFER LINE | LINE | LINE = C RX B 01 00 S NS | RO_IRO |RO__ | A A JRBUF | RBUF | RBUF | RBUF RBUF RBUF | RBUF| RBUF wo wo wo wo D7 D6 D5 D4 D3 D2 D1 DO . wo wo WO LINE wo ODD | PAR PARAMETER FREQ | FREQ | FREQ (LPR) c B WO WO wo | STOP | CHAR CHAR | ENAB | CODE | LGTH LGTH LINE | LINE | LINE JLINE | LINE | LINE | LINE LINE JENAB|ENAB |ENAB | ENAB | ENAB LINE | LINE | LINE ENAB | ENAB | ENAB JPAR A B A c B A TRANSMIT * CONTROL (TCR) DTR 7 | DTR | 6 DTR 5 'DTR 4 DTR 3 | DTR | DTR | DTR 2 1 0 , RO mooem* < DR6 05 A , (RBUF) DR4 LSB 06 CONTROL T T Mé“m I ....,...-......._...,...._._.__...____,________é_ ‘o“ m; } &STATUS | TRDY | TIE | SA SAE | T/& |TUNE| TLINE |TUNE feponel RiE | mse | ctr | wat | /&S | /9| /& | N] C B DRO DR2 < 10 RO RO RO [~ I~ T~ ~T1T RO RO RO -T T RO 7 6 5 4 3 2 1 0 RO RO RO RO RO RO RO RO | RI6 | RIS RI 3 RI 2 Ri1 | RIO wo wo wo WO Wo |wo TBUF TBUF | TBUF | TBUF T | STATUS co co co co co co cO |co RI7 (MSR) 7 6 5 4 3 2 1 0 WO wo , f " WO TRANSMIT DATA (TDR) RI 4 wo wo BRK |BRK 7 6 |~ - wo wo | ; |BRK BRK BRK |BRK |BRK |BRK 5 4 3 2 1 0 o WO R Jwo wo B JTBUF | TBUF | TBUF | TBUF 7 6 5 4 3 2 1 0 *The high byte of the TCR (Data Terminal Ready) and the MSR are not used with the 20 mA options. ' 11-6313 Figure 3-1 Register Bit Assignments 3-3 Table 3-1 Bit Title 00-02 Not used 03 - Maintenance (MAINT) CSR Bit Functions Function A read/write bit that, when set, causes the serial output data from the transmitter to be fed back as serial input data to the receiver. All lines are turned around. Cleared by BUS INIT and CLR. Clear (CLR) A read/write bit that fires a one-shot to generate a 15 us reset which clears the receiver silo, all UARTs, and the CSR. After a CLR is issued, the CSR and line parameters must be set again. CLR in progress is indicated by CLR = 1. Modem control registers are not affected, nor are bits 00 through 14 of RBUF. 05 Master Scan Enable A read/write bit that activates the scanner to enable the receiver transmitter and silo. Cleared by CLR and BUS INIT. 06 Receiver Interrupt Enable A read /write bit that enables the receiver interrupt. Cleared by CLR and BUS INIT. 07 Receiver Done (RDONE) A read-only bit (hardware set) that generates RCV INT if bit 06 = 1 and bit 12 = 0. The bit clears when the RBUF is read and resets when another word reaches the output of the silo (RBUF). If bit 06 = 0, RDONE can be used as a flag to indicate that the silo contains a character. If bit 12 = 1, RDONE does not cause interrupts but otherwise acts the same. 08-10 Transmit Line A-C (TLINE) When bit 15 = 1, these three read-only bits indicate the line that is ready to transmit a character. Bit 15 clears when the character is loaded into the transmit buffer, but sets again if another line is ready. A new line number could appear within a minimum of 1.9 us. Bits 08-10 return to line 0 after a CLR or BUS INIT. These bits are meaningful only when bit 15 (TRDY) is true. 11 Not used 12 Silo Alarm Enable (SAE) A read/write bit that enables the silo alarm and prevents RDONE from causing interrupts. If bit 06 = 1, the SAE allows the SA (bit 13) to cause an interrupt after 16 entries in the silo. If bit 06 = 0, the SA can be used as a flag. The bit is cleared by CLR and BUS INIT. =i 3-5 Table 3-1 CSR Bit Functions (Cont) Bit Title Function 13 Silo Alarm (SA) A read-only bit set by the hardware after 16 characters enter the silo. It causes an interrupt if bit 06 = | and is cleared by CLR, BUS INIT, and reading the RBUF. When the silo flag occurs (SA = 1), the silo must be emptied because the flag will not be set again until 16 additional characters enter the silo. 14 Transmitter Interrupt Enable A read/write bit that allows an interrupt if bit 15 15 Transmitter Ready (TRDY) A read-only bit that is set by hardware when a line (TIE) | (TRDY) = 1. number is found that has its transmit buffer empty and its LINE ENAB bit set. It is cleared by CLR, BUS INIT, and by loading the TBUF register. 3.2.2 Receiver Buffer (RBUF) The receiver buffer (RBUF) register contains the received character bits, with line identification, error status, and data validity flag. As one of two registers in DR2 (RBUF and LPR), RBUF is accessed when a read operation is performed (write operation accesses the LPR). The programming constraints for the RBUF register are as follows. 1 Byte instructions cannot be used. 2. It is a read-only register. 3. TST or BIT instructions cannot be used because they cause the loss of a character. The register requires master scan enable (CSR, bit 05) to be set in order to be functional. When this bit is off, bits 00 to 14 of the RBUF become invalid regardless of the state of bit 15 (data valid) and the silo is held empty. The register format of RBUF is depicted in Figure 3-1 and bit functions are described in Table 3-2. Each reading of the RBUF register advances the silo and presents the next character to the program. Bits 00 through 14 do not go to zero after a CLR or BUS INIT; however, they become invalid and the silo is emptied. Bit 15 (data valid) does clear to zero. (See Table 3-2.) 3-6 Table 3-2 RBUF Bit Functions Bit Title Function 00-07 Received Character These bits contain the received character. If the selected code level is less than eight bits wide, the high-order bits are forced to zero. 08-10 Line Number These bits present the line number on which the character was received. 11 Not used 12 Parity Error This bit indicates whether the received bit had a parity error. The parity bit is generated by hardware and does not appear in the RBUF word. 13 Framing Error This bit indicates improper framing (stop bit not a mark) of the received character and can be used for break detection. 14 Overrun This bit indicates receiver buffer overflow. The resultis a received character whichis replaced by another received character before storage in the silo. A characteris lost but the received character put in the silo is valid. 15 Data Valid This bit indicates that the character read from the silo (RBUF) is valid. The RBUF is read until the data valid bit = 0, indicating an invalid character and empty silo. Cleared by CLR and BUS INIT. 3.2.3 Line Parameter Register (LPR) The line parameter register (LPR) is a 16-bit register that sets the parameters (character and stop code lengths, parity, speed, and receiver clock) for each line (Table 3-3). Bits 00-02 select the line for parameter loading. Line parameters for each line must be reloaded after a CLR (bit 04 of CSR) or BUS INIT operation. The programming constramts for the LPR are as follows. > 1. Itis a write-only register. 2. BIS or BIC instructions are not allowed. 3. Byte operations cannot be used. 3-7 Table 3-3 LPR Bit Functions s fiy, Bit Title Function 00-02 Line Number These bits select the line for parameter loading | 03-04 Character Length These bits set the character length for the selected 05 Stop Code 06 Parity line. The parity bit is not part of the character length. 04 03 0 0 1 1 0 1 0 1 5 bits 6 bits 7 bits 8 bits This bit sets the stop code length (0 = 1-unit stop, 1 = 2-unit stop or 1.5-unit stop if a 5-level code is employed). This bit selects the parity option (0 = no parity check, 1 = parity enabled on TRAN and RCV). 07 Odd Parity This bit selects the kind of parity (0 = even parity select, 1 = odd parity select). Bit 06 must be set for this bit to have effect. 08-11 Speed Select | These bits select the TRAN and RCV speed for the line selected by bits 00-02. Refer to Table 3-4 for a list of available baud rates. 12 Receiver On This bit must be set when loading parameters to activate the receiver clock. (Transmitter clock is always on.) A CLR or BUS INIT turns the receiver clock off. 3.2.4 Transmit Control Register (TCR) The transmit control register contains 16 bits for the EIA options (M7819 module) and 8 bits for the 20 mA option (7814 module). The difference is that the data terminal ready (DTR) lines that make up the high byte (bits 08 through 15) of the TCR are not used by the 20 mA options because they do not have modem control capabilities. ”’ The high byte (M7819 only) contains a read/write DTR bit for each line. This byte is cleared by BUS INIT only, not by CLR. When the high byte is not used (M 7814 only), it reads back to the Unibus as all zeros. Attempts to write into it will have no effect. The low byte contains a read/write line enable bit for each line. A set bit allows transmission on the corresponding line. Paragraph 3.3.7 explains how to properly use this bit. This byte is cleared by CLR and BUS INIT. 3-8 - 3.2.5 Modem Status Register (MSR) , This is a 16-bit register used only with the EIA options (M7819 module). The 20 mA options (M7814 module) do not have modem control capabilities. When not used, this register reads all zeros to the Unibus. The MSR consists of two bytes: the low byte (bits 00-07) and the high byte (bits 08-15). The low byte monitors the state of each line’s ring indicator (RI) lead; the high byte monitors the state of each line’s carrier (CO) lead. The MSR is the read-only portion of DR6 and has the following programming characteristics. 1. It is a read-only register. 2. CLR and BUS INIT have no effect. 3. Bit format is shown in Figure 3-1. 3.2.6 Transmit Data Register (TDR) The TDR consists of two 8-bit bytes. The low byte is the transmit buffer (TBUF) and holds the character that is to be transmitted. The high byte is the break register with each line controlled by an individual bit. When a break bit is set, the line associated with that bit starts sending zeros immediately and continuously. The TDR is the write-only portion of DR6 and has the following programming characteristics. | 1. It is a write-only register. 2. BIS or BIC instructions cannot be used. 3. For character lengths less than 8 bits, the character loaded into the TBUF must be right justified because the hardware forces the most significant bits to zero. 4. The break register has no effect when running in the maintenance mode (i.e., CSR bit 03 = 1). 5. It is cleared by CLR and BUS INIT. 6. Bit format is shown in Figure 3-1. 3.3 PROGRAMMING FEATURES The DZ11 has several programming features that allow control of baud rate, character length, stop bits, parity, and interrupts. This section discusses the application of these controls to achieve the desired operating parameters. 3.3.1 Baud Rate The selection of the desired transmission and reception speed is controlled by the conditions of bits 08 through 11 of the LPR. Table 3-4 depicts the required bit configuration for each operating speed. The baud rate for each line is the same for both the transmitter and receiver. The receiver clock is turned on and off by setting and clearing bit 12 in the LPR for the selected line. 3-9 Table 3-4 Bits 11 10 09 08 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 3.3.2 Character Length 3.3.3 Stop Bits 3.3.4 Parity Baud Rate Selection Chart 1 1 | 1 0 1 Baud Rate 50 75 110 134.5 150 300 600 1200 1800 2000 2400 3600 4800 7200 9600 | Not used The selection of one of the four available character lengths is controlled by bits 03 and 04 of the LPR. The bit conditions for bits 04 and 03, respectively, are as follows: 00 (5-level), 01 (6-level), 10 (7-level), and 11 (8-level). For character lengths of 5, 6, and 7, the high-order bits are forced to zero. The length of the stop bits in a serial character string is determined by bit 05 of the LPR. If bit 05 is a zero, the stop length is one unit; bit 05 set to a one selects a 2-unit stop unless the 5-level character length (bits 03 and 04 at zero) is selected, in which case the stop bit length is 1.5 units. The parity option is selected by bit 06 of the LPR. Parity is enabled on transmission and reception by setting bit 06 to a one. Bit 07 of the LPR allows selection of even or odd parity, and bit 06 must be set for bit 07 to be significant. The parity bit is generated and checked by hardware, and does not appear in the RBUF or TBUF. The parity error (bit 12, RBUF) flag is set when the received character has a parity error. 3.3.5 Interrupts The receiver interrupt enable (RIE) and silo alarm enable (SAE) bits in the CSR control the circumstances upon which the DZI11 receiver interrupts the PDP-11 processor. If RIE and SAE are both clear, the DZ11 never interrupts the PDP-11 processor. In this case, the program must periodically check for the availability of data in the silo and empty the silo when data 1s present. If the program operates off a clock, it should check for characters in the silo at least as often as the time it takes for the silo to fill, allowing a safety factor to cover processor response delays and time to empty the silo. The RDONE bit in the CSR will set when a character is available in the silo. The program can periodically check this bit with a TSTB or BIT instruction. When RDONE is set, the program should empty the silo. 3-10 If RIE is set and SAE is clear, the DZ11 will interrupt the PDP-11 processor to the DZ11 receiver vector address when RDONE is set, indicating the presence of a character at the bottom of the silo. The interrupt service routine can obtain the character by performing a MOV instruction from the RBUF. If the program then dismisses the interrupt, the DZ11 will interrupt when another character is available (which may be immediately if additional characters were placed in the silo while the interrupt was being serviced). Alternatively, the interrupt service routine may respond to the interrupt by emptying the silo before dismissing the interrupt. | If RIE and SAE are both set, the DZ11 will interrupt the PDP-11 processor to the DZ11 receiver vector when the silo alarm (SA) bit in the CSR is set. The SA bit will be set when 16 characters have been placed in the silo since the last time the program has accessed the RBUF. Accessing the RBUF will clear the SA bit and the associated counter. The program should follow the procedure described in Paragraph 3.3.6 to empty the silo completely in response to a silo alarm interrupt. This will ensure that any characters placed in the silo while it is being emptied are processed by the program. NOTE | If the program processes only 16 entries in response to each silo alarm interrupt, characters coming in while interrupts are being processed will build up without being counted by the silo alarm circuit and the silo may eventually overflow without the alarm being issued. If the silo alarm interrupt is used, the program will not be interrupted if fewer than 16 characters are received. In order to respond to short messages during periods of moderate activity, the PDP-11 program should periodically empty the silo. The scanning period will depend on the required responsiveness to received characters. While the program is emptying the silo, it should ensure that DZ]1 receiver interrupts are inhibited. This should be done by raising the PDP-11 processor priority. The silo alarm interrupt feature can significantly reduce the PDP-11 processor overhead required by the DZ11 receiver by eliminating the need to enter and exit an interrupt service routine each time a character is received. The transmitter interrupt enable bit (TIE) controls transmitter interrupts to the PDP-11 processor. If enabled, the DZ11 will interrupt the PDP-11 processor to the DZ11 transmitter interrupt vector when the transmitter ready (TRDY) bit in the CSR is set, indicating that the DZ11 is ready to accept a character to be transmitted. | 3.3.6 Emptying the Silo fl | | The program can empty the silo by repeatedly performing MOV instructions from the RBUF temporary storage. Each to MOVinstruction will copy the bottom character in the silo so it will not be lost and will clear out the bottom of the silo, allowing the next character to move down for access by a subsequent MOV instruction. The program can determine when it has emptied the silo by testing the data valid bit in each word moved out of the RBUF. A zero value indicates that the silo has been emptied. The test can be performed conveniently by branching on the condition code following each MOY instruction. A TST or BIT instruction must not access the RBUF because these instructions will cause the next entry in the silo to move down without saving the current bottom character. Furthermore, following a MOV from the RBUF, the next character in the silo will not be available for at least 1 us. Therefore, on fast CPUs, the program must use sufficient instructions or NOPs to ensure that successive MOVs from the RBUF are separated by a minimum of 1 us. This will prevent a false indication of an empty silo. 3-11 a Character Transmitting the control and The program controls the DZ11 transmitter through five registers on the Unibus: status register (CSR), the line parameter register (LPR), the line enable register, the transmitter buffer 3.3.7 (TBUF), and the break register (BRK). speed and character Following DZ11 initialization, the program must use the LPR to specify the bit in the CSR. The (MSE) format for each line to be used and must set the master scan enable the DZ11 transwants it if CSR program should set the transmitter interrupt enable (TIE) bit in the mitter to operate on a program interrupt basis. line. One bit in this 8-bit The line enable register is used to enable and disable transmission on eachusing MOV, MOVB, BIS, by bits clear and set register is associated with each line. The program can and the DTR register enable line the used, are ons BISB, BIC, and BICB instructions. (If word instructi registers on M7819 modules are simultaneously accessed.) line (line The DZ11 transmitter is controlled by a scanner which is constantly looking for an enabled a line, it such finds scanner the When buffer. er enable bit set) which has an empty UART transmitt sets the and CSR the of field (TLINE) number line loads the number of the line into the 3-bit transmit TRDY the clear can program The set. is bit TIE the if " TRDY bit, interrupting the PDP-11 processor bit. enable line the clearing by or TBUF the into line indicated " bit by moving a character for the Clearing the TRDY bit frees the scanner to resume its search for lines needing service. wait for To initiate transmission on an idle line, the program should set the TCR bit for that line and number of the line the scanner to request service on the line, as indicated by the scanner loading thetransmitt into the into TLINE and setting TRDY. The program should then load the character to be of startingedup TBUF by using a MOVB instruction. If interrupts are to be used, a convenient way routine loada line the is to set the TCR bit in the main program and let the normal transmitter interrupt character into the TBUF. NOTE The scanner may find a different line needing service before it finds the line being started up. This will occur if other lines request service before the scanner can find the line being started. The program must always check the TLINE field of the CSR when responding to TRDY to ensure it loads characters for the correct line. Assuming the program services lines as requested by the scanner, the scanner will eventually find the line being started. If several lines require service, the scanner will request service in priority order as determined by line number. Line 7 has the highest priority and line 0 the lowest. ed into To continue transmission on a line, the program should load the next character to be transmitt TRDY. and TLINE the TBUF each time the scanner requests service for the line as indicated by waits for the To terminate transmission on a line, the program loads the last character normally and bit at this enable line the clears program scanner to request an additional character for the line. The time instead of loading the TBUF. 3-12 The normal rest condition of the transmitted data lead for any line is the 1 state. The break register (BRK)is used to apply acontinuous zero signal to the line. One bitin this 8-bit register is associated with each line. The line will remain in this condition as long as the bit remains set. The program should use a MOVB instruction to access the BRK reglster If the program continues to load characters for a line after setting the break bit, transmitter operation will appear normal to the program despite the fact that no characters can be transmltted while the lineis in the continuous zero sending state. The program may use this facility for sending precisely timed zero signals by setting the break bit and using transmit ready interrupts as a timer. It should be remembered that each line in the DZ11 is double buffered. The program must not set the BRK bit too soon or the two data characters preceding the break may not be transmitted. The program must also ensure that the line returns to the 1 state at the end of the zero sending period before transmitting any additional data characters. The following procedure will accomplish this. When the scanner requests service the first time after the program has loaded the last data character, the program should load an all-zero character. When the scanner requests service the second time, the program should set the BRK bit for the line. At the end of the zero sending period, the program should load an all-zero character to be transmitted. When the scanner requests service, indicating this character has begun transmission, the program should clear the BRK bit and load the next data character. 3.3.8 Data Set Control DZ11 models with EIA interfaces include data set control as a standard feature. The program may sense the state of the carrier and ring indicator signals from each data set and may control the state of the data terminal ready signal to each data set. The program uses three 8-bit registers to access the DZ11 data set control logic. One bit in each register is associated with each of the eight lines. There are no hardware interlocks between the data set control logic and the receiver and transmitter logic. Any required coordination should be done under program control. The data terminal ready (DTR) register is a read /write register. Setting or clearing a bit in this register will turn the appropriate DTR signal on or off. The program may access this register with word or byte instructions. (If word instructions are used, the DTR and line enable registers will be simultaneously accessed.) The DTR register is cleared by the INIT signal on the Unibus butis not cleared if the program clears the DZ11 by setting the CLR bit of the CSR. The carrier register (CAR) and ring register (RING) are read-only registers. The program can determine the current state of the carrier signal for a line by examining the appropriate bit of the CAR register. It can determine the current state of the ring signal by examining the appropriate bit of the ring register. The program can examine these registers separately by using MOVB or BITB instructions or can examine them as a single 16-bit register by using MOV or BIT instructions. The DZ1 1 data set control logic does not interrupt the PDP-11 processor when a carrier or ring signal changes state. The program should periodically sample these registers to determine the current status. Sampling at a high rate is not necessary. 3.4 PROGRAMMING EXAMPLES The following six examples are sample programs for the Dle option. These examples are presented only to indicate how the DZ11 can be used. 3-13 Example 1 - Initializing the DZ11 The DZ11 is initialized by a power-up sequence, a reset instruction, or a device clear instruction. Device Clearing the DZ11 001000 001002 001004 001006 001010 001012 001014 012737 000020 160100 032737 000020 160100 001374 START: MOV #0, DZCSR 1$: BIT #20, DZCSR Set bit4 in the ;DZ11 control and ;status register. ;Test bit 4. 'BNE 1$ ;If bit 4 1s still ;set, the branch ;condition is true ;and the device clear ;function is still in ;progress. 001016 :The device clear ;function is complete ;and the DZ11 has been ;cleared. HALT DZCSR = Control and Status Register Address = 160100. Example 2 - Transmit Binary Count Pattern on One Line 001000 001002 012737 000020 001004 160100 001006 001010 001012 001014 001016 032737 000020 160100 001374 012737 001020 001022 001070 160102 001024 012737 START: MOV #0, DZCSR Set bit 4 in the DZ11 15: ‘BIT #20, DZCSR :Testbit4. BNEI1$ ;If bit 4 is still set, ~;the branch condition " :control and status ;register. :1s true and the device :clear function is still ;in progress. - ;Load the parameters :for line 0: 8-bit ~ MOV #n, DZLPR ~;character; 2 stop bits; MOV #1, DZTCR 3-14 - :110 baud ;Enable line 0 ;transmitter. 001026 001030 001032 - 000001 160104 012737 001034 001036 001040 000040 160100 001042 001044 001046 005737 160100 100375 | MOYV #m, DZCSR 005000 CLR RO 2$: TST DZCSR BPL 2§ 001050 001052 001054 001056 110037 160106 105200 100371 INCB RO BPL 2% 001060 000000 HALT MOVB RO, DZTDR ;Set scanner enable bit ;5 in the control and ;status register. ;Set binary count ;pattern to zero. ;Test the transmitter ;ready flag (bit 15). ;If branch condition ;1s false, continue; ;otherwise test again. :Load character to be ;transmitted. ;Increment binary count. ;If branch condition is ;false, the binary count ;pattern is complete. RO = Register 0 = Binary Count Pattern DZCSR = DZI11 Control and Status Register Address = 160100 DZLPR = DZ11 Line Parameter Register Address = 160102 DZTCR = DZI11 Transmit Control Register Address = 160104 DZTDR = DZ11 Transmit Data Register Address = 160106 Example 3 — Transmit a Binary Count in Maintenance Loopback Mode, with the Receiver “On”’ in the Interrupt Mode Output Received Data to Console 001200 005000 CLR RO ;Set binary count 001202 012701 MOV 1400, R1 ;Set R1 to first 001204 001400 001206 001210 001212 001214 001216 012706 001100 012737 001304 000300 MOV #SP, R6 001220 001222 005037 000302 CLR (RVEC+2) 001224 001226 012737 000020 MOV #20, DZCSR MOYV #INT, RVEC ;to zero. ;address of data :buffer. ;Initialize stack ;pointer. ;Set DZ11 vector ;address to start of ;receiver interrupt ;routine. ;Set up processor ;status word for DZ11 ;receiver interrupt. ;Set bit 4 in the ;DZ11 control and ;status register. 315 001230 001232 001234 001236 001240 160100 032737 000020 160100 001374 1%: BIT #20 DZCSR ;Test bit 4. BNE 1% ;If bit 4 is still :set, the branch ;condition is true ;and the device clear is still in :function ;progress. 001242 001244 001246 012737 011070 160102 MOV #PAR, DZLPR 001250 012737 MOV #1, DZTCR 001252 001254 001256 001260 001262 000001 160104 012737 000150 160100 MOV #150, DZCSR 001264 001266 001270 005737 160100 100375 001272 001274 001276 001300 110037 160106 105200 001371 INCB RO BNE 2% 001302 000777 BR. 28: TST DZCSR BPL 2% MOVB RO, DZTBUF 3-16 ;Load the parameters -for line 0: 8-bit :character; 2 stop bits; :110 baud; no ;parity; receiver on. :Enable line 0 stransmitter. ‘Turn scanner on, :enable receiver ;interrupts, and loop :lines back on themselves. ‘Test the transmitter ;ready flag. :If branch condition is -false, continue; ;otherwise test again. :Load character to be ;transmitted. :Increment binary count. :If branch condition is ;false, the binary count ;pattern is complete. :Wait for last character -transmitted to be :received. Receiver Interrupt Service Routine ;Store received ;character in memory 001304 001306 013711 160102 MOV DZRBUF, (R1) 001310 001312 001314 022721 100377 001401 CMP #100377, (RD+ BEQ .+2 001316 001320 001322 000002 012701 001400 RTI MOV #1400, R1 001324 001326 001330 105737 177564 100375 001332 001334 001336 001340 001342 111137 177566 022721 100377 001370 CMP #100377, (RD+ BNE 3% stransfer character :to console. :Check for last :character. :Not finished if 001344 000000 HALT :finished. 33: TSTB TPS BPL 3% MOVB (R1), TPB RVEC = DZ11 Receiver Interrupt Vector Address DZCSR = DZ11 Control and Status Word Address DZLPR = DZI11 Line Parameter Register (Write-Only) Address DZTCR = DZ11 Transmit Control Register Address DZTBUF = DZ11 Transmit Buffer Address DZRBUF = DZ11 Receiver Buffer Address (Read-Only Register) TPS = Teletype® Punch Status Register Address TPB = Teletype Punch Data Register Address ®Teletype is a registered trademark of Teletype Corporation. 3-17 :table. ;:Check for last ;character. :Branch condition is :true when last :transmitted character ;1s received. :Exit routine. ;Initialize pointer ;to start of received ;:data buffer in memory. :Test to see if console ;is ready. :Wait, and test again. -If condition is met, :condition is true. Example 4 - Transmit and receive in Maintenance Mode on a Single Line The switch register bits (SWR00-SWRO07) hold the desired data pattern (character). 001000 001002 012737 000002 001004 001006 001010 160104 012737 017471 001012 160102 START: MOV #LINE, DZTCR :Select the line for ;transmitting on. MOV #PAR, DZLPR ;Choose one of eight. ;Line #1 selected. ;Select desired line ;parameters for ;transmitting line :and turn on receiver .for that line. ;8-level code, 2 stop ;bits, and no parity ;selected. :19.2K baud selected :Note: 19.2K baud is ;not used by the ;customer but can be ;used for diagnostic ;purposes to speed up ;the transmit-receive ;loop to make it easier 001014 001016 001020 001022 001024 001026 012737 000050 160100 005737 160100 100375 001030 001032 001034 001036 113737 177570 160106 000240 001040 012701 177670 ;to scope. MOV #N, DZCSR Test 1: TST DZCSR BPL Test2 MOVB SWR, DZTBUFF NOP MOV #DEL, R1 3-18 ;Start scanner and set ;maintenance bit 3. :Test for bit 15 ;(transmitter ready). :If the branch condition ;is false, the transmitter ;1s ready; if true, go ;back and test again. ;Load the transmit ~:character from the ;switch register. ;INo operation. This ;location can be changed :to a branch instruction ;if only test 1 is ;desired (replace 000240 ;with 000771). ;Delay equals a :constant that will ;allow enough time for ;the receiver done ;flag to set before ;recycling the test. ;The value will change :with baud rate and ;processor. The ;constant given is ;good for 19.2K baud ;ona PDP-11/05. 001042 001044 001046 105737 160100 100402 001050 001052 001373 001054 001056 013700 160102 001060 000760 Test 2: TSTB DZCSR BMI 1% 005201 INCRI1 BNE TEST 2 1%: MOV DZRBUF, R0 BR TEST 1 ;Test bit 2 (receiver ;done flag). ;When the branch ;condition is true, ;the receiver done ;flag is set. ;Increment delay. ;If the branch ;condition is true, the ;delay is not finished. ;Read the DZ11 ;receiver buffer to ;register 0. ;Loop back and ;test again. Example S - Transmit and Receive on a Single Line Using Silo Alarm in Maintenance Mode 001200 001202 001204 001206 001210 001212 001214 012706 001100 012737 001274 000304 005037 000306 001216 001220 012700 001304 MOV #DBUF, RO 001222 012737 MOV #1, DZTCR 001224 001226 001230 001232 001234 001236 001240 001242 000001 160104 012737 017470 160102 012737 050050 160100 001244 001246 001250 001252 032737 020000 160100 001774 1$: 001254 001256 001260 001262 013720 160102 000240 000240 28: MOV #1100, R6 MOV #3838, TVEC CLR TVEC+2 ;Initialize stack ;pointer. ;Initialize transmitter ;vector address. ;Initialize transmitter ;vector processor status MOV #17470, DZLPR MOV #50050, DZCSR BIT #20000, DZCSR BEQ 1% MOV DZRBUF, (RO)+ NOP NOP ;word. ;Set first address of ;input data table ;into RO. ;Enable line 0 ;transmitter. ;Set up line parameters ;and turn on the receiver :clock for line 0. ;Enable transmitter ;interrupt and silo ;alarm. Turn on ;scanner and maintenance ;mode. ;Test for silo alarm ;Loop until silo alarm ;flag sets. ;Read DZ11 silo ;receiver buffer output. ;Delay to allow next ;word 1n silo to filter ;down to the silo ;output. 3-19 - 001264 100773 001266 001270 012700 001304 001272 000764 BMI 2% :Data valid set says MOV #DBUF, RO -Silo has been emptied. -that word is good, :go back for more. :Reinitialize data -table address pointer. Do it again. BR 1% Transmitter Interrupt Service Routine 001274 001276 001300 001302 112737 000252 160106 000002 3% MOVB DAT, DZTBUF ‘Transmit :character 252 RTI Data Table 1304 1306 100252 100252 ;Word 1 : 1340 1342 100252 000252 ;Word 16 ;Data valid :not set :.character is ;:invalid NOTE It is possible to get more than 16 words because they are being put into the silo simultaneously with the 3-20 Example 6 - Echo Test on a Single Line (Transmit Received Data) - 001000 012737 001002 011073 001004 160102 001006 001010 001012 001014 001016 001020 001022 001024 001026 012737 000010 160104 012737 000040 160100 105737 160100 100375 001030 001032 001034 005737 160100 100375 001036 001040 001042 001044 013700 160102 110037 160106 001046 000765 START MOV #PAR, DZLPR MOV #LINE, DZTCR 1$: MOV #n, DZCSR ;Turn scanner on ;(set CSR-5) TSTB DZCSR ;Test (bit 7) for BPL 1% 2%: ;Load line parameters ;for line being used. :Line 3, 8-bit ;character, 2 stop ;bits, no parity, :110 baud, and receiver :clock on. ;Turn line 3 ;transmitter on. TST DZCSR BPL 2% MOV RBUF, RO MOVB RO, DZTDR BR 1§ 3-21 ;RDONE ;If bit 7 is not set, ;g0 back and test again. ;Test (bit 15) for ‘TRDY If bit 15 is not set ;20 back and test again. :Read received data ;word into RO ;Load character ;into DZ11 TBUF ;register for ;transmitting. ;Repeat. A g o R o R APPENDIX A DZ11 (M7814) TO AN ACTIVE DEVICE INSTALLATION receivers must be used. er active device, two H319 current loop When a 20 mA DZ11 is used with anoth DZ11 is used with another the connections involved when the Figure A-1 provides an exampleer ofDZ11. A schematic of the H319 is shown in Figure A-2. active device, in this case anoth uBn uAn DZ11 DZ11 H317F DISTRIBUTION PANEL ‘ H317F DISTRIBUTION PANEL @ GREEN 1 @ | REC - DZ11 8" (©: n - @ DZ11 "A” REC pz11 A" xmiT- |@D DZ11 “A” XMIT + Z H319 INPUT 3 \ —u a 1 . XMIT + DZ11 “B" e H319 | | || 10 FT.CABLE SUPPLIED WITH | H319 OUTPUT XMIT - DZ11 “B" N H319 ( / | BCO4R-XX CABLE U | w3 @ R o1 N 11-5639 SHOULD HAVE THE NOTE: THE CABLE ATTACHED TO THE H319 CONNECTOR REMOVED AND RING LUGS ATTACHED TO THE RED AND GREEN LEADS AS SHOWN. THE BLACK AND WHITE LEADS IN THE H319 CABLE AND BCO4R CABLE ARE NOT USED. Figure A-1 DZ11 (M7814) to Active Device Connection BLK o I.‘{«r WHT h— AL, GRN « < < M‘O-h S8 x (.& o 0 QU @9» S SN .-Di'i TL ~- Nl 5 D4 . ?z.‘w - | h4 Q2 Q2132 [4 O R2 30K D664 D664 D2 RL ~ - RED Sl 11-5640 Figure A-2 H319 Current Loop Receiver Schematic Diagram Reader’s Comments DZ11 USER’S GUIDE EK-DZ110-UG-002 Your comments and suggestions will help us in our continuous effort to improve the quality and usefulness of our publications. What is your géneral reaction to this manual? In your judgment is it complete, accurate, well organized, well written, etc.? Is it easy to use? What features are most useful? What faults do you find with the manual? Does this manual satisfy the need you think it was intended to satisfy? Does it satisfy your needs? _ - — Why? _ Would you please indicate any factual errors you have found. Please describe your position. . Name Street City — — - , — Organization . ________ _— - State , Department Zip or Country —— —— Do Not Tear - Fold Here and Staple — — v L0 R FIRST CLASS PERMIT NO. 33 MAYNARD, MASS. BUSINESS REPLY MAIL NO POSTAGE STAMP NECESSARY IF MAILED IN THE UNITED STATES Postage will be paid by: e I I N e Digital Equipment Corporation Technical Documentation Department Maynard, Massachusetts 01754 I S R A
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies