Advertisement
Guest User

Untitled

a guest
Jun 10th, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. [HOSTMOT2]
  2. DRIVER=hm2_pci
  3. BOARD=5i25
  4. CONFIG="sserial_port_0=00000000"
  5. #CONFIG="sserial_mode0=10000000"
  6. #CONFIG="sserial_mode0=20000000"
  7.  
  8. [EMC]
  9. # Name of machine, for use with display, etc.
  10. MACHINE = 7i76
  11.  
  12. # Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
  13. #DEBUG = 0x00000003
  14. #DEBUG = 0x00000007
  15. DEBUG = 0
  16.  
  17. [DISPLAY]
  18.  
  19. # Name of display program, e.g., tkemc
  20. DISPLAY = axis
  21. # Cycle time, in seconds, that display will sleep between polls
  22. CYCLE_TIME = 0.0500
  23. # Path to help file
  24. HELP_FILE = tkemc.txt
  25. # Initial display setting for position, RELATIVE or MACHINE
  26. POSITION_OFFSET = RELATIVE
  27. # Initial display setting for position, COMMANDED or ACTUAL
  28. POSITION_FEEDBACK = ACTUAL
  29. # Highest value that will be allowed for feed override, 1.0 = 100%
  30. MAX_FEED_OVERRIDE = 1.5
  31. # Prefix to be used
  32. PROGRAM_PREFIX = ../../nc_files/
  33. # Introductory graphic
  34. INTRO_GRAPHIC = emc2.gif
  35. INTRO_TIME = 5
  36.  
  37. [FILTER]
  38. PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
  39. PROGRAM_EXTENSION = .py Python Script
  40. png = image-to-gcode
  41. gif = image-to-gcode
  42. jpg = image-to-gcode
  43. py = python
  44.  
  45. [TASK]
  46. # Name of task controller program, e.g., milltask
  47. TASK = milltask
  48. # Cycle time, in seconds, that task controller will sleep between polls
  49. CYCLE_TIME = 0.010
  50.  
  51. [RS274NGC]
  52. # File containing interpreter variables
  53. PARAMETER_FILE = 7i76.var
  54.  
  55. [EMCMOT]
  56. EMCMOT = motmod
  57. # Timeout for comm to emcmot, in seconds
  58. COMM_TIMEOUT = 1.0
  59. # Interval between tries to emcmot, in seconds
  60. COMM_WAIT = 0.010
  61. # Servo task period, in nanoseconds
  62. SERVO_PERIOD = 1000000
  63.  
  64. [HAL]
  65. # The run script first uses halcmd to execute any HALFILE
  66. # files, and then to execute any individual HALCMD commands.
  67. # list of hal config files to run through halcmd
  68. # files are executed in the order in which they appear
  69. HALFILE = 7i76.hal
  70. # list of halcmd commands to execute
  71. # commands are executed in the order in which they appear
  72. #HALCMD = save neta
  73.  
  74. [TRAJ]
  75. AXES = 3
  76. COORDINATES = X Y Z
  77. #HOME = 0 0 0
  78. LINEAR_UNITS = inch
  79. ANGULAR_UNITS = degree
  80. CYCLE_TIME = 0.010
  81. NO_FORCE_HOMING = 1
  82.  
  83.  
  84. [AXIS_0]
  85.  
  86. #
  87. # Step timing is 40 us steplen + 40 us stepspace
  88. # That gives 80 us step period = 12.5 KHz step freq
  89. #
  90. # Bah, even software stepping can handle that, hm2 doesnt buy you much with
  91. # such slow steppers.
  92. #
  93. # Scale is 200 steps/rev * 5 revs/inch = 1000 steps/inch
  94. #
  95. # This gives a maxvel of 12.5/1 = 12.5 ips
  96. #
  97. TYPE = LINEAR
  98. MAX_VELOCITY = 10
  99. MAX_ACCELERATION = 20
  100. # Set Stepgen 20% higher than the axis settings
  101. STEPGEN_MAX_VEL = 12
  102. STEPGEN_MAX_ACC = 24
  103. BACKLASH = 0.000
  104. # scale is 200 steps/rev * 5 revs/inch
  105. SCALE = 1000
  106. MIN_LIMIT = -10.0
  107. MAX_LIMIT = 10.0
  108. FERROR = 0.050
  109. MIN_FERROR = 0.005
  110.  
  111. #HOME = 0.000
  112. #HOME_OFFSET = 0.10
  113. #HOME_SEARCH_VEL = 0.10
  114. #HOME_LATCH_VEL = -0.01
  115. #HOME_USE_INDEX = YES
  116. #HOME_IGNORE_LIMITS = YES
  117.  
  118. # these are in nanoseconds
  119. DIRSETUP = 200
  120. DIRHOLD = 200
  121. STEPLEN = 2000
  122. STEPSPACE = 2000
  123.  
  124.  
  125.  
  126.  
  127. [AXIS_1]
  128.  
  129. TYPE = LINEAR
  130. MAX_VELOCITY = 10
  131. MAX_ACCELERATION = 20
  132. # Set Stepgen 20% higher than the axis settings
  133. STEPGEN_MAX_VEL = 12
  134. STEPGEN_MAX_ACC = 24
  135.  
  136. BACKLASH = 0.000
  137.  
  138. SCALE = 1000
  139.  
  140. MIN_LIMIT = -10.0
  141. MAX_LIMIT = 10.0
  142.  
  143. FERROR = 0.050
  144. MIN_FERROR = 0.005
  145.  
  146. #HOME = 0.000
  147. #HOME_OFFSET = 0.10
  148. #HOME_SEARCH_VEL = 0.10
  149. #HOME_LATCH_VEL = -0.01
  150. #HOME_USE_INDEX = YES
  151. #HOME_IGNORE_LIMITS = YES
  152.  
  153. # these are in nanoseconds
  154. DIRSETUP = 200
  155. DIRHOLD = 200
  156. STEPLEN = 2000
  157. STEPSPACE = 2000
  158.  
  159.  
  160.  
  161.  
  162. [AXIS_2]
  163.  
  164. TYPE = LINEAR
  165. MAX_VELOCITY = 10
  166. MAX_ACCELERATION = 20
  167. # Set Stepgen 20% higher than the axis settings
  168. STEPGEN_MAX_VEL = 12
  169. STEPGEN_MAX_ACC = 24
  170.  
  171. BACKLASH = 0.000
  172.  
  173. SCALE = 1000
  174.  
  175. MIN_LIMIT = -10.0
  176. MAX_LIMIT = 10.0
  177.  
  178. FERROR = 0.050
  179. MIN_FERROR = 0.005
  180.  
  181. #HOME = 0.000
  182. #HOME_OFFSET = 0.10
  183. #HOME_SEARCH_VEL = 0.10
  184. #HOME_LATCH_VEL = -0.01
  185. #HOME_USE_INDEX = YES
  186. #HOME_IGNORE_LIMITS = YES
  187.  
  188. # these are in nanoseconds
  189. DIRSETUP = 200
  190. DIRHOLD = 200
  191. STEPLEN = 2000
  192. STEPSPACE = 2000
  193.  
  194.  
  195.  
  196.  
  197. [EMCIO]
  198.  
  199. # Name of IO controller program, e.g., io
  200. EMCIO = io
  201.  
  202. # cycle time, in seconds
  203. CYCLE_TIME = 0.100
  204.  
  205. # tool table file
  206. TOOL_TABLE = tool.tbl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement