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

  1. name Heidenhain TNC 355 Conversational
  2.  
  3. O >8
  4. e >8
  5. i 00
  6. N >3 ""
  7. t >2
  8. u >2
  9. L 00
  10. l +->3.>4 L
  11. C >2
  12. X +->3.>4
  13. Y +->3.>4
  14. Z +->3.>4
  15. G >2
  16. d >2.1
  17.   I ->3.>4
  18.   J ->3.>4
  19.   A
  20.   B
  21.   Q ->3.>4
  22. H 00 Z
  23. W 00
  24. R ->3.>4
  25.   P ->3.>4
  26. F >4
  27. f >4 F
  28.   K ->3.>4
  29. M >2
  30. S >4 limit 20 2000
  31. s ->3.>4
  32. z ->3.>4 Mult -1
  33. Q ->3.>4 Mult -1
  34. w ->3.>4
  35.  
  36. ModalLetters Z                        # List of letters that are modal    
  37.  
  38. ModalGs                               # List of g codes that are modal    
  39.  
  40. Sequence#s N 1 1 1                    # Char, freq, incr & start          
  41. First#? N                             # Y or N  'Output 1st sequence no.  
  42.  
  43. HCode X                               # X or X U  'Horizontal char.       
  44. VCode Y                               # Y or Y V  'Vertical char.         
  45. Dcode Z                               # Depth char.                       
  46. FeedCode F                            # Feed rate char.                   
  47.  
  48. Comment ( )                           # Begin End comment char.           
  49.  
  50. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  51. Coolant 8 9 8                         # On, Off & Mist m codes            
  52. DComp 41 42 40                        # Left, Right & Cancel m codes      
  53. LComp 43 49                           # On & Off codes                    
  54.  
  55. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  56. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  57. CtrCode I J                           # I J or R or I J K L               
  58. Helical? N
  59. MaxRad 999 .010
  60.  
  61. Feed L10                            # Linear move                       
  62. Rapid L10 f9998                   # Rapid positioning word            
  63.                                       # Circular move clockwise           
  64.                                       # Circular move counter clockwise   
  65.  
  66. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  67.  
  68. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  69.  
  70. Drill 7                               # Drilling canned/manual cycle      
  71. d1
  72. d1.1 s[-2]
  73. d1.2 z[Depth]
  74. d1.3 Q[Depth]
  75. d1.4 w[Dwell]
  76. d1.5 F[FRate]
  77. L10 X[LastH] Y[LastV] Z[VClear] R0 F9998 M99
  78. L10 X[H] Y[V] Z[VClear] R0 F9998 M99
  79. end
  80.  
  81. Peck 7                                # Pecking canned/manual cycle       
  82. d1
  83. d1.1 s[-2]
  84. d1.2 z[Depth]
  85. d1.3 Q[VBite]
  86. d1.4 w[Dwell]
  87. d1.5 F[FRate]
  88. L10 X[LastH] Y[LastV] Z[VClear] R0 F9998 M99
  89. L10 X[H] Y[V] R0 F9998 M99
  90. end
  91.  
  92. Tap 6                                 # Tapping canned/manual cycle       
  93. d2
  94. d2.1 s[-2]
  95. d2.2 z[Depth]
  96. d2.3 w[Dwell]
  97. d2.4 F[FRate]
  98. L10 X[LastH] Y[LastV] Z[VClear] R0 F9998 M99
  99. L10 X[H] Y[V] R0 F9998 M99
  100. end
  101.  
  102. StartCode                             # Start of the program              
  103. O[Program#] i0
  104. End
  105.  
  106. 1stToolChange                         # First tool change                 
  107. t[Tool] l0 R[ToolRad]
  108. u[Tool] H[Lcomp] S[Speed]
  109. L10 Z[ToolD] R0 F9998
  110. L10 X[H] Y[V] R0 F9998 M3
  111. L10 Z[D] R0 M[Cool]
  112. End
  113.  
  114. Infeed                                # Enable cutter comp                
  115. L10 X[H] Y[V] G[Side] F[FRate]
  116. end
  117.  
  118. Outfeed                               # Disable cutter comp               
  119. L10 R0 X[H] Y[V]
  120. Z[D]
  121. end
  122.  
  123. ToolChange                            # Secondary tool changes            
  124. L10 Z[ToolD] R0 F9998
  125. t[Tool] l0 R[ToolRad]
  126. u[Tool] H[Lcomp] S[Speed]
  127. L10 Z[ToolD] R0 F9998
  128. L10 X[H] Y[V] R0 F9998 M3
  129. L10 Z[D] R0 M[Cool]
  130. End
  131.  
  132. EndCode                               # End of the program                
  133. L10 Z[ToolD] R0 F9998
  134. M30
  135. e[Program#] i0
  136. End
  137.  
  138. CwCode                                # CW circular move                  
  139. C1 X[HCtr] Y[VCtr]
  140. C0 X[H] Y[V] G2 W0
  141. end
  142.  
  143. CcwCode                               # CCW circular move                 
  144. C1 X[HCtr] Y[VCtr]
  145. C0 X[H] Y[V] G3 W0
  146. end
  147.  
  148. Replace "O" with "0 BEGIN PGM "
  149.   #Replace "i" with "INCH"
  150. Replace "i" with "MM"
  151. Replace "e" with "END PGM "
  152. Replace "G41 " with "RL "
  153. Replace "G42 " with "RR "
  154.   #Replace "R0 " with "R "
  155. Replace "t" with "TOOL DEF "
  156. Replace "u" with "TOOL CALL "
  157. Replace "W " with "R F M "
  158. Replace "M0" with "STOP"
  159.  
  160. Replace "G2 " with "DR- "
  161. Replace "G3 " with "DR+ "
  162. Replace "C1 " with "CC "
  163. Replace "C0 " with "C "
  164.  
  165. Replace "d" with "CYCL DEF "
  166.   #Replace "EF 0.0 " with "EF 1.0 T"
  167.   #Replace "EF 1.0" with "EF 1.0 T"
  168.   #Replace "EF 2.0" with "EF 2.0 G"
  169. Replace "s" with "A "
  170. Replace "z" with "T "
  171. Replace "Q" with "Z "
  172. Replace "w" with "V "
  173.