Advertisement
LAIR82

Gmoccapy INI File

May 29th, 2014
488
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 KB | None | 0 0
  1.  
  2. # General note: Comments can either be preceded with a # or ; - either is
  3. # acceptable, although # is in keeping with most linux config files.
  4.  
  5. # General section -------------------------------------------------------------
  6. [EMC]
  7.  
  8. VERSION = $Revision$
  9.  
  10. MACHINE = 15CC GMOCCAPY
  11.  
  12. DEBUG = 0x7FFFFFFF
  13.  
  14. [DISPLAY]
  15.  
  16. DISPLAY = gmoccapy
  17. LATHE = 1
  18. BACK_TOOL_LATHE = 1
  19.  
  20. PREFERENCE_FILE_PATH = ~/.gmoccapy_preferences
  21.  
  22.  
  23. CYCLE_TIME = 100
  24. MAX_SPINDLE_OVERRIDE = 1
  25. MIN_SPINDLE_OVERRIDE = 1
  26. MAX_FEED_OVERRIDE = 1.5
  27. MIN_FEED_OVERRIDE = 0
  28. MAX_LINEAR_VELOCITY = 1
  29. DEFAULT_LINEAR_VELOCITY = 1
  30. DEFAULT_ANGULAR_VELOCITY = 0.25
  31. MAX_ANGULAR_VELOCITY = 1.00
  32. MIN_ANGULAR_VELOCITY = 0.01
  33. INCREMENTS = .0001, .0010, .0100, .1000, 1.0000
  34. LATHE = true
  35. PROGRAM_PREFIX = /home/cinci15cc/linuxcnc/nc_files
  36. INTRO_GRAPHIC = linuxcnc.gif
  37. INTRO_TIME = 5
  38. TOOL_EDITOR
  39. POSITION_OFFSET = RELATIVE
  40. POSITION_FEEDBACK = ACTUAL
  41. MAX_RAPID_OVERIDE = 1
  42. MIN_RAPID_OVERIDE = .3
  43.  
  44. # USER MESSAGES
  45.  
  46. #MESSAGE_BOLDTEXT = NONE
  47. #MESSAGE_TEXT = This is a yes no dialog test
  48. #MESSAGE_TYPE = yesnodialog
  49. #MESSAGE_PINNAME = yndialogtest
  50.  
  51. #MESSAGE_BOLDTEXT = This is the short text
  52. #MESSAGE_TEXT = This is the longer text of the both type test. It can be longer then the status bar text
  53. #MESSAGE_TYPE = okdialog status
  54. #MESSAGE_PINNAME = bothtest
  55.  
  56. #MESSAGE_BOLDTEXT = NONE
  57. #MESSAGE_TEXT =
  58. #MESSAGE_TYPE = status
  59. #MESSAGE_PINNAME =
  60.  
  61. MESSAGE_BOLDTEXT = LUBE SYSTEM FAULT
  62. MESSAGE_TEXT = LUBE FAULT
  63. MESSAGE_TYPE = okdialog status
  64. MESSAGE_PINNAME = lube-fault-status
  65.  
  66. MESSAGE_BOLDTEXT = NONE
  67. MESSAGE_TEXT = X SHEAR PIN BROKEN
  68. MESSAGE_TYPE = status
  69. MESSAGE_PINNAME = xpin-status
  70.  
  71. MESSAGE_BOLDTEXT = NONE
  72. MESSAGE_TEXT = Z SHEAR PIN BROKEN
  73. MESSAGE_TYPE = status
  74. MESSAGE_PINNAME = zpin-status
  75.  
  76. MESSAGE_BOLDTEXT = NONE
  77. MESSAGE_TEXT = Z MOTOR OVERTEMP
  78. MESSAGE_TYPE = status
  79. MESSAGE_PINNAME = ztemp-status
  80.  
  81. MESSAGE_BOLDTEXT = NONE
  82. MESSAGE_TEXT = X MOTOR OVERTEMP
  83. MESSAGE_TYPE = status
  84. MESSAGE_PINNAME = xtemp-status
  85.  
  86. MESSAGE_BOLDTEXT = NONE
  87. MESSAGE_TEXT = SPINDLE MOTOR OVERTEMP
  88. MESSAGE_TYPE = status
  89. MESSAGE_PINNAME = spindle-temp-status
  90.  
  91. MESSAGE_BOLDTEXT = NONE
  92. MESSAGE_TEXT = X MOTOR OVERLOAD
  93. MESSAGE_TYPE = status
  94. MESSAGE_PINNAME = xoverload-status
  95.  
  96. MESSAGE_BOLDTEXT = NONE
  97. MESSAGE_TEXT = Z MOTOR OVERLOAD
  98. MESSAGE_TYPE = status
  99. MESSAGE_PINNAME = zoverload-status
  100.  
  101. MESSAGE_BOLDTEXT = NONE
  102. MESSAGE_TEXT = SPINDLE MOTOR OVERLOAD
  103. MESSAGE_TYPE = status
  104. MESSAGE_PINNAME = spoverload-status
  105.  
  106. MESSAGE_BOLDTEXT = NONE
  107. MESSAGE_TEXT = HYDRAULIC FILTER BYPASSING
  108. MESSAGE_TYPE = status
  109. MESSAGE_PINNAME = filter-bypass-status
  110.  
  111. MESSAGE_BOLDTEXT = NONE
  112. MESSAGE_TEXT = HEAT EXCHANGER MOTOR OVERLOAD
  113. MESSAGE_TYPE = status
  114. MESSAGE_PINNAME = heat-exchanger-status
  115.  
  116. MESSAGE_BOLDTEXT = NONE
  117. MESSAGE_TEXT = COOLANT MOTOR OVERLOAD
  118. MESSAGE_TYPE = status
  119. MESSAGE_PINNAME = coolant-motor-status
  120.  
  121. MESSAGE_BOLDTEXT = NONE
  122. MESSAGE_TEXT = HYDRAULIC PUMP MOTOR OVERLOAD
  123. MESSAGE_TYPE = status
  124. MESSAGE_PINNAME = hydraulic-pump-status
  125.  
  126. MESSAGE_BOLDTEXT = NONE
  127. MESSAGE_TEXT = CHIP CONVEYOR MOTOR OVERLOAD
  128. MESSAGE_TYPE = status
  129. MESSAGE_PINNAME = chip-conveyor-status
  130.  
  131. MESSAGE_BOLDTEXT = NONE
  132. MESSAGE_TEXT = SPINDLE BLOWER MOTOR OVERLOAD
  133. MESSAGE_TYPE = status
  134. MESSAGE_PINNAME = spindle-blower-status
  135.  
  136. MESSAGE_BOLDTEXT = NONE
  137. MESSAGE_TEXT = LUBE OIL TANK LOW
  138. MESSAGE_TYPE = status
  139. MESSAGE_PINNAME = lube-oil-status
  140.  
  141. MESSAGE_BOLDTEXT = NONE
  142. MESSAGE_TEXT = SPINDLE FAULT
  143. MESSAGE_TYPE = status
  144. MESSAGE_PINNAME = spindle-fault-status
  145.  
  146. MESSAGE_BOLDTEXT = NONE
  147. MESSAGE_TEXT = SPINDLE LUBE OIL HIGH TEMP
  148. MESSAGE_TYPE = status
  149. MESSAGE_PINNAME = spindle-oil-status
  150.  
  151. MESSAGE_BOLDTEXT = NONE
  152. MESSAGE_TEXT = SPINDLE LUBE PRESSURE LOW
  153. MESSAGE_TYPE = status
  154. MESSAGE_PINNAME = spindle-pressure-status
  155.  
  156. MESSAGE_BOLDTEXT = TURRET MALFUNCTION
  157. MESSAGE_TEXT = Turret Lost Position. Perform MDI tool call based upon what position Tool Turret stopped at.
  158. MESSAGE_TYPE = okdialog status
  159. MESSAGE_PINNAME = turret-lost-status
  160.  
  161. MESSAGE_BOLDTEXT = INITIALIZE
  162. MESSAGE_TEXT = INITIALIZE CHUCK AND TAILSTOCK PRIOR TO OPERATION
  163. MESSAGE_TYPE = okdialog
  164. MESSAGE_PINNAME = init-chuck-status
  165.  
  166. [FILTER]
  167. PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
  168. PROGRAM_EXTENSION = .py Python Script
  169. #PROGRAM_EXTENSION = .NGC
  170. PROGRAM_EXTENSION = .ngc
  171. PROGRAM_EXTENSION = .nc
  172. PROGRAM_EXTENSION = .NGC XYZ Post Processor
  173.  
  174. nc = gcode-file
  175. ngc = gcode-file
  176. #NGC = gcode-file
  177. png = image-to-gcode
  178. gif = image-to-gcode
  179. jpg = image-to-gcode
  180. py = python
  181.  
  182. [TASK]
  183.  
  184. TASK = milltask
  185. CYCLE_TIME = 0.010
  186.  
  187. [PYTHON]
  188. TOPLEVEL= /home/cinci15cc/linuxcnc/python/toplevel.py
  189. PATH_APPEND= /home/cinci15cc/linuxcnc/python
  190. PYTHON_TASK = 1
  191.  
  192. [RS274NGC]
  193. RS274NGC_STARTUP_CODE = G18 G7
  194. PARAMETER_FILE = emc.var
  195. SUBROUTINE_PATH = /home/cinci15cc/linuxcnc/nc_files
  196. LOG_LEVEL = 1
  197. FEATURES = 64
  198. LATHE_STYLE_TOOLCHANGE = 1
  199. REMAP=M1 modalgroup=4 ngc=extend_m1
  200. REMAP=M41 modalgroup=4 ngc=my41
  201. REMAP=M42 modalgroup=4 ngc=my42
  202. REMAP=M84 modalgroup=4 ngc=my84
  203. REMAP=M85 modalgroup=4 ngc=my85
  204. REMAP=M86 modalgroup=4 ngc=my86
  205. REMAP=M87 modalgroup=4 ngc=my87
  206.  
  207.  
  208. [EMCMOT]
  209.  
  210. EMCMOT = motmod
  211. COMM_TIMEOUT = 1.0
  212. COMM_WAIT = 0.010
  213. SERVO_PERIOD = 1250000
  214. #SERVO_PERIOD = 5000000
  215. [HOSTMOT2]
  216. # **** This is for info only ****
  217. # DRIVER0=hm2_pci
  218. # BOARD0=5i23
  219. CONFIG = sserial_port_0=0000xxxx num_resolvers=6 num_pwmgens=6 num_3pwmgens=0 num_stepgens=0
  220.  
  221.  
  222. [HAL]
  223. HALUI = halui
  224. HALFILE = 15ccgmoccapy.hal
  225. POSTGUI_HALFILE = postgui_call_listgmoccapy.hal
  226. SHUTDOWN = shutdown.hal
  227.  
  228.  
  229.  
  230.  
  231. [TRAJ]
  232. MAX_VELOCITY = 8.000
  233. MAX_ACCELERATION = 20
  234. AXES = 3
  235. COORDINATES = X Z
  236. LINEAR_UNITS = inch
  237. ANGULAR_UNITS = degree
  238. CYCLE_TIME = 0.010
  239. MAX_LINEAR_VELOCITY = 6.666
  240. NO_FORCE_HOMING = 1
  241.  
  242. [EMCIO]
  243. EMCIO = io
  244. CYCLE_TIME = 0.100
  245. TOOL_TABLE = tool.tbl
  246. TOOL_CHANGE_WITH_SPINDLE_ON = 1
  247.  
  248.  
  249. #********************
  250. # Axis X
  251. #********************
  252. [AXIS_0]
  253. TYPE = LINEAR
  254. HOME = 0.000
  255. FERROR = .5
  256. MIN_FERROR = .5
  257. BACKLASH = 0.001
  258. MAX_VELOCITY = 5
  259. MAX_ACCELERATION = 15
  260. P =4
  261. I = 0.003
  262. D = 0
  263. FF0 = 0
  264. FF1 = 0.5
  265. FF2 = 0
  266. BIAS = 0.006
  267. DEADBAND = 1e-05
  268. RESOLVER_SCALE = -0.20002
  269. OUTPUT_SCALE = 6
  270. MAX_OUTPUT = 7
  271. MIN_LIMIT = -22.500
  272. MAX_LIMIT = 0.000
  273.  
  274. HOME = -.250
  275. HOME_OFFSET = 0.000
  276. HOME_SEARCH_VEL = .333
  277. HOME_LATCH_VEL = -0.1667
  278. HOME_FINAL_VEL = .500
  279. HOME_USE_INDEX = NO
  280. HOME_IGNORE_LIMITS = yes
  281. #HOME_IS_SHARED = <N>
  282. HOME_SEQUENCE = 0
  283. VOLATILE_HOME = 0
  284.  
  285. #********************
  286. # Axis Y
  287. #********************
  288. [AXIS_1]
  289. TYPE = LINEAR
  290. HOME = 0.000
  291. FERROR = 999999
  292. MIN_FERROR = 999999
  293. MAX_VELOCITY = 5
  294. #MAX_ACCELERATION = 100
  295. RESOLVER_SCALE = 0.0
  296. OUTPUT_SCALE = 0
  297. MAX_OUTPUT = 0
  298. MIN_LIMIT = 0
  299. MAX_LIMIT = 0
  300.  
  301.  
  302. #********************
  303. # Axis Z
  304. #********************
  305. [AXIS_2]
  306. TYPE = LINEAR
  307. HOME = 0.0000
  308. FERROR = 5
  309. MIN_FERROR = 5
  310. BACKLASH = 0.001
  311. MAX_VELOCITY = 5.833
  312. MAX_ACCELERATION = 15
  313. P =5.5
  314. I = 0.001
  315. D = 0.01
  316. FF0 = 0
  317. FF1 = 0.35
  318. FF2 = 0
  319. BIAS = 0.003
  320. DEADBAND = 1e-05
  321. RESOLVER_SCALE = -0.19998
  322. OUTPUT_SCALE = 5
  323. MAX_OUTPUT = 6.125
  324. MIN_LIMIT = -40.750
  325. MAX_LIMIT = 0.000
  326.  
  327. HOME = -.250
  328. HOME_OFFSET = 0.0000
  329. HOME_SEARCH_VEL = 0.333
  330. HOME_LATCH_VEL = -0.1667
  331. HOME_FINAL_VEL = .200
  332. HOME_USE_INDEX = NO
  333. HOME_IGNORE_LIMITS = yes
  334. #HOME_IS_SHARED = <N>
  335. HOME_SEQUENCE = 1
  336. VOLATILE_HOME = 0
  337.  
  338.  
  339. #********************
  340. # Spindle
  341. #********************
  342. [SPINDLE_9]
  343. MAX_VELOCITY = 2240
  344. MAX_ACCELERATION = 50
  345. RESOLVER_SCALE = 1
  346. OUTPUT_SCALE = 465
  347. MAX_OUTPUT = 10.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement