CalComp Software Reference Manual Oct76

download CalComp Software Reference Manual Oct76

of 201

Transcript of CalComp Software Reference Manual Oct76

  • 7/30/2019 CalComp Software Reference Manual Oct76

    1/201

    CalCompSoftwareReferenceManual

  • 7/30/2019 CalComp Software Reference Manual Oct76

    2/201

    CALCOMPSOFTWARE

    REFERENCE MANUAL

    October 1976

    California Computer Products, Inc.2411 W. La Palma, Anaheim, CA 92801

  • 7/30/2019 CalComp Software Reference Manual Oct76

    3/201

    Copyright 1976 by California Computer Products, Inc.

    This document contains proprietary informationof California Computer Products, Inc. (Company)and is submitted in confidence. Recipient agreesnot to disclose or use the information containedherein except in connection with Companyproducts, or reproduce in whole or in partwithout written permission from the Company.

    Printed in the United States of America

  • 7/30/2019 CalComp Software Reference Manual Oct76

    4/201

    INDEX

    Introduction 1Graphic Systems 2Basic Software 3Operating Considerations 4Basic Software Design 5Functional Software 6Applications Software 7

  • 7/30/2019 CalComp Software Reference Manual Oct76

    5/201

    PREFACE

    This manual i s in tended to augment CalComp ProgrammingManuals fo r users who need more de ta i l ed knowledge of Cal Comp Graphic Systems. Table P - l l i s t s cur ren t manuals fo rCalComp sof tware product s . Sec t ion 1 summarizes the hardware /sof tware o f CalComp Graphic Systems. Sect ions 2through 5 descr ibe CalComp Graphic Product s , th e use o fCalComp Basic Software, the opera t ion of CalComp GraphicSystems, and the des ign o f CalComp Basic Software.Summaries o f CalComp Funct ional and Appl icat ions Softwarea re con ta ined in Sect ions 6 and 7.

    i i i

  • 7/30/2019 CalComp Software Reference Manual Oct76

    6/201

  • 7/30/2019 CalComp Software Reference Manual Oct76

    7/201

    SectionI

    2

    CONTENTS

    INTRODUCTION TO CALCOMP . . . . .Genera l . . . . . . . . .Graphic ProductsGraphic Systems . . . . . . . . . . . . .CalComp HardwareSystem Conf igura t ions .CalComp P l o t t e r s . . . . . . .Drum P l o t t e r s . . . . . . . .Fla tbed P l o t t e r s . . . . . . . . . .Elec t ron ic P l o t t e r . . . . . . .Ca1Comp Drivers . . . . . . . .Off l ine Systems . . . . . . .Online Systems . . . . ..... .CalComp Accesso r ies . . . . . . . .Addi t iona l Per iphe ra l sCalComp Software . . . .Types of Software . . .Basic Software . . . . . .

    Funct iona l Software . ..... .Appl icat ions Software ..... .CalComp Sof tware Suppor t Pol icy . . . .Compat ib i l i ty Fea tu resCALCOMP GRAPHIC SYSTEMS .General . . . . . . . .System Spec i f i ca t ionsAccuracy and Repea tabi l i ty . . . . . .Plo t t ing Fle x ib i l i t y . . . . . . . . .Plo t t ing Speed . . . . . . . .Comput e r Time . . . . . . . . . . .Types o f P l o t t e r s . ... ....Drum P l o t t e r s . .Repea tabi l i ty . . . . . . . . . .Bal lpo in t /L iqu id Ink Pens . . . .

    Accessor ies . . . . . . . . . . .Fla tbed P l o t t e r s .......... .Fla tbed P l o t t e r Draf t ing ToolsFlatbed Accessories . . . . .Elec t ron ic CRT P l o t t e r1670 Options ...Drivers . . . . . . . .Model 905 Cont ro l l e rModel 925 Cont ro l l e rOnline In te r faces . .P l o t t e r Per iphe ra l s . .r-1odel 942 Digi ti ze r .D ig i t i z e r Operat ionModel 2100 COM P r i n t e r

    v

    Page1.011.011.011.011.011.021.021.021.041.041.041.051.051.061.061.061.061.081.081.091.091.092.012.012.012.022.022.022.022.032.032.032.032.042.072.072.072.112.132.142.162.162.182.182.182.192.19

  • 7/30/2019 CalComp Software Reference Manual Oct76

    8/201

    Section3

    CONTENTS (cont)Page

    BASIC SOFTWARE. . . ........ 3.01G e n e ra l . . . . . . . . . . 3.01Sample Program ......... 3.02Host Computer Basic Software ...... 3.05HCBS Subrout ines ......... 3.05PLOT Subrout ine . . . . . . 3.05

    SYMBOL Subrout ine ......... 3.06NUMBER Subrout ine ......... 3.07SCALE Subrout ine . . . . . . . 3.07AXIS S u b ro u t i n e . . . ... 3.08LINE Subrou t ine . .... . 3. 08Standard Cal l ing Sequences . . . . . 3.08Standard Basic Software ......... 3.10

    CAL EDIT Basic S o f t w a r e . . . .... 3.11Elec t ron ic Basic S o f t w a r e . . . . . . 3.12Sample Programs . . . . . . . 3.13Program Number 1 ......... 3.13Program Number 2 . . . . . 3.26Accessory S u p p o r t . . . . 3.32Model 942 Dig i t i ze r . 3.33942 Dig i t i ze r Charac te r i s t i c s ... 3.34942 Opera t ing Procedure . . . . 3. 35Addi t ional P r o g r a r o ~ i n g Techn iques . . 3.36Uses of INC in SC'l.LE and LINE . . 3. 36

    Shor tcu t S c a l i n g . . . . . . . 3.37Forcing SCALE to Choose Z e r o . 3.38Scal ing fo r Multiple Curves . 3 . 3 9Data Poin t Formula . . . . . ... 3.44Using LINE and SYMBOL with DataF i l e s . . . . . . . . . . . 3.44Drawing Nonstandard AXIS Con-s t ruc t ions . . . . . . . . . . 3.45Drawing Nonstandard AXIS Divisions . . 3.47Using the v:HEHE Ent ry . . . . . . . . 3.48

    v i

  • 7/30/2019 CalComp Software Reference Manual Oct76

    9/201

    Section4

    5

    CONTENTS (cont)

    OPERATING CONSIDERATIONS . . .Genera l . . . . . . . . ...P lo t t e r I n i t i a l i z a t i on . . . . . . .Limi t Switches ..... .Accessory Checks . . .I n i t i a l Alignment ...... .Cont ro l l e r I n i t i a l i z a t i o n . .Search Addresses . . .Planning Your Graph . . .BASIC S O F T v l ] \ ~ H E DESIGNGenera l . . . . .Data Formats . . . .905 Tape Format900 Tape Format .

    900 Online FormatsCAL EDIT Format . .RS-232/936 Se r i a l FormatRS-232/960 Se r i a l Format . . . .RS-232/836 Se r i a l FormatPLOT Subrout ine Construct ion . . . .Genera l Flow o f PLOT Subrout ine .Line Approximation Algorithms .....8-Vector ]\"lgori thmLine Sp l i t t i ng Algorithm ..... .Veloci ty Calcu la t ions . . . . . . . .Output Process ing . . . . .Other PLOT Entry Poin t sPLOTS Subrout ineFACTOR Subrout ine .vJHEHE Subrout ineNEWPEN Subrout ine .

    SYMBOL Subrout ine . . . . . . .Symbol DesignSymbol Se l ec t i on Tables .Symbol Genera t ion . . . .AXIS, LINE, NUMBER and SCALE Subrout ineGraphic Cont ro l l e r Sof tware Design .Flow of GCS . . . .Executive Module . . . .BEAD Module . . . . . . . .PLOT Module . . . . ...S Y ~ l B O L Hodule . . . . . .Other GCS Modules . ...

    v i i

    Page4.014.014.014.014.024.024.034.034.045.015.015.015.025.055.165.185.235.265.315.315.315.365.365.415.415.455.465.465.475.475.475.485.505.525.535.575.625.625.645.665.665.675.67

  • 7/30/2019 CalComp Software Reference Manual Oct76

    10/201

    Section6

    7

    CONTENTS (cont)

    FUNCTIONAL SOFTWAREGenera l . . . ........... .Host Computer Residen t Sof tware . . . . . . .Standard Host Computer Subrou t inesHost Computer Symbol Se t s ........Host Computer Photo P l o t t e r V e r i f i e rHost Computer Assembler fo r CalComp

    Co n t ro l l e r s . . . . . . . . . . . . . . .Host Computer Microf iche ManagementProgram . . . . . . . . . . . . .Host Computer D ig i t i z e r Suppor t Sof twareHost Computer Polygon Pa i n t i n g Sof twareHost Computer World Map P lo t t i n g Sof twareGraphic Cont ro l l e r Residen t Sof tware . . . . .Graphic Co n t ro l l e r Sca l in g Sof tware . . . .Graphic Cont ro l l e r Windowing Sof tware . . .Graphic Cont ro l l e r Line P r i n t e r Simula tors .Graphic Co n t ro l l e r Emulators . . . . . .Graphic Cont ro l l e r Microf iche ManagementSof tware . . . . . . . . . . . . . . . . .Graphic Cont ro l l e r D ig i t i z e r Suppor tSof tware . . . . . . . . . . . . . . . . .Graphic Cont ro l l e r Siz ing Sof tware . . . . .Graphic Co n t ro l l e r Circ l e Sof tware .Graphic Cont ro l l e r Forms Over lay Sof tware

    APPLICATIONS SOFTWAREGENERALTHREE-D - A Perspec t ive Drawing Program . . .GPCP - A Genera l Purpose Contour ing ProgramFLOWGEN/F - A FORTHAN Flowchar t Genera torAUTONET - An Automatic Network DisplayProgram . . . . . . . . . . . . . . . . . .SAMPS - A Subdiv is ion and Map P lo t t i n g System.DATAGRAPH - An Automatic Graph Genera tor .PROVE-I - Programs fo r Numerical Cont ro lV e r i f i c a t i o n . . . . . . . . . . . . . .SYMTRAN - A Symbol Genera t ing and DiagrammingLanguage . . . . . . . . . . . . . . . . . .A.S.A.P . - Automated Symbolic Artwork Program.CONTOUR - A Basic Contour ing Program . . . . .AUTOGANT - An Automatic Ga n t t Bar Char tDisplay Program . . . . FLOWGEN/C - COBOL Flowchar t Genera tor . . . .

    v i i i

    Page6.016.016.016.016.066.086.096.096.106.106.116.126.126.126.136.146.146.156.166.166 . 167.017.017.017.017.027.037.037.037.037.047.047.047.057.05

  • 7/30/2019 CalComp Software Reference Manual Oct76

    11/201

  • 7/30/2019 CalComp Software Reference Manual Oct76

    12/201

    Table2-15-15-25-35-45-55-65-7

    TABLES

    Plo t t e r /Dr ive r Hardware . .900 Format Cont ro l Codes . . Del ta Values Which May Be Held in VariousNumber of Characters . . . .Pseudo Increments fo r Various Plo t te r s . . .CAL EDIT System Parameters . . .960 Charac ter s . . . . ...... .Value o f IPEN . . . . . . . . .Con t ro l l e r Memory Layout . . . .

    x

    Page2.15

    5 .11

    5.175.175 .195.275.325.65

  • 7/30/2019 CalComp Software Reference Manual Oct76

    13/201

    Manual10011002100410051006101010111012101310141015102110221026102710301036103710381039104010481051

    Table P-l. CalComp Current Software ManualsTitle

    GPCP - A Genera l Purpose Contour ing ProgramTHREE-D, A Perspec t ive Drawing Software SystemFLONGEN/F FORTRAN Flowchar t Genera torsCa1Comp Sof tware Reference ManualProgramming CalComp Elec t romechanica l P l o t t e r sAUTONET - An Automatic Network Display ProgramCalComp Graphics Fu n c t io n a l Sof tware -Business Subrou t inesCalComp Graphics Fu n c t io n a l Sof tware -Draf t ing Subrou t inesCalComp Graphics Fu n c t io n a l Sof tware -Genera l Subrou t inesCalComp Graphics Funct iona l Sof tware -CRVPT ProgramCalComp Graphics Funct iona l Sof tware -S c i e n t i f i c Subrou t inesCalComp Graphics Fu n c t io n a l Sof tware -FLOCT ProgramCalComp Graphics Funct iona l Sof tware -FORGN ProgramSAMPS - A Subdiv is ion and Map P lo t t i n g SystemDATAGRAPH - An Automatic Graph Genera tor

    ~ ~ S K G E N - An In t egra t ed C i r cu i t Mask Genera to rPROVE - Programs fo r Numerical Contro lVer i f i ca t ionSYMTRAM - A Symbol Genera t ing and DiagrammingLanguageCalComp Graphics Funct iona l Sof tware - Draf t ingLe t t e r and Symbol S e t Subrout ineProgramming th e CalCornp Model 1675 COM SystemCalCornp Graphics Fu n c t io n a l Sof tware -Block Le t t e r and Symbol S e t Subrout ineGPCP-II , A Genera l Purpose Contour ing ProgramCalComp Graphics Funct iona l Sof tware - Draf t ingLe t t e r and Symbol S et Subrout ine with LowerCase Let te r s

    x i

  • 7/30/2019 CalComp Software Reference Manual Oct76

    14/201

    Manual10521056105810611062106310641067106810691074107510771084

    Table P-l. CalComp Current Software Manuals (cont)Title

    CalComp Graphics Funct ional Software - PhotoPlo t t e r Data Ver i f i e r and Lighthead SimulatorA.S.A.P . - Automated Symbolic Artwork ProgramCAL EDIT User ' s GuideCALCOM Microfiche Management Program fo r theCalComp 2lXX Pr in t e rProgramming the CalComp 94 2 Dig i t i z e rCalComp 910/915 Cont ro l l e r Programmers 'Reference ManualCalComp Graphics Funct iona l Software - PAINTCalComp Microfiche Management Software (MMS)User ' s ManualCalComp 94 2 Dig i t i z e r Funct iona l SoftwareCalComp Appl icat ions Software - CONTOUR -A Basic Contouring ProgramWorld Map Plo t t ing Software (WMAP)Microf iche Management Software (MMS-III)User ' s ManualAUTOGANT - An Automatic Gant t Bar Char t ProgramFLOWGEN/C - COBOL Flowchar t Generator

    x i i

  • 7/30/2019 CalComp Software Reference Manual Oct76

    15/201

    INTRODUCTION TO CALCOMPGeneralGraphic Products

    Graphic SystemsCalComp Hardware

    SECTION 1CONTENTS

    System Conf igura t ionsCalComp P l o t t e r sCalComp DriversCalComp Accessories

    CalComp SoftwareTypes of Sof twareCalComp Sof tware Support Pol icyCompat ib i l i ty Fea tu res

    ILLUSTRATIONSSystem Configurat ionsSof tware Hierarchy

  • 7/30/2019 CalComp Software Reference Manual Oct76

    16/201

    GENERAL

    SECTION 1INTRODUCTION TO CALCOMP

    Cal i fo rn ia Computer Products , Inc . , was founded in 1959 fo rth e purpose of des ign ing , manufac tur ing, and market ing a d ig i -t a l p l o t t e r . CalComp has developed many graphic products andtoday i s the acknowledged world l eader in computer graFhics .GRAPHICS PRODUCTSCalComp's graph ic products today cons i s t of many d i f f e r e n thardware and software i tems covering the complete range ofcomputer graph ics . Products may be conf igured to th e pa r -t i c u l a r needs of cus tomer app l ica t ions .

    GRAPHIC SYSTEMSGraphic systems are genera l ly used as per iphera l equipment toa genera l purpose d i g i t a l computer . CalComp systems a re sup-por ted by computers manufactured by major computer companiesthroughout the world . The genera l purpose computer used witha CalComp graphic system i s r e fe r red to as the HOST computer .CALCOMP HARDWARECalComp Graphic Systems are cen te red around a graph ic outpu tdevice (p lo t t e r ) with con t ro l l i ng hardware and opt iona laccessor i e s .

    1.01

  • 7/30/2019 CalComp Software Reference Manual Oct76

    17/201

    System ConfigurationsA p l o t t e r must be p a r t of a system in order to provide se r v ice . CalComp p lo t t e r s are designed to operate both in of f l ine and online conf igura t ions . Figure 1-1 i l l u s t r a t e sthese tw o conf igura t ions .When th e p l o t t e r i s used in an off l ine system, the p l o t t e rda ta and con t ro l commands are generated by a hos t computerand output to a por table medium e . g . , magnetic tape orpunched cards . The data i s inpu t on a CalComp con t ro l l e rwhich converts the data i n to s igna ls and dr ives th e p l o t t e r .When th e p l o t t e r i s used in an onl ine system (see Figure 1 - 1 ) ,the p l o t t e r commands are output d i rec t ly to a CalComp p l o t t e rthrough i n t e r face e l ec t r o n i c s suppl ied by CalComp or supp l iedby th e hos t computer manufacturer . The p l o t t e r may be connec ted through a CalComp c o n t ro l l e r . The data may no t god i r e c t l y t o the CalComp p l o t t e r in some systems, but may be"SPOOLED" or t ransmi t ted to a Jcerminal to which the p l o t t e ri s connected.

    CalComp PlottersCalComp produces the fo l lowing bas i c types of p l o t t e r s :

    Electromechanical ink-an-paper p lo t t e r s Elec t ronic /microf i lm p l o t t e r

    The elect romechanical p lo t t e r s include drum and f la tbed p lo t t e r s ; each ava i lable in var ious s i zes . The e l e c t ron i c /microfi lm p l o t t e r uses a CRT (cathode-ray tube) with a camera.

    Drum PlottersCalComp's drum p lo t t e r s pre sen t computer output data in anunin te r rup ted manner. A continuous se r i e s of g raph ics ,drawings, or maps can be completed in rapid sequence, wi th thepaper advancing under computer con t ro l in to pos i t ion fo r eachsuccess ive presen ta t ion . A se r i e s of p ic tu res can be runsevera l t imes fo r updat ing or addi t ion of new informat ion,because o f the repea tab i l i ty f ac to r . Continuous p lo t s up to120 f ee t in length are produced by the ro t a ry motion of thedrum and l a t e r a l motion of the pen ca r r i ag e .

    1.02

  • 7/30/2019 CalComp Software Reference Manual Oct76

    18/201

    OFFLINE SYSTEM

    USER'SPROGRAM

    CALCOMPCONTROLLERWITH TAPEINPUT

    HOST COMPUTER

    L/I I

    ./ ./

    PLOTTERSOFTWARE

    //I I

    CALCOMPPLOTTER

    I . : :====::::! . .J..V

    ONLINE SYSTEM

    USER'SPROGRAM

    HOST COMPUTER

    CALCOMPPLOTTER

    Figure 1-1. System Configurations

    1.03

    PLOTTERSOFTWARE

  • 7/30/2019 CalComp Software Reference Manual Oct76

    19/201

    Flatbed PlottersThe exposed p lo t t i n g sur face o f CalComp's f l a tbed p l o t t e r smakes it poss ib le to view the graphic pre sen ta t ion as it i sbeing p lo t t ed . Fla tbed p l o t t e r s are w el l su i ted to onl ineopera t ion where r ea l - t i me graphic ou tpu t i s r eq u i r ed . Thef l a tbed p l o t t e r i s p a r t i c u l a r l y adapted to automat ic d r a f t i n ga p p l i c a t i o n s . The ' f l a tbe ds ' can handle a var ie ty of p re p r in t ed forms and s p ec i a l mat e r i a l s which normally are n o tp r a c t i c a l fo r pr in t ing and punching in r o l l form. Thisf a c i l i t y al lows fo r easy updat ing of prev ious work or ad d i t i ons to p repr in t ed forms .

    Electronic PlotterThe Calcomp e l ec t r o n i c p l o t t e r i s a t rue d i g i t a l p l o t t e r ,u t i l i z i n g the same b as i c design pr inc ip les developed , pe r f ec t ed , and paten ted by CalComp fo r a l l o f its e l ec t ro mech an ica l(pen-type) p l o t t e r s . CalComp Basic Sof tware conver t s the u se r ' sdata to commands which produce d i s c r e t e , e lec t ron-beam de f l ec -t ions ( r e l a t i v e to the X and Y axes) and i n t e n s i t y v a r i a t i o n son the face of the ca thode-ray tube . The CRT disp lay i s t r a n s mi t t e d through the camera l ens system and recorded on microf i lm . The exposed f i lm may then be processed to produce e i t h e rpos i t ive o r negat ive t ransparenc ies fo r d i r e c t viewing or fo rp r in t i n g in a va r i e ty of processes .

    CalComp DriversCalComp produces th ree t ypes of dr ive rs fo r CalComp p l o t t e r s .These d r i vers may be e i t h e r s tand-a lone o f f l i n e systen,s o ronl ine sys tems connected d i r e c t l y (o r remote ly) to a h o s tcomputer.

    1.04

  • 7/30/2019 CalComp Software Reference Manual Oct76

    20/201

    Offline SystemsCalComp d r i v e r s with magnet ic t ape uni t s prov ide o f f l i n ep lo t t i n g c a p a b i l i t y fo r v i r t u a l l y a l l medium- arid l a rg e s ca l e computers . Off l ine p l o t t i n g prov ides th e fol lowingo p e ra t i o n a l advantages :

    Flex ib le schedul ing and e f f i c i e n t use o f comp u t e r t ime Independent o p era t io n o f p lo t t i n g sys tems( regard less o f computer load) Permits seve ra l kinds o f computer sys temsto be used with a given p lo t t i n g system Permits r ep ea t p lo t t i n g wi thout access toa computer

    CalComp magnet ic tape uni t s have spec ia l f ea t u re s and thehigh r e l i a b i l i t y r eq u i red fo r read ing of indus t ry -compat ib let ap es fo r o p e ra t in g CalComp p l o t t e r s . Spec i f i c CalCompd r i v e r s can accep t inpu t in the form o f punched cards o rpunched paper t ap e .

    Online SystemsWhen a CalComp p l o t t e r i s used in an onl ine sys tem, th e p l o tdata and co n t ro l commands are supp l ied d i r e c t l y from th e comp u t e r through a CalComp p l o t t e r c o n t ro l l e r o r ad ap te r . I n t e r face u n i t s fo r CalComp p l o t t e r s are av a i l ab l e from the computermanufac ture r , fo r some computers .Online sys tems o f f e r th e advantage o f graphic outpu t in r e a lt ime, and in most cases requ i re minimum c a p i t a l ex p en d i tu re .These sys tems do n o t make optimum use of computer t ime unlessou tpu t i s spooled o r a mul t i t ask system i s used . The CalCompproduct l ine inc ludes o n l in e i n t e r f ace u n i t s fo r a wide rangeo f computers .

    1.05

  • 7/30/2019 CalComp Software Reference Manual Oct76

    21/201

    Cal Com p AccessoriesCalComp suppor t s g raph ic systems with a f u l l range of o p t i o n a laccessor i e s . Elec t romechanica l p l o t t e r s can use a wide .va r i e ty o f p lo t t i n g mat e r i a l s with both b a l l p o i n t and l i qu idink pens p res s u r i zed a t high speeds. Fla tbed p l o t t e r s haveacces s o r i e s to sc r ibe and cu t mat e r i a l s and expose f i lm withl i g h t sources . The e l ec t r o n i c p l o t t e r s employ a wide va r i e tyof cameras .

    Addi tional PeripheralsPer i p h e ra l s may be a t t ached to ce r t a in co n t r o l l e r s and inc lude :

    Card Reader Paper Tape Equipment Tele types

    The CalComp produc t l i ne inc ludes a COM p r i n t e r used as a d i -r e c t l i ne p r i n t e r r ep lacement o r used o f f l i n e in a f u l lMicrof iche Management System. A d i g i t i z e r with punch card o rpaper tape o u tp u t , may a l so be inc luded .

    CALCOMPSOFTWARECalComp has deve loped and main ta ins a l i b r a r y o f sof tware tosuppor t CalComp produc t s on major computers throughout thewor ld . The sof tware i s suppor ted by a s t a f f o f developmentprogrammers and r eg i o n a l ana lys t s . CalComp s t r i v e s to maint a i n a high degree of compat ib i l i ty between sof tware andhardware .

    Types of SoftwareCalComp prov ides th ree c l a s s i f i c a t i o n s of graph ic sof tware :

    Basic Software Funct iona l Software Appl ica t ions Software

    Figure 1-2 shows CalComp sof tware h i e ra rch y .1.06

  • 7/30/2019 CalComp Software Reference Manual Oct76

    22/201

    r - - - - 'I CALCOMP

    USER ..... - -.. APPLICATIONI DATA I PROGRAML-T-_.J

    I

    r-- I - - - ,I USER II APPLICATION :I------+--....I PROGRAM IL--T-_-.J

    I

    + IfCALCOM P HOSTCOMPUTERBASIC SOFTWARE

    IGRAPHICDATA

    +CALCOMP GRAPHICCONTROLLER BASICSOFTWAREt

    CALCOMPPLOTTER

    "

    ,r

    -

    CALCOMP HOSTCOMPUTER FUNCTIONALSOFTWARE

    CALCOMP GRAPHIC- CONTROLLER FUNCTIONAL- SOFTWARE

    Figure 1-2. Software Hierarchy

    1.07

  • 7/30/2019 CalComp Software Reference Manual Oct76

    23/201

    Basic SoftwareBasic sof tware i s a s e t of c lose ly r e l a t ed subrou t ines t h a tgenera te ou tpu t fo r con t ro l l ing a d i g i t a l graphic sys tem. Theprogrammer i s not requ i red to communicate with th e hardware ini t s own data s t ru c t u re . Ins t ead , he communicates with the s e tof subrou t ines in a manner such as :

    "move the pen to spec i f i ed coordinates""place some charac te rs a t a cer ta in loca t ion onthe page""draw an annota ted ax is""sca le and draw a l ine through a se r i e s ofpoints"

    This kind o f communication reduces the problem of fo rmat t inggraph ic ou tpu t to the l ev e l o f fo rmat t ing the data fo r ap r in t ed r ep o r t .Basic Sof tware cons i s t s of Host Computer Basic Sof tware (HCBS)and Graphic Cont ro l l e r Software (GCS). GCS i s used only inse lec ted systems. HCBS cons i s t s o f those subrou t ines whichare r es iden t on the user ' s computer . Output fo r CalCompgraph ic systems i s produced by var ious types of HCBS. StandardHCBS produces a compact data format while CAL-EDIT HCES pro-duces an ed i tab le format; both used with CalComp e lec t rome-chan ica l p lo t t ing systems. A COM HCBS produces a compact dataformat incorpora t ing the add i t iona l c a p a b i l i t i e s of an e lec -t ron ic p lo t t ing sys tem. GCS i s the sof tware which res ides inth e CalComp programmable c o n t ro l l e r , i n t e rp re t s the appro-p r i a t e data format and dr ives the p l o t t e r .

    Functional SoftwareThe second l eve l o f CalComp software i s Funct iona l Software .Funct iona l programs and subrout ines perform p lo t t ing func t ionsused in many d i f f e r e n t app l ica t ions . Funct iona l Softwaremay res ide in e i t h e r the u se r ' s h o s t computer or in theCalComp con t ro l l e r .

    1.08

  • 7/30/2019 CalComp Software Reference Manual Oct76

    24/201

    Applications SoftwareThe h i g h es t l ev e l o f sof tware i s composed o f Appl ica t ionsprograms . These programs are the problem s o l v e r s which dete rmine t he ou t pu t to be g rap h i ca l l y d i sp l ay ed . CalComp canprov ide these p ro p r i e t a ry programs or t h e u se r may developh is own programs. Examples o f Appl ica t ions programs a v a i l ab le from CalComp i n c lu d e :

    "GPCP" - A Genera l Purpose Con t o u r in g Program"FLOWGEN/F" - A FORTRAN Flowchar t Genera tor

    CalComp Software Support PolicyCalComp sof tware i s an i n t e g r a l and e s s e n t i a l p a r t of th epr oduc t l i n e . Each sof tware package i s given a produc t num-b e r and i s suppor ted with ap p ro p r i a t e l i t e r a t u r e and docu-menta t ion . This i s s imi l a r t o th e p ro ces s in g o f i n d i v i d u a lhardware i t e m s . Because of the propr i e t a ry n a tu re of CalCompso f tw are , the packages a re l eased r a t h e r than so ld o u t r i g h t .The l ea se agreement al lows u n re s t r i c t e d use of t he sof twarewi th th e CalComp sys tem, and the l ea se p r i c e covers t h i susage fo r as long as th e system i s re t a ined .

    Compatibility FeaturesThe modular des ign of CalComp hardware and sof tware al lowst h e u se r to upgrade o r modify CalComp p l o t t i n g sys tems w i th o u tth e massive conver s ion problems usual ly as s o c i a t ed with h ard ware mo d i f i ca t io n s . A change in the u s e r ' s computer o rp l o t t i n g system r eq u i r e s little o r no modif ica t ion to opera t i o n a l ap p l i ca t i o n programs , if they have been wri t t en in ah i g h - l e v e l l anguage such as FORTRAN.

    1.09

  • 7/30/2019 CalComp Software Reference Manual Oct76

    25/201

    CALCOMP GRAPHIC SYSTEMSGeneralSystem Specifications

    SECTION 2CONTENTS

    Accuracy and P.epeatabi l i tyPlo t t ing Flex ib i l i t yPlo t t ing SpeedComputer Time

    Types of PlottersDrum Plo t t e r sFlatbed Plo t t e r sElec t ron ic CRT P lo t t e r

    DriversModel 905 Cont ro l l e r~ o d e l 925 Cont ro l l e r

    Online InterfacesPlotter Peripherals

    Model 942 Dig i t i z e rModel 2100 COM Pr in t e r

    ILLUSTRATIONSDrum Plo t t e r sFlatbed Plo t t e r sCOM RecorderMagnetic Tape DriversModel 942 Dig i t i ze rCalComp 2100 Configura t ions

  • 7/30/2019 CalComp Software Reference Manual Oct76

    26/201

    TABLES

    SECTION 2 (cont)CONTENTS (cont)

    Plo t t e r /Dr ive r Hardware

  • 7/30/2019 CalComp Software Reference Manual Oct76

    27/201

    SECTION 2CALCOMP GRAPHIC SYSTEMS

    GENERALAn unders tanding of the sof tware requirements fo r CalCompsystems r eq u i r e s knowledge of the di f fe rences in models a v a i l able as w el l as knowledge of the spec i f i ca t ions fo r d i f f e r e n tsystem conf igura t ions . Sect ion 2 provides desc r ip t ions o fCalComp d i g i t a l p l o t t e r s , p l o t t e r d r iv e r s , and aux i l i a ry hardware.A ll CalComp d i g i t a l p lo t t e r s opera te on th e pr inc ip le o f movingthe p l o t t e r in d i g i t a l increments . Decoded i n p u t commands fromthe computer are used to produce increments o f movements ine i t h e r d i rec t ion along e i t h e r ax i s , o r a t some angle r e l a t i v eto the axes. The e lec t romechan ica l ink-on-paper p l o t t e r s gen-e r a t e s a p l o t by movement o f a pen r e l a t i v e to the su r face o fthe record ing paper . The e l ec t r o n i c p l o t t e r s produces a p l o tby movement o f a ca thode-ray tube e lec t ron beam with th e p l o trecorded au tomat ica l ly on microf i lm. Decoded computer commandsare used to r a i s e and lower the pen, o r to blank and unblankth e e l ec t r o n beam.

    SYSTEM SPECIFICATIONS

    CalComp's product l ine covers a wide range of p l o t t e r s anddr ive rs s u i t ab l e to many app l i ca t ions . The b e s t conf igura t ionfo r a p a r t i c u l a r appl ica t ion i s dependent upon the requ i reds p ec i f i c a t i o n s . Spec i f i ca t ions and c h a ra c t e r i s t i c s to beconsidered are :

    Accuracy and Repeatab i l i ty Plo t t ing Fle x ib i l i t y P lo t t i n g Speed Computer Time

    2.01

  • 7/30/2019 CalComp Software Reference Manual Oct76

    28/201

    Accuracy and RepeatabilityHow accurate i s the d i g i t a l p l o t t i n g system? I d ea l l y , noin fo rmat ion t h a t th e user i s capable of reading from a graph icpre sen ta t ion should be l o s t in the d i g i t a l p lo t t ing process .CalComp equipment can produce drawings with re so lu t ion to0.0001 inch , with ex ce l l en t r e p e a t a b i l i t y . CalComp p l o t t e r scan r e t r ace a p l o t or curve withou t di sce rn ib l e dev ia t ion .Overp lo t ted l i n e s appear as one l i n e . An unl imi ted number ofp lo t s or graphs can be genera ted from th e same computer program with unvarying r eso lu t ion .Plotting FlexibilityWhat are the c a p a b i l i t i e s of the d i g i t a l p lo t t ing system?CalComp p lo t t e r s can produce any var ie ty of types and s izesof symbols, a t any angle or pos i t ion , in addi t ion to p ro ducing any type o f complex curve o r l i ne . The sys tem'sc a p a b i l i t i e s are l imi t ed only by programmer ingenui ty . Thisf l ex i b i l i t y i s enhanced by the a v a i l a b i l i t y of d i f f e r e n t typesand co lo rs o f pens and i nks , t oge the r with a wide var ie ty o fprepr in t ed forms on cont inuous r o l l s .

    Plotting SpeedHow f a s t can the system produce a graph or drawing withou ts a c r i f i c ing q u a l i t y o r accuracy? The 500 se r i e s p l o t t e r sdraw l ines a t the ra t e o f 2.0 to 4.2 inches / second , dependingon the angle of movement; a speed adequate fo r low-volumeapp l ica t ions .Some CalComp p lo t t e r s can move pen over paper a t speeds up to40.0 inches /second. These p lo t t e r s can produce a g r ea t e r volumeof complex, fu l ly annota ted graphic outpu t in a given t ime thanany o t h e r ex i s t ing e lec t romechan ica l system. CalComp a lsoo f f e r s a ca thode-ray tube/microf i lm d i g i t a l p lo t t ing systemcapable of p lo t t ing 400,000 increments / second , fo r high-volumep lo t t ing requ i rements . This p l o t t i n g capac i ty i s equ iva len tto 500 inches / second a t s tandard magni f i ca t ion .Compu ter TimeHow much computer t ime i s requ i red to produce a d i g i t a l p l o to f given complexi ty and s ize? Computer t ime i s cos t ly andshould be kep t to a minimum, co n s i s t en t with accuracy andq u a l i t y . For o f f l i n e p l o t t i n g , the amount of magnetic t aperequ i red to produce a given p l o t i s the determining f ac to r .For onl ine p l o t t i n g , the maximum p l o t t e r speed and thetype of buf fe r ing are o f paramount impor tance . CalComp o f f l ine systems can produce 2,000 l i n e a r inches o f p l o t from a

    2.02

  • 7/30/2019 CalComp Software Reference Manual Oct76

    29/201

    s ing le inch of magnetic t ape . CalComp onl ine systems a recapable of t ime-shared operat ion with other i npu t /ou tpu t equ ipment. When i n t e rna l buf fe r s a re used , these systems can accep thigh i npu t data r a t e s .

    TYPES OF PLOTTERSThe CalComp product l ine inc ludes :

    Drum Electromechanical P l o t t e r s Flatbed Elec t romechan ica l Plo t t e rs Elec t ron ic CRT/Microfilm P l o t t e r s

    Drum PlottersDrum p lo t t e r s pre sen t computer outpu t data in an uninte rruptedmanner. A cont inuous se r i e s of graphs, drawings, or maps canbe completed in rap id sequence, with the paper advancing i n topos i t ion under computer con t ro l fo r each success ive pre sen ta t i on .

    Rep eatabi l i tyRepea tab i l i ty al lows a se r i e s of p ic tu res to be run s e v e ra lt imes fo r updat ing or add i t ion of new informat ion. Continuousp lo t s o f 12 0 f e e t in l eng th a re produced by the ro ta ry motiono f the drum and the l a t e r a l motion o f the pen ca r r i ag e .Figure 2-1 shows and descr ibes drum p l o t t e r s .

    Bal lpo in t /L iqu id Ink PensDrum p lo t t e r s a re ava i lable with e i the r pre ssur i zed b a l l p o i n tpens or l iqu id ink pens in a var ie ty o f co lo r s . Liquid inkpens are ava i l ab le in seve ra l widths . Graphic cha r t ma te r i a l sare ava i lable in the fol lowing forms:

    Trans lucen t paper Vellum Rag paper Mylar (ava i lable with prepr in t ed gr ids )

    2.03

  • 7/30/2019 CalComp Software Reference Manual Oct76

    30/201

    AccessoriesDrum p l o t t e r accessor ies include th e fol lowing:

    Plo t disp lay at tachments ( for 500 se r i e s p l o t -t e r s for ease of viewing f in i shed p lo t s ) Narrow drum k i t s ( fo r wide p l o t t e r s to al lowuse of narrow paper) Clear magnifying r e t i c l e ( fo r accurate manuala l ignment of the p lo t t e r )

    2.04

  • 7/30/2019 CalComp Software Reference Manual Oct76

    31/201

    565 PLOTTER12-inch (30.48 em) drump l o t t e r .Drawing speed: 3 inches /second, 1.5 inches /second, o r 3 em/second.Resolu t ion: 0.01 inches ,0.005 inches , o r

    0.1 mil l imete r s .Tabletop or rack mounted.Eas i ly in te r faced to ava r i e ty o f con t ro l u n i t s .

    836 PLOTTER33.1- inch (84.1 mm) drum

    p l o t t e r .Drawing speed: 50 mm/second(1.97 inches /second) .Resolu t ion: 0 .1 mm (0.004inches) Table top mounted.Plug comp&tible with 500se r i e s p lo t t e r s orop t iona l ly ava i l ab leRS-232C connector .

    Figure 2-1. Drum Plotter Product Line

    2.05

  • 7/30/2019 CalComp Software Reference Manual Oct76

    32/201

    936 PLOTTER33.0- inch (83.8 cm) drump l o t t e r with opt iona lnarrow paper adap ter .3.6 inches/second o r9 cm/second pen downspeed.5 .0 inches/second o r12.5 cm/second pen upspeed.Throughput: 4.25 inches /

    second (10.80 cm)( typica l ) .Resolut ion: 0.002 incho r 0.05 mm.Floor mounted.Easi ly in te r faced to avar ie ty of con t ro lun i t s .3 program-selectable pens .

    1036 PLOTTER33.3- inch (83.8 cm) drump l o t t e r with opt iona lnarrow paper adap ter .10- inch/second or 25 cm/second maximum pendown speed.Throughput: 7 to 8 inches /second (17 cm to 20 cm)( typica l ) .Resolut ion: 0.002 inch o r0.05 mm.Floor mounted.Requires use o f 925 Cont r o l l e r .3 program-selectable pens .In teg ra l noise cover .

    Figure 2-1. Drum Plotter Product Line (cont)

    2.06

  • 7/30/2019 CalComp Software Reference Manual Oct76

    33/201

    Fla bed PlottersThe exposed p l o t t i n g sur face o f CalComp's f la tbed p lo t t e r smakes it poss ib le to view the graphic pre sen ta t ion as it i sbeing p lo t t ed . Fla tbeds a re wel l su i ted to onl ine opera t ionwhere rea l - t ime graph ic ou tpu t i s requi red . The f l a tbedp l o t t e r i s ava i l ab le in seve ra l s izes and i s p a r t i c u l a r l yadap tab le to automat ic dra f t ing app l ica t ions . Fla tbeds a recapable o f handl ing a var ie ty of p repr in t ed forms and s p ec i a lmate r i a l s which normally are n ot p ra c t i c a l fo r p r in t i n g andpunching in r o l l form. This f ac i l i t y al lows fo r easy updat ingo f previous work o r addi t ions to prepr in ted forms. The l a r g e rs ize f la tbeds inc lude a 4-co lo r pen assembly fo r automaticp lo t t ing of mul t i co lo r g raph ics . Figure 2-2 descr ibes var iousf la tbed p l o t t e r s .Flatbed Plotter Drafting ToolFla tbed p lo t t e r s are ava i l ab le with e i t h e r pre ssur i zed b a l l p o i n t pens or l iqu id ink pens. The mater ia l s t ha t may be usedare extens ive and inc lude :

    Paper Vellum Mylar ( fo r inking) Scr ibe coa t ( fo r scr ib ing) Peel coat ( fo r use with fi lm cu t te r s ) Photographic fi lm ( for use with l ightheads)

    Flatbed AccessoriesFla tbed p l o t t e r accessor ies include the fo l lowing:

    748 Pressur ized Inking System: Each of the fourl iqu id ink pen re se rvo i r s are suppl ied withsepara te a i r pressure tubes . The e l e c t ro mechanical system senses p l o t t e r speed andcont ro ls the pressure to each pen as a funct ion o f p l o t t e r speed.

    2.07

  • 7/30/2019 CalComp Software Reference Manual Oct76

    34/201

    502 FLATBED PLOTTER31 x 34 inch (78.74 em x86.36 em) d i g i t a l f la tbedp l o t t e r , opera t ing a t acons tan t speed of 300increments/second. Reso-lu t ion ( increment s ize )o f 0.01 i nch , 0.005 inch ,o r 0.002 inch (0.1 o r 0.05mil l imete r ) . Employsvacuum holddown, s ing lepen, and may be ver t ica l lymounted.

    745 FLATBED PLOTTER43 x 59 inch (109.22 em x149.86 em) prec i s ion f l a t -bed p l o t t e r with a s ingleblack , gran i t e , p lo t t ingsurface g iv ing the p l o t t i n gindus t ry the highes t qua l i ty(most accurate and bes trepea tab i l i ty ) p l o t t e r a ta reasonable speed . Plo t -t e r resolu t ion i s 0.0001inch (0.000254 em) withspeed ranges from 0 .1 to8.0 inches /second (0.254to 20.30 em). Four pensor dra f t ing accessor iesare s tandard . Provenaccessor ies includesc r ibes , fi lm c u t t e r s ,and l i gh theads .

    Figure 2-2. CalComp Flatbed Plotters

    2.08

  • 7/30/2019 CalComp Software Reference Manual Oct76

    35/201

    748 FLATBED PLOTTER48 x 82 inch (122.0 cm x208.0 cm) high per formancef la tbed p l o t t e r fea tu r ingext remely high speed , f l ex i b i l i t y of speed con t ro l andqua l i ty inking through theuse of a comprehensive p r e s sur ized inking system. P l o tspeed can be as high as 42inches /second (107.0 cm),and acce le ra t ion as high as1.4G. Four program-control ledpens are s tandard . Acces-so r ies include sc r ibes andfilm c u t t e r s . It i s a highre so lu t ion p l o t t e r withincrement s ize o f 0.005mil l ime te r .

    960 PLOTTER33 x 59 inch (841 rom x 1518rom) d i g i t a l p l o t t e r withve r t i c a l p lo t t ing su r face .P l o t t e r r eso lu t ion i s 0.0125mil l imete r (0.005 inch) withp lo t t ing speed as high as30 inches/second (75.0 cm)and acce le ra t ion of 4G. Twoprogram-control led pens ares tandard with l i qu id ink orba l lpo in t pens .

    Figure 2-2. CalComp Flatbed Plotters (cont)

    2.09

  • 7/30/2019 CalComp Software Reference Manual Oct76

    36/201

    Flatbed Accessories (cont) Tangent ia l Tool: The Tangent ia l Tool HolderSystem cons i s t s of a too l holder headassembly which mounts on the p l o t t e r pencar r iage , an e lec t ron ic assembly, and aTangent ial Tool Cable Assembly. A scr ibedus t vacuum pickup i s provided. TheTangent ia l Tool Holder System i s designedto accommodate d i r e c t i o n a l too l t ips suchas ch i se l -po in t sc r ib ing too l s and s t r i p pable f i lm cu t t ing knives . The system in dexes the t oo l through 360 0 of ro ta t ionin se lec tab le angular increments underprogram con t ro l such t ha t the t oo l cu t t i ng d i rec t ion i s approximately p a r a l l e lto the d i rec t ion of the p l o t t e r pen car r iage movement. Scr ib ing tools and f i lm

    cu t t ing tools are in te rchangeable . Tan-g e n t i a l sc r ib ing GCS i s required fo rsc r ib ing and t angen t i a l fi lm cu t t ing GCSi s requi red for fi lm cu t t ing . Film cu t t ing may be accomplished a t speeds up to30/ ips (76.20 cm) a x ia l l y . Scr ib ing maybe accomplished a t speeds up to 3 .2 / ips(81.28 cm) axia l ly . Sta t iona ry Scribe System: A tungs ten carbidet o o l i s held s t a t ionary in a too l holderfo r plo t t ing precise l ine widths on nega-t i ve scr ibe f i lm. This mater ia l produces

    high con t ras t , accurate l inework fo rmapping o r numerical con t ro l opt ica l fo l lowing machinery. Line widths rangefrom 0.001 inch to 0.008 inch (0.00254cm to 0.01932 cm). Two d i f f e r e n t systemsare ava i lab le , one fo r the large f l a tbedp l o t t e r and one fo r the smal l f l a tbedp l o t t e r .

    2.10

  • 7/30/2019 CalComp Software Reference Manual Oct76

    37/201

    Flatbed Accessories (cant) Film Cut te r : This system cons i s t s of spade-shaped tungs ten carb ide cu t t ing t oo l sfo r s t r a i g h t (0, 180, ~ 4 5 , ~ 9 0 , or135 degrees) l ines on s t r ippab le f i lm.Str ippable fi lm i s a t r anspa ren t basewith a photograph ica l ly opaque coa t ingt h a t can be cu t and peeled away. I t i s

    popular medium fo r in teg ra ted c i r c u i tmanufacturers and car tographers (mapmakers) . 7182 Opt ica l Writ ing: Avai lab le only fo r the745 Flatbed P l o t t e r . Consis ts of a sys tem capable of producing artwork d irec t ly on photographic f i lm. It hase i g h t program-se lec tab le l i g h t pens

    cons i s t ing of f ibe r opt i c s bundles t h a tcan produce a square , round, or r ec tan gular image on f i lm.Electronic CRT PlotterThe CalComp Model 1670 Elec t ronic P l o t t e r produces highre so lu t ion microfi lm in 16, 35, or 105 mi l l i me t e r fi lmusing incrementa l d o t wri t ing on a high re so lu t ion CRT.The high speed of the 1670 p l o t t e r u t i l i ze s the d i g i t a lincrementa l technology of CalComp elect romechanical p l o t t e r sto produce a high outpu t volume.Reference Figure 2-3.

    2.11

  • 7/30/2019 CalComp Software Reference Manual Oct76

    38/201

    STANDARD FEATURESLinear i ty of be t t e r than ~ 0 . 5 %over the e n t i r e f rame.St ab i l i t y of b e t t e r than ~ O . l %over a cont inous 8-hour pe r iod .Raster of 16,384 x 16,384 addressable spo t pos i t ions .0.0008-inch spo t s ize or l e s son the CRT over the usable CRTarea .Thi r ty l eve l s of programcon t ro l l ed i n t ens i ty producing20 usable l ine weights (minimum).Normal in tens i ty i s s e t a t hardware leve 1 15.Four program-selectable s teps i z e s .High speed hardware cha rac te rgenera to r producing 64 cha r ac te r s a t an average cha rac te rgenerat ion t ime of 25 microseconds . Provides h igh speedpr in t ing on Dacomatic A f i lm.Absolute r epos i t ion ing (movefrom any r a s t e r posi t ion) inl e s s than 150 microseconds.Hardware l ine genera to r providing a maximum throughput of400,000 increments /second andan average inc rementa l ra t e of2.5 microseconds/ increment a thardware in tens i ty l ev e l 15.Hardware ro ta t ion providinge i t h e r Cine or Comic pre sen ta t i on .l6mm, 35mm, and l05mm microf iche cameras are opera to rin te rchangeable .Pushbutton se lec tab le in tens i tyfo r use with AHU or Dacomatic Af i lms with no speed degrada t ion .

    Figure 2-3. 1670 Graphic COM Recorder2.12

  • 7/30/2019 CalComp Software Reference Manual Oct76

    39/201

    1670 OptionsThe 1670 i s ava i l ab le wi th th e fol lowing opt ions :

    CamerasAn opera to r can eas i l y change cameras o r l enseson th e 1670. The except ion i s the 10Smm f u l l frame camera which i s fac to ry i n s t a l l e d .One l6mm o r 3Smm camera i s inc luded in each1670 system (sprocketed or nonsprocke ted) . A10Smm microf iche camera with a 16mm f i lm ad ap te ror a 10Srnrn fu l l - f rame camera i s a l so av a i l ab l e .Typica l app l i ca t ions fo r var ious camera opt ionsare as fo l lows:

    16rnrn NonsprocketedP r i n t i n g

    16mm Sprocke tedMoviesBus iness GraphicsFrame-But ted S t r ip Char t s

    35mm NonsprocketedHigh Resolut ion Graphics e.g., se i smic disp layEngineer ing DrawingsMapping

    3Smm Sprocke tedPr in t ing /Pub l i sh ing (used with Bruning 1800p 1 a te mak e r )Frame-Butted Continuous Graphics

    2.13

  • 7/30/2019 CalComp Software Reference Manual Oct76

    40/201

    1670 Options (cont)105mm Microfiche (with 16rnm adap ter )

    Microf iche (with graphics) plus r o l l f i lmcapab i l i ty

    105mm Ful l FrameLarge Format High Resolu t ion Graphics (maps

    or engineer ing drawings) Lenses

    Optional 16rnm and 35mm lenses p lus 24X, 42X, and 48Xl enses fo r the 105mm microf iche camera. Viewer

    An op t iona l Model 8350 CRT Viewer permi t s the userto view the CRT image fo r v e r i f i c a t i o n purposes .The viewer may be loca ted up to 100 f ee t from the1670 System. Hardware Charac ter Generators

    DRIVERS

    A 64-charac te r , hardware cha rac t e r genera tor i ss tanda rd . Pr in t ing speeds to 10,000 l ine s /minu teare poss ib le using t h i s hardware cha rac t e r genera t o r . An opt iona l Katakana cha rac t e r s e t i s a va i l ab le .

    The CalComp produc t l ine inc ludes seve ra l p l o t t e r d r i v e r s .Drivers accep t e i t h e r i npu t from magnetic tape or they areconnected d i r e c t l y onl ine . Drivers conta in e i t h e r a programmable c o n t ro l l e r or they are hard-wired c o n t ro l l e r s .Table 2-1 l i s t s th e dr ive rs t oge the r with the p lo t t e r s theycan d r iv e .

    2.14

  • 7/30/2019 CalComp Software Reference Manual Oct76

    41/201

    Table 2-1. Plotter/Driver Hardware

    P lo t t e r s "Tape Dri vers Online Drive rs(drum)905 925 621 Jl130B 925

    (IBM 1130) RS-232 (P 18/P 34)565 X X X X836 X X X X X936 X X X X X1036 X XP lo t t e r s( f l a t -beds)

    502 X X X X748 X X745 X X960 X X XP lo t t e r s(e lec-t ron ic )

    1670 X X

    2.15

  • 7/30/2019 CalComp Software Reference Manual Oct76

    42/201

    Model 905 ControllerThe CalComp Model 905 Cont ro l l e r has been d e s i q ~ e d to providelow c o s t of f l i ne p lo t t i ng . Inpu t o f p l o t da ta i s prerecordedmagnet ic tape in IBM compat ib le NRZI or PE format . A r ead only magnetic tape u n i t i s i n t e g ra l to the 905 c on t ro l l e r witha choice of 7- t rack NRZI ( 2 0 0 , 5 5 6 , and 800 b p i ) , 9- t rack NRZI(800 bp i ) , or 9- t rack PE (1600 bpi) read heads . .The 905 con t ro l l e r o f f e r s manual ope ra to r con t ro l s fo r themagnet ic tape func t ions of TAPE DENSITY se l e c t i o n , TAPE LOAD,REWIND, BACKSPACE, FAST FORWARD, and RESET. Other manual cont r o l s / i nd i ca to r s inc lude HALT, POSITION, SINGLE PLOT, MULTIPLEPLOT, and PARITY CHECK. There a re a l so ind ica to r s fo r FINALBLOCK ADDRESS RECORD and INTERMEDIATE BLOCK ADDRESS RECORD.Figure 2-4 shows and desc r ibes the Model 905 Cont ro l l e r .A compact data s t ruc ture has been developed to reduce the amountof da ta t r a ns f e r and a f ixed s ize charac t e r bu f fe r i s providedto al low high speed da ta t r ans f e r . A t ape read speed of 37.5inches / second and up to 200 inches o f p l o t t i ng can be genera tedby each inch of magnet lc t a p e . A r educ t ion of up to 98% overo lde r CalComp systems can be ob ta ined fo r many app l i ca t i onsusing the 905 c on t ro l l e r .

    Model 925 Can trollerThe CalComp Model 925 Cont ro l l e r i s a s to red program devicet h a t has been designed to dr ive a l l CalComp p l o t t e r s . Aunique i ns t ruc t ion s e t with in the 925 c on t ro l l e r opt imizesdata convers ion , format t ing , and da ta t r a ns f e r to the graphicsequipment . This c on t ro l l e r i s an 8,192 (9 -b i t binary) word u n i tt h a t f ea tu res a memory cyc le t ime of 1.15 to 1.65 microseconds.Memory opt ions of up to 32,768 words of core memory are a va i l a b l e . The 925 c on t ro l l e r inc ludes a magnetic tape c a r t r i d g eI/O un i t fo r program loading .Data can be i npu t to the 925 c on t ro l l e r s e v e r a l ways. An in t e g ra l IBM compatible 1/2- inch magnet ic tape un i t i s a va i l ab le in one o f four op t ions :

    7- t rack NRZI with d e n s i t i e s of 200, 556, o r 800bp i 9- t rack NRZI with 800 bpi dens i ty 9- t rack PE u n i t with 1600 bp i dens i ty A s ing l e un i t i nco rpora t ing the f ea tu res of a l lof the above

    The 925 c on t ro l l e r can also use fo r i n p u t a card r eader , anon l ine adap te r (IBM 360/370 system, o r a s e r i a l l ine adap te rto connect onl ine to s e v e r a l popula r minicomputers)

    2 16

  • 7/30/2019 CalComp Software Reference Manual Oct76

    43/201

    905 CONTROLLERIn t e g ra l Magnetic Tape UnitStandard IBM Tape Format -7/9 TrackD ig i t a l P lo t t in g a t MinimumCostEasy to Operate - No Sp ec i a lSki l l s RequiredCompact Coding Techniques Re-duce Data RequirementsAutomatic Error Detect ion

    925 CONTROLLERProgrammable Cont ro l l e rStandard In t e g ra l MagneticTape UnitOpt iona l Card Reader or On-l ine Adapters8K to 32K Words of 9 -B i tCore StorageIn teg ra l Tape Car t r idge Program Load Uni tVersat i le Options (Scal ingand Windowing)

    Figure 2-4. Magnetic Tape Drivers

    2.17

  • 7/30/2019 CalComp Software Reference Manual Oct76

    44/201

    Online InterfacesThe Model 621 Remote Data Phone Receiver P l o t t e r Cont ro l le ri s used with a 500 se r i e s p l o t t e r and various RJE t e rmina l s .The 621 offe rs remote p lo t t i ng a t a low cos t with a widelyused t e rmina l .The Jl130B onl ine i n t e r face i s used with a 936 p l o t t e r andan IBM 1130 computer . The Jl130B/936 offe rs a higher speedand b e t t e r resolu t ion p l o t t e r than an IBM 1627 p l o t t e r .The RS-232/936, RS-232/960, and RS-232/836 onl ine i n t e r f a c e sare used with the p lo t t e r s and any computer system equippedwith an EIA RS-232 i n t e r face connect ion with 9600 BAUD t r a n s miss ion. The RS-232 i n t e r faces are asynchronous devices andrece ive 8-b i t words, se r i a l l y t r ansmi t ted . The RS-232/936and RS-232/960 i n t e r faces fea ture compact da ta t ransmiss ion ,and contain a b u f f e r . These fea tures provide fu l l - speed p l o t t ing with low CPU i n t e r fe rence .The 925 con t ro l l e r may also be connected onl ine to computers.This a l lows a l l CalComp p lo t t e r s to be a t t ached onl ine . Thecore memory of the 925 acts as a buf fe r and al lows f a s t t r a n s miss ion of da ta a long wi th complete checking of d a t a .Other onl ine i n t e r faces support ing 565, 836, and 936 p l o t t e r sare ava i lab le from computer manufacturers .

    PLOTTER PERIPHERALSI tems which complement the p l o t t e r l ine include film proces sors and dup l ica to r s . These i tems do not requi re softwaresuppor t . Items such as d i g i t i ze r s and COM p r i n t e r s do requ i resof tware suppor t .

    Model 942 DigitizerThe 942 d i g i t i z e r i s a high prec i s ion coordinate measuringdevice t h a t conver t s g raph ica l da ta in to d i g i t a l form su i t ab lefo r computer app l ica t ions . This un i t cons i s t s of a 42 x60-inch/work sur face (pedes ta l base) with an i n t e r face toe i t he r a t e le type or keypunch. The work sur face i s comparableto a s tandard dra f t ing tab le with adjus tments for surfacetilt and e leva t ion . The cursor i s a f ree moving type wi th atwo-inch diameter gla ss window contain ing a prec i s ion c ross ha i r r e t i c l e . Five but tons on the cursor , cont ro l a l l d ig i t i z ing func t ions . A d i g i t a l display mounts to the top edgeo f the t ab le and di sp lays X-Y coord ina tes toge ther with asequence number. Figure 2-5 shows the 942 d i g i t i z e r .

    2.18

  • 7/30/2019 CalComp Software Reference Manual Oct76

    45/201

    Dig i t i ze r Operat ionThe 942 output i s f ixed format . CalComp of fe r s software t h a tprovides menu c a pa b i l i t i e s , coordina te t ransformat ions , va r i ab le r eso lu t ion , and other func t ions . This s impl i f i e s d i g i t i z e r opera t ion while f ree ing the user from hardware l i m i t a t ions .

    Model 2100 COM PrinterThe 2100 COM p r i n t e r systems produce alphanumeric computeroutpu t 25 t imes as f a s t as mechanical l ine p r i n t e r s . Ins teadof bulk , paper pr in tou t s , 2100 pr in te rs produce 16mm r o l lmicrofi lm or 105mm microfiche which are easy to r e t r i e ve ,inexpensive t o dup l i ca t e and d i s t r i b u t e , and compact to s to r e .The 2100 COM pr in t e r i s ava i l ab le in seve ra l conf iqura t ions asshown in Figure 2-6 . These conf igura t ions i l l u s t r a t e onl ineo r o f f l i n e sys tems and 16mm r o l l o r l05mm microfiche systerr.s.The cameras use e i the r 24X, 42X, or 48X lenses and the l05mmcamera can handle seve ra l s tandard page formats .2100 COM p r i n t e r fea tures a re :

    Diode plugboard used as a ca r r i age con t ro ltape Pushbutton se lec t ion of Cine or Comic imagero t a t i o n Easi ly ad jus ted g la ss s l ide forms over lay Rese t table frame and f iche coun ters

    The CalComp 2100 COM system i s supported by a complete l ineo f software products in the func t iona l software s ec t i o n .

    2.19

  • 7/30/2019 CalComp Software Reference Manual Oct76

    46/201

    STANDARD FEATURESWork Surface42 x 60 inches (106.68 cmx 152.40 cm)Displays4-d i g i t sequence counte r5 -d i g i t X pos i t ion p luss ign5 -d i g i t Y pos i t ion p luss ign

    CursorFree , with prec i s ion c ro s s r e t i c l e and 5 bu t tons :

    3 bu t tons fo r record ingdata1 bu t ton fo r coordina teor ig in1 but ton fo r advancingthe sequence counte rResolution0.001 inch (0.00254 cm)Accuracy0.005 inch (0.01270 cm)

    Table AdjustmentsHeigh t : 34 to 46 inches(86 .36 cm x116.84 cm)T i l t : 0 to 90 degrees

    Figure 2-5. Model 942 Digitizer

    2.20

  • 7/30/2019 CalComp Software Reference Manual Oct76

    47/201

  • 7/30/2019 CalComp Software Reference Manual Oct76

    48/201

    BASIC SOFTWARE

    GeneralSample ProgramHost Computer Basic SoftwareHCBS Subrout ines

    SECTION 3CONTENTS

    Standard Cal l ing SequencesStandard Basic SoftwareCAL EDIT Basic Sof twareElec t ron ic Basic Software

    Sample ProgramsProgram Number 1Program Number 2

    Accessory Support~ ~ o d e l 942 Dig i t i z e r

    Additional Programming TechniquesUses o f INC in SCALE and LINEShor t cu t Sca l ingForcing SCALE to Choose ZeroScal ing fo r Mult ip le CurvesData Po in t FormulaUsing LINE and SYMBOL with Data Fi l e sDrawing Nonstandard AXIS Cons t ruc t ionsDrawing Nonstandard AXIS Divis ionsUsing th e V'-JHERE Entry

  • 7/30/2019 CalComp Software Reference Manual Oct76

    49/201

    ILLUSTRATIONS

    SECTION 3 (cont)CONTENTS (cont)

    Sample Basic Sof tware GraphSample P l o t (LINTYP -2)Sample P l o t (LINTYP = 0)Sample P l o t (LINTYP = +2 )Sample P l o t , Angular Le t t e r T es tSample P lo t , Average Car ValueSample P l o t , Eu l t ip le P,..xes and LinesScal ing fo r Mult ip le CurvesNonstandard P,_xesSample Use of VJHEPE

  • 7/30/2019 CalComp Software Reference Manual Oct76

    50/201

    GENERAL

    SECTION 3BASIC SOFTWARE

    CalComp Bas ic Software cons i s t s of a s e t of su b ro u t in es fo rth e u se r ' s g en e ra l purpose computing system ( re fe r red to asHost Computer Basic Software - HCBS). In some graph ic sys tems,the sof tware t h a t r e s i d es in the CalComp programmable con-t r o l l e r , r e f e r r ed to as Graphic Co n t ro l l e r Sof tware (GCS) ,i s a l so p a r t o f the CalComp Bas ic Sof tware .CalComp Host Computer Basic Sof tware i s a s e t o f su b ro u t in esca l l ab l e from a u se r ' s program which permi t s t h e u se r t o pe r -form elementary opera t ions on th e p l o t t e r withou t concern fo rthe d e t a i l s o f ac tua l p l o t t e r opera t ion o r outpu t to th e p l o t -t e r . Basic sof tware enab les a u s e r to program a p l o ts imply spec i fy ing the l i n e s and symbols to be drawn. Thesof tware then produces au tomat ica l ly and e f f i c i e n t l y th e codesnecessary to draw t h ese l i n e s and symbols on th e p l o t t e r andoutpu ts them fo r th e r e su l t a n t graph ic di sp lay .In ad d i t i o n to drawing l i n e s between s p e c i f i e d p o i n t s ,alphanumeric and s p e c i a l cha rac t e r s ; CalComp bas i c sof twarei n c lu d es su b ro u t in es t h a t provide the fol lowing fu n c t io n s :

    To draw an annota ted ax i s fo r a graph To s ca l e user data to fit on a graph of agiven s i ze To connect a s e t o f d a t a po in t s with s t r a i g h tl i n e s To p l o t a f loa t ing p o i n t number in FORTRAN'F ' type format

    To sca l e the s i ze o f a p l o tHCBS i s ava i l ab le in t h r ee v e r s i o n s :

    s tandard CAL EDIT Elec t ron ic

    3.01

  • 7/30/2019 CalComp Software Reference Manual Oct76

    51/201

    The s tandard HCBS i s used on a l l CalComp e lec t romechan ica lp l o t t e r s (onl ine/of f l ine) with any c o n t ro l l e r . CAL EDIT HCBSi s only ava i lable for o f f l i n e elect romechanical systemsdriven by a programmable con t ro l l e r with a console . Thee lec t ron ic HCBS i s used with a 1670 COM System and i s s imi la rto s tandard HCBS with the addi t ion o f CRT funct ions and cameraope ra t ions .The GCS i s the software t h a t the user i n t e r faces with whenopera t ing the p lo t t ing equipment . The GCS i s di rec t ly re -l a ted to the type of HCBS used. How to use the GCS i s d i s -cussed in Sect ion 4.

    SAMPLE PROGRAMTo i l l u s t r a t e the use of CalComp Basic Software , the sampleprogram t ha t produced the graph in Figure 3-1 i s shown withthe fo l lowing assumpt ions:

    1 . The 24 pa i r s of TIME and VOLTAGE data valuesare conta ined in a f i l e of 24 records .2. The p lo t t ing pen i s i n i t i a l l y posi t ioned a tthe extreme -Y s ide of the p l o t t e r .

    ~ - - - - - - - - - - - - - - - - - - - N O T E - - - - - - - - - - - - - - - - - - - - - - ~Only 11 executable s ta tements are requ i redto complete the graph.

    DIMENSION XARRAY (26) , YARRAY (26)Reserve space fo r 24 data values plus tw oadd i t iona l loca t ions required by the SCALE,AXIS, and LINE subrout ines .

    10 CALL PLOTS (0 ,0 ,6)In i t i a l i ze the PLOT subrou t ine , g iv ing thel o g i ca l number fo r the ou tpu t dev ice .

    20 READ 25, (XARRAY ( I ) , YARRAY ( I ) , I = 1, 24)25 FORMAT (2F6.2)

    Read 24 pa i r s of TIME and VOLTAGE from an in -p ut f i l e i n to two ar rays with names XARRAYand Y A . . ~ R A Y .

    3.02

  • 7/30/2019 CalComp Software Reference Manual Oct76

    52/201

    aaI f ' )-aaa-aaI f ' )

    I f ' )I

    oaa-aaI f )

    PERF(JRMRNCE TESlREF. NeJ. 1623-Ll6

    - ~ - - - - - - ~ - - - - - - - - - - - - - - - - - - - - - - - - ~ - - - - - - ~'0.00 20.00 ijO.OO 60.00 80.00 100.00TIME IN M I L L I 5 E C ~ N 0 5

    Figure 3-1. Sample Basic Software Graph

    3.03

  • 7/30/2019 CalComp Software Reference Manual Oct76

    53/201

    SAMPLE PROGRAM (cont)30 CALL PLOT (0 .0 , 0 .5 , -3)

    Es tab l i sh a new or ig in 1/2- inch higher thanth e po in t where th e pen was i n i t i a l l y p lacedby the opera to r so t h a t the annota t ion ofthe TIME axis w i l l fit between the ax i s andthe edge of the p l o t t i ng s u r f a c e .

    40 CALL SCALE (XARRAY, 5 .0 , 24, 1)Compute sca l e f ac to r s fo r use in p l o t t i ngth e TIME values with in a 5- inch p l o t t i nga r e a .

    50 CALL SCALE (YARRAY, 6.0 , 24, 1)

    Compute sca l e f ac to r s fo r use in p l o t t i ngth e VOLTAGE data values with in a 6- inchplo t t i ng area ( i . e . , the da ta pa i r s of TIME,VOLTAGE wi l l p l o t with in a 5 x 6-inch area) .60 CALL AXIS (0.0, 0 .0, 20HTIME IN MILLISECONDS,-20 , 5.0 , 0 .0 , XARRAY (25) , XARRAY (26))

    Draw the TIME axis (5 inches long) , usingthe sca le f ac to r s computed in s ta tement 40to determine the mil l i seconds a t each inchalong the TIME ax i s .70 CALL AXIS (0.0, 0 .0 , 7 HVOLTAGE, 7, 6 .0 , 90 .0 ,YARRAY (25), YARRAY (26))

    Draw the VOLTAGE axis (6 inches l ong) , usingth e scale fac tors computed in s ta tement 50to determine the vol tage a t each inch alongthe VOLTAGE a x i s .

    80 CALL LINE (XARRAY, YARRAY, 24, 1 , 2, 4)P l o t VOLTAGE vs TIME, drawing a l ine betweeneach of the 24 sca led poin ts and a symbol Xa t every o ther p o i n t .

    90 CALL SYMBOL (0.5, 5 .6 , 0.21 , 16HPERFORMANCETEST, 0 . 0, 16)P l o t the f i r s t l ine o f the graph title.

    100 CALL SYMBOL (0.5, 5 .2 , 0.14 , l6HREF. NO.1623-46, 0 .0 , 16)P l o t the second l ine of the graph title.

    3.04

  • 7/30/2019 CalComp Software Reference Manual Oct76

    54/201

    SAMPLE PROGRAM (cont)110 CALL PLOT (12.0 , 0 .0 , 999)

    Advance the pen beyond the c u r r e n t p l o t t i n ga rea , w r i t e a t e rmin a t in g r eco rd , and c lo sethe p l o t outpu t d ev i ce .

    120 STOPTerminate program ex ecu t io n .END

    HOST COMPUTER BASIC SOFTWARECalComp's Host Computer Bas ic Sof tware (HCBS) c o n s i s t s of as e t of subrou t ines wri t t en in FORTRAN (and/or Assembly Lan-guage) , which co n t ro l elementary opera t ions o f the p l o t t e rand prov ide a ids in p l o t t i n g gr a phs . These subrou t ines a reca l l ed by CalComp Appl ica t ions Programs, CalComp Host Compu-t e r Funct iona l Sof tware , and u se r w r i t t en programs. A llou tpu t to th e p lo t t i n g sys tem should go th rough the b as i csof tware package.Although the subrou t ines i nc luded in the HCBS package areb as i ca l l y th e same fo r a l l p lo t t i n g system co n f i g u ra t i o n s ,minor mo d i f i ca t io n s o r a d d i t i o n a l subrou t ines a re providedin ce r t a in packages .

    HCBS SubroutinesThe su b ro u t in es i nc luded as p a r t o f the s tandard HCBS packagea re as fo l lows:

    PLOT Subrout ineThe PLOT subrou t ine func t ions as the l o g i ca li n t e r f ace between the u se r ' s program and thep l o t t i n g sys tem. This subrou t ine a c t u a l l yproduces commands fo r the p l o t t e r . The o t h e rsuppor t subrou t ines (SYMBOL, NUMBER, AXIS andLINE) even tua l ly c a l l the PLOT subrou t ine d i -

    3.05

  • 7/30/2019 CalComp Software Reference Manual Oct76

    55/201

    HCBS Subroutines (cont)rec t ly or i nd i r e c t l y . Four other funct ionsclosely assoc ia ted with the PLOT opera t ion a reas fo l lows:

    PLOTSFACTOR

    WHERE

    NEWPEN

    Performs i n i t i a l i z a t i o n .Adjusts the overa l l s i ze o fa p l o t .Returns the cur ren t pen locat i o n .Se lec t s pens .

    These func t ions are programmed as separa te ent rypo in t s within the PLOT subrout ine in some bas i csoftware packages. In other software packages,these funct ions are separa te subrout ines whichc a l l PLOT with a s p ec i a l value o f IPEN to performthe necessary ope ra t ion . In e i the r case , thec a l l i n g sequence and funct ion i s the same. Thediscuss ion in Sect ion 3 assumes t ha t they areen t ry po in t s in the PLOT subrou t ine .

    SYMBOL Subrout ineThe SYMBOL subrout ine produces p l o t annotat ion a tany angle and in any s i z e . There are tw o SYMBOLc a l l formats :

    "Standard" c a l l , used to draw t e x tsuch as t i t l e s , capt ions , and legends . "Special" c a l l , used to draw s p ec i a l

    centered symbols such as a box, o c t a gon, t r i a ng le , e t c . , fo r p l o t t i n g da tapo in t s .The s tandard cha rac te r s ava i l ab le in SYMBOL in clude the l e t t e r s A to Z, d i g i t s 0-9, and FORTRANs p ec i a l cha rac te r s :

    blankequals

    plusminusa s t e r i sk

    3.06

    s lashpa ren thes i s( r igh t and l e f t )commadecimal po in t

  • 7/30/2019 CalComp Software Reference Manual Oct76

    56/201

    HeBS Subroutines (cont)Other charac te rs are ava i lable in symbol rout inesfo r some h o s t computer and p lo t t ing sys tems. Thee n t i r e 64-cha rac te r subse t of ASCII w i l l be a v a i l able , whenever p r a c t i c a l .NUMBER Subrout ineNUMBER conver t s a f l o a t i n g - p o in t number to theappropr ia te dec imal equ iva len t so t h a t th e numbermay be p lo t t ed i n the FORTRAN F- type fo rmat .

    SCALE Subrout ineThe u se r ' s program may accumulate p l o t t i n g data in twoa r rays :

    An ar ray of independent var iab les , X.1 An ar ray of dependent var iab les ,

    Y. = F(X.)1 1It would be unusual if the range o f values in eachar ray corresponded exac t ly with the number o finches ava i lable in the ac tua l p lo t t ing a rea . Forsome problems the range o f da ta i s p r ed i c t ab l e .The programmer can predetermine s u i t ab l e convers ionfac to rs fo r use in drawing the axis sca l e valuesand p lo t t ing the da ta po in t s on the graph . Thesefac to rs are n o t usua l ly known in advance.The SCALE subrou t ine i s used to examine the da tavalues in an a r ray . Both the s t a r t i ng value(minimum or maximum) and a sca l ing fac to r (pos i t i ve or negat ive) must be determined as fo l lows:

    The sca l e annota t ion drawn by th eAXIS subrou t ine a t each d iv i s ionw i l l proper ly rep re sen t the rangeof r e a l da ta values in the a r r a y .

    The da ta po in t s w i l l fit in a givenp lo t t ing a rea , when p lo t t ed by theLI NE s ubrou t i n e .These tw o values are computed and s to red by SCALEa t th e end o f the a r r a y .

    3.07

  • 7/30/2019 CalComp Software Reference Manual Oct76

    57/201

    AXIS Subrout ineMost graphs requ i re ax i s l i n e s and sca les to i n d i ca te the o r i en t a t i o n and values o f th e p lo t t edda ta p o in t s . The most common type of sca led ax i si s produced by the AXIS subrou t ine which performsthe fo l lowing :

    Draws any length l ine a t any ang le . Divides th e l ine i n to I - inch segments(2 -cen t ime te r segments with metr ic so f tware) . Annotates the div i s ions with approp r i a t e sca l e va lues . Labels th e ax i s with a cen tered title.

    When both the X and Y axes a re needed, AXIS i sca l led sepa ra t e ly fo r each ax i s .

    LINE Subrout ineThe LINE subrou t ine produces a l ine p l o t of thep a i r s of da ta values in two ar rays (X and Y) .LINE computes th e page coord ina tes of each p l o t ted poin t according to th e data values in eacha r ray and the respec t ive sca l ing p aramete r s . Theda ta poin t s may be represen ted by cen te red symbolsand /or connect ing l i n e s between p o in t s .The sca l ing paramete rs determined by the SCALEsubrou t ine must immediate ly fol low each a r ray .I f these parameters have n o t been computed by theSCALE subrou t ine , they must be suppl ied by th eu s e r .

    Standard Calling SequencesThis list o f ca l l i n g sequences fo r CalComp Basic Software usest y p i ca l mnemonic names fo r th e arguments . These arguments con-form to s tandard FORTRAN convent ions: if th e first l e t t e r i sI through N, then th e argument must be an i n t eg e r value ; if iti s any othe r l e t t e r , then the argument must be a r e a l ( f loa t ingpoin t ) v a l u e ~ The summary of arguments only prov ides grossd e f i n i t i o n s . Manual 1006, Programming CalComp Electromechan-i c a l P l o t t e r s , exp la ins the f u l l d e t a i l s o f each subrou t ineand i t s arguments.

    CALL PLOT (XPAGE,YPAGE,IPEN,)CALL PLOTS (IBUF,NLOC,LDEV)CALL FACTOR (FACT)CALL W H E ~ (RXPAGE,RYPAGE,RFACT)CALL NEWPEN (IPEN)

    3.08

  • 7/30/2019 CalComp Software Reference Manual Oct76

    58/201

    Standard Calling Sequences (cont)XPAGE,YPAGE a re the X,Y co o rd in a t e s of t h e t e rmin a l

    pos i t ion o f a pen movement, in i n ch es ,from the cu r ren t o r i g i n .IPEN s p e c i f i e s th e pen up/down s t a tu s dur ing movement (UP=3idown=2) and, if negat ive ,es t ab l i s h e s a new o r i g i n a t the newp o s i t i o n .IBUF names a l a rg e o u tp u t buf fe r a rea .NLOC i s the number o f l o ca t i o n s r e se rv ed fo r IBUF.LDEV i s the l o g i ca l number of the p l o t o u tp u t de-v i c e .FACT i s a s ca l e fac to r t h a t determines the en l a rg e -

    ment or r ed u c t io n o f the e n t i r e p l o t .RXPAGE,RYPAGE.RFACT are the l o ca t i o n s t h a t w i l lcon ta in the c u r r e n t va lues o f XPAGE,YPAGE, and FACT a f t e r WHERE i s c a l l e d .IPEN i s th e number o f the pen to be used .

    CALL SYMBOL (XPAGE,YPAGE,HEIGHT,IBCD,ANGLE,+NCHAR)CALL SYMBOL (XPAGE,YPAGE,HEIGHT,INTEQ,ANGLE,-ICODE)CALL NUMBER (XPAGE,YPAGE,HEIGHT,FPN,ANGLE,NDEC)

    XPAGE,YPAGE def ined th e r e l a t i v e or ig in of thec h a r a c t e r s t r i n g (usua l ly the lowerl e f t corne r o f the f i r s t cha rac te rpos i t ion) .

    HEIGHT i s the h e i g h t (and w id th ) , in i n ch es , ofa cha rac te r p o s i t i o n .IBCD i s the l oca t ion o f a ch a rac t e r s t r i n g .ANGLE i s the angle a t which the s t r i n g i s to ber o t a t ed .NCHAR i s the number o f ch a rac t e r s in IBCD.INTEQ i s the i n t eg e r eq u i v a l en t of a s p e c i a lcen te red p l o t t i n g symbol .ICODE s p ec i f i e s th e pen up/down s t a tu s dur ingmovement to the r e l a t i v e o r i g i n .

    3.09

  • 7/30/2019 CalComp Software Reference Manual Oct76

    59/201

    Standard Calling Sequences (cont)

    FPN i s a r e a l ( f loa t ing poin t ) va lue .NDEC s p ec i f i e s the number of decimal places to

    be p r in t ed .CALL SCALE (ARRAY,AXLEN,NPTS,INC)CALL AXIS (XPAGE,YPAGE,IBCD,NCHAR,AXLEN,ANGLE,FIRSTV,DELTAV)CALL LINE (XARRAY,YARRAY,NPTS,INC,LINTYP,INTEQ)

    ARRAY names an ar ray of da ta values .AXLEN i s the leng th of the axis l i n e .NPTS i s the number of e n t r i e s in an ar ray .INC i s the increment between e n t r i e s i n an ar ray .XPAGE,YPAGE i s the r e l a t i ve or ig in of th e ax i sl i n e .IBCD i s the loca t ion of the alphanumer ic ax i s

    ti l e .NCHAR i s th e number of charac te rs in IBCD.ANGLE i s the angle of the ax i s l i n e .FIRSTV i s th e f i r s t sca l e value pr in ted along th eax i s .DELTAV i s the increment between sca le values onthe ax is .XARRAY,YARRAY contain the p a i r s of da ta values tobe p l o t t e d .LINTYP s p ec i f i e s the type of l ine to be drawnthrough the da ta p o in t s .INTEQ i s the i n t eg e r equ iva len t of a s p ec i a l cen-t e red p lo t t ing symbol.

    Standard Basic SoftwareCalComp Standard Basic Software (on l ine o r of f l ine ) i s av a i l -ab le fo r a l l CalComp graph ic p l o t t i n g systems. It i s descr ibedin more d e t a i l in Manual 1006, Programming CalComp Elec t ro -mechanical P l o t t e r s , and cons i s t s o f s tandard HCBS.

    3.10

  • 7/30/2019 CalComp Software Reference Manual Oct76

    60/201

    Standard Basic Software (Cont)The Standard Graphic Cont ro l l e r Software which i s used onCalComp con t ro l l e rs to process data generated by StandardHCBS, al lows the opera to r to se lec t ive ly p l o t por t ions of theda ta and con t ro l the var ious parameters of the p l o t t i n g system.This may be augmented by var ious graphic c o n t ro l l e r func t iona lsof tware packages.

    CAL EDIT Basic SoftwareCalComp C l ~ EDIT Basic Software i s ava i l ab le only fo r Offl inegraphic p l o t t i n g systems dr iven with programmable con t ro l l e rsand i s designed to give the p l o t t e r opera to r s p ec i a l ed i t i n gcon t ro l s .The CAL EDIT software cons i s t s of Host Computer Basic S o f t -ware (HCBS) and Graphic Cont ro l l e r Software (GCS) fo r crea t ingand p l o t t i n g data in a modif ied EIA RS-274 tape format . Thesystem hardware includes the fol lowing:

    CalComp c o n t ro l l e r Inpu t u n i t Communication console ( te le type or equ iva len t ) CalComp p l o t t e r

    The Host Computer Basic Sof tware cons i s t s of a s e t of FORTRANsubrout ines t h a t runs on the u se r ' s computer, and may be ca l ledby hi s app l i ca t ions programs to c rea te p l o t da ta in a modif iedEIA RS-274 format . Current ly ex i s t ing p l o t programs (whichc a l l th e s tandard CalComp bas ic sof tware subrout ines) may bere run with these HCBS subrou t ines to produce a new p l o t t ape ,with little or no modif icat ion to the ex i s t i n g program. Newfea tures are provided wi th t h i s HCBS which are no t ava i l ab lewith the Standard CalComp Basic Sof tware .The add i t iona l fea tures inc lude subrou t ines :

    To p l o t a smooth curve through an a r ray o fdata poin t s To draw a c i r c l e or c i r c u l a r arc To s e t sca l ing , ro t a t i o n , and mirror ingp ar arne te rs To produce a format ted dump of the ou tpu ttape To p r i n t messages to the p l o t t e r ope ra to rduring p lo t t ing

    3.11

  • 7/30/2019 CalComp Software Reference Manual Oct76

    61/201

    CAL EDIT Basic Software (cont)These fea tures toge ther with th e Standard subrout ines (seep . 3.05) are descr ibed in CAL EDIT USER'S GUIDE, Manual 1058.The p l o t data i s p lo t t ed using th e Graphic Cont ro l l e r Softwaret ha t opera tes on a CalComp Cont ro l l e r . The Graphic Cont ro l l e rSoftware provides fo r the fo l lowing add i t iona l c a pa b i l i t i e s :

    Selec t ive search ing o r p lo t t ing under t e l e -type co n t ro l Scal ing , ro ta t ion , and mirror imaging of th ep l o t Correc t ions and /or add i t ions to be i npu t d i -rec t ly from the console Windowing o f the p lo t t ed data

    The software has opt iona l fea tures which al low p lo t s to beover layed on previous p lo t t ed data . Plo t s l a r g e r than thep l o t t e r bed are a lso permi t t ed .

    Electronic Basic SoftwareCalComp Elec t ron ic Basic Sof tware i s ava i l ab le only fo rCalComp Graphic COM Systems. It i s designed to t ake advan-tage of the s p ec i f i c fea tures of COM Systems. The dataformat i s compatible with s tandard bas i c sof tware.The Elec t ron ic HCBS d i f f e r s from the Standard HCBS in t h a tthe PLOT subrou t ine and a l l its e n t r i e s are replaced by aCALCMP subrou t ine .The CALCMP subrou t ine performs the fol lowing func t ions:

    In i t i a l i za t i on Moves beam with spec i f i ed i n t e n s i t y Returns c u r r e n t beam pos i t ion and i n t e n s i t y Advances fi lm Sets p lo t or ig in a t othe r than lower l e f tcorner of frame Sets s tandard i n t e n s i t y Sets sca le fac to rs Crea tes poin t p l o t

    3.12

  • 7/30/2019 CalComp Software Reference Manual Oct76

    62/201

    Electronic Basic Software (cont) Se t s var ious increment s i z e s , ro ta t ion pa ra meters Centers p l o t on frame Repeats frames

    These fea tu re s toge the r with other fea tures a re descr ibed inProgramming The CalComp Model 1675 COM System, Manual 1039.The COM System i s dr iven using th e Graphic Cont ro l l e r Softwaret ha t opera tes on a CalComp c o n t ro l l e r . The Elec t ron ic GCSprov ides fo r the fo l lowing:

    Sets the magnif icat ion t h a t i s to be used Se lec t s the camera t ype , s tep s i z e , frameadvance count , and th e Absolute pos i t ion

    opt ion Selec t s i n t e n s i t i e s and cen te r ing values Performs sca l ing and windowing

    SAMPLE PROGRAMSThe fo l lowing paragraphs con ta in program l i s t i n g s and commentsdescr ib ing the Sample Program d i s t r ibu ted with s tandard- inchHCBS (see Figures 3-2 through 3-7) . Metr ic sample programsuse d i f f e r e n t values .

    Progranl Number 1DIJ;.1ENSION XARRAY (62) , YARRAY (62)Arrays are reserved fo r 60 absc issa andordina te values . Space i s reserved fo rthe two add i t iona l ce l l s requ i red by SCALEand LINE.CALL PLOTS (0 , 0, 6)I n i t i a l i z e the PLOT subrou t ine , g iv ing thel o g i ca l number fo r the outpu t device(usual ly tape) .

    3.13

  • 7/30/2019 CalComp Software Reference Manual Oct76

    63/201

    Program Number 1 (cont)CALL PLOT (0 .0 , - . 5 ,3 )Move pen to (0. , - .5 ) to ensure t h a t Y=Oi s 1 /2 - inch from edge of paper fo r AXIS.This wi l l cause e r ro r s if c lose r than1 /2 - inch from l i m i t swi tch .

    Pl o t t h ree graphs (Figures 3-2 , 3-3 , 3-4) i l l us t ra . t i nq SCALE,AXIS, and LINE.DELTAX=O. 04In i t i a l i z e DELTA-X.DO 110 1=1,3S t a r t loop to p l o t t h ree complete graphs .DELTAX=2.0*DELTAXSet DELTA-X to 0.08 , 0 .16 , 0.32 , forthree graphs .

    X A R P ~ Y ( l ) = D E L T A XI n i t i a l i z e f i r s t element of X-ARPAY toDELTA-X.DO 105 J= 1 ,60Loop to eva lua te 60 po in t s .YARRAY(J)=XARRAY(J) **2-0. 7*XARPAY (J)**3+0. l*XARRAY (J) **4Evalua te equa t ion and place r e s u l t s inY-ARRAY.

    105 X A R P ~ Y ( J + l ) = X A R B A Y ( J ) + D E L T A XS e t the n ex t e lement in X-ARRAY to c u r r e n tone p lus DELTA-X and end loop. (XARRAY(61) i s f i l l ed bu t no t used.)CALL SCALE (XARRAY(l), 6.5 ,60 ,1)Use SCALE subrout ine to sca le X-A_RRAYover 6.5 inches wi th 60 po in t s in a s ing l ear ray . The SCALE subrout ine p laces an adj u s t ed minimum in XARRAY(6l) and an adjus tedde l t a in XARRAY(62).

    3.14

  • 7/30/2019 CalComp Software Reference Manual Oct76

    64/201

    0CD

    :1:r0

    00 Q)Q)0

    0:::r01

    0CD01

    Wf-ITOz ~>--1 --'0 1a=0I>-0

    CD

    000J1

    0:::r0J1

    0CD0J1

    00J(Y)10 . 00

    Q)Q)

    0.80

    PLOTTED ON R CRLCOMP PLOTTERUSING 'I = X2 -O.7*X 3 +O.1*X 4

    1.60 2.40 3.20 4.00X-RBSCISSR

    Figure 3-2. Sample Plot (LINTYP = -2)

    3. 15

    4.80

  • 7/30/2019 CalComp Software Reference Manual Oct76

    65/201

    oooCD(Y)

    ooo("\J(Y)

    oooCD("\J

    ooo~("\J

    oooo("\J

    W1 - - 00:::0z ~>---1 CDo-cr:o10>--0o("\J

    oooCD

    ooo

    ooo

    ooo

    PLOTTED ON R CRLCOMP PLOTTERUSING Y = X2 -O.7*X 3 +O.1*X 4

    ~ 4 - - - - - - - - - ~ - - - - - - ~ - - - - - - - - ~ - - - - - - - - ~ - - - - - - ~ - - - - - - - - ~ - - - -10 . 00 2.00 4.00 6.00 8.00 10.00 12.00

    X-RBSCISSR

    Figure 3-3. Sample Plot (LINTYP = 0)

    3.16

  • 7/30/2019 CalComp Software Reference Manual Oct76

    66/201

    oooo

    ooom

    oooOJ

    oo

    oooN too

    ooW1--- 0If)ITZCJergo

    1 0:::t'>-

    ooo(Y )

    ooo("\J

    ooo

    oo4.00

    PLOTTED ON R CRLCOMP PLOTTERUSING Y = X2 -O.7*X 3 +O.1*X 4

    8.00 12.00 16.00 20.00X-RBSCISSRFigure 3-4. Sample Plot (LINTYP = +2)

    3.17

    24.00

  • 7/30/2019 CalComp Software Reference Manual Oct76

    67/201

    Program Number 1 (cont)CALL SCALE (YARRAY(l) , 10 .0 ,60 ,1)Use SCALE subrout ine fo r Y-ARRAY over10 inches .CALL AXIS (O. ,0. ,10HX-ABSCISSA,-10,6.5,0. ,XARRAY(61) ,XARRAY(62Sta r t i ng a t (0 ,0 ) , p l o t the X-axis (abscissa)6.5 inches long , a t degrees , placing theannota t ion on the clockwise s ide of the a x i s ,and using the va lues ca lcu la ted by the SCALEsubrout ine to l a b e l the t i ck marks. Sincethe axis ( inc luding annotat ion) i s 1/2- inchwide, the s t a r t i ng p o i n t (0.0) must be 1 /2 -inch from the edge o f the paper (see CALLPLOT (0 .0 , -0 .5 ,3 ) above).CALL AXIS (0 . ,0 . ,10HY-ORDINATE,10,10. ,90. ,YARRAY(61) ,YARRAY(62Pl o t a s imi l a r Y-axis , 10 inches long , a t90 degrees, with annota t ion on the counte r clockwise s ide .

    ~ - - - - - - - - - - - - - - - - - - N O T E - - - - - - - - - - - - - - - - - - - - ~I f the minimums ca lcu la ted by th e SCALEsubrout ine are used , the X-axis must s t a r ta t (O,Y) and the Y-axis a t (X,O).

    CALL LINE (XARRAY(l), YARRAY(l), 60 , 1 ,2*(1-2) , I )Pl o t the 60 data po in t s from the X and Yar rays using d i f f e r en t symbols and typesof l i nes . The LINE subrout ine uses thescale fac tors added to the ar rays by theSCALE subrou t ine .CALL SYMBOL (1.3,10., .14,28HPLOTTED ON ACALCOMP PLOTTER,0.,28)CALL SYMBOL ( 1 ~ 3 , 9 . 7 / . 1 4 / 2 8 H U S I N G Y =X -0.7*X +O.l*X ,0 . ,28)CALL NUMBER ( 2 .98 ,9 .8 , . 1 , 2 .0 ,0 . , - 1 )CALL NUMBER ( 3 .96 ,9 .8 , . 1 , 3 .0 ,0 . , - 1 )

    3.18

  • 7/30/2019 CalComp Software Reference Manual Oct76

    68/201

    Program Number 1 (cont)CALL NUMBER (4 . 94 , 9 . 8 , . 1 , 4 . 0 , 0 . , -1)Pl o t a title above each graph. Thecharac t e r s are 0.14 inches high a t degrees . The f i r s t l ine of 28 charac t e r ss t a r t s a t (1 . 3 , 10 . ) , cente red over 6 .5inches . The second l ine o f 28 s t a r t s a t(1 . 3 , 9 . 7 ) , 0 .3 inches below the f i r s t .Three ca l l s to NUMBER are used to p l o tthe exponents fo r the equat ion in thetitle.

    110 CALL PLOT (10 .0 ,0 .0 , -3 )Move c a r r i a g e , with pen up, to (10 ,0) ,r e s e t or ig in fo r the nex t graph, andend loop.

    Pl o t Angular Let te r Tes t (Figure 3-5) .CALL PLOT (4 .5 ,5 .5 , -3 )Move,to (4.5 5.5) and r e s e t or ig in a t cent e r of angu la r l e t t e r t e s t .ANGLE=O.I n i t i a l i z e ANGLE ( in degrees) "to 0.HEIGHT=0.10SI n i t i a l i z e HEIGHT (s ize of annotat ion) to0.105.DO 120 1=1,8Loop to p lo t e i gh t sentences a t d i f f e r en tangles wi th i nc reas ing s i ze .RAD=0.0174S33*ANGLEConvert ANGLE to rad ians fo r s ine andcosine rou t ines .xx=o. 5 *COS (RAD)YY=o. 5 *SIN (PAD)(XX,YY) i s the s t a r t i ng po in t of the sent ence , 0.5 inches from the o r i g i n .

    3.19

  • 7/30/2019 CalComp Software Reference Manual Oct76

    69/201

    RNGULRA LETTEA TEST

    LJlL---

    0 /~ 0 I I0" I"y '> ,:)"\,

    Sfl(OO=H

    =Io

    wUl

    Figure 3-5. Sample Plot, Angular Letter Test

    3.20

  • 7/30/2019 CalComp Software Reference Manual Oct76

    70/201

    Program Number 1 (cont)CALL SYMBOL ( X X , Y Y , H E I G H T , 4 H ~ ~ G = A N G L E , 4 )Using the SYMBOL subrout ine , p l o t thebeginning of the sentence .CALL NUMBER (999.0,999.0.HEIGHT,ANGLE,ANGLE , -1)Use the NUMBER subrout ine to p l o t thevalue of ANGLE fo l lowing ANG= by usingthe spec ia l values of 999.0 fo r X and Y.CALL SYMBOL (999.0,999.0,HEIGHT,4H, H=,ANGLE ,4)CALL NUMBER (999.0,999.0 ,HEIGHT, HEIGHT,ANGLE,3)Pl o t th e value o f HEIGHT, using the sametechnique .HEIGHT=HEIGHT+O.035Increase HEIGHT by 0.035 inches .

    120 ANGLE=ANGLE+45.0Increase N\JGLE by 45 degrees and endloop.CALL SYMBOL ( - 1 . 4 , 4 . 0 , 0 . 1 4 , 1 9 H ~ N G U L A RLETTER TEST,0.0,19)Pl o t th e title, cente red above thet e s t .CALL PLOT ( 4 .5 ,5 .0 ,3 )CALL PLOT ( -4 .5 ,5 .0 ,2 )CALL PLOT ( -4 .5 , -5 .5 ,2)CALL PLOT 4 .5 , -5 .5 ,2 )CALL PLOT 4 .5 , 5 . 0 , 2)Draw a 9 by 10.5 inch rec tangle aroundthe angula r l e t t e r t e s t .CALL PLOT (6 .5 , -5 .5 , -3)Move to (6 .5 , -5 .5 ) and r e s e t or ig in fo rnext p lo t .

    3.21

  • 7/30/2019 CalComp Software Reference Manual Oct76

    71/201

    Program Number 1 (cont)Plo t Car Value Char t (F igure 3-6) without us ing SCALE, AXIS,o r LINE.

    X=1.0I n i t i a l i z e X (car age in years and l oca t ion o f t i ck wark) to 1 .0 .DO 130 1=1,7Loop to p l o t a 7- inch ax is with t i ck warksand anno ta t ion a t every inch .CALL PLOT (X-1 .0 ,0 .0 ,3 )Kove ca r r i age , with pen up, to l a s t t i ckIT_ark.CALL PLOT (X , 0 . 0 , 2 )Kove ca r r i age with pen down, to n ex t t i ckIT ark .CALL PLOT (X , -0 .1 ,2 )Drav! ti ck I T ~ a r k .CALL NUMBER (X- . 02 , -0 . 25 , 0 . 1 , X , 0 . 0 , -1 )Pl o t the va lue o f X (car age in years ) below ti ck r r ~ a r k .

    130 X=X+1.0Increase X by 1 .0 and end loop .Cl\,LL SYYillOTJ (2. 0 , -0 .5 ,0 . 14 ,21HCA.E MODEL A.GE(YEA_ES) ,0 . 0 ,21)P l o t ax is title below the a x i s .VALUE=1000.0I n i t i a l i z e VALUE ( in do l l a r s ) to 1000 .0 .DO 140 1=1,6Loop to p l o t a 9- inch ax is with t i ck marksevery 0.75 i nches and anno ta t ion a t everyo ther t i ck I T ~ a r k .

    3.22

  • 7/30/2019 CalComp Software Reference Manual Oct76

    72/201

    W=:J~IT>cr:::IT

    6000

    5000

    4000

    U 2000

    1000

    RVEARGE eRA VRLUE

    234 5 6 7eRR MODEL RGE (YERRS)

    Figure 3-6. Sample Plot, Average Car Value

    3.23

  • 7/30/2019 CalComp Software Reference Manual Oct76

    73/201

    Program Number 1 (cont)Y=0.0015*VALUESet Y ( locat ion o f t i ck ~ a r k ) to 1.5*VALUE/1000.CALL PLOT (0 .0 ,Y- l .5 ,3)Move c a r r i a g e , with pen up, to l a s t t i ckmark.CALL PLOT (0.0,Y- .75,2)Move c a r r i a g e , with pen down, to i n t e r mediate t i ck mark.CALL PLOT ( - .1 ,Y- .75 ,2)CALL PLOT (0.0,Y- .75,2)Draw t i ck mark.CALL PLOT (O.O,Y ,2)Move c a r r i a g e , with pen down, to nex tt i ck mark.CALL PLOT ( - . l ,Y ,2)Draw t i ck mark.CALL NUMBER ( -0.7,Y,0 14, VALUE,O.O,-l)Pl o t VALUE to the l e f t o f t i ck mark.

    140 VALUE=VALUE+IOOO.OIncrease VALUE by 1000 do l l a r s .CALL SYMBOL ( -0 .8 ,3 .1 ,0 .14,19HCAP VALUE(DOLLAPB) ,90 .0 ,19)Pl o t the ax is title alongside the ax i s .DO 150 1,2000,6000,500S t a r t loop to p l o t n ine curves with valuesfrom 2000 to 6000 do l l a r s .VALUE= II n i t i a l i z e VALUE fo r each curve.

    3.24

  • 7/30/2019 CalComp Software Reference Manual Oct76

    74/201

    Program Number 1 (cont)AGE=O. I n i t i a l i z e AGE to yea rs .CALL PLOT (AGE,0.001S*VALUE,3)Move ca r r i ag e , with pen up, to s t a r t o fcurve .DO ISO J=1,84Loop to p l o t 84 po in t s along curve.VALUE=VALUE*0.972Decrease VALUE by 2.8 pe rcen t .AGE=AGE+O.08333Increase AGE by 1 month (0.0833 years) .

    ISO CALL PLOT (AGE,0.001S*VALUE,2)Draw l ine to new VALUE and end loops .CALL SYMBOL (3 6 . 0,21 ,1 7HAVERAGE CARVALUE, 7)Plo t graph title.CALL PLOT (9 .0 ,0 .0 , -3 )Move pen to (9. ,0) and r e se t or ig in fo rnex t p l o t .CALL PLOT (0 .0 ,0 .0 ,999)STOPCal l PLOT with IPEN=999 to end p l o t t i n gand c lose ou tpu t dev ice .END

    3.2S

  • 7/30/2019 CalComp Software Reference Manual Oct76

    75/201

    Program Number 2CALL PLOTS (0 ,0 ,6)I n i t i a l i z e the PLOT subrou t ine .CALL PLOT (0 .0 , -0 .5 ,3)Move to (0 , - .5 ) to ensure t ha t or ig in i s1/2- inch from edge of paper .

    Plo t graph with mul t ip le axes and l i ne s (Figure 3-7 ) .X=o.oI n i t i a l i z e X to fo r f i r s t ax i s .DO 210 1=1,10Loop to p l o t a 10-inch axis with t i ck marksand annotat ion a t every inch .CALL PLOT (X,0.0,3)Move ca r r i age , with pen up, to s t a r t o faxis segment .X=X+l.Increase X by 1 inch .CALL PLOT (X,0.0,2)CALL PLOT (X,- .1 ,2)Draw ti ck mark.CALL NUMBER (X, -0 .25 ,0 .1 ,5 .0*X,0 .0 , -1)Pl o t values o f WIDTH (5*X) under t i ckmark, and end loop.CALL SYMBOL (4 .0 , -0 .40 ,0 .12 ,1 ,0 .0 , -1 )Pl o t Specia l Symbol 1 t h a t w i l l be usedon l i nes corresponding to t h i s ax i s .CALL SYMBOL (4.2,-0.45,0.14,10HVJIDTH (FT) , 0 .0 ,10)Pl o t the ax is title below the ax i s .

    3.26

  • 7/30/2019 CalComp Software Reference Manual Oct76

    76/201

    oooCD

    ooo(D

    ooor-

    oooil l

    ooo(Y)

    ooo(\ J

    ooo

    THK= 9. IN .

    THK= 6. IN .

    THK= 3. IN .

    I5

    2

    I10

    CRITICRL BUCKLING PRESSURE OFHYPERBOLIC PRRRBOLOID SHELLS FORFIXED WIDTH VS VRRYING THICKNESSFIXED THICKNESS VS VRRYING WIDTH

    I15

    PREPRRED ON R CRLCOMP PLOTTER

    4 6:x: THICKNESS (IN)

    I I20 25i2) WIDTH (FT)

    I30 I35

    Figure 3-7. Sample Plot, Multiple Axes and Lines3.27

    8I40 I45

    WTH= 15. FT.

    WTH= 20 . FT.

    WTH= 25 . FT .

    10I50

  • 7/30/2019 CalComp Software Reference Manual Oct76

    77/201

    Program Number 2 (cont)CALL PLOT (0 .0 ,0 .5 , -3 )Move pen to ( 0 . 0 , . 5 ) , and r e s e t or ig in fo rsecond ax i s .x=o.oI n i t i a l i z e X to fo r second ax i s .DO 220 1=1,5Loop t o p l o t a 10-inch axis with t i ck marksa t every inch and annota t ion a t every o therinch .CALL PLOT (X,0 .0 ,3)Move c a r r i a g e , with pen up, to s t a r t o f axissegment .X = X + 1 .0Increase X by 1 i nch .CALL PLOT (X,0 .0 ,2)CALL PLOT (X,- .1 ,2)CALL PLOT (X,0 .0 ,2)Draw in te rmedia te t i ck mark.x = X + 1 .0Increase X againCALL PLOT (X,0 .0 ,2)CALL PLOT (X,- .1 ,2)Draw another t i ck mark.

    220 CALL NUMBER (X, -0 .25 ,0 .1 ,X,0 .0 , -1)Pl o t values o f THICKNESS (X) under secondt i ck wark, and end loop_CALL SYMBOL (3 .7 , -0 .40 ,0 .12 ,7 ,0 .0 , -1)Pl o t Specia l Symbol 7 t h a t w i l l be usedon l i ne s corresponding to t h i s ax i s .CALL SYMBOL (4.0,-0.45,0.14,14HTHICKNESSI T'1\T \ (\ (\ , A \\ . L l ~ J , v.v, .L":t :J

  • 7/30/2019 CalComp Software Reference Manual Oct76

    78/201

    Program Number 2 (cont)Pl o t the ax is title below the ax i s .Y = 0.0I n i t i a l i z e Y to fo r ve r t i ca l ax i s .DO 230 I = l , 9Loop to p l o t a 9-inch axis with t i ck marksand annota t ion a t every inch .CALL PLOT (0 .0 ,Y,3)Move c a r r i a g e , with pen up, to s t a r t o f axis segment.Y = Y + 1.0Increase Y by 1 inch .CALL PLOT (0 .0 ,Y,2)CALL PLOT ( - .1 ,Y,2)Draw t i ck mark.

    230 CALL NUMBER ( - .15 ,Y- .2 ,0 .1 ,1000.*Y,90.0 ,0)Pl o t values o f pressure (lOOO*Y) to the l e f to f t i ck marks, and end loo