Guest User

ini file

a guest
Jul 19th, 2014
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.66 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.01
  137.  
  138. INPUT_SCALE = 167936
  139.  
  140. OUTPUT_SCALE = 1
  141. OUTPUT_OFFSET = 0.0
  142. MAX_OUTPUT = 1
  143.  
  144. MIN_LIMIT = 0.50
  145. MAX_LIMIT = 7.0
  146. HOME = 0.500
  147. HOME_OFFSET = 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 = NO
  152. HOME_IGNORE_LIMITS = NO
  153.  
  154. # PID tuning params
  155. DEADBAND = 0.000015
  156. P = 42
  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. #HOME_IS_SHARED=true
  166. #HOME_SEQUENCE 0|1|2|
  167.  
  168.  
  169.  
  170. [AXIS_1]
  171.  
  172. TYPE = LINEAR
  173. MAX_VELOCITY = 0.5
  174. MAX_ACCELERATION = 6.0
  175. BACKLASH = 0.000
  176. FERROR = 1.00
  177. MIN_FERROR = 0.008
  178.  
  179. INPUT_SCALE = 167936
  180.  
  181. OUTPUT_SCALE = 1
  182. OUTPUT_OFFSET = 0.0
  183. MAX_OUTPUT = 1
  184.  
  185. MIN_LIMIT = -8.0
  186. MAX_LIMIT = 1.0
  187. HOME = -0.000
  188. HOME_OFFSET = 0.0
  189. HOME_SEARCH_VEL = 0.10
  190. HOME_LATCH_VEL = 0.010
  191. # the Y axis servo's encoder has an index channel, so we use it to improve the home accuracy
  192. HOME_USE_INDEX = no
  193. HOME_IGNORE_LIMITS = no
  194.  
  195. # PID tuning params
  196. DEADBAND = 0.000015
  197. P = 17
  198. I = 1
  199. D = 0.01
  200. FF0 = 0
  201. FF1 = 1.2
  202. FF2 = 0
  203. BIAS = 0
  204. #########################################################
  205. #HOME_IS_SHARED=true false
  206. #HOME_SEQUENCE 0|1|2|
  207.  
  208.  
  209.  
  210. [AXIS_2]
  211.  
  212. TYPE = LINEAR
  213. MAX_VELOCITY = 0.5
  214. MAX_ACCELERATION = 6.0
  215. BACKLASH = 0.000
  216. FERROR = 1.00
  217. MIN_FERROR = 0.01
  218.  
  219. INPUT_SCALE = 167936
  220.  
  221. OUTPUT_SCALE = 1
  222. OUTPUT_OFFSET = 0.0
  223. MAX_OUTPUT = 1
  224.  
  225. MIN_LIMIT = 0.50
  226. MAX_LIMIT = 4.0
  227. HOME = 0.0
  228. HOME_OFFSET = 0.0
  229. HOME_SEARCH_VEL = 0.10
  230. HOME_LATCH_VEL = 0.010
  231. # the Z axis servo's encoder does not have an index channel, so we have to home without index
  232. HOME_USE_INDEX = no
  233. HOME_IGNORE_LIMITS = no
  234.  
  235. # PID tuning params
  236. DEADBAND = 0.000015
  237. P = 42
  238. I = 0.7
  239. D = 0.4
  240. FF0 = 0
  241. FF1 = 1.2
  242. FF2 = 0.0035
  243. BIAS = 0
  244. #########################################################
  245. #HOME_IS_SHARED=false
  246. #HOME_SEQUENCE 0|1|2|
  247.  
  248.  
  249.  
  250. [EMCIO]
  251.  
  252. # Name of IO controller program, e.g., io
  253. EMCIO = io
  254.  
  255. # cycle time, in seconds
  256. CYCLE_TIME = 0.100
  257.  
  258. # tool table file
  259. TOOL_TABLE = tool.tbl
Advertisement
Add Comment
Please, Sign In to add comment