Guest User

aram--ini

a guest
Jul 13th, 2014
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.37 KB | None | 0 0
  1.  
  2. [HOSTMOT2]
  3. DRIVER=hm2_pci
  4. BOARD=5i20
  5. CONFIG="firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=3 num_stepgens=0"
  6.  
  7.  
  8.  
  9.  
  10. [EMC]
  11.  
  12. # Name of machine, for use with display, etc.
  13. MACHINE = HM2-Servo
  14.  
  15. # Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
  16. #DEBUG = 0x00000003
  17. #DEBUG = 0x00000007
  18. DEBUG = 0
  19.  
  20.  
  21.  
  22.  
  23. [DISPLAY]
  24.  
  25. # Name of display program, e.g., tkemc
  26. DISPLAY = axis
  27.  
  28. # Cycle time, in seconds, that display will sleep between polls
  29. CYCLE_TIME = 0.100
  30.  
  31. # Path to help file
  32. HELP_FILE = tklinucnc.txt
  33.  
  34. # Initial display setting for position, RELATIVE or MACHINE
  35. POSITION_OFFSET = RELATIVE
  36.  
  37. # Initial display setting for position, COMMANDED or ACTUAL
  38. POSITION_FEEDBACK = ACTUAL
  39.  
  40. # Highest value that will be allowed for feed override, 1.0 = 100%
  41. MAX_FEED_OVERRIDE = 1.5
  42.  
  43. # Prefix to be used
  44. PROGRAM_PREFIX = /home/aram/linuxcnc/nc_files
  45.  
  46. # Introductory graphic
  47. INTRO_GRAPHIC = linuxcnc.gif
  48. INTRO_TIME = 5
  49.  
  50.  
  51. [FILTER]
  52. PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
  53. PROGRAM_EXTENSION = .py Python Script
  54. png = image-to-gcode
  55. gif = image-to-gcode
  56. jpg = image-to-gcode
  57. py = python
  58.  
  59.  
  60. [TASK]
  61.  
  62. # Name of task controller program, e.g., milltask
  63. TASK = milltask
  64.  
  65. # Cycle time, in seconds, that task controller will sleep between polls
  66. CYCLE_TIME = 0.010
  67.  
  68.  
  69.  
  70.  
  71. [RS274NGC]
  72.  
  73. # File containing interpreter variables
  74. PARAMETER_FILE = hm2-servo.var
  75.  
  76.  
  77.  
  78.  
  79. [EMCMOT]
  80.  
  81. EMCMOT = motmod
  82.  
  83. # Timeout for comm to emcmot, in seconds
  84. COMM_TIMEOUT = 1.0
  85.  
  86. # Interval between tries to emcmot, in seconds
  87. COMM_WAIT = 0.010
  88.  
  89. # Servo task period, in nanoseconds
  90. SERVO_PERIOD = 500000
  91.  
  92.  
  93.  
  94.  
  95. [HAL]
  96.  
  97. # The run script first uses halcmd to execute any HALFILE
  98. # files, and then to execute any individual HALCMD commands.
  99.  
  100. # list of hal config files to run through halcmd
  101. # files are executed in the order in which they appear
  102.  
  103. HALFILE = hm2-servo.hal
  104.  
  105. # list of halcmd commands to execute
  106. # commands are executed in the order in which they appear
  107. #HALCMD = save neta
  108.  
  109.  
  110.  
  111.  
  112. [TRAJ]
  113.  
  114. AXES = 3
  115. # COORDINATES = X Y Z R P W
  116. COORDINATES = X Y Z
  117. HOME = 0 0 0
  118. LINEAR_UNITS = inch
  119. ANGULAR_UNITS = degree
  120. CYCLE_TIME = 0.010
  121. DEFAULT_VELOCITY = 05.0
  122. MAX_VELOCITY = 6.0
  123. DEFAULT_ACCELERATION = 5.0
  124. MAX_ACCELERATION = 6.0
  125.  
  126.  
  127.  
  128.  
  129. [AXIS_0]
  130.  
  131. TYPE = LINEAR
  132. MAX_VELOCITY = .5
  133. MAX_ACCELERATION = 9.0
  134. BACKLASH = 0.000
  135. FERROR = 1.00
  136. MIN_FERROR = 0.008
  137.  
  138. INPUT_SCALE = 167936
  139.  
  140. OUTPUT_SCALE = 1
  141. OUTPUT_OFFSET = 0.0
  142. MAX_OUTPUT = 1
  143.  
  144. MIN_LIMIT = -1.0
  145. MAX_LIMIT = 5.0
  146. HOME = 0.000
  147. HOME_OFFSET = 0.0
  148. HOME_SEARCH_VEL = -0.10
  149. HOME_LATCH_VEL = -0.010
  150. # the X axis servo's encoder does not have an index channel, so we have to home without index
  151. HOME_USE_INDEX = YES
  152. HOME_IGNORE_LIMITS = YES
  153.  
  154. # PID tuning params
  155. DEADBAND = 0.000015
  156. P = 68
  157. I = 0.7
  158. D = 0.4
  159. FF0 = 0
  160. FF1 = 1.2
  161. FF2 = 0.0035
  162. BIAS = 0
  163.  
  164.  
  165.  
  166.  
  167. [AXIS_1]
  168.  
  169. TYPE = LINEAR
  170. MAX_VELOCITY = 0.5
  171. MAX_ACCELERATION = 6.0
  172. BACKLASH = 0.000
  173. FERROR = 1.00
  174. MIN_FERROR = 0.008
  175.  
  176. INPUT_SCALE = 167936
  177.  
  178. OUTPUT_SCALE = 1
  179. OUTPUT_OFFSET = 0.0
  180. MAX_OUTPUT = 1
  181.  
  182. MIN_LIMIT = -2.0
  183. MAX_LIMIT = 8.0
  184. HOME = 0.000
  185. HOME_OFFSET = -0.0
  186. HOME_SEARCH_VEL = -0.10
  187. HOME_LATCH_VEL = 0.010
  188. # the Y axis servo's encoder has an index channel, so we use it to improve the home accuracy
  189. HOME_USE_INDEX = YES
  190. HOME_IGNORE_LIMITS = YES
  191.  
  192. # PID tuning params
  193. DEADBAND = 0.000015
  194. P = 17
  195. I = 1
  196. D = 0.01
  197. FF0 = 0
  198. FF1 = 1.2
  199. FF2 = 0
  200. BIAS = 0
  201.  
  202.  
  203.  
  204.  
  205. [AXIS_2]
  206.  
  207. TYPE = LINEAR
  208. MAX_VELOCITY = 0.5
  209. MAX_ACCELERATION = 6.0
  210. BACKLASH = 0.000
  211. FERROR = 1.00
  212. MIN_FERROR = 0.008
  213.  
  214. INPUT_SCALE = -167936
  215.  
  216. OUTPUT_SCALE = -1
  217. OUTPUT_OFFSET = 0.0
  218. MAX_OUTPUT = 1
  219.  
  220. MIN_LIMIT = -2.0
  221. MAX_LIMIT = 7.50
  222. HOME = 0.0
  223. HOME_OFFSET = -0.0
  224. HOME_SEARCH_VEL = -0.10
  225. HOME_LATCH_VEL = -0.010
  226. # the Z axis servo's encoder does not have an index channel, so we have to home without index
  227. HOME_USE_INDEX = YES
  228. HOME_IGNORE_LIMITS = YES
  229.  
  230. # PID tuning params
  231. DEADBAND = 0.000015
  232. P = 68
  233. I = 0.7
  234. D = 0.4
  235. FF0 = 0
  236. FF1 = 1.2
  237. FF2 = 0.0035
  238. BIAS = 0
  239.  
  240.  
  241.  
  242.  
  243. [EMCIO]
  244.  
  245. # Name of IO controller program, e.g., io
  246. EMCIO = io
  247.  
  248. # cycle time, in seconds
  249. CYCLE_TIME = 0.100
  250.  
  251. # tool table file
  252. TOOL_TABLE = tool.tbl
Advertisement
Add Comment
Please, Sign In to add comment