Advertisement
Guest User

Untitled

a guest
Dec 15th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.84 KB | None | 0 0
  1. # This config file was created 2016-12-15 09:30:26.457923 by the update_ini script
  2. # The original config files may be found in the /home/skunkworks/linuxcnc/configs/circblendMaster/axis/axisfast.old directory
  3.  
  4. # EMC controller parameters for a simulated machine.
  5.  
  6. # General note: Comments can either be preceded with a # or ; - either is
  7. # acceptable, although # is in keeping with most linux config files.
  8.  
  9. # General section -------------------------------------------------------------
  10. [EMC]
  11.  
  12.  
  13. # Version of this INI file
  14. VERSION = 1.0
  15.  
  16. # Name of machine, for use with display, etc.
  17. MACHINE = LinuxCNC-HAL-SIM-AXIS
  18.  
  19. # Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
  20. #DEBUG = 0x7FFFFFFF
  21. DEBUG = 0
  22.  
  23. # Sections for display options ------------------------------------------------
  24. [DISPLAY]
  25.  
  26. ; EMBED_TAB_NAME = Camera
  27. ; EMBED_TAB_COMMAND = camview-emc -w {XID}
  28.  
  29. #ARCDIVISION = 200
  30. PYVCP = vcp.xml
  31. # Name of display program, e.g., xemc
  32. DISPLAY = axis
  33.  
  34. # Cycle time, in seconds, that display will sleep between polls
  35. CYCLE_TIME = 0.100
  36.  
  37. # Path to help file
  38. HELP_FILE = doc/help.txt
  39.  
  40. # Initial display setting for position, RELATIVE or MACHINE
  41. POSITION_OFFSET = RELATIVE
  42.  
  43. # Initial display setting for position, COMMANDED or ACTUAL
  44. POSITION_FEEDBACK = ACTUAL
  45.  
  46. # Highest value that will be allowed for feed override, 1.0 = 100%
  47. MAX_FEED_OVERRIDE = 10
  48. MAX_SPINDLE_OVERRIDE = 1.0
  49.  
  50. MAX_LINEAR_VELOCITY = 12
  51. DEFAULT_LINEAR_VELOCITY = .25
  52. # Prefix to be used
  53. PROGRAM_PREFIX = ../../../nc_files/
  54.  
  55. # Introductory graphic
  56. INTRO_GRAPHIC = linuxcnc.gif
  57. INTRO_TIME = -1
  58.  
  59. EDITOR = gedit
  60. TOOL_EDITOR = tooledit
  61.  
  62. INCREMENTS = 1 in, 0.1 in, 10 mil, 1 mil, 1mm, .1mm, 1/8000 in
  63.  
  64. [FILTER]
  65. PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
  66. PROGRAM_EXTENSION = .py Python Script
  67.  
  68. png = image-to-gcode
  69. gif = image-to-gcode
  70. jpg = image-to-gcode
  71. py = python
  72.  
  73. # Task controller section -----------------------------------------------------
  74.  
  75. [RS274NGC]
  76. #REMAP=M55 modalgroup=7 ngc=offtry
  77.  
  78. # File containing interpreter variables
  79. PARAMETER_FILE = sim.var
  80.  
  81. # Motion control section ------------------------------------------------------
  82.  
  83. [EMCMOT]
  84.  
  85. EMCMOT = motmod
  86.  
  87. # Timeout for comm to emcmot, in seconds
  88. COMM_TIMEOUT = 1.0
  89.  
  90. # Interval between tries to emcmot, in seconds
  91. COMM_WAIT = 0.010
  92.  
  93. # BASE_PERIOD is unused in this configuration but specified in core_sim.hal
  94. BASE_PERIOD = 0
  95. # Servo task period, in nano-seconds
  96. SERVO_PERIOD = 1000000
  97. SERVO_PERIOD = 200000
  98.  
  99. # Hardware Abstraction Layer section --------------------------------------------------
  100.  
  101. [TASK]
  102.  
  103. # Name of task controller program, e.g., milltask
  104. TASK = milltask
  105.  
  106. # Cycle time, in seconds, that task controller will sleep between polls
  107. CYCLE_TIME = 0.001
  108.  
  109. # Part program interpreter section --------------------------------------------
  110.  
  111. [HAL]
  112.  
  113. # The run script first uses halcmd to execute any HALFILE
  114. # files, and then to execute any individual HALCMD commands.
  115. #
  116.  
  117. # list of hal config files to run through halcmd
  118. # files are executed in the order in which they appear
  119. HALFILE = core_sim.hal
  120. #HALFILE = axis_manualtoolchange.hal
  121. HALFILE = simulated_home.hal
  122. HALFILE = check_constraints.hal
  123.  
  124.  
  125. # list of halcmd commands to execute
  126. # commands are executed in the order in which they appear
  127. #HALCMD = save neta
  128.  
  129. # Single file that is executed after the GUI has started. Only supported by
  130. # AXIS at this time (only AXIS creates a HAL component of its own)
  131. POSTGUI_HALFILE = postgui.hal
  132.  
  133. HALUI = halui
  134.  
  135. # Trajectory planner section --------------------------------------------------
  136.  
  137. [HALUI]
  138. #No Content
  139. [TRAJ]
  140.  
  141.  
  142. AXES = 3
  143. COORDINATES = X Y Z
  144. HOME = 0 0 0
  145. LINEAR_UNITS = inch
  146. ANGULAR_UNITS = degree
  147. CYCLE_TIME = 0.010
  148. DEFAULT_LINEAR_VELOCITY = 1.2
  149. POSITION_FILE = position.txt
  150. MAX_LINEAR_VELOCITY = 20
  151. ARC_BLEND_ENABLE = 1
  152. ARC_BLEND_FALLBACK_ENABLE = 0
  153. ARC_BLEND_OPTIMIZATION_DEPTH = 100
  154. ARC_BLEND_GAP_CYCLES = 4
  155. ARC_BLEND_RAMP_FREQ = 1000
  156. ARC_BLEND_KINK_RATIO = .1
  157.  
  158.  
  159. # Axes sections ---------------------------------------------------------------
  160.  
  161. # First axis
  162. [EMCIO]
  163.  
  164. # Name of IO controller program, e.g., io
  165. EMCIO = io
  166.  
  167. # cycle time, in seconds
  168. CYCLE_TIME = 0.100
  169.  
  170. # tool table file
  171. TOOL_TABLE = sim.tbl
  172. TOOL_CHANGE_POSITION = 0 0 0
  173. TOOL_CHANGE_QUILL_UP = 1
  174.  
  175.  
  176. [KINS]
  177. KINEMATICS = trivkins
  178. #This is a best-guess at the number of joints, it should be checked
  179. JOINTS = 3
  180.  
  181. [AXIS_X]
  182. MIN_LIMIT = -1000.0
  183. MAX_LIMIT = 1000.0
  184. MAX_VELOCITY = 8.333
  185. MAX_ACCELERATION = 30
  186.  
  187. [JOINT_0]
  188.  
  189.  
  190. TYPE = LINEAR
  191. HOME = 0.000
  192. MAX_VELOCITY = 8.333
  193. MAX_ACCELERATION = 30
  194. MAX_JERK = 5000
  195. BACKLASH = 0.000
  196. INPUT_SCALE = 1500
  197. OUTPUT_SCALE = 1.000
  198. MIN_LIMIT = -1000.0
  199. MAX_LIMIT = 1000.0
  200. FERROR = 0.050
  201. MIN_FERROR = 0.010
  202. HOME_OFFSET = 0.0
  203. HOME_SEARCH_VEL = 20.0
  204. HOME_LATCH_VEL = 20.0
  205. HOME_USE_INDEX = NO
  206. HOME_IGNORE_LIMITS = NO
  207. HOME_SEQUENCE = 1
  208. HOME_IS_SHARED = 1
  209.  
  210. # Second axis
  211. [AXIS_Y]
  212. MIN_LIMIT = -1000.0
  213. MAX_LIMIT = 1000.0
  214. MAX_VELOCITY = 8.333
  215. MAX_ACCELERATION = 30
  216.  
  217. [JOINT_1]
  218.  
  219.  
  220. TYPE = LINEAR
  221. HOME = 0.000
  222. MAX_VELOCITY = 8.333
  223. MAX_ACCELERATION = 30
  224. MAX_JERK = 5000
  225. BACKLASH = 0.000
  226. INPUT_SCALE = 1500
  227. OUTPUT_SCALE = 1.000
  228. MIN_LIMIT = -1000.0
  229. MAX_LIMIT = 1000.0
  230. FERROR = 0.050
  231. MIN_FERROR = 0.010
  232. HOME_OFFSET = 0.0
  233. HOME_SEARCH_VEL = 20.0
  234. HOME_LATCH_VEL = 20.0
  235. HOME_USE_INDEX = NO
  236. HOME_IGNORE_LIMITS = NO
  237. HOME_SEQUENCE = 1
  238.  
  239. # Third axis
  240. [AXIS_Z]
  241. MIN_LIMIT = -1000
  242. MAX_LIMIT = 1000
  243. MAX_VELOCITY = 8.333
  244. MAX_ACCELERATION = 30
  245.  
  246. [JOINT_2]
  247.  
  248.  
  249. TYPE = LINEAR
  250. HOME = 0.0
  251. MAX_VELOCITY = 8.333
  252. MAX_ACCELERATION = 30
  253. MAX_JERK = 5000
  254. BACKLASH = 0.0
  255. INPUT_SCALE = 1500
  256. OUTPUT_SCALE = 1.000
  257. MIN_LIMIT = -1000
  258. MAX_LIMIT = 1000
  259. FERROR = 0.050
  260. MIN_FERROR = 0.010
  261. HOME_OFFSET = 1.0
  262. HOME_SEARCH_VEL = 20.0
  263. HOME_LATCH_VEL = 20.0
  264. HOME_USE_INDEX = NO
  265. HOME_IGNORE_LIMITS = NO
  266. HOME_SEQUENCE = 0
  267. HOME_IS_SHARED = 1
  268.  
  269. # section for main IO controller parameters -----------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement