Advertisement
Guest User

Ini of Linux.cnc

a guest
Mar 16th, 2021
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.66 KB | None | 0 0
  1. # this section only reqired if using the sim testing panel
  2. [APPLICATIONS]
  3. DELAY = 5
  4. APP = test/plasmac_test.py
  5.  
  6. # required
  7. [PLASMAC]
  8.  
  9. # required for upgrades (DO NOT CHANGE)
  10. LAST_MAJOR_UPGRADE = 0.144
  11.  
  12. # sets the operating mode, if not specified the default is 0
  13. # 0 = use arc-voltage-in for arcOK and THC (no need to connect arc-ok-in, move-up-in and move-down-in)
  14. # 1 = use arc-ok-in for arcOK and arc-voltage-in for THC (no need to connect move-up-in and move-down-in)
  15. # 2 = use arc-ok-in for arcOK and move-down-in + move-up-in for THC (no need to connect arc-voltage-in)
  16. MODE = 0
  17.  
  18. # enable(0) or disable(1) the plasmac config page, if not specified the default is enabled
  19. CONFIG_DISABLE = 0
  20.  
  21. # percentage of cut-feed-rate used for paused motion speed
  22. PAUSED_MOTION_SPEED = 50
  23.  
  24. # torch on time when manual pulse requested
  25. TORCH_PULSE_TIME = 1.0
  26.  
  27. # for Powermax communications
  28. #PM_PORT = /dev/ttyUSB0
  29.  
  30. # for the four user buttons in the main window
  31. BUTTON_1_NAME = Ohmic Test
  32. BUTTON_1_CODE = ohmic-test
  33. BUTTON_2_NAME = Probe Test
  34. BUTTON_2_CODE = probe-test 30
  35. BUTTON_3_NAME = Change Consumables
  36. BUTTON_3_CODE = change-consumables X0 Y0 F4000
  37. BUTTON_4_NAME = Pierce & Cut
  38. BUTTON_4_CODE = cut-type
  39.  
  40. # for the ten user buttons in the Extras panel
  41. BUTTON_10_NAME =
  42. BUTTON_10_CODE =
  43. BUTTON_10_IMAGE =
  44. BUTTON_11_NAME =
  45. BUTTON_11_CODE =
  46. BUTTON_11_IMAGE =
  47. BUTTON_12_NAME =
  48. BUTTON_12_CODE =
  49. BUTTON_12_IMAGE =
  50. BUTTON_13_NAME =
  51. BUTTON_13_CODE =
  52. BUTTON_13_IMAGE =
  53. BUTTON_14_NAME = PlasmaC\User Guide
  54. BUTTON_14_CODE = %xdg-open http://linuxcnc.org/docs/devel/html/plasma/plasmac-user-guide.html
  55. BUTTON_14_IMAGE =
  56. BUTTON_15_NAME =
  57. BUTTON_15_CODE =
  58. BUTTON_15_IMAGE =
  59. BUTTON_16_NAME =
  60. BUTTON_16_CODE =
  61. BUTTON_16_IMAGE =
  62. BUTTON_17_NAME =
  63. BUTTON_17_CODE =
  64. BUTTON_17_IMAGE =
  65. BUTTON_18_NAME =
  66. BUTTON_18_CODE =
  67. BUTTON_18_IMAGE =
  68. BUTTON_19_NAME = LinuxCNC\Docs
  69. BUTTON_19_CODE = %xdg-open http://linuxcnc.org/docs/devel/html
  70. BUTTON_19_IMAGE =
  71.  
  72. # this section required as is for removing z axis moves from the loaded gcode file
  73. # this is optional and if used then plasmac_gcode.py needs to be set as executable
  74. [FILTER]
  75. PROGRAM_EXTENSION = .ngc (filter gcode files)
  76. ngc = ./plasmac_gcode.py
  77. nc = ./plasmac_gcode.py
  78. tap = ./plasmac_gcode.py
  79.  
  80. [RS274NGC]
  81. RS274NGC_STARTUP_CODE = o<metric_startup> call
  82. PARAMETER_FILE = metric_parameters.txt
  83.  
  84. # required, ./ must be in this path
  85. SUBROUTINE_PATH = ./:../../nc_files/subroutines
  86.  
  87. # required for reading ini and hal variables
  88. FEATURES = 12
  89.  
  90. # required for our material change
  91. USER_M_PATH = ./
  92.  
  93. [HAL]
  94.  
  95. # required
  96. TWOPASS = ON
  97.  
  98. # required - your machine hal file
  99. HALFILE = machine.hal
  100.  
  101. # required
  102. HALFILE = ./plasmac.tcl
  103.  
  104. # required - see comments in plasmac.hal
  105. HALFILE = plasmac_connections.hal
  106.  
  107. # required
  108. HALUI = halui
  109.  
  110. [DISPLAY]
  111. DISPLAY = gmoccapy
  112. POSITION_OFFSET = RELATIVE
  113. POSITION_FEEDBACK = ACTUAL
  114. MAX_FEED_OVERRIDE = 1.5
  115. PROGRAM_PREFIX = /home/user/linuxcnc/nc_files
  116. INTRO_GRAPHIC = linuxcnc.gif
  117. INTRO_TIME = 1
  118. CYCLE_TIME = 100
  119. INCREMENTS = 10, 1, .1, .01, .001
  120. MDI_HISTORY_FILE = metric_mdi_history.txt
  121.  
  122. # required
  123. EMBED_TAB_NAME = plasmac_buttons
  124. EMBED_TAB_LOCATION = box_cooling
  125. EMBED_TAB_COMMAND = gladevcp -c plasmac_buttons -x {XID} -u ./plasmac_buttons.py -H ./plasmac_buttons.hal ./plasmac_buttons.glade
  126. EMBED_TAB_NAME = plasmac_control
  127. EMBED_TAB_LOCATION = box_spindle
  128. EMBED_TAB_COMMAND = gladevcp -c plasmac_control -x {XID} -u ./plasmac_control.py -H ./plasmac_control.hal ./plasmac_control.glade
  129. EMBED_TAB_NAME = Statistics
  130. EMBED_TAB_LOCATION = ntb_preview
  131. EMBED_TAB_COMMAND = gladevcp -c plasmac_stats -x {XID} -u ./plasmac_stats.py -H ./plasmac_stats.hal ./plasmac_stats.glade
  132.  
  133. EMBED_TAB_NAME = Run
  134. # use one of the next two
  135. # run panel in tab behind preview
  136. EMBED_TAB_LOCATION = ntb_preview
  137. EMBED_TAB_COMMAND = gladevcp -c plasmac_run -x {XID} -u ./plasmac_run.py -H ./plasmac_run.hal ./plasmac_run_tab.glade
  138. # run panel in panel on left side
  139. #EMBED_TAB_LOCATION = box_left
  140. #EMBED_TAB_COMMAND = gladevcp -c plasmac_run -x {XID} -u ./plasmac_run.py -H ./plasmac_run.hal ./plasmac_run_panel.glade
  141.  
  142. EMBED_TAB_NAME = Config
  143. EMBED_TAB_LOCATION = ntb_preview
  144. EMBED_TAB_COMMAND = gladevcp -c plasmac_config -x {XID} -u ./plasmac_config.py -H ./plasmac_config.hal ./plasmac_config.glade
  145. EMBED_TAB_NAME = plasmac_monitor
  146. EMBED_TAB_LOCATION = box_tool_and_code_info
  147. EMBED_TAB_COMMAND = gladevcp -c plasmac_monitor -x {XID} -u ./plasmac_monitor.py -H ./plasmac_monitor.hal ./plasmac_monitor.glade
  148.  
  149. EMBED_TAB_NAME = Extras
  150. EMBED_TAB_LOCATION = ntb_preview
  151. EMBED_TAB_COMMAND = gladevcp -c plasmac_wizards -x {XID} -u ./plasmac_wizards.py ./plasmac_wizards.glade
  152.  
  153. [EMC]
  154. VERSION = 1.1
  155. MACHINE = METRIC_PLASMAC
  156. DEBUG = 0
  157.  
  158. [EMCIO]
  159. EMCIO = io
  160. CYCLE_TIME = 0.100
  161. TOOL_TABLE = tool.tbl
  162.  
  163. [TASK]
  164. TASK = milltask
  165. CYCLE_TIME = 0.01
  166.  
  167. [EMCMOT]
  168. EMCMOT = motmod
  169. COMM_TIMEOUT = 1.0
  170. BASE_PERIOD = 30000
  171. SERVO_PERIOD = 1000000
  172.  
  173. [KINS]
  174. KINEMATICS = trivkins coordinates=xyz
  175. JOINTS = 3
  176.  
  177. [TRAJ]
  178. SPINDLES = 3
  179. COORDINATES = XYZ
  180. LINEAR_UNITS = mm
  181. MAX_LINEAR_VELOCITY = 100.00
  182. ANGULAR_UNITS = degree
  183. POSITION_FILE = metric_position.txt
  184.  
  185. [AXIS_X]
  186. MAX_VELOCITY = 100.0
  187. MAX_ACCELERATION = 750.0
  188. MIN_LIMIT = -0.001
  189. MAX_LIMIT = 750.0
  190.  
  191. [JOINT_0]
  192. TYPE = LINEAR
  193. HOME = 0.0
  194. MIN_LIMIT = -0.001
  195. MAX_LIMIT = 750.0
  196. MAX_VELOCITY = 100.0
  197. MAX_ACCELERATION = 750.0
  198. STEPGEN_MAXACCEL = 937.5
  199. SCALE = 50.0
  200. FERROR = 1
  201. MIN_FERROR = .25
  202. HOME_OFFSET = 0.000000
  203. HOME_SEARCH_VEL = -20.000000
  204. HOME_LATCH_VEL = -10.000000
  205.  
  206. [AXIS_Y]
  207. MAX_VELOCITY = 100.0
  208. MAX_ACCELERATION = 750.0
  209. MIN_LIMIT = 0.0
  210. MAX_LIMIT = 1800.0
  211.  
  212. [JOINT_1]
  213. TYPE = LINEAR
  214. HOME = 1.0
  215. MIN_LIMIT = 0.0
  216. MAX_LIMIT = 1800.0
  217. MAX_VELOCITY = 100.0
  218. MAX_ACCELERATION = 750.0
  219. STEPGEN_MAXACCEL = 937.5
  220. SCALE = 32.0
  221. FERROR = 1
  222. MIN_FERROR = .25
  223. HOME_OFFSET = 0.000000
  224. HOME_SEARCH_VEL = -20.000000
  225. HOME_LATCH_VEL = -15.625000
  226.  
  227.  
  228. [AXIS_Z]
  229. # this should be the top of your slats
  230. MAX_VELOCITY = 25.0
  231. MAX_ACCELERATION = 750.0
  232. MIN_LIMIT = -50.0
  233. MAX_LIMIT = 0.001
  234.  
  235. [JOINT_2]
  236. # this should be the top of your slats
  237. TYPE = LINEAR
  238. HOME = 0.0
  239. MIN_LIMIT = -50.0
  240. MAX_LIMIT = 0.001
  241. MAX_VELOCITY = 25.0
  242. MAX_ACCELERATION = 750.0
  243. STEPGEN_MAXACCEL = 937.5
  244. SCALE = 40.0
  245. FERROR = 1
  246. MIN_FERROR = .25
  247. HOME_OFFSET = 0.1
  248.  
  249. # required, set to double the value in the corresponding joint
  250. #MAX_VELOCITY = 120
  251.  
  252. # required, set to double the value in the corresponding joint
  253. #MAX_ACCELERATION = 1200
  254.  
  255. # required, shares the above two equally between the axis/joint and the offset
  256. #OFFSET_AV_RATIO = 0.5
  257.  
  258.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement