Digital PDFs
Documents
Guest
Register
Log In
EK-DZ110-OP-PR1
2000
92 pages
Original
25MB
view
download
OCR Version
15MB
view
download
Document:
DZ11 User's Manual
Order Number:
EK-DZ110-OP
Revision:
PR1
Pages:
92
Original Filename:
OCR Text
7 "~ DZ11 user’'s manual dlifglit[al1 EK-DZ110-OP-PR1 Dz11 user's manual digital equipment corporation - maynard, massachusetts Preliminary Edition, March 1977 Revised Preliminary Edition, June 1977 Copyright © 1977 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 respon- sibility for any errors which may appear in this manual. Printed in U.S.A. The following are trademarks of Digital Equipment Corporation, Maynard, Massachusetts: DEC DECtape DECCOMM DECUS DECsystem-10 ~ DIGITAL DECSYSTEM-20 MASSBUS PDP RSTS TYPESET-8 TYPESET-11 UNIBUS 6 /77-38 CONTENTS Page CHAPTER 1 GENERAL DESCRIPTION INTRODUCTION PHYSICAL DZ11 DESCRIPTION Configurations FUNCTIONAL 1-23 DESCRIPTION PDP-11 Unibus Control Logic Line 1-13 SPECIFICATIONS GENERAL 1-23 Interface 1-23 1-25 Interface INSTALLATION SCOPE CONFIGURATION DIFFERENCES UNPACKING INSPECTION AND INSTALLATION CHAPTER 3 PROCEDURE PROGRAMMING INTRODUCTION Device and REGISTER Control Receiver Line Vector BIT and Address Assignments ASSIGNMENTS Status Buffer Register (CSR) (RBUF) Parameter Register iii (LPR) CONTENTS (Cont) Page Transmit Modem Control Status Transmit Baud (TCR) (MSR) Register (TDR) FEATURES Length Bits Patity Interrupts Emptying the Silo Transmitting a Character Data Set Control PROGRAMMING EXAMPLES ILLUSTRATIONS Figure No. Title 1=1 DZ11 System 1-2 DZ11 EIA Panel DZ11 Panel Applications Module (H317-E), 20 mA (M7819), and Module (H317-F) and iv Distribution Cable (BCO05W~15) (M7814), Cable 3=-15 3-15 Rate Character Stop Register Data PROGRAMMING Register Distribution (BC08S-15) 3-16 (Cont) ILLUSTRATIONS Figure Title No. Interconnections Hardware DZ11 Turnaround H327 H3271 or H3190 Staggered Test Connectors, Turnaround Line H327 and H325 General Functional Block Diagrém M7819 Address M7819 Vector Selection Selection Interconnection BCO5W-15 M7814 Address Selection M7814 Vector Bit Register Selection Assignments TABLES Table Title No. Configurations DZ11 Model DZ11 Performance Items Supplied CSR RBUF Bit Parameters Per Configuration Functions Bit 3-11 Functions LPR Bit Functions Baud Rate Selection 3-13 Chart 3-18 CHAPTER GENERAL 1.1 1 DESCRIPTION INTRODUCTION The D711 is an asynchronous multiplexer that provides an interface between a PDP-11 processor and eight (8) asynchronous serial lines. It can be used with PDP-11 systems in a varilety 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 ETIA RS232C interfaces or 20 mA current loop signaling. Remote operation using the public switched telephone network is possible et with DZ11 models offering EIA RS232C interfaces. Enough data-s 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 depilcts several of the possible applications for the DZ11 1n a PDP-11 system. *The DZ11 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. The DZ11 has parameters bits for several such as each features baud line, data set control, detection, silo SPC slots, and Each DZ11 module serial lines. a sixteen be used with (EIA or This fact 20 line the length, for baud rate, received control number of each Additional for line, features break data, operation module of stop and include generation module Also system to panel, note consists of interfaces distribution panel. a parity flexible plug-in limited and to hex turnaround. output) allows of provides line even receiver buffering one mA or provide character interrupts. zero Since (16) rate, odd transmitter-receiver that that of mix eight to two the EIA and these (2) two different (8) channels DZ11 mA by with modules versions module 20 asynchronous and of can the panel using DZ11 types. multiple DZ11s. 1.2 PHYSICAL The DZ11 and a (8-line 5.25-inch, ribbon the DESCRIPTION cable. configuration) unpowered Several distribution panel comprises distribution types of and the a single panel, interconnecting modem or hex SPC connected cables terminal, module by are a 15-foot used depending on between the device. A 16-1line configuration uses two modules and a single distribution cables, The and panel connected distribution subsequent paragraphs by panel two are present ribbon shown a cables. in detailed Figures The DZ11 1-2 description modules, and 1-3. of the physical and electricél specifications of the various DZ11 options and configurations. LOCAL o l | DATASET REMOTE TELEPHONE 7~ LINE --——— 4+ — — — — — — DATA SET ol REMOTE TERMINAL | U N B S DZ11 SYSTEM | I DATA SET — . | LOCAL TELEPHONE 4 DATA SET . I [‘f <) TERMINAL . TO - 8 TER- —>b MINALS | a—p MODEMS { < DZ11 SYSTEM N l LBJ S i I PDP-11 COMPUTER \. PDP-11 COMPUTER : A B 11-4332 Figure 1-1 DZ11 System Applications SRR ‘(d-LLEH) NN £-80¢8 2UOT3INAaTInIbTStTgA€T-P12Uu®ed (A-LEH)¢pue=T1T9edD(S1-5S804d) Whos Avax $ Q¢ VYW STNPOW ‘(P18LW) N 1=5 1.2.1 The DZ11 DZ11 can designated and the The DZ11-E and the be by supplied a DZ11-B is suffix options the DZ11-D combination option Configurations of are 20 is The DZ11-B slot 2 or 3 of a different letter (A, are devices mA a DZ11-C configurations and six EIA combination configurations DZ11~A in loop and and shown of a or E, or and a versions. Table The 1-1 DZ11-A control. The DZ11-F shows hardware each modem DZ11-B. The for 1is the the DZ11-C the various various 1-4. an M7819 module any F). with partial required Figure D, DZ11-A DZ11-D. each use DD11-B, a C, output the in B, configurations, system unit that plugs with a into hex SPC slot; howevef, slots in the PDP-11/20 BA11 box cannot be used. The H317-E distribution modules DZ11-E (8 panel lines provides per module), configurations. lines for M7814 the 16 The and modules (20 system). power and be Modems or can DZ11-F mounted terminals are and H317-F DZ11-C mA communication in included from two with the DZ11-A distribution panel configurations, The an is lines connected provides which use distribution panels H960 19-inch to the M7819 and 16 the require no cabinet. H317-E, the EIA panel, by cables'that attach to its 16 DB25P cinch connectors. These cables are not provided by the DZ11 by the customer. interconnections, terminal cable The BC05D-25 and the interconnections. connects from carries the data between terminals the and and and therefore must be bought separately cable BCO3M A is cable the is BCO05W-15, M7819 module control recommended signals H317-F, the 1-6 for recommended 50-conductor for flat to the EIA panel. of all 8 20 lines. mA panel, data set local shielded This conductor Connections are by customer Table 1-1 DZ11 Model Configurations Model Output Module Panel Connector Cable DZ11-A EIA M7819 H317-E H325/*%*H327 BCO5SW DzZ11-B EIA M7819 **H327 BCO5W DZ11-E EIA *M7819 H317-E H325/*%**H327 *BCO5S5W DZ11-C 20 mA M7814 H317-F ***H3190 BC08S DZ11-D 20 mA M7814 ***H3190 BCO08S DZ11~-F 20 mA *M7814 ****H3190 *BCO08S *=qguantity of **=H327 will -= - - H317-F two be replaced by H3271 in later models. Check shipping list to see if there is one. ***=Not supplied there is one. with early models. Check shipping list to see if supplied cables to its 16 control signals of all 8 by a BC08S-15 Two accessory each DZ11-A. panel or signals 40 test The end onto a single and staggers cable the are The (M7814 mA shown be to using A the priority module to Maximum *This see BCO08S if 5 new H3271 becomes M7819 module. shielded an you interrupts available. be as are provided on back to the panel in with distribution data the connected shown and cable. and modem module to one Figure also have a staggered item and the shipping one. plugs item replacing loop connects can The staggers allows to data with H3271) 1-5. The 1-7. new have and insert a connector The distribution ribbon EIA lines options is the *H3271 H3271 modem to strips. and cable modules Figure This establish a The in configuration is line. and cable, level BCO05D module) (H3190). checked the terminal carried H325 into M7819 data connector flat plugs of (two connectors 20 H325 screw) are connectors, the BCOS5W lines conductor, on the (four into at 16 H3190 lines as shown a socket on the The H327 M7819 the Unibus. modules per Unibus. plugs The H327 may directly be into should the in on the H327. 5 list to the level DZ11 connects turnaround M7814 Figure or 1-6. M7814 used until J1 the on the PDP-11 UNIBUS 3¢ DZ11-A l lDZ11-B M7819 l |~ (SPC SLOT) M7819 ( SPC SLOT) < BCO5W-15 —p 8 LINES H317-E | AEEEENEN I I DZ11-C M7814 ( SPC SLOT) I _I I I I 8 LINES {e——— LINES — 16 | ¥ l I' (EIA OUTPUT) | | | I DZ11-D l M7814 (SPC SLOT) < BCO8S-15 — - Ll 1 8 LINES 1 e——— LINES —— NN l l (20mo OUTPUT) 8 LINES l I 16 Lt bbb CABLE 103A OR DATA EQU'VALENT LOCAL SET TO LOCAL TERM!NAL TERM“\]AL TELEPHONE LINES NOTE % Not included with DZ11, must be ordered separately. %% DZI1-E=DZ11-A 11-4333 and DZ11-B DZi1-F= DZ11-C and DZi1-D Figure 1-4 DZ11 Hardware 1-9 Interconnections TRANS @ > REC 1 DTR @ l CO @ ] RI @ REC @ ' &> RT 1 & CO 1 - DTR 1 ‘ & TRANS | NOTE: Lines 2 & 3, 48;50nd 6 & 7 are staggered the same way. 11-4334 Figure 1-~5 H3271 or 1-10 H327 Turnaround 20MA LOOP G 0 AAVAvAf LINE O TRANSMITTER g® ]F 1 LINE RECEIVER ! p3 0 20MA LOOP —0 LINE 1 TRANSMITTER [ LINE O A A A A $ RECEIVER 4 A\ A A 4 A A LINES 2 & 3,4 & 6, AND 6 & 7 ARE STAGGERED THE SAME WAY 11-5141 Figure 1-6 H3190 Staggered 1-11 Line Turnaround Figure 1~7 Test Connectors H327, 1-12 H3190, H3271, and H325 1.3 GENERAL The following and performance Table 1-2 1.3.1 SPECIFICATIONS paragraphs contain specifications lists the electrical, for performance all DZ11 parameters environmental, configurations. of Dz11. Outputs 1.3.1.1 levels Dz11-A, and INDUSTRIES -B, connector and - pinnings ASSOCIATION recommendation -E V.24. AA that (EIA) The Each - to RS232C supported 101) provides conform standard leads (CCITT line Pin by 1 voltage ELECTRONIC and CCITT this option Protective are:* a. Circuit Ground b. Circuit AB (CCITT 102) - Pin 7 Signal Ground C. Circuit BA (CCITT 103) - Pin 2 Transmitted d. Circuit BB (CCITT 104) - Pin 3 Received e. Circuit CD (CCITT 108.2) f. Circuit CE (CCITT 125) - Pin g. Circuit CF (CCITT 109) - Pin Data Data Data Terminal 22 Ring Indicator 8 Carrier Protective Ground - Pin 20 Ready NOTE Signal are Ground connected and together. *Circuit CA (CCITT 105, Request to Send, is connected to circuit cD (DTR) the H325 and RI through a jumper on the distribution panel. or H315 test (cirquits CF connector and CE). to This allows turn around DTR into both CO It also allows control of the Request to Send (RTS) (CA) line for full duplex‘modem data set applications that use the 202 data set. 1-13 1.3.1.2 DzZ11-C, loop for is used a (for each 1.3.2 All passive operation line) in and connection provided). drive -D, lines device. may order be to -F - Each to local are active However, used to allow the line is a terminals a 20 (no mA current data set control and, therefore, can pair of 20 mA receivers active to passive convert DZ11 H319 from to only drive an active device. DZ11s. The DZ11-A, B, C, the DZ11-E and -F Inputs The PDP-11 and D Unibus present present two 1.3.3 Power one unit Typical is the unit loads input load to to the Requirements, for all the Unibus and Unibus. DZ11-A, -B, and -E* Maximum 2.2 2.5 amperes at + 5.0 volts, dc 0.13 0.15 amperes at -15.0 volts, dc 0.1 0.13 amperes at +15.0 volts, dc 1.3.4 Power Typical Requirements, DZ11-C, -D, and -F*% Maximum 2.1 2.3 amperes at + 5.0 volts, dc 0.4 0.42 amperes at -15.0 volts, dc 0.12 0.15 amperes at +15.0 volts, dc *DZ11<E and DZ11~F are twice the 1-14 above given values. 1.3.5 Environmental Class C Requirements Environment Operating - all Dz11s: 5° ¢ to 50° C* Temperature: (41° F to 122° F) Relative Humidity: 10 or with a less maximum of 32° ¢ . minimum (36 o to 95%, wet (90° F) : dewpoint and a of F) Cooling pzZz11-A, ~B, DZ11-E and Heat ~-C, and -D: =-F: Air flow 3 cu. feet/min. Air flow 6 cu. feet/ min. Dissipation DZ11-A and -B: Dz11-E: DZ11-C DZ11-F: and ~-D: 57 Btu/hr 114 Btu/hr 55 Btu/hr 110 BTU/hr : : *Maximum operating temperature 1s reduced 1.8 (1.0O F per 1000 feet) o C per for operation at altitude. 1-15 1000 bulb meters 2 O 1.3.6 The Distortion maximum allowed in a The maximum for 2000 maximum 2.2%. DZ11~-A, to mark" received speed baud is speed All 1.3.7 "space - and distortion 3.8%. baud and All is from have in baud the to space" distortion 40%. allowed other rates ~E "mark character distortion other -B, a received rates allow transmitter less than for character 4%. The 2000 baud is 2%. Interrupts RDONE - Occurs each time a character appears at the silo enter the output. SA - Silo Alarm, silo. Rearmed disables TRDY - Occurs occurs the when transmit by after reading RDONE the 16 characters the silo. This interrupt interrupt. scanner finds a line ready to on. NOTE There 1.3.7.1 Interrupt supplied. The 7 by using the are Level interface proper - no modem Normally, level priority 1-16 can be plug. interrupts. Level 5 modified priority plug to 4, Level 6, 1is or Table Data Parameters DESCRIPTION PARAMETER Operating Performance DZ11 1-2 Mode: Format: Duplex Full (5 1-1/2 one start and serial by bit, Asynchronous, 2 or level codes only), 1, stop bits supplied by the hardware under program control. Character Size: 5, 6, not or Polarities: Order is it may SIGNAL High = 0 CONTROL Low SIGNAL High = Bit, be or odd 1 High = 1 Low = = selectable. program Interface Unibus DATA of or 8 bits - program selectable. (Does include parity bit.) Parity Parity: Bit 7, 0 Low 1 = High 1 = 0 may none, 20 MA Loop EIA Out 1 Low = = MARK Low High 0-5 MA 15-20 MA OFF = = ON Transmission/reception low order bit 1=17 be even. High = 0 = SPACE 0 Low = There first Table 1-2 DZ11 Performance PARAMETER DESCRIPTION Baud 50, Rates: 75, 1800, Breaks: Can Throughput: 21,940 * 110, 2000, be Parameters 134.5, 2400, generated 150, 3600, and x 300, 600, 1200, 4800, 7200, and detected characters/sec (Bits/second (Cont) = No. on each line. * Lines x direction) Bits/Character Example: (9600 x 8 x 2)= = See Example 21,940 characters/sec 7 NOTE 21,940 is Actual throughput other a theoretical factors system 1«18 is such software, 9600. as etc. maximum. dependent type of on CPU, Line Speed: The baud and receiver) 1is the receiver for each off under turned Baud rate on or Rates available Distance: pz11-aA, 15 a in meters a line -E can program for a be Also, individually control. list (See of - feet) cable selectable. line 1-2 transmitter rates). and (50 (both program Table baud -B, BCO5D for or at up to 9600 baud with equivalent. Operation beyond 50 feet does not conform to the RS232C operation distance type of or will cable, can not beyond the DZ11 on speed specifications. possible the of operation absence noise. For these may be error free However, the connected to of and electrical over long excessive Digital communication EIA versions local (and most other beyond feet with satisfactory 1-19 equipment, reasons, terminals 50 However, longer communication the feet. at terminal on guarantee 50 be Reliable depends electrical V.24 often depending environment. cables CCITT terminals of Digital at distances results if the terminal same and computer building, Shielded in twisted a are located modern office pair (Belden 8777 in the environment. or equivalentf is recommended and is used in the BCO3M null modem With cable made such as the following as a a with Belden shielded 8777 or rate/distance guide. purposes cable. This only warranty by chart and is not Digital pairs, equivalent, table is twisted for to may be the used informational be construed Equipment as Corporation of error free operation of the DZ11 at these and speeds distances feet) under all 9600 Baud at circumstances. 90 m (300 300 m (1000 feet) at 4800 Baud 300 m (1000 feet) at 2400 Baud 900 m (3000 feet) at 1200 Baud 1500 m (5000 feet) at 300 Baud 1-20 NOTE the between will terminal and DZ11 two volts. generally limit exceed not difference potential ground The within single a In power service. in noisy electrical should be requirement operation to served building AC operation This must one by cases, OF environments, 20 other mA used. The length of cable that may be used reliably is a function cable resistance, operation. a guide, of The noise, and speed type, following however, error-free electrical there chart is operation under 1-21 no all 1loop of given as guarantee of is circumstances. SPEED (Baud) Belden 8777, AWG, shielded, twisted (shields floating) DEC P/N 9600 150 m (500 4800 300 m (1000 2400 600 m (2000 1200 and below 22 9107723 ft) pairs 22 AWG, inside DEC 4 conductor station P/N 9105856-4 300 m (1000 ft) f£t) 540 m (1800 f£t) ft) 900 m (3000 ft) 1200 m(4000.ft) 1-22 1500 m (5000 ft) wire 1.4 FUNCTIONAL The following operation. that Interface, The the PDP-11 PDP-11 Unibus Control Logic transmit and These DZ11 to and Control Control handle be The scanner based divided on generates used and components: the to of the In from the DZ11 diagram Unibus from the data data to the handles Control the The address data handling function, PDP-11 registers in necessary Unibus. proper load address handling controls Logic. handling, the desired all data wvarious preselected by DZ11 conditioning activates and DZ11 its voltage and its the functions: and logic PDP-11 on function locations. interrupt The and the to to address read Unibus. route The the the interrupt processing between processor. Logic Logic all can data initiates the block of Interface. control. to provides outgoing function 1.4.2 The and basic component three recognizes are description functional Line Unibus data control it signals control the and when incoming the receive general Interface interrupt and three Interface routes a general and performs and Interface recognition Logic, between recognition, a into Unibus Unibus present 1is DZ11 Interface signals 1-8 Control transactions the paragraphs Figure divides 1.4.1 DESCRIPTION provides transmitter into two signals from that and major continuously information the required receiver sections: examines the cause Line data line, 1-23 each timing operations. the line Interface to and flow to control The scanner in Control and the succession, and the or from signals registers. and registers, the Logic it appropriate A\ PDP-11 INTERFACE CONTROL | V REGISTERS e | | LINE INTERFACE > LINES | | ADDRESS SCANNER | nwcoHZ2C DATA I_..__..____.._______. contRoL | 11-4335 Figure 1-8 General Functional 1-24 Block Diagram The scanner comprises a 5.068 MHz oscillator (clodk), a 64-word FIFO receiver control The The generating DZ11 unique buffer, uses and six Device accessible discrete status. Depending on operation. Registers of can be ability read to or loaded as four 16-bit word input and the of capacity. output data, operating registers are to word-only (written), a six depending register allows on the independent registers. Interface important operations are required in the DZ11 and parallel-to-serial (serial data paths). is the DZ11 since (a parallel data path) Unibus other that yields restricted two of the Device Registers conversions and establish DZ11 some are others a store and functions, words; serial-to-parallel lines temporarily write of the most from each having or Line network, a manner read 1.4.3 The in conditioning, their or in bytes use registers, signal accessible operation. clocking Registers registers control the four-phase logic. four monitor Two a and either Conversions data the conversions formats. These located between the PDP-11 local for are terminals or telephone each in the line. DZ11 are performed by independent Universal Asynchronous Receiver-Transmitter integrated circuits. (UART) the Line DZ11 so lines Receiver or Driver, Another component of converts that they correspond to (modem or those terminal). 1=-25 the Line the TTL voltage in the Interface, levels external device in the input 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 D7Z11-B and -D do not have distribution panels. The following list describes the variations: D7Z11-A EIA level conversion with distribution panel (8 lines) D7Z11-B EIA level conversion without distribution panel (8 lines) DZ11-C 20 mA loop conversion with distribution panel (8 lines) ) DZ11-D 20 mA loop conversion without distribution panel (8 lines 2.3 D%Z11-E DZ11-A and Dz11-B (16 lines) D7Z11-F DZz11-C and Dz11-D (16 lines) UNPACKING AND INSPECTION ices. The DZ11 is packaged in accordance with commercial packaging pract st First, remove all packing material and check the equipment again to the the shipping list. Damage Or shortages should be reported shipper immediately, and notification given the DEC representative. s, loose Inspect all parts and carefully inspect the module for crack ins components, and separations in the etched paths. Table 2-1 conta a list of supplied items per configuration. 2.4 The INSTALLATION following module in a Quantity paragraphs PDP-11 Table Items to install Supplied Per B X H3271 Test X Connector** Distribution Test Panel Assembly Ccable X Printset (B-TC-DZ11-0-6) X Printset (B-TC-DZ11-0-10) Software Kit Mounting Hardware Insert User's Module BC08S Cable Distribution Set (EK-DZ11-0P-001) Panel (B-TC-DZ11-0-11) Printset (B-TC-DZ11-0-12) Test contains An H327 becomes two X X X X X X X X x item: Assembly % X X X % X X * X X X X X Connector**=* of will the be available. Check x X items shipped Check listed. with each shipping M7819 list to unit see if one. ***New F X X Printset H3190 D X (5) Manual C X BCO5W=-15 H317-F DZ11 x Connector M7814 item: A X DZ11 the Configuration Module Priority one followed M7819 Panel this be Description H325 **New should system. 2-1 H317~E *Shipment PROCEDURE shipping list 2=2 to see if there is one. until there is 2.4.1 H317 Install the Assembly Distribution H317 Panel Installation Distribution Panel Drawing according to the Unit D-UA-DZ11-0-0. 2.4.1.1 EIA Option - For the DZ11-A or DZi1—E option, check to that ensure all Distribution Panel use future data 202 DTR lead set. jumper The should feature Force Busy and the in in anticipation other than the 103; The Jjumper is also however, labeled DTR Request or 4 to assert both DTR and RTS to if using a connected to the implement the Force Busy function. that normally be the are DTR to pin connects labeled BUSY in Modems for use jumper This now functional. the DZ11 This allows Send. are on jumpers These with modems DZ11 Jjumpers See Drawing E-UA-5411928-0-0 locations. D-CS-5911928-0-1) to (Refer machine-insertable in place. are the of jumpers the of two the jumper the Printset for of of cut software out unless the the modem has to implemented control it. 20 mA Option - For the DZ11-C or DZ11-F option, refer to 2.4.1.2 on the Distribution Panel Each line has a jumper D-UA-5411974-0-0. (W1 through W16) 300 baud or which The less. should jumper be in if the terminal should be removed operates at for higher baud rates. 2.4.2 To M7819 install a. Module Installation the M7819 module, Ensure perform the following: that the Priority Insert (level 5) 1is properly seated in socket E52 on the M7819 module(s). Refer drawing to D-UA-M7819-0-0. 2-3 Refer to Address paragraph 3.1.1 Assignments. Set for descriptions the switches at of the E81 such that the module will respofd to its assigned address. When a switch is closed switch is open the to switch bit 4, (off), labeled etc. selection switch at Switch position E11. corresponds open opposite If you do step g, 1. Insert connect J1 bit 3, #2 corresponds 2-1. by the eight-position not corresponds to vector bit 3, #3 When switch is 1 is the do etc. decoded. decoded. switch new the module flat 4, is address a that are binary the to Note #8 0 the decoded. When and binary otherwise is decoded. #1 a have is position bit not 0 accomplished Switch the 1 corresponds vector a of binary to (on), (off), binary Figure is #2 a a #1 See Vector closed (on), a When Note a H3271 test switch that decoding. used. is this See is Figure connector, go 2-2. to following: (s) into shielded an SPC cable slot and (BCO5W-15) to on the module(s). Connect the other end of the cable to the H3271.%* CAUTION Insert and and remove carefully components on modules slowly to avoid snagging the card guides., module and possibly changing switch settings *The H3271 has room for two H7819 cables. inadvertently. A2 A11 10 9 A T R OFF A10 8 A9 7 A8 AT A6 AS A4 A3 6 5 4 .3 2 1 T R A R B A NOTE: Address 160000 - A12 through A3, OFF 160010 - A12 through A4, OFF; - A12 through A3, ON 177770 MSB | ; 5| 14| 131211 1 1 1 ; |10]| 9| LSB 7|6 8| SWITCHES : F A3, ON |5 |4]| 3|2 1| o X | x | X o ] . 1 ~ - J ~ J 7 2 TO 6 OR 7 (DZ11 REGISTERS) 11-4563 Figure 2-1 M7819 Address Selection - V8 V7 V6 V5 va V3 - 8 7 6 5 a4 3 2 1 ON ON E11 OFF OFF NOTE: _ = OFF ON = ON VECTOR v8 V7 ve V5 Va4 300 ON - - ON ON ON - 310 ON - - ~ ON ON - ’ | Own — ' 770 _ - v3 o M I 11-5314 Figure 2-2 M7819 Vector Selection Run the verify the DZ11 diagnostic module operation. diagnostic without Remove at BE SURE listing. staggered Refer Run at to mode to MAINDEC-11-DZDZA, least two passes error. the it in J18 BCO05W-15 or J20 THAT A cable(s) on the TWIST IS from the H3271 H317-E Distribution PUT THE CABLE. is properly IN and insert Panel. See Figure 2~-3, Go Ensure to step that the h. H327 Test Connector (the cable connector Insert the M7819 in in the staggered to MAINDEC-11-DZDZA, at J1 correct its mode procedure. SPC to the slot verify the Run at top and least run module diagnostic at of two the installed M7819). diagnostic operation. listing passes for Refer the without error. CAUTION Insert and and remove carefully components possibly on modules to avoid the card changing slowly snagging guides, switch module and settings inadvertently. EIA DISTRIBUTION PANEL ES\ BCOSW-15 | CABLE | An'a OUTPUT BOARD 11-4327 Figure 2-3 BCO5W~15 2-5A Interconnection Replace the H327 Test Connector with the BCO5W-15 cable, and observe the same caution as 1n Step f above. Insert the other end of the cable at J18 or J20 of the Distribution panel. BE CERTAIN THAT A TWIST IS MADE IN THE CABLE. Connect the H325 See Figure (or an H315) 2-3. connector to the first line and run the Diagnostics in External mode. for each line. Repeat this step Run DEC/X11 System Exerciser to verify the absence of Unibus interference with other system devices. The DZ11 is now ready for connection to external equipment. If EIA to a terminal, (H317-E), and the connection 1is a null modem cable must be used. The BCO3M, H312-A, or BCO3P null modém cables will suffice for connection between the Distribution panel and the terminal. However, if the H312-A null modem unit is used, two BCO5D EIA cables the null modem unit) (one on each side of are required. If connection 1is to a Bell 103 or equivalent modem, a BCO05D-25 feet cable is required between the Distribution panel'and the modem. All of the cables mentioned must be ordered separately DZ11 to 2.4.3 To a. If terminal echo M7814 install they shipment. the the as test Module the is for that seated in socket Set switch is closed switch is open bit of then a standard the supplied connection cable. mA and EIA perform the following: etc. 3.1.1 to without a a E81 the is Run error. module(s). at binary an 1 0 such of address that address. is is properly When decoded. decoded. to the eight-position When a switch 0 is decoded. When a a binary 1 is decoded. Note that of the When bit 3, is switch decoding. this Also switch #2 at closed (on), open (off), is is the note, opposite that switch #1 and #8 are not used and switch #6 to #5 to bit 4, etc. Refer to Figure 2-5. 3, a Note positions bit a 2-4. binary switch is D-UA-M7814-0-0. corresponds a address E72 assigned #1 5) description binary Figure by (level drawing for‘a its labeled selection to switches (on), See insert Refer (off), Vector on 20 the respond switch 4, customer E41. paragraph will to a priority module the (H317-F), both the assignments. that components mA by Module, Ensure to 20 NOT Installation M7814 Refer are corresponds A2 A1l A10 A9 A8 AT A6 AS A4 A3 10 9 8 7 6 5 4 3 2 1 ON I OFF I e R R B NOTE: Address 160000 - A12 through A3, OFF 160010 - A12 through A4, OFF; 177770 - A12 through A3, ON A3, ON MSB LSB 15 14 13 1 1 1 12 | 11 10 t S 8 7 6 S 4 SWITCHES 3 e 2 1 ) X X X ] - 1 N J & 6 OR 7 J N ©@ TO 7 (DZ11 REGISTERS) 11-4562 Figure 2-4 M7814 Address Selection k" V3 V4 V6 Vb V8 ON ON OFF OFF E81 NOTE: OFF ON = ON © vs V3 V5 V4 300 - ON ON ON ON 310 ON ON ON - VECTOR V7 770 11-5140 2-5 M7814 Vector Selection CAUTION Insert and carefully remove to components possibly modules avoid on the snagging card changing slowly module guides, switch and and settings inadvertently. Connect Insert Skip the module(s) this step otherwise 1. cable to into their you have if the DZ11 SPC slot(s). test connector cable distribution panel (H317-F). other Run assigned BC08S the the module(s). the Connect on the of following: J2 on H3190 the or J1 an do J1 2. BC08S end diagnostic in internal to (Maintenance) mode for two efror free passes. Refer to MAINDEC-11-DZDZA, the 3. Go Connect test Run proper to step the the diagnostic listing, for procedure. 1i. other end of the BC08S cable to the H3190 connector. the error DZ11 free diagnostic diagnostic in passes. Refer to listing, for the staggered for two MAINDEC-11-DZDZA, the correct mode procedure. Remove the and plug BC08S it cable into J1 from or J2 the H3190 test connector on the distribution panel (H317-F) . Run the absence DEC/X11 of system exerciser unibus interference now for to with verify the other system devices. The DZ11 is equipment. supplied echo This cable. test on ready is accomplished When each connection hookup line is without to with a complete any external customer run errors the occuring. NOTE For only customer terminals transmit direction, the or that receive echo test in can can a single not be run. CHAPTER 3 PROGRAMMING 3.1 INTRODUCTION This chapter DZ11. A provides description basic of each programming constraints, programming and are also 3.1.1 The DZ11's floating in and device vector this Vector and and programming register, its format, bit functions are presented efforts. Special programming the to aid features chapter. Address vector device for DZ11 and maintenance presented Device information Assignments addresses address are selected from the space. NOTE The Its floating DUP11; Its LK11; floating address 163776 g The 160010, 3 to address space is address space follows and floating device vector space follows DN11; DM11-BB and DR11-C; PA611 reader, PA611 GT40; vector to the is floating 7768. DJ11; DH11; DQ11; DU11; DMC11. DM11-A; ‘DH11; 3008 space LPS11; DQ11; other the modem punch; KW11-W; 3-1 DC11; control DT11; DU11; KL11/DL11-A, DX11; DUP11; vectors; DL11-C, DV11; B; DP11; DR11-2A: D, E; LK11-A; DJ11; DWUN; and DMC11. above If listed a DZ11 is installed in a system with any of the options, then its assigned vector and device address should follow the vector and device address of the other options. Two examples follow: First, the simplest case where there is only one DZ11: Vector Comment Option Address GAP 160010 No DJ11s GAP 160020 No DH11s GAP 160030 No DQ11s GAP 160040 No DU11s GAP 160050 No DUP11s GAP 160060 No LK11sV GAP 160070 No DMC11s DzZ11 160100 GAP 160110 No more 300 DZ11s a system two DZ11s. Next, and with one DJ11, one DH11, one Option Address Vector DJ11 160010 300 GAP 160020 No GAP 160030 DH11 GT40, KW11-W Comment more DJ11s must address a DH11 one start on boundary multiple of an that is 20. 160040 160050 GAP No 160060 320 GT40 more GT40 DH11s address not is the in fldating address space. 330 KW11-W KW11-W address floating is address GAP 160070 No DQ11s GAP 160100 No DU11s GAP 160110 No DfiP11s GAP 160120 No LK11s GAP 160130 No DMC11s Dz11 160140 340 Dz11 160150 350 GAP 160160 No more DZ11s not in space. the 3.2 A REGISTER BIT ASSIGNMEfiTS comprehensive shown and in Figure DR6) are or and is of instructions be The that and DR2 but either with and DR4 register operations, not affected bits appear Specific by as an a in the is presented following 3.2.1 in Control The control and and enable bits have 0 Status status for each DR6. DR6 word by DR2 a read A only cycle word constraints. In all read-only write-only each bus processor used is of bits and are "not-used"” performed. register description each are discussed bit function 3-3. Register scanning, (DATIP) reading be operation for through register and the may applies: write, read-only PDP-11 instructions DR4, This Since permits is DR2, assigning registers, programming to (DRO, register. two Also, or no paragraphs. and to assignments registers. read-modify-write if 3-1 unique and constraints Tables bit registers DR2 following attempt binary six accesses byte the programming in a or instructions, DRO form DR6 register device status perform with all four to (WO) DR2 used DR6. of accomplished write-only writing cannot 3-1. subdivided subdivision (RO) pictorial (CSR) (CSR) contains processor the states interrupts, of clearing flags and maintenance. The 16-bit CSR has no programming constraints. The format in is Table Unibus, depicted 3-1. and in Figure Write-only read-only and bits 3-1, and bit "not-used" are not functions bits affected read by as write are described zeros to attempts. the (dnay)o9gv¢a|9a|sa|va€aza|ta|oa 4)(4(S49d)1)sav/|N3s/avN3-a9o)gvavn3|avN3gv5og-v a(4SI) oSHlLs]nm¥ul9|o€dLG|ma4)v|T|L£od|/olz”ou6w0]|od8H0o|l¥o0md]Lof1mu90|9mSd0|Gmd0|yTmd|£0T£|20z"NL/0]N/0a0s07 A4S31 o |I|LqfVQ&A[AWS8N3Oev/inLV3)NvonOITHaLwtSYy0f g/&H0a3dDNwsS/Ln0v3au9ind4ova1t0m]ve & Table Bit Title 0-2 Not 3 MAINT CSR 3-1 Bit Function Used A read/write serial to 4 CLR (clear) be fed receiver. Bit is read/write to generate Enable the INT Enable lines by a 15-microsecond CLR in A a progress Silo. reset 14 are of the Receiver Cleared by Cleared by CSR = 1. affected, RBUF. enable that CLR not activates bit and again. by that CLR the set indicated which UARTs, issued, registers around. one-shot all be to CLR. bit read/write interrupt. is is must through read/write to CLR data turned fires parameters A are that line 00 input silo, the transmitter and and bits the INIT receiver control causes BUS After and RCV All CSR. scanner 6 serial the nor Scan as bit a set, from cleared A when data back the Modem Master bit, output clears 5 Functions and the Transmitter BUS INIT. enables the receiver CLR BUS INIT. and Table Bit CSR Bit Functions Title Function RDONE A read only generates bit 12 RBUF = is reaches If bit flag a 0. Line# the output = When bit bits indicate 15 a = but when the can be that'the 12 = another silo silo 1, word (RBUF). used as a contains RDONE these three the line that is sets A new within a minimum 08-10 bit again line does of 1.9 to 15 if (TRDY) ready clears the another could to when transmit line 0 are is is appear microseconds. line bits read-only is into number These 15 Bit loaded return INIT. when the 1, ready. only when character. character BUS clears ianterrupts but otherwise acts same. or 1 and of bit that 06 = RDONE If the bits Used 0, set) if bit resets indicate buffer, Not bit and transmit 11 The character. the (hardware read not cause Tran bit a RCV INT 06 to (Cont) after a CLR meaningful true. The Table Bit Title 12 SAE (Silo 3-1 CSR Bit Functions (Cont) Function Alarm A read/write alarm Enable) allows 06 The to cause entries in the SA (bit = bit 0, bit the is causing from 13) the If silo the 06 16 the 1, bit after enables RDONE If interrupt flag. that and prevents interrupts. SAE bit SA = can cleared be by silo. used CLR an as and a BUS INIT. 13 SA (Silo Alarm) A after 16 causes set bit read-only characters an interrupt hardware the by enter if the bit 06 is cleared by CLR, BUS INIT, the RBUF. When the silo flag (sA = the silo must be 1), because until the 16 flag will additional not silo. = 1 and It and reading occurs emptied be set characters again enter the silo. 14 TIE (Tran Int Enab) A if read/write bit 15 = bit 1 that (TRAN allows Ready) . an interrupt Table Bit Title 15 TRDY 3.2.2 The (Tran receiver with flag. As Ready) line one the constraints Buffer buffer Functions two a line (Cont) a read The which are: 2. It 3. TST or the loss The register set a "Read BIT set. It and by in a is loading by found hardware when that its has empty and its LINE ENAB cleared by CLR, BUS INIT, the TBUF register. (RBUF) register RBUF contains error in is DR2 cannot Only" be the status, (RBUF has received character and data wvalidity and performed register LPR), (write several RBUF 1is operation programming used. register. instructions of set is bit instructions is number buffer operation LPR). bit transmit registers Byte be read-only identification, 1. 4. Bit A (RBUF) of accessed when accesses CSR Function Receiver bits, 3-1 cannot be used as they cause character. requires master order to be scan functional. Enable When (CSR bit this bit 5) is to 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 Figure 3-1 and Each reading presents through , the 14 however, Bit 15 in 3.2.3 do line the parameters and receiver of functions the next RBUF not go become to RBUF are to zero in Table 3-2. advances the silo and the and depicted in after invalid is described register character (Data Valid) program. Bits 00 a BUS INIT; the CLR silo or is emptied. does clear to zero and is expiained 3-2. Parameter The parameter of they Table Line bit format parameter Register register (character clock) loading. for Line (LPR) (LPR) and each is a 16-bit register stop code lengths, line. Bits 00-02 parameters for each parity, select line that must the be sets speed, line for reloaded after é CLR (bit 04 of CSR) or BUS INIT operation. The programming constraints for T. is It 2. BIS 3. Byte the a or LPR write BIC are: only register. instructions operations cannot 3-10 are be not used. allowed. Table Bit 8-10 Line Bit Functions Function Title RCV RBUF 3-2 Character Number These bits If the 8 bits contain selected wide, the the code level to These bits present which the character is character. less than are bits order high forced received zero. the on number line received. was Used 11 Not 12 Parity Error This had bit indicates bit a parity generated is by the whether The error. and hardware received bit parity does not appear in the RBUF word. 13 14 Framing Overrun Error This indicates bit a mark) bit not and can be This bit used character which is character a character, buffer received replaced by before (stop detection. receiver is framing received break result The 3-11 the for indicates overflow. received of improper another storage in the Table Bit Title 3-2 RBUF Bit Functions (Cont) Function silo. A character received is lost character put indicates that in but the the silo is valid. 15 Data Valid This bit read from The RBUF the is silo read the (RBUF) until the character is DV valid. bit = 0, indicating an invalid character and empty BUS silo. INIT. 3=-12 Bit is cleared by CLR and Table 3-3 Functions LPR Bit Bit Title Function 0=-2 Line Number These bits select the line for parameter 3-4 Character Length is Stop Code set the character length These bits for 5 loading. the selected of not part The parity bit line. the character 4 3 0 0 5 bits 0 1 6 bits 1 0 7 bits 1 1 8 bits length. This bit sets the Stop Code length. stop, (0 = One-unit or 1.5-unit stop 1 if a = Two-unit 5-level stop is code employed.) 6 Parity This bit selects the parity option (0 = No parity check, on 7 O0dd Parity TRAN and 1 = Parity enabled RCV.) This bit selects the kind of parity selected (0 = Even Parity Select, 1 = Table Bit 8-11 3-3 Title Speed LPR Bit Functions Function Select Odd Parity set for RCVR ON Select.) this bit bits speed for the line 0-2. Refer to Table This bit select baud must parameters to be set and RCV by bits for when activate CLR clock effect. TRAN 3-4 be list of rates. on.) recelver must selected (Transmitter or 06 have the clock. A Bit to These available 12 (Cont) BUS clock INIT off. the loading receiver is turns always the 3.2.4 Transmit The Transmit the EIA option (M7814 (DTR) of TCR the have The modem high line. high as byte have no bit for byte each is not is is a The control the 20 high mA bits bits for that the Data (bits 8 byte options by BUS a because for the 20 mA Terminal through 15) they do not for each Read/Write DTR bit INIT only), it only, not CLR. reads back to into low contains a byte set bit allows explains CLR and options capabilities. When how BUS Register register mA contains to write Status The 20 is (16) (8) attempts A by bit the (M7814 3.3.7 16 by only) used line. Modem the cleared Also, cleared eight difference up sixteen capabilities. (M7819 Paragraph module). to is and make used control byte The (TCR) contains module) that not effect. 3.2.5 This are zeros. all (M7819 lines Register Register module). byte This line. Control options Ready Control it, Read/Write properly the the Unibus will transmission to When Line on use Enable the corresponding this bit. This INIT. (MSR) used only (M7814 not with the EIA options module) do not have used, this register (M7819 modem reads all zeroes Unibus. The MSR consists and the high of each byte line's of two (bits Ring bytes: The 08-15). Indicator The (RI) low byte low byte lead; the (bits 00 through monitors high byte the 07) state monitors the state Read only of each portion line's carrier (CO) of and the DR6 has lead. The following MSR is the Programming characteristics: 1. It's a Read only register. 2. CLR and BUS INIT have 3. Bit format is 3.2.6 Transmit Data The consists of TDR Buffer The an high byte individual with The (TBUF) that TDR bit and is When is the A 2. BIS or 3. For character 4, a only BIC Figure bytes. The character register BREAK bit only low that with is zeroes Write 3-1. (TDR) byte is each set, to the of be line immediately portion is the Transmit transmitted. controlled by line associated and continuously. DR6 and has the the character register. instructions into the hardware The BREAK lengths the TBUF forces register Maintenance effect. characteristics: 1. loaded the sending Programming Write 8-bit BREAK starts register following holds bit. in Register two the shown no mode cannot less must the has (i.e. 3-16 be than be most used. 8-bits, right justified significant no effect CRS bit 3 when = 1). because bits to zero. running in the 3.3 5. Cleared 6. Bit by format PROGRAMMING The DZ11 has baud rate, This section CLR and BUS INIT. is shown in Figure FEATURES several programming character length, discusses achieve the desired 3.3.1 Baud Rate the features stop allow parity, and of parameters. transmission of the desired is controlled by the conditions of required bit operating that operating selection 3-4 bits, application The Table 3-1. depicts the speed. Also, the baud bits these and 08 for controls through each 11 for line of interrupts. reception configuration rate control to speed of the LPR. each is the same for both the tiansmitter and receiver. Furthermore, the receiver and selected off by setting line. ~J the on i for turned RN LPR is w clock and clearing bit 12 in the Table 3-4 Baud Rate Selection Chart Bits 3.3.2 The Character selection controlled bits 01 (6 04 and by of level), 10 10 09 08 Baud 0 0 0 0 50 0 1 0 0 150 0 1 0 1 300 0 1 1 0 600 0 1 1 1 1200 1 0 0 0 1800 1 0 0 1 2000 1 0 1 0 2400 1 0 1 1 3600 1 1 0 0 4800 1 1 0 1 7200 1 1 1 0 9600 1 1 1 1 Not the four Rate Used Length one bits 03, 11 of 03 and 04 of respectively, (7 level), available the are and 11 LPR. as (8 character The bit follows: 00 level). For lengths conditions (5 level), character is for lengths of 3.3.3 Stop The 5, length 6, and 7, the high order in serial of . length the is stop, unless zero) is 3.3.4 The are forced to zero. Bits stop bits a determined by bit 05 of the LPR. stop bits one the unit; bit 5-level selected, then 05 set stop string If bit 05 is a zero, character the character to a one length selects (bits bit length bit 06 03 is 1.5 the LPR. is the a two-unit and 04 at units. Parity parity enabled option on is selected transmission and by reception of by setting Parity bit 06 is to a one. Bit 07 of the LPR allows selection of even or odd parity, and'bit 06 must be generated RBUF the or and received The The 07 by to be significant. hardware, parity error had a (bit parity and does 12, The not RBUF) parity appear flag bit is in the set when Enable (SAE) is error. Interrupts in the receiver RIE PDP-11 check bit character Receiver bits for checked TBUF. 3.3.5 If set Interrupt CSR control interrupts and SAE are processor. for the Enable the (RIE) and Silo circumstances the PDP-11 processor. both clear, the In this availability case, of the data 3=-19 DZ11 upon never program in Alarm the which interrupts must SILO the DZ11 the periodically and empty the SILO when data should time to cover in the RIE takes bit BIT the is indicating If in for the SILO program operates the SILO to fill, delays CSR will and at When RDONE least time set when a is off allowing to a clock it as often as a safety empty character can periodically instruction. factor the is silo. available check this the program should interrupt the PDP-1 is set, the SILO. set bit with a SILO. set to and the the interrupt a dismisses the character is SAE 1is DZ11 presence service MOV clear, receiver of a instruction interrupt, available were placed serviced). Alternately, interrupt by the vector can from address the may in SILO be when the the RBUF. RDONE bottom of character If the by program then interrupt when another immediately while interrupt emptying at will (which the will obtain the DZ11 the DZ11 character routine characters the program in response the The performing to the characters processor processor The for SILO. or empty If it RDONE TSTB present. check the The is the if additional interrupt service was routine may the SILO before dismissing the DZ11 will interrupt vector when the being respond the interrupt. If RIE and processor bit in the characters SAE to are the CSR have both DZ11 is receiver set. been set, The SA placed in bit the will silo be set since SILO when the the PDP-11 ALARM (SA) sixteen last time the program has accessed fhe.RBUF. Accessing the RBUF will clear the SA bit and the associated counter. The program should follow the procedure described completely ensure that emptied are in in response any Paragraph 3.3.6 to to silo alarm interrupt. placed in a characters processed by the the empty silo the silo This while will it is being program. NOTE If the program entries alarm in in response interrupt, while to will counted only each are build by the up 16 silo characters interrupts processed being processes coming being without silo alarm circuit and thé silo may eventually overflow without the alarm being issued. If the silo interrupted to respond the PDP-11 period will characters. alarm if to interrupt fewer short program than is 16 messages used, the characters during periodically depend on required While the program is are periods should the program will received. of empty the the be In order moderate silo. responsiveness emptying not to silo it activity The scanning received should ensure that DZ11 receiver interrupts are inhibited. This should be done by raising feature can required by exit an the PDP-11 processor significantly the DZ11 interrupt reduce receiver service priority. by routine the The PDP-11 time alarm processor eliminating each silo the a need interrupt overhead to character enter is and received. The interrupts vector when the indicating that the DZ11 to processor interrupt the PDP-11 Transmitter Ready (TRDY) is ready to the DZ11 controls transmitter interrupt transmitter the in bit accept a will the DZ11 enabled, If processor. the PDP-11 to (TIE) interrupt enable bit transmitter set, is CSR to be character transmitted. the Silo empty the Emptying 3.3.6 The program can instructions the next the indicates zero value following entry in the the bottom character. next character 1 microsecond. that to move Furthermore, in the by a it so the SILO, allowing subsequent MOV emptied the it has each word moved out of the emptied. The SILO has been the instruction. RBUF because SILO in SILO in the conveniently by branching on the condition each MOV must not access next access for down DATA VALID bit test can be performed code move The program can determine when SILO by testing A to character MOV Each storage. temporary to clear out the bottom of lost and will instruction. RBUF. RBUF copy the bottom character instruction will won't be the from SILO by repeatedly performing MOV silo will Therefore, on A TST or BIT these instructions will down without following not be instruction saving current a MOV from the RBUF, at least available fast CPU's, the for the cause the the program must use sufficient instructions or NOPs to ensure that successive MOVs from the RBUF are separated by a minimum of 1 microsecond. will prevent a false indication of an empty silo. This 3.3.7 The on Transmitting program the controls Unibus: Parameter Buffer the (TBUF) and DZ11 Character the DZ11 Control Register Following a (LPR), the transmitter and the Break Status Line Register Enable Register initialization, through the five (CSR), Register, registers the Line the Transmitter the LPR (BRK). program must use register to spécify the speed and character format for each line to be used The in and must program the CSR interrupt The on Line each set the should if it Master the Transmitter wants the DZ11 Enable line. Register One bit in The program BIS, BISB, BIC and used, the Line are DZ11 looking empty it transmitter UART (TLINE) PDP-11 an the number of processor bit TBUF or by by of the if moving clearing a bit and clear set in the Enable CSR. (TIE) a bit to operate on program and disable transmission line (Line buffer. the register bits (If the by word DTR is associated using MOV, MOVB, instructions registers on with are M7819 agcessed.) line and TIE bit Line by a scanner Enable When the into sets character the and controlled CSR the enable instructions. is enabled to eight Register transmitter field TRDY bit Interrupt transmitter used this can BICB Enable is simultaneously for loads (MSE) basis. line. The Enable set each modules Scan the the set. for the set) which finds 3-bit Transmit The bit, constantly has such an a Line interrupting program indicated bit. is scanner TRDY is Enable bit which can line line Number the clear into the the Clearing the for lines To initiate set the on of should then using line for that line, as line load MOVB the into the an to of character and into wait resume setting and If up the the to a the be the for TLINE character let line, by starting and idle indicated instruction. the main program scanner its search program should service. bit convenient way load the on the a frees transmission the number by bit needing TCR service TRDY the scanner scanner TRDY. loading The transmitted into are to be line set the normal to request the program interrupts is to the TBUF used, a TCR bit transmitter interrupt routine a line TBUF. NOTE The scanner needing may service being started other lines scanner The before it request service the program must always of the ensure services it lines as If the before being check the TLINE to for TRDY the program requested eventually several the started. responding the line if occur characters Assuming will started. line when loads line. scanner being CSR finds will This up. find correct the different can field to find in by the find lines scanner, the line require NOTE (Cont) service, in priority and continue next to 0 be order will as request determined by line lowest. a line, the program transmitted into the the line as for service priority highest the has 7 the on service requests scanner line transmission character scanner Line number. To the TBUF should each load time the the TLINE and loads the last request an indicated by TRDY. To terminate character transmission normally and additional character Enable at The normal line a bit is rest the 1 continuous register this is use program despite the line in is a so MOVB the Break to with as to load that line. bit to continuous access for will characters zero The can sending lead any to in this eight bit remain in will The the BRK a line apply program register. after normal to transmitted state. for used set. be Line is line appear the TBUF. Data bit remains clears the (BRK) One line. characters operation no loading Transmitted each the to program Register the program scanner The of the instruction transmitter fact of the the line. instead signal long line, for the The associated continues bit, for condition zero a waits time state. condition should break this on The If setting the the the program while program may the use this setting a facility the break for sending bit and precisely using timed Transmit zero Ready signals interrupts by as timer. It should buffered. be remembered The program two data The program at the characters end must of additional data this. the When load all-zero the At second the end ensure zero loaded time, of preceding the zero service 3.3.8 Data clear be period transmitted. character the BRK bit has and the thg will requests the begun load to bit any the should service for the should scanner next state accomplish line. load an requests transmission the 1 after program BRK the transmitted. time program When or transmitting first the the be procedure the double soon returns scanner set is too not before following should sending should data the character. Control EIA standard feature. and Indicator the line period The program program of the the this state that may When indicating Ring break DZ11 bit character. service with BRK character, to models the the data all-zero character DZ11 in last the Set the requests the line set sending scanner has each not characters. program an must also the that interfaces The Data The program uses set control logic. program may signals from Terminal Ready three One 8-bit bit in include sense each set the state data signal registers each data set to to control and of may the as a Carrier control each data set. access the DZ11 data associated with register is the of the data logic. There are no set control logic and the transmitter and receiver program under done be should coordination required Any between interlocks hardware lines. 8 the each control. The Data Terminal Setting or clearing appropriate may access word be Ready Data this register instructions signal the DZ11 The Carrier by registers. carrier on are Register CAR register. signal by program for line can examining can a examine can signal or or byte off. is not cleared and of the Ring the examining the is if (If registers cleared the (RING) current by will the program are state the appropriate current registers program clears CSR. Register determine the The Enable register bit turn register. instructions. DTR and Line appropriate these on will DTR determine the a read/write The but by is register word the CLR (CAR) program It this with used the register Ready Unibus setting signal in accessed.) the The bit Terminal simultaneously INIT a (DTR) bit of state the separately of RING by read-only of the bit of the the ring register. using MOVB The or BITB instructions or can examine them as a single 16 bit register' by using does not signal not or BIT interrupt changes registers is MOV to instructions. the state. determine necessary. PDP-11 The the The DZ11 data processor when program current should a set control carrier periodically status. Sampling at or logic ring sample a high these rate 3.4 The PROGRAMMING following option. DZ11 Example The be 1 DZ11 examples examples are are sample presented programs only to for the indicate DZ11 how the used. - Initializing is initialized instruction, Device five These can EXAMPLES or a Clearing 012737 001002 000020 001004 160100 001006 032737 001010 000020 001012 160100 001014 001374 by: device the 001000 the DZ11 a power-up clear seguence, a reset instruction. DZ11 START: MOV #20, DZCSR | ;Set bit ;DZ11 in the control and ;status 1$: BIT #20, BNE 1% DZCSR ; Test ;If register. bit 4. 4 is bit ;set, 4 the branch ;jcondition ;jand®@ the still is true device ;function is clear still in i progress. 001016 000000 ;The HALT device ;function ;and the scleared. DZCSR = 160100 = control and status register address clear is DZ11 complete has been Example 2 - Transmit binary count pattern on one line 001000 012737 001002 000020 : START MOV #20, DZCSR 4 scontrol and DZ11 the in :Set bit status ;reglister. 001004 160100 001006 032737 001010 000020 001012 160100 001014 001374 1$: BIT #20, BNE 15§ DZCSR :Test bit 4. 4 is :If bit ;the branch device the function :clear set, condition and true :is still is still ;in progfess. the 001070 ;for line 160102 s:character; 012737 001020 001022 MOV #n, DZLPR +110 001024 parameters :Load 001016 012737 MOV #1, DZTCR 8 0: bit stop bit; 2 baud. ;Enable O line stransmitter. 001026 000001 001030 160104 001032 012737 001034 000040 :5 001036 160100 sgstatus 001040 005000 MOV CLR #m, RO DZCSR :Set in :Set scanner the enable bit control register. binary count to zero. ;pattern and Example 2 (Cont) 001042 005737 001044 160100 001046 100375 2S¢ TST DZCSR ;Test the ;ready BPL 2§ transmitter flag 110037 001052 160106 001054 105200 INCB 001056 100371 BPL 001060 RO = MOVB branch condition ;is false, continue; Count DZCSR DZ11 Control DZLPR DZ11 Line DZTCR DZ11 Transmit Control DZTDR DZ11 Transmit Data Example 3 Loopback Output 001200 - received with data 005000 001202 012701 001204 001400 and to RO be 28§ ;Increment binary ;If condition branch ;false, the ;pattern is binary a Register Register binary Address Register Register count the receiver to console. in MOV = 160100 160102 Address Address "On" CLR Address = 160104 160106 Maintenance in the RO 1400, interrupt ;Set RI1 mode. binary ;to zero. ;Set R1 jaddress sbuffer. to of count. count first data is count complete. Pattern Status Parameter Transmit mode, character again. HALT Binary O ;Load DZTDR test ;transmitted. 000000 Register RO, 15). ;If ;jotherwise 001050 (bit Example 3 (Cont) #sP, ;Initialize Stack 001206 012706 001210 001100 001212 012737 001214 001304 ;jaddress 001216 000300 ;recelver MOV R6 ;jpointer. MOV #INT), RVEC ;Set DZ11 wvector to start of interrupt ;routine. 001220 005037 001222 000302 CLR (RVEC+2) ;Set up ;status processor word ;receliver 001224 012737 001226 000020 MOV #20, DZCSR ;Set bit ;DZ11 160100 001232 032737 001234 000020 001236 160100 001240 001374 1S: BIT #20 BNE 15 DZCSR s Test ;if interrupt. the control and 4 register. bit bit ;set, 4. 4 is the the still branch ;jcondition ;and DZ11 in ;status 001230 for is true device ;function is clear still in ;progress. 001242 012737 001244 001246 #PAR, ;Load the 011070 ;for line 160102 ;character; MOV DZLPR parameters 0: 8 bit 2 stop bits; Example 3 (Cont) ;110 baud; ;parity; 001250 012737 MOV #1, DZTCR ;Enable no receiver line on. O stransmitter. 001252 000001 001254 160104 001256 012737 001260 000150 ;enable 001262 160100 ;jinterrupts, MOV #1150, DZCSR ; Turn scanner ;lines 001264 005737 001266 160100 001270 100375 25 : TST ;Test DZCSR BPL ;If 28§ receiver back the ;ready 001274 160106 001276 105200 INCB 001300 001371 BNE 001302 000777 MOVB RO, DZTBUF branch ; Load on loop themselves, transmitter condition is continue ;jotherwise 110037 and flag. ;false, 001272 on, test character again. to be ;transmitted. BR. RO 28§ ;Increment binary ;If condition branch ;false, the jpattern is ;jWait for is count complete. last ;transmitted sreceived. binary count. to character be Receiver 001304 013711 001306 160102 Interrupt Service MOV Routine DZRBUF, received ; Store ;character in memory ; table. #100377, 001310 022721 CMP 001312 100377 + (R1) 001314 001401 BEQ last for ;Check ;character. .+2 ;Branch ;true condition when last character ;transmitted ;1is 001316 000002 RTI 001320 012701 MOV 001322 001400 001324 105737 001326 177564 001330 100375 TSTB TPS 3§ (R1), of start in memory. ;Test to see i1f console ready. ;Wait, test and condition ;transfer 111137 001334 177566 001336 022721 CMP 001340 100377 + (R1) ;character. 001342 001370 BNE ;Not ; to 35S 000000 HALT met, console. ;Check for last finished ;condition 001344 is again. character 001332 #100377, received buffer ;If MOVB pointer ;data ;1is BPL routine. ;Initialize ;to 3S: received. ;Exit #1400, 1is :finished. is if true. RVEC = DZ11 Receiver DZCSR = DZ11 Control DZLPR = DZ11 Line DZTCR = DZ11 Transmit Interrupt and Vector Status Parameter Word Address Register (Write Control Register DZTBUF = DZ11 Transmit Buffer Address DZRBUF = DZ11 Receiver Buffer Address TPS = Teletype Punch Status TPB = Teletype Punch Data Register and receive in Example line. 4 The - Transmit Switch register pattern (character). 001000 012737 001002 000002 Address Register bits START : Address Address (Read Only Register) Address Address Maintenance SWRO00-SWRO07 MOV Only) #LINE, holds DZTCR mode the on a desired ;Select the 160104 001006 012737 001010 017471 data line ;transmitting ;Choose 001004 single ;Line MOV #PAR, DZLPR one #1 ;Select on. of 160102 eight. selected. desired ;parameters line ;and turn on ; for that line. ;8 level ;bits, receiver code, and :selected. line for ;transmitting 001012 for no 2 stop parity Example 4 (Cont) ;19.2K baud ;Note: 19.2K baud ;not used by ;jused diagnostic for to ;£to 001016 000050 001020 160100 001022 005737 001024 160100 001026 100375 #N, DZCSR 1: TST Test 001030 113737 MOVB 001032 177570 DZTBUFF 001034 160106 001036 000240 SWR, 2 and scanner ;Start bit 3. ready). ;If the branch ;is false, the ;is ready; if condition transmitter true, ;back and test ;Load the transmit ;character ;No from ;1f only the register. ;location a go again. operation. ;to set 15 bit for ;Switch NOP easier it ; (transmitter BPL up scope. ;Test DZCSR be speed make to smaintenance Test can transmit-receive ; loop MOV the but ;the 012737 1is ;customer ;purposes 001014 selected can branch test This be changed instruction 1 is Example 4 (Cont) ;desired 001040 MOV 012701 #DEL, R1 (replace ;with 000771). ;Delay equals ;constant 177670 ;allow ;the a that will enough time receiver done ;flag to set 000240 for before ;recycling the tést. ;The value will change ;with baud rate and ;processor. 001042 105737 001044 160100 001046 100402 Test 2: TSTB BMI DZCSR 1§ The ;constant given 1is ;good for 19.2K baud ;on PDP-11/05. a 2 ;Test bit ;done flag. ;When the - receiver branch ;éondition is true, ;the receiver ;flag 001050 005201 INC RI1 001052 001373 BNE TEST is set. ;Increment ;If 2 the 013700 1S: MOV DZRBUF, RO delay. branch ;condition 001054 done is ;delay is not : Read the DZ11 true,; the finished. Example 4 (Cont) 001056 160102 001060 Example 000760 5 - BR Transmit and alarm Maintenance 001200 012706 001202 001100 001204 012737 001206 001274 001210 000304 001212 005037 001214 000306 in receive TEST on a 1 single ;jreceiver buffer ;register 0. ;Loop back ;test again. line using to and silo mode . MOV #1100, R6 ;Initialize stack jpointer. MOV #3$, TVEC ;Initialize ;vector CLR TVEC+2 transmitter address. ;Initialize transmitter ;jvector processor status ;word. 001216 012700 001220 001304 MOV #DBUF, RO ;Set ;input ;into 001222 012737 first MOV #1, DZTCR address data of table RO. ;Enable line 0 ctransmitter. 001224 000001 001226 160104 001230 012737 MOV 001232 017470 DZLPR 001234 160102 #17470, ;jSet up line ;and turn on parameters the receiver ;clock for line 0. Example 5 (Cont) 012737 MOV 001240 050050 DZCSR 001242 160100 transmitter ;Enable #50050, 001236 silo and ;interrupt salarm. Turn sscanner and on Maintenance smode. 001244 032737 001246 020000 001250 160100 001252 001774 1$: BIT #20000, alarm. silo :Test for ;Loop until ;£lag sets. ; Read DZ11 DZCSR BEQ 2S : MOV 1% DZRBUF, alarm silo silo 001254 013720 001256 160102 + (RO) ;receiver 001260 000240 NOP ;Delay 001262 000240 NOP ;word in silo to ;down to the silo buffer next allow to output. filter soutput. 001264 100773 BMI ;Data 25 valid ;that word ;go 001266 012700 001270 001304 MOV #DBUF, RO back ;Silo 000764 for BR 1§ ;Do it more. been address again. says good, is ;Reinitialize ;table 001272 has set emptied. data pointer. Transmitter Interrupt Service Routine 001274 112737 001276 000252 001300 160106 001302 000002 Data MOVB DAT, DZTBUF ;Transmit 38 ;character 252 RTI Table 1304 100252 s:Word #1 1306 100252 . 1340 100252 :Word #16 1342 000252 :Data valid not set is scharacter NOTE: invalid It is possible to get more than 16 words because they are being put into the silo simultaneously with the reading of the silo. Example 6 - Echo test on a single line. 001000 012737 (Transmit received data) MOV #PAR, DZLPR START: ;Load line parameters :for 001002 011073 001004 160102 - line being used. ;Line #3, 8 bit scharacter, 2 stop Example 6 (Cont) ibits, ;110 001006 012737 001010 000010 001012 160104 001014 012737 001016 000040 001020 160100 001022 105737 001024 160100 001026 100375 001030 005737 001032 160160 001034 100375 001036 013700 001040 160102 001042 110037 001044 160106 MOV #LINE, DZTCR no parity, baud, and ;clock on. ;Turn line #3 s;transmitter MOV 1S : #n, TSTB DZCSR DZCSR ;turn scanner ; (set CSR-5) ;test (bit on. on 7) for ;s RDONE BPL 2S 18§ TST DZCSR ;If bit ;go back ;Test 7 is not and test (bit 15) BPL 2§ MOV RBUF, MOVB RO, RO DZTDR ;If bit igo back 15 is again. for and not test i Read Received sjword into s Load character jinto DZ11 RO TBUF for stransmitting. 000765 set s TRDY ; Register 001046 receiver BR 18§ srepeat. set again. Data ey dligliltall digital equipment corporation Printed in U.S.A.
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies