home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / cams / videopp.txt < prev    next >
Text File  |  1988-05-11  |  37KB  |  1,194 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.                                                        CAMS
  24.  
  25.  
  26.                                                 PC VIDEO POSTPROCESSOR
  27.                                                 Reference Manual
  28.  
  29.                                                 Version 3
  30.                                                 Modification 01
  31.  
  32.  
  33.  
  34.  
  35.                                                 Copyright (C) 1987
  36.                                                 by Computer Geometry Co.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.                                                 January 18, 1988
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.                                                 Computer Geometry Co.
  55.                                                 26624 Whispering Leaves
  56.                                                 Newhall, CA   91321
  57.                                                 (805) 252-4938
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.              VIDEOPP comes with no warranties, expressed or implied,
  113.              of any kind;  it is available as-is.  Computer Geometry
  114.              Company  would like to be informed of any problems that
  115.              users of the program encounter, but makes no promise or
  116.              guarantee  that  such problems will be  fixed.   In  no
  117.              event will Computer Geometry Company be liable for  any
  118.              damages,  including  any  lost profits,  lost  savings,
  119.              failure   to   perform,    or   other   incidental   or
  120.              consequential  damages  arising  out  of  the  use,  or
  121.              inability to use, the VIDEOPP program, even if Computer
  122.              Geometry  has been advised of the possibility  of  such
  123.              damages, or for any claim by any other party.
  124.  
  125.  
  126.                                   Disclaimer                      Page 2
  127.  
  128.  
  129.  
  130.  
  131.  
  132.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  133.  
  134.  
  135.                                  1.0  INTRODUCTION
  136.  
  137.         The  CAMS  VIDEO postprocessor (VIDEOPP) is designed for use with
  138.         the  IBM  PC/XT,  PC/AT and compatibles.   It will produce  a  PC
  139.         display  screen  sized plot of the cutter path as  calculated  by
  140.         CAMS.   VIDEOPP  supports  both CGA and  EGA  compatible  display
  141.         devices.
  142.  
  143.         Certain   guiding   principles  are  established   which   govern
  144.         postprocessor behavior.  These are stated in this introduction to
  145.         give  the  user  as clear an understanding  as  possible  of  the
  146.         program's behavior patterns.
  147.  
  148.         The postprocessor uses the entire PC display screen,  producing a
  149.         7  1/2 x 10 plot showing part or all of the cutter path generated
  150.         by  CAMS1 and CAMS2.   Execution of VIDEOPP is broken  into  four
  151.         distinct  phases,  each of which is associated with a distinctive
  152.         display screen.
  153.  
  154.         The first of these is the identification screen.  It contains the
  155.         postprocessor  identification.   After  displaying  this  screen,
  156.         VIDEOPP waits for you to press the "Enter" key to begin plotting.
  157.         Pressing  Ctrl-C at this time will permit you to abort  execution
  158.         of the postprocessor.
  159.  
  160.         The second screen is the plot.   The plotting region consumes the
  161.         entire PC display screen, producing a plot of approximately 7 1/2
  162.         x 10 inches.  This is called the plotting window.   The default X
  163.         axis is parallel to the long dimension of the screen.  The cutter
  164.         path  you  wish  to examine must be  transformed,  using  a  CAMS
  165.         matrix,  in  such a way as to show in the plotting window to  its
  166.         best advantage.
  167.  
  168.         After  the  entire  CL path has been plotted on the  PC  display,
  169.         VIDEOPP waits,  retaining the completed plot on the screen, until
  170.         you  press the "Enter" key.   At that time,  the final screen  is
  171.         displayed.   This re-iterates the postprocessor's  identity,  and
  172.         displays   pertinent  information  about  the   plot,   including
  173.         recommendations  for plotting transformations which  may  improve
  174.         the  cutter path display.   At the end of this display,  you  are
  175.         given the opportunity to replot the CL file.   Should you opt not
  176.         to proceed, the VIDEOPP process terminates.
  177.  
  178.         Should  you opt to replot the CL file,  the fourth screen  allows
  179.         you to define...
  180.  
  181.              1. The  coordinates of the point to be moved to  the  window
  182.                 center.
  183.              2. The plot scale.
  184.              3. The XY rotation angle for the plot.
  185.              4. The YZ rotation angle for the plot.
  186.              5. The ZX rotation angle for the plot.
  187.              6. The ISN range to be plotted
  188.              7. Establish single step operation with plot color control.
  189.  
  190.  
  191.  
  192.         Chapter 1.              Introduction                      Page 3
  193.  
  194.  
  195.  
  196.  
  197.  
  198.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  199.  
  200.  
  201.         Upon  verifying  these  parameters,  a  new  plotting  matrix  is
  202.         calculated and the CL file is replotted.  Upon reaching the third
  203.         screen again,  the new plotting matrix is displayed,  and you are
  204.         once  again  asked if you want to replot.   (Note,  if  you  have
  205.         trouble with matrices,  do a "Shift/PrtSc" and print this screen.
  206.         You  can  use the matrix in subsequent PLT/ statements for  later
  207.         plotting to a pen-plotter.)
  208.  
  209.         If  the  coordinate  origin  is within  the  plotting  window,  a
  210.         coordinate axis logo will be plotted in the window.  This logo is
  211.         rotated,  translated,  and scaled with the cutter path. It serves
  212.         to visually inform you of the plotting relationships.
  213.  
  214.         A sample part program may be found in appendix A.
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.         Chapter 1.              Introduction                      Page 4
  259.  
  260.  
  261.  
  262.  
  263.  
  264.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  265.  
  266.  
  267.                                  2.0  VOCABULARY
  268.  
  269.         The VIDEO postprocessor vocabulary is used to control the actions
  270.         of  the  postprocessor.   Only  a very minimum of  vocabulary  is
  271.         required.   Only  the  PLT/  statement  is unique  to  the  VIDEO
  272.         postprocessor.  All other vocabulary words are unchanged from the
  273.         way they are used by the machine postprocessor for which the part
  274.         program is being generated.
  275.  
  276.         What  follows  is a complete list of all of  the  CAMS vocabulary
  277.         words   recognized   by  the  postprocessor,   together  with   a
  278.         description  of how these words (and statements) are  interpreted
  279.         by the program.
  280.  
  281.  
  282.         2.01  CYC/<parameters>
  283.  
  284.              The CYC/ command is used to control certain of the  built-in
  285.              machining  cycles  available  in  the  NC  controller,  e.g.
  286.              drilling,  step-drilling,  boring,  and tapping.  When using
  287.              these built-in cycles,  the part programmer merely specifies
  288.              a  list of points at which the cycle is to be applied.   The
  289.              VIDEO  postprocessor will plot a special symbol at  each  of
  290.              the  listed points at which the cycle applies.  What follows
  291.              is a list of the plot symbols used for each cycle type...
  292.  
  293.                   CYC/DRL,<parameters>
  294.  
  295.  
  296.  
  297.  
  298.                   CYC/PEK,<parameters>
  299.  
  300.  
  301.  
  302.  
  303.                   CYC/BOR,<parameters>
  304.  
  305.  
  306.  
  307.  
  308.                   CYC/TAP,<parameters>
  309.  
  310.  
  311.  
  312.  
  313.                   CYC/CBOR,<parameters>
  314.  
  315.  
  316.  
  317.  
  318.              All  other  cycle  types are ignored  by  the  postprocessor
  319.              except  for  the CYC/OFF  statement,  which  terminates  the
  320.              generation of symbols at the cycle points.
  321.  
  322.  
  323.  
  324.         Chapter 2.              Vocabulary                        Page 5
  325.  
  326.  
  327.  
  328.  
  329.  
  330.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  331.  
  332.  
  333.  
  334.         2.02  FROM/<point>
  335.  
  336.              The  FROM/  point  is used to establish an  origin  for  the
  337.              machine   control  data.   The  FROM/  statement  tells  the
  338.              postprocessor that the plot begins at the FROM/  point.   It
  339.              will move to this position with the pen up.
  340.  
  341.  
  342.         2.03  MCH/<n>
  343.  
  344.              The  MCH/  statement  is  used to both  select  the  VIDEOPP
  345.              postprocessor  and  to determine the type of display  to  be
  346.              used.    Both  CGA  (Composite  Graphics  Adapter)  and  EGA
  347.              (Enhanced  Graphics Adapter) display devices are  supported.
  348.              The  numeric  value  <n> establishes the  plotting  mode  as
  349.              follows...
  350.  
  351.                   n = 0 ..... CGA 640x200 resolution monochrome plot.
  352.  
  353.                   n = 1 ..... CGA 320x200 resolution color plot.
  354.  
  355.                   n = 2 ..... EGA 640x350 resolution monochrome plot.
  356.  
  357.                   n = 3 ..... EGA 640x200 resolution color plot.
  358.  
  359.              If  MCH/  statement is omitted from the  part  program,  the
  360.              default  plotting mode is n=0.   Note that EGA displays  may
  361.              use  all four modes,  whereas a CGA display may only be used
  362.              with n=0 or n=1.
  363.  
  364.              The  higher  resolutions produce finer  screen  plots.   The
  365.              color  plots,  while of coarser  resolution,  can  sometimes
  366.              improve  the  differentiation  between closely  spaced  tool
  367.              paths.   Obviously,  the EGA compatible devices will produce
  368.              visibly better plots than will the CGA compatible displays.
  369.  
  370.              WARNING:  If  you do not have a display/controller for  EGA,
  371.              then  attempting  to  plot in EGA mode  will  cause  strange
  372.              things to happen on your screen.   You may need to perform a
  373.              reset (Ctrl-Alt-Del) to clear it up.
  374.  
  375.  
  376.         2.04 PNO/<alphanumerics>
  377.  
  378.              The  PNO/ command must be the first record on the  CL  file.
  379.              It  is  used  to  establish  the  plot  identifior,  and  is
  380.              reproduced  in  the  plot's final screen.   To  improve  the
  381.              recognition  of the plot's content,  it is recommended  that
  382.              the  alphanumerics contain the part  number,  a  descriptive
  383.              title  (usually  taken from the blue-print title),  and  the
  384.              date of program processing.
  385.  
  386.  
  387.  
  388.  
  389.  
  390.         Chapter 2.              Vocabulary                        Page 6
  391.  
  392.  
  393.  
  394.  
  395.  
  396.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  397.  
  398.  
  399.         2.05  PLT/ ON
  400.                   <matrix>
  401.                   <n>
  402.                   OFF
  403.  
  404.              The  PLT/ command (Postprocessor PLOT) is used to  1)  enter
  405.              the  plotting  transformation,  2)  enter  the  pen  (color)
  406.              number,  and/or  3)  temporarily  or  permanently  terminate
  407.              plotting activity.
  408.  
  409.              If a numeric value appears as the only parameter in the PLT/
  410.              statement,  that number, modulo 5 for CGA displays (modulo 8
  411.              for  EGA displays),  will be used as the VIDEO  pen  number.
  412.              Using  modulo  5  (or modulo 8) insures that  the  following
  413.              relationships hold...
  414.  
  415.                   0 <= <n> <= 4  for CGA compatible color plots.
  416.  
  417.                   0 <= <n> <= 7  for EGA compatible color plots.
  418.  
  419.              Of  course,  pen  numbers  will be ignored  when  using  the
  420.              monochrome plotting options.  If <n> modulo 5 (or 8) = 0 the
  421.              color  selected  becomes  the  background  color,   and  the
  422.              remainder of the plot is immediately rendered invisible.
  423.  
  424.              If  a PLT/ statement with a matrix is omitted from the  part
  425.              program,  then  the most recently defined matrix  definition
  426.              will be used.  (The default matrix is a unit matrix, i.e. no
  427.              translation or rotation applied.)
  428.  
  429.              Each  plot is controlled by a transformation matrix of  your
  430.              choosing.   You  must  enter  the symbol for  a  pre-defined
  431.              matrix into the PLT/ statement.
  432.  
  433.              Using  transformation matrices,  you may view a cutter  path
  434.              from any perspective.   Any matrix archtype,  or combination
  435.              of  archtypes,  may  be used.   This  includes  translation,
  436.              rotation and scale.
  437.  
  438.              To  turn  plotting off,  use the  statement  "PLT/OFF".   To
  439.              resume plotting,  use the statement "PLT/ON".   You may also
  440.              resume   plotting  with  a  "PLT/<n>"  or  a   "PLT/<matrix>
  441.              statement.   If the new value for <n> is different than  the
  442.              preceeding <n> value,  a color change will take place before
  443.              the plotting resumes.  In any case, if "PLT/<matrix>" is not
  444.              used, the previous transformation applies.
  445.  
  446.              The  default  plot origin is at the center of  the  plotting
  447.              sheet.  The default plot scale is at full scale (1:1) in the
  448.              XY plane.  Using these defaults,  the lower left hand corner
  449.              of the plot is at coordinates [-3.5,-4.45],  the upper right
  450.              hand corner at [3.5,4.45].   If the CL file that you wish to
  451.              plot exceeds these dimensions,  then it will be necessary to
  452.              provide  an appropriate plotting transformation to bring the
  453.              entire cutter path into the plotting window.
  454.  
  455.  
  456.         Chapter 2.              Vocabulary                        Page 7
  457.  
  458.  
  459.  
  460.  
  461.  
  462.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  463.  
  464.  
  465.  
  466.  
  467.         2.06  RPD
  468.  
  469.              The  RPD  command  (RaPiD traverse) is used  to  inform  the
  470.              postprocessor  that the next upcoming move is to be done  at
  471.              high speed for the machine tool.   RPD is one-shot;  that is
  472.              to  say,  it provides a one-move override to the  prevailing
  473.              (modal)  feedrate.   Once  the  single  move  is  completed,
  474.              feedrate control is resumed.
  475.  
  476.              The  VIDEO  postprocessor  displays rapid motion  as  dashed
  477.              lines.   Therefore,  each RPD statement turns on the  dashed
  478.              line generator for exactly one motion.   After the motion is
  479.              completed,  solid  lines are generated to signify motion  at
  480.              feedrate.
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.         Chapter 2.              Vocabulary                        Page 8
  523.  
  524.  
  525.  
  526.  
  527.  
  528.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  529.  
  530.  
  531.                            3.0  EXECUTING THE POSTPROCESSOR
  532.  
  533.         The  postprocessor  is  invoked from the command line  by  simply
  534.         entering  its  name and the filename of the  CL  data  file.   An
  535.         example  of how the PC's screen will look before execution of the
  536.         plotting phase is as follows....
  537.  
  538.         C>VIDEOPP THINGMJ.CLF
  539.  
  540.                            ========================================
  541.                                      CAMS  Post  Processor
  542.                                      IBM  PC & COMPATIBLES
  543.                                   Version 3,  Modification 00
  544.  
  545.                            Copyright  1987 by Computer Geometry Co.
  546.                                       All Rights Reserved
  547.                            ========================================
  548.  
  549.                                      Date: 26-Dec-87
  550.  
  551.  
  552.                            **** Press ENTER to begin plotting ****
  553.  
  554.  
  555.         Once  you  have  pressed the "Enter" key,  the CL  plot  will  be
  556.         displayed.
  557.  
  558.         WARNING:  STRANGE THINGS HAPPEN TO YOUR SCREEN IF YOU USE THE EGA
  559.         PLOTTING OPTIONS ON A CGA DISPLAY.   This usually happens to part
  560.         programs  that  may have been downloaded to a CGA equiped  system
  561.         from  a system having an EGA display.   DON'T PANIC!   An  escape
  562.         valve has been included which will restore your display.  USE THE
  563.         "Esc"  KEY.   This  should restore your display,  and  abort  the
  564.         VIDEOPP processor.   If the "Esc" key fails,  the only way out is
  565.         to  re-initialize  DOS (using "Ctrl/Shift/Del").   Then you  must
  566.         edit  the CAMS source part program to put in the  proper  MCH/<n>
  567.         statement, where <n> is either 0 or 1.
  568.  
  569.         The  plotting  action may be stopped at any time by pressing  the
  570.         space-bar.   You  can single-step through the plot  by  continued
  571.         pressing  of  the  space-bar key.   Continuous  plotting  may  be
  572.         resumed  by pressing any key other than the space-bar.
  573.  
  574.         Once  you are in single step mode,  you can clear the  screen  by
  575.         entering the character "C" (either upper or lower case).  This is
  576.         useful if previously plotted tool paths obstruct your view of the
  577.         current motion.
  578.  
  579.         If  you have established a color plot in your part program by  an
  580.         appropriate  "MCH/..."  statement,  and  you are in  single  step
  581.         operation,  then you can also control the plot color by using the
  582.         numeric keys.   For CGA color mode,  numeric keys 1, 2, and 3 are
  583.         active.   For EGA color mode,  numeric keys 1 thru 7 are  active.
  584.         Should  you be in one of the black and white modes,  the  numeric
  585.         keys are ignored.  Note that if a "MCH/..." statement is omitted,
  586.  
  587.  
  588.         Chapter 3.        Executing The Postprocessor             Page 9
  589.  
  590.  
  591.  
  592.  
  593.  
  594.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  595.  
  596.  
  597.         the default is CGA black and white mode.
  598.  
  599.         With  a  successful operation,  the CL plot will  remain  on  the
  600.         screen until you press "Enter" again, at which time the following
  601.         screen will be displayed...
  602.  
  603.  
  604.                            ========================================
  605.                                      CAMS  Post  Processor
  606.                                      IBM  PC & COMPATIBLES
  607.                                     640x200 CGA B&W Monitor
  608.                                   Version 3,  Modification 00
  609.  
  610.                            Copyright  1987 by Computer Geometry Co.
  611.                                       All Rights Reserved
  612.                            ========================================
  613.  
  614.                                      Date: 26-Dec-87
  615.  
  616.         PNO/ CAMS TEST CASE #1 - THINGAMAJIG - 12/17/86
  617.  
  618.           RECOMMENDED TRANSLATION:      .37500     2.22500     -.41250
  619.         RECOMMENDED SCALE [X,Y,Z]:     1.22759     1.57303     1.00000
  620.                LOWER  LEFT CORNER:    -4.00000    -4.45000     -.05000
  621.                UPPER RIGHT CORNER:     3.25000      .00000      .87500
  622.  
  623.         ****   0 ERRORS ****
  624.  
  625.         [Y/N] PLOT AGAIN?
  626.  
  627.  
  628.         After  all cut vectors in the CL file have  been  processed,  the
  629.         postprocessor  will print the recommended plot parameters on  the
  630.         screen.   These parameters may be used to maximize the use of the
  631.         plotting  window  to  display  the  CL  data.    The  translation
  632.         represents the X, Y, and Z translation factors to move the center
  633.         of  the plot into the center of the plotting window.   The  scale
  634.         factors  in X and Y will work with the translation to utilize the
  635.         full  window  area for plotting.   Using  the  example  portrayed
  636.         above, the following CAMS statements will produce an optimum plot
  637.         of the CL file...
  638.  
  639.  
  640.              MAT/M1=TRN,0.375,2.225,-.4125
  641.              MAT/M2=SCL,1.2,M1
  642.              PLT/M2
  643.  
  644.  
  645.         A  word of caution about the use of these parameters is in order.
  646.         The postprocessor computes the parameters of the plot from ALL of
  647.         the motions in the CL file.   On some machines,  the tool changer
  648.         is  far away from the workpiece area.   The tool change  position
  649.         would  be included in the plotting window.   In this case,  using
  650.         the parameters may not produce as good a result as you would  get
  651.         by leaving the tool change position off-window.
  652.  
  653.  
  654.         Chapter 3.        Executing The Postprocessor             Page 10
  655.  
  656.  
  657.  
  658.  
  659.  
  660.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  661.  
  662.  
  663.  
  664.         This  screen  terminates in a request line which permits  you  to
  665.         generate  further  plots from the CL file.   Only a "Y" or a  "y"
  666.         (upper  or  lower case Y) will permit you to  continue  plotting.
  667.         Should you enter anything else,  the postprocessor will terminate
  668.         and return to DOS.
  669.  
  670.         If you chose to continue by entering a "Y", a new message appears
  671.         at the bottom of the screen as follows...
  672.  
  673.  
  674.          [Y/N] SAME?
  675.  
  676.  
  677.         Responding with an "Enter", "Y", or "y" will produce an immediate
  678.         replot  of the CL file without changing the  currently  effective
  679.         parameters.  Should you press any other key, the screen clears to
  680.         the following display:
  681.  
  682.  
  683.                                =========== VIDEOPP ===========
  684.                                     EDIT PLOT PARAMETERS
  685.                                ===============================
  686.  
  687.          PLOT CENTER X =     .00000 ?
  688.  
  689.  
  690.         This  line  shows  the X coordinate of the current  default  plot
  691.         center.  The plot center is defined to be a point in your CL file
  692.         space that you want centered in the plotting window.
  693.  
  694.         At  this entry,  only two responses are recognized;  an  "Enter",
  695.         which indicates acceptance of the value displayed,  or a  numeric
  696.         value  followed  by  an "Enter",  which will  replace  the  value
  697.         displayed.   Should you key anything else,  the request line will
  698.         be   stubbornly  reiterated  until  a  satisfactory  response  is
  699.         entered.   In any case,  when "Enter" is keyed, with or without a
  700.         replacement number, the program requests the next entry.
  701.  
  702.  
  703.                                =========== VIDEOPP ===========
  704.                                     EDIT PLOT PARAMETERS
  705.                                ===============================
  706.  
  707.          PLOT CENTER X =     .00000 ? -.4
  708.          PLOT CENTER Y =     .00000 ?
  709.  
  710.  
  711.         Immediately  after  entering the plot center  X  coordinate,  the
  712.         request  for the plot center Y coordinate appears on the  screen.
  713.         The rules for entry are the same as for the X  coordinate.   This
  714.         entry  pattern  continues  until  you have  entered  or  accepted
  715.         coordinates for the 3 dimensional plot center, as follows...
  716.  
  717.  
  718.  
  719.  
  720.         Chapter 3.        Executing The Postprocessor             Page 11
  721.  
  722.  
  723.  
  724.  
  725.  
  726.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  727.  
  728.  
  729.                                =========== VIDEOPP ===========
  730.                                     EDIT PLOT PARAMETERS
  731.                                ===============================
  732.  
  733.          PLOT CENTER X =     .00000 ? -.4
  734.          PLOT CENTER Y =     .00000 ? -2.2
  735.          PLOT CENTER Z =     .00000 ? .4
  736.             PLOT SCALE =    1.00000 ?
  737.  
  738.  
  739.         The  request  for the plot scale appears on the screen after  the
  740.         plot  center  point is completely entered.   The  plot  scale  is
  741.         defined  as  a positive number greater than 0.001.   Values  less
  742.         than  or  equal to 0.001,  including negative  entries,  are  not
  743.         acceptable.  As before, the default scale value is displayed, and
  744.         the  rules for accepting or rejecting the default value  are  the
  745.         same as with the plot center coordinates.
  746.  
  747.         The  next parameters to accept or enter are the XY rotation,  the
  748.         YZ  rotation,  and the ZX rotation to be applied to the CL  data.
  749.         These rotations are taken about the plot center, and at the scale
  750.         specified  by  the above inputs.   The same rules of  data  entry
  751.         apply.  Completion of the plot rotation input sequence produces a
  752.         screen that looks like ...
  753.  
  754.  
  755.  
  756.                                =========== VIDEOPP ===========
  757.                                     EDIT PLOT PARAMETERS
  758.                                ===============================
  759.  
  760.          PLOT CENTER X =     .00000 ? -.4
  761.          PLOT CENTER Y =     .00000 ? -2.2
  762.          PLOT CENTER Z =     .00000 ? .4
  763.             PLOT SCALE =    1.00000 ?
  764.            XY ROTATION =     .00000 ? 20
  765.            YZ ROTATION =     .00000 ? 30
  766.            ZX ROTATION =     .00000 ?
  767.            MINIMUM ISN =    1.00000 ?
  768.  
  769.  
  770.         You  now  must specify the range of ISN numbers to be plotted  in
  771.         the next frame.   The default value always specifies the  minimum
  772.         ISN  of  the part program,  as it appears on the  CL  file.   The
  773.         program  will  only accept those values for minimum ISN that  lie
  774.         between  the  actual minimum and maximum ISN numbers  on  the  CL
  775.         file.After  the minimum ISN is entered,  the program will request
  776.         the maximum ISN,  whose default is the maximum actual ISN  number
  777.         detected  on the CL file.   Again,  the same rules of data  entry
  778.         apply.   Completion  of the input sequence produces a screen that
  779.         looks like ...
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.         Chapter 3.        Executing The Postprocessor             Page 12
  787.  
  788.  
  789.  
  790.  
  791.  
  792.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  793.  
  794.  
  795.                                =========== VIDEOPP ===========
  796.                                     EDIT PLOT PARAMETERS
  797.                                ===============================
  798.  
  799.          PLOT CENTER X =     .00000 ? -.4
  800.          PLOT CENTER Y =     .00000 ? -2.2
  801.          PLOT CENTER Z =     .00000 ? .4
  802.             PLOT SCALE =    1.00000 ?
  803.            XY ROTATION =     .00000 ? 20
  804.            YZ ROTATION =     .00000 ? 30
  805.            ZX ROTATION =     .00000 ?
  806.            MINIMUM ISN =    1.00000 ?
  807.            MAXIMUM ISN =   40.00000 ?
  808.  
  809.  
  810.         INPUT VERIFICATION: PLOT CENTER =     -.40000   -2.20000     .40000
  811.                             PLOT  SCALE =     1.00000
  812.                             XY ROTATION =    20.00000
  813.                             ZX ROTATION =    30.00000
  814.                             YZ ROTATION =      .00000
  815.                             MINIMUM ISN =      1
  816.                             MAXIMUM ISN =     40
  817.         [Y/N] OK? y
  818.         [Y/N] SINGLE STEP?
  819.  
  820.  
  821.         As  you can see,  the system produces a verification list of  the
  822.         data  you  have either entered or accepted,  and  gives  you  the
  823.         opportunity   to  edit  these  parameters  before  proceeding  by
  824.         entering  a "N".   Pressing a "Y" or "Enter" key will  bring  the
  825.         single step option on-screen,  as shown above.  Pressing a "Y" or
  826.         "y" key will immediately produce the modified CL plot.   Pressing
  827.         any other key is interpreted as a "N" response.   In either case,
  828.         the system will then immediately begin the plotting session.
  829.  
  830.         After the new plot has completed, you will then see the following
  831.         screen...
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.         Chapter 3.        Executing The Postprocessor             Page 13
  853.  
  854.  
  855.  
  856.  
  857.  
  858.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  859.  
  860.  
  861.                            ========================================
  862.                                      CAMS  Post  Processor
  863.                                      IBM  PC & COMPATIBLES
  864.                                     640x200 CGA B&W Monitor
  865.                                   Version 3,  Modification 00
  866.  
  867.                            Copyright  1987 by Computer Geometry Co.
  868.                                       All Rights Reserved
  869.                            ========================================
  870.  
  871.                                      Date: 26-Dec-87
  872.         MANUAL INPUT PLOT MATRIX:     .93969   -.34202    .00000   -.37657
  873.                                       .29620    .81380    .50000   1.70883
  874.                                      -.17101   -.46985    .86603  -1.44848
  875.  
  876.         PNO/ CAMS TEST CASE #1 - THINGAMAJIG - 12/17/86
  877.  
  878.           RECOMMENDED TRANSLATION:      .37500     2.22500     -.41250
  879.         RECOMMENDED SCALE [X,Y,Z]:     1.22759     1.57303     1.00000
  880.                LOWER  LEFT CORNER:    -4.00000    -4.45000     -.05000
  881.                UPPER RIGHT CORNER:     3.25000      .00000      .87500
  882.  
  883.         ****   0 ERRORS ****
  884.  
  885.         [Y/N] PLOT AGAIN?
  886.  
  887.  
  888.         Notice  that this screen shows the calculated plotting matrix for
  889.         the  view of the CL data you have just seen.   The matrix may  be
  890.         recorded  (preferably by using the "Shift/PrtSc" key  combination
  891.         to  send it to the printer) and entered into the CAMS source part
  892.         program.   It  is  particularly useful if you wish  to  plot  the
  893.         generated view later on a pen-plotter.
  894.  
  895.         A word about the relationship between the coordinates of the plot
  896.         center  and  the translation factors as shown in the  recommended
  897.         plot  parameters.   The one is the negative of  the  other.   The
  898.         translations  factors  are the values which,  when added  to  the
  899.         coordinates  of any point in the CL file (e.g.  the plot  center)
  900.         will produce a point in the display space.   In particular,  when
  901.         they  are  added  to the plot center,  the result  is  the  point
  902.         [0,0,0].  Therefore, if you enter the negative of the translation
  903.         factors  when asked for the plot center,  you will produce a plot
  904.         at the geometric center of all motions on the CL file.
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.         Chapter 3.        Executing The Postprocessor             Page 14
  919.  
  920.  
  921.  
  922.  
  923.  
  924.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  925.  
  926.  
  927.                                  4.0  ERROR MESSAGES
  928.  
  929.         The postprocessor will ignore part program statements whose major
  930.         words are not in it's vocabulary.   However,  if the  statement's
  931.         major word is in the postprocessor vocabulary,  a syntax check of
  932.         the  CL record will take place.   Those statements not formulated
  933.         as  described above will not be properly processed,  and an error
  934.         message will be generated.
  935.  
  936.         Upon  discovering  an  erroneous input,  the  postprocessor  will
  937.         produce  one of several messages.   These messages  will  provide
  938.         useful  clues  as  to the source of the error.   A  list  of  the
  939.         messages and their meanings follows...
  940.  
  941.         ** CL FILE READ FAILED
  942.  
  943.                   The  postprocessor encounterd a read failure on the  CL
  944.                   file, possibly caused by faulty disk media.
  945.  
  946.         ** CYCLE PARAMETERS MISSING
  947.  
  948.                   The cycle statement does not contain a cycle type (e.g.
  949.                   DRL,TAP).  Check the section in chapter two on CYC/.
  950.  
  951.         ** LINEAR MOTION ERROR
  952.  
  953.                   This  error  occurs  when the  CL  file  is  improperly
  954.                   formatted for linear motion.   Please contact  Computer
  955.                   Geometry if this error is encountered.
  956.  
  957.         ** PLT/ PARAMETER ERROR
  958.  
  959.                   The  VIDEO  postprocessor  is unable to  interpret  the
  960.                   plotting  parameters as either the canonical form of  a
  961.                   matrix, a pen number, or the minor words ON or OFF.
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.         Chapter 4.              Error Messages                    Page 15
  985.  
  986.  
  987.  
  988.  
  989.  
  990.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  991.  
  992.  
  993.                                  4.0  SAMPLE PART PROGRAM
  994.  
  995.         To illustrate the use of the VIDEO postprocessor, the same sample
  996.         part used in the CAMS Part Programmer's Manual will be  augmented
  997.         with plotting parameters and plotted.  The sketch and text of the
  998.         part program are reproduced herein for your convenience.
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.         Appendix A              Sample Part Program               Page 16
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  1057.  
  1058.  
  1059.                            ========================================
  1060.                                       C A M S   Section 1
  1061.                                        Version 3, Mod 00
  1062.  
  1063.                            Copyright  1987 by Computer Geometry Co.
  1064.                                       All Rights Reserved
  1065.                            ========================================
  1066.  
  1067.                                   Date: 26-Dec-87
  1068.                            Source File: THINGMJ.NC
  1069.  
  1070.            1 PNO/ CAMS TEST CASE #1 - THINGAMAJIG - 12/17/86
  1071.            2 MCH/1
  1072.            3 MAT/M1=TRN,0.0,2.0,0.0
  1073.            4 PLT/M1
  1074.            5 #/S0=185
  1075.            6 #/R1=.25
  1076.            7 #/Z1=.625+.25
  1077.            8 #/Z2=-.05
  1078.            9 #/Y0=1.725-.4+2
  1079.           10 #/X0=3
  1080.           11 PLN/Q1=0,0,1,Z2
  1081.           12 LIN/L1=0,-Y0,1,-Y0
  1082.           13 LIN/L2=-X0,0,-X0,1
  1083.           14 LIN/L3=-X0,2-Y0,COS(15)-X0,SIN(15)+2-Y0
  1084.           15 LIN/L4=PARL,L1,YL,1.725
  1085.           16 LIN/L5=PARL,L2,XL,6
  1086.           17 CIR/C1=0,0,2
  1087.           18 REM/ ** COMPUTE SPINDLE RPM (S1) SUCH THAT 100 <= S1 <= 4000
  1088.           19 #/S1=MAX(100:MIN(4000:(S0*12/(3.1416*R1*2))))
  1089.           20 REM/ ** COMPUTE FEEDRATE; .004 PER EDGE FOR 2 FLUTE CUTTER
  1090.           21 #/F1=.004*S1*2
  1091.           22 PRT/S1,F1
  1092.  
  1093.  
  1094.            S1   2104 1413.29300
  1095.            F1   2104   11.30634
  1096.  
  1097.  
  1098.           23 FROM/P255=-(X0+1),-(Y0+1.125),Z1
  1099.           24 FED/F1
  1100.           25 CUTR/2*R1
  1101.           26 RPD
  1102.           27 PS/Q1
  1103.           28 GO/TO,L2,TO,L1
  1104.           29 GO/PAST,L3,TO,L2
  1105.           30 GO/PAST,C1,TO,L3
  1106.           31 REM/ *** GEOMETRY TO COMPUTE ARC END ANGLE USING A CIRCLE
  1107.           32 CIR/C100=YL,L4,XL,IN,C1,R1
  1108.           33 ARC/.003,CCW,CTR,C100,IN,C1
  1109.           34 GO/PAST,L5,TO,L4
  1110.           35 GO/PAST,L1,TO,L5
  1111.           36 GO/PAST,L2,TO,L1
  1112.           37 RPD
  1113.           38 GTO/P255
  1114.  
  1115.  
  1116.         Appendix A              Sample Part Program               Page 17
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.         January 18, 1988          PC VIDEO Postprocessor Reference Manual
  1123.  
  1124.  
  1125.           39 PRT/ALL
  1126.  
  1127.  
  1128.         M1   041A    1.00000    .00000    .00000    .00000    .00000   1.00000
  1129.                       .00000   2.00000    .00000    .00000   1.00000    .00000
  1130.         S0   2104  185.00000
  1131.         R1   2104     .25000
  1132.         Z1   2104     .87500
  1133.         Z2   2104    -.05000
  1134.         Y0   2104    3.32500
  1135.         X0   2104    3.00000
  1136.         Q1   010A     .00000    .00000   1.00000   -.05000
  1137.         L1   010A     .00000  -1.00000    .00000   3.32500
  1138.         L2   010A    1.00000    .00000    .00000  -3.00000
  1139.         L3   010A     .25882   -.96593    .00000    .50339
  1140.         L4   010A     .00000  -1.00000    .00000   1.60000
  1141.         L5   010A    1.00000    .00000    .00000   3.00000
  1142.         C1   0210     .00000    .00000    .00000    .00000    .00000   1.00000
  1143.                      2.00000
  1144.         S1   2104 1413.29300
  1145.         F1   2104   11.30634
  1146.         P255 0008   -4.00000  -4.45000    .87500
  1147.         C100 0210    1.11355  -1.35000    .00000    .00000    .00000   1.00000
  1148.                       .25000
  1149.  
  1150.  
  1151.           40 FIN
  1152.  
  1153.         ****   0 ERRORS ****
  1154.  
  1155.         0
  1156.  
  1157.  
  1158.         Only  three additional  statements were required  to  obtain  the
  1159.         sample plot.  These are...
  1160.  
  1161.               :
  1162.            2 MCH/1
  1163.            3 MAT/M1=TRN,0.0,2.0,0.0
  1164.            4 PLT/M1
  1165.               :
  1166.  
  1167.         The MCH/1 invokes the postprocessor and establishes that the plot
  1168.         is to be a CGA 320x200 color plot.   Note, however, that since no
  1169.         pen  numbers are requested in the PLT/ statements,  the plot will
  1170.         still be white on black, since white is the default pen color.
  1171.  
  1172.         The  matrix  definition  in statement number five  establishes  a
  1173.         2.000 inch transformation up in Y.  This serves to more centrally
  1174.         locate the cutter path in the plotting window,  but does not lose
  1175.         the axis logo off the window.
  1176.  
  1177.         The  PLT/M1  statement  (statement number 4)  informs  the  VIDEO
  1178.         postprocessor to begin plotting,  and provides the transformation
  1179.         necessary to move the cutter path into the plotting window.
  1180.  
  1181.  
  1182.         Appendix A              Sample Part Program               Page 18
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188. blishes  a
  1189.         2.000 inch transformation up in Y.  This serves to more centrally
  1190.         locate the cutter path in the plotting window,  but does not lose
  1191.         the axis logo off the window.
  1192.  
  1193.         The  PLT/M1  statement  (s