home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / AGIE.E2 < prev    next >
Encoding:
Text File  |  1996-04-01  |  2.3 KB  |  88 lines

  1. name Agie EDM 2 Axis 
  2.  
  3. B 00 %
  4. L >4
  5. N 3
  6. G 2
  7. X -2>5 Inc
  8. x -2>5 X
  9. Y -2>5 Inc
  10. y -2>5 Y
  11. Z -3>4 Inc
  12. I 2>5
  13. J 2>5
  14. D >2
  15. T >2
  16.   Q ->3.>4
  17.   R ->3.>4
  18. M 2
  19. g 2 G
  20.  
  21. ModalGs                               # List of g codes that are modal
  22.  
  23. ModalLetters                          # List of letters that are modal
  24.  
  25. Sequence#s N 1 1 1                    # Char, freq, incr & start
  26. Spaces? N                             # Y or N  'Spaces between words     
  27. First#? N                             # Y or N  'Output 1st sequence no.  
  28.  
  29. HCode X                               # X or X U  'Horizontal char.       
  30. VCode Y                               # Y or Y V  'Vertical char.         
  31.  
  32. Spindle 3 4 5                         # Cw, ccw & stop m codes
  33. Coolant 8 9 7                         # On, Off & Mist m codes
  34. DComp 41 42 40                        # Left, Right & Cancel m codes
  35.  
  36. Incremental? Y                        # Y or N  'Inc or abs output
  37. CtrIncremental? Y                     # Y or N  'Inc or abs I & J
  38. ByQuadrants? Y                        # Y or N  'Break arcs at quadrants
  39.  
  40. Inc/Abs G 91 90                       # Inc & Abs char. & values
  41.  
  42. Work G                                # Work offset register
  43.  
  44. CtrCode I J                           # I J or R or I J K L
  45.  
  46. Feed G1                             # Linear move
  47. Rapid G0                            # Rapid positioning word
  48. Cw G2                               # Circular move clockwise
  49. Ccw G3                              # Circular move counter clockwise   
  50.  
  51. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  52.  
  53. StartCode                             # Start of the program              
  54. B00
  55. End
  56.  
  57. 1stToolChange                         # First tool change
  58. G1 X[H] Y[V]
  59. D[DComp] T[Tool] g43
  60. End
  61.  
  62. RapidCode                             # Move between cuts.
  63. G1 X[H] Y[V]
  64. D[DComp] T[Tool] g43
  65. End
  66.  
  67. Infeed                                # Enable cutter comp
  68. G1 x[HVector] y[VVector] g44
  69. G1 X[H] Y[V] g40
  70. end
  71.  
  72. LineCode
  73. G1 X[H] Y[V] g[Side]
  74. end
  75.  
  76. Outfeed                               # Disable cutter comp
  77. G1 x[HVector] y[VVector] g44
  78. G1 X[H] Y[V] g40
  79. G45
  80. end
  81.  
  82. ToolChange                            # Secondary tool changes
  83. End
  84.  
  85. EndCode                               # End of the program
  86. M2
  87. B00
  88. End