# Generated by stepconf at Thu Mar 15 15:10:12 2012 # If you make changes to this file, they will be # overwritten when you run stepconf again [EMC] MACHINE = Mill-PP #DEBUG = 0 # Debug level, 0 means no messages. See src/emc/nml_intf/debugflags.h for others #DEBUG = 0x00000002 # configuration #DEBUG = 0x7FFFFFFF #DEBUG = 0x7FFFDEFF #no interp,oword #DEBUG = 0x00008000 # py only #DEBUG = 0x0000E000 # py + remap + Oword #DEBUG = 0x0000C002 # py + remap + config DEBUG = 0x0000C100 # py + remap + Interpreter #DEBUG = 0x0000C140 # py + remap + Interpreter + NML msgs #DEBUG = 0x0000C040 # py + remap + NML #DEBUG = 0x0003E100 # py + remap + Interpreter + oword + signals + namedparams #DEBUG = 0x10000000 # EMC_DEBUG_USER1 - trace statements #DEBUG = 0x20000000 # EMC_DEBUG_USER2 - trap into Python debugger #DEBUG = 0x7FFFFFFF #DEBUG = 0x10008000 # USER1, PYTHON #DEBUG = 0x30008000 # USER1,USER2, PYTHON # USER2 will cause involute to try to connect to pydev #DEBUG = 0x00080000 #EMC_DEBUG_REDIS #DEBUG = EMC_DEBUG_REMAP [DISPLAY] DISPLAY = tormach_mill_ui.py EDITOR = gedit POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL ARCDIVISION = 64 MIN_SPINDLE_OVERRIDE = 0.5 MAX_SPINDLE_OVERRIDE = 1.2 DEFAULT_LINEAR_VELOCITY = 1 MIN_LINEAR_VELOCITY = 0 MAX_LINEAR_VELOCITY = 3 MAX_FEED_OVERRIDE = 1.5 INTRO_GRAPHIC = tormach_mill_splash.gif INTRO_TIME = 2 PROGRAM_PREFIX = ~/gcode INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in GEOMETRY = XYZ GRIDS = 1 [REDIS] # IMPORTANT: redis-server has a bad side effect where if *any* arguments are provided # it clears the default save parameters and then *never* saves changes. # The default save parameters must be restored by including them as args. # appendServerSaveParams(60*60,1); /* save after 1 hour and 1 change */ # appendServerSaveParams(300,100); /* save after 5 minutes and 100 changes */ # appendServerSaveParams(60,10000); /* save after 1 minute and 10000 changes */ SERVER_ARGS = --dir ~/mill_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000 [TASK] TASK = milltask CYCLE_TIME = 0.010 [RS274NGC] PARAMETER_FILE = ~/mill_data/mill.var RS274NGC_STARTUP_CODE = G8 G17 G20 G90 # set bit 2 to fetch ini file values in g-code, #<_ini[section]name> FEATURES = 12 SUBROUTINE_PATH = ~/tmc/configs/tormach_mill/nc_subs:~/tmc/subroutines:~/gcode/subroutines SINGLE_BLOCK_LOCAL_SUB = YES SINGLE_BLOCK_EXTERNAL_SUB = NO USER_M_PATH = nc_subs DEBUG = 0 # REMAPPING # for tool change commands REMAP=M6 modalgroup=6 prolog=zbotatc_M6_prolog ngc=m400 # for various GUI functions REMAP=M600 modalgroup=10 argspec=PQ ngc=m600 REMAP=g30 modalgroup=1 argspec=xyza py=g300 #REMAP=g30 modalgroup=1 argspec=xyza ngc=m101 REMAP=m998 modalgroup=5 argspec=xyza py=m998 REMAP=g50 modalgroup=1 py=g500 REMAP=g84 modalgroup=1 argspec=rpxyza prolog=cycle_prolog epilog=cycle_epilog py=g840 # start of tool length touchoff probe [TOOLSENSOR] X = 390 Y = 1285.0 Z = 0 MAXPROBE=-10 # abort change if no toolsensor contact after this probe distance PROBEFEED=50 [CHANGE_POSITION] X = 50 Y = 650 Z = 1 # motion.digital-in/out-NN pins [PINS] CHANGE = 0 # motion.digital-out-00 PROBING = 1 # motion.digital-out-01 ENABLE = 2 # motion.digital-out-02 CHANGED = 0 # motion.digital-in-00 REFTOOL = 1 # motion.digital-in-01 TOOLNO = 0 # motion.analog-out-00 REFLEN = 1 # motion.analog-out-01 CURRLEN = 2 # motion.analog-out-02 [PYTHON] TOPLEVEL= python/toplevel.py PATH_PREPEND= python LOG_LEVEL=0 [EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 COMM_WAIT = 0.010 BASE_PERIOD = 10000 SERVO_PERIOD = 1000000 [HAL] HALUI = halui HALFILE = mill_pp.hal #HALFILE = pmdx126-custom.hal POSTGUI_SHUTTLEXPRESS_HALFILE = millshuttlexpress.hal POSTGUI_HALFILE = postgui_mill_custom_pp.hal [TRAJ] AXES = 3 COORDINATES = X Y Z LINEAR_UNITS = inch ANGULAR_UNITS = degree DEFAULT_VELOCITY = 1 MAX_VELOCITY = 3 NO_FORCE_HOMING = 1 POSITION_FILE = ~/mill_data/position.txt DEFAULT_TOLERANCE = 0.002 DEFAULT_NAIVECAM_TOLERANCE = 0.0 [EMCIO] EMCIO = io CYCLE_TIME = 0.100 TOOL_TABLE = ~/mill_data/tool.tbl [SPINDLE] # TODO: these ratios should be set elsewhere like the .INI file or the UI # such that this HAL file is the same between 1100/770 # 1100 # LO_RANGE_MIN = 100 # LO_RANGE_MAX = 1000 # LO_SCALE = 5.45 # HI_RANGE_MIN = 250 # HI_RANGE_MAX = 5140 # HI_SCALE = 2.121 # HI_RANGE_SCALE = 2.575 # 770 LO_RANGE_MIN = 175 LO_RANGE_MAX = 3250 LO_SCALE = 3.354 HI_RANGE_MIN = 8000 HI_RANGE_MAX = 24000 HI_SCALE = 1.069 HI_RANGE_SCALE = 3.140 [AXIS_0] TYPE = LINEAR HOME = 0.0 MAX_VELOCITY = 3 MAX_ACCELERATION = 15 STEPGEN_MAXACCEL = 20 SCALE = 9.4488188976 FERROR = 0.010 MIN_FERROR = 0.001 MIN_LIMIT = -0.1 MAX_LIMIT = 16.1417322835 HOME_OFFSET = 0 HOME_SEARCH_VEL = -1.0 HOME_LATCH_VEL = 0.5 HOME_SEQUENCE = 1 HOME_IGNORE_LIMITS = YES MAX_JOG_VELOCITY_UPS = 10 MIN_JOG_VELOCITY_UPS = 0.00833 [AXIS_1] TYPE = LINEAR HOME = 0.0 MAX_VELOCITY = 3 MAX_ACCELERATION = 15 STEPGEN_MAXACCEL = 20 SCALE = 9.4488188976 FERROR = 0.010 MIN_FERROR = 0.001 MIN_LIMIT = -0.1 MAX_LIMIT = 19.6850393701 HOME_OFFSET = 0 HOME_SEARCH_VEL = -1.0 HOME_LATCH_VEL = 0.5 HOME_SEQUENCE = 2 HOME_IGNORE_LIMITS = YES MAX_JOG_VELOCITY_UPS = 10 MIN_JOG_VELOCITY_UPS = 0.00833 [AXIS_2] TYPE = LINEAR HOME = 0.0 MAX_VELOCITY = 2 MAX_ACCELERATION = 10 STEPGEN_MAXACCEL = 15 SCALE = 7.874015748 FERROR = 0.010 MIN_FERROR = 0.001 MIN_LIMIT = -5.905511811 MAX_LIMIT = 0.1 HOME_OFFSET = 0 HOME_SEARCH_VEL = 1.0 HOME_LATCH_VEL = -0.5 HOME_SEQUENCE = 0 HOME_IGNORE_LIMITS = YES MAX_JOG_VELOCITY_UPS = 10 MIN_JOG_VELOCITY_UPS = 0.00833 [AXIS_3] TYPE = ANGULAR HOME = 0.0 MAX_VELOCITY = 21.67 MAX_JOG_VELOCITY_UPS = 21.67 MIN_JOG_VELOCITY_UPS = 0.15 MAX_ACCELERATION = 69.0 SCALE = 500.0 FERROR = 5.0 MIN_FERROR = 2.5 MIN_LIMIT = -9999.0 MAX_LIMIT = 9999.0 HOME_OFFSET = 0.000000 HOME_SEARCH_VEL = 0.00000 HOME_LATCH_VEL = 0.00000 HOME_IGNORE_LIMITS = YES HOME_SEQUENCE = 1