# Generated by stepconf at Tue Jan 5 13:17:13 2010 # If you make changes to this file, they will be # overwritten when you run stepconf again [EMC] MACHINE = FireballCNCV90 NML_FILE = emc.nml DEBUG = 0 [DISPLAY] DISPLAY = axis EDITOR = gedit POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL MAX_FEED_OVERRIDE = 1.2 INTRO_GRAPHIC = emc2.gif INTRO_TIME = 5 PROGRAM_PREFIX = /home/shawn/emc2/nc_files INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in [FILTER] PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image PROGRAM_EXTENSION = .py Python Script png = image-to-gcode gif = image-to-gcode jpg = image-to-gcode py = python [TASK] TASK = milltask CYCLE_TIME = 0.010 [RS274NGC] PARAMETER_FILE = emc.var [EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 COMM_WAIT = 0.010 BASE_PERIOD = 59523 SERVO_PERIOD = 1000000 [HAL] HALFILE = FireballCNCV90.hal [TRAJ] AXES = 3 COORDINATES = X Y Z LINEAR_UNITS = inch ANGULAR_UNITS = degree CYCLE_TIME = 0.010 DEFAULT_VELOCITY = 0.10 MAX_LINEAR_VELOCITY = 1.00 [EMCIO] EMCIO = io CYCLE_TIME = 0.100 TOOL_TABLE = tool.tbl [AXIS_0] TYPE = LINEAR HOME = 0.0 MAX_VELOCITY = 1.0 MAX_ACCELERATION = 30.0 STEPGEN_MAXACCEL = 37.5 SCALE = 10000.0 FERROR = 0.05 MIN_FERROR = 0.01 MIN_LIMIT = -20.0 MAX_LIMIT = 20.0 HOME_OFFSET = 0.000000 HOME_SEARCH_VEL = 0.050000 HOME_LATCH_VEL = 0.050000 HOME_IGNORE_LIMITS = YES HOME_SEQUENCE = 1 [AXIS_1] TYPE = LINEAR HOME = 0.0 MAX_VELOCITY = 1.0 MAX_ACCELERATION = 30.0 STEPGEN_MAXACCEL = 37.5 SCALE = 10000.0 FERROR = 0.05 MIN_FERROR = 0.01 MIN_LIMIT = -20.0 MAX_LIMIT = 20.0 HOME_OFFSET = 0.000000 HOME_SEARCH_VEL = 0.050000 HOME_LATCH_VEL = 0.050000 HOME_IGNORE_LIMITS = YES HOME_SEQUENCE = 2 [AXIS_2] TYPE = LINEAR HOME = 0.0 MAX_VELOCITY = 0.665009044123 MAX_ACCELERATION = 20.0 STEPGEN_MAXACCEL = 25.0 SCALE = 24000.0 FERROR = 0.05 MIN_FERROR = 0.01 MIN_LIMIT = -10.0 MAX_LIMIT = 10.0 HOME_OFFSET = 0.000000 HOME_SEARCH_VEL = 0.050000 HOME_LATCH_VEL = 0.020833 HOME_IGNORE_LIMITS = YES HOME_SEQUENCE = 0 # Generated by stepconf at Tue Jan 5 13:17:13 2010 # If you make changes to this file, they will be # overwritten when you run stepconf again loadrt trivkins loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES loadrt probe_parport loadrt hal_parport cfg="0x378 out " setp parport.0.reset-time 1000 loadrt stepgen step_type=0,0,0 loadrt charge_pump net estop-out charge-pump.enable iocontrol.0.user-enable-out net charge-pump <= charge-pump.out addf parport.0.read base-thread addf stepgen.make-pulses base-thread addf charge-pump base-thread addf parport.0.write base-thread addf parport.0.reset base-thread addf stepgen.capture-position servo-thread addf motion-command-handler servo-thread addf motion-controller servo-thread addf stepgen.update-freq servo-thread net spindle-cmd <= motion.spindle-speed-out net xstep => parport.0.pin-02-out setp parport.0.pin-02-out-reset 1 net xdir => parport.0.pin-03-out net ystep => parport.0.pin-04-out setp parport.0.pin-04-out-reset 1 net ydir => parport.0.pin-05-out net zstep => parport.0.pin-06-out setp parport.0.pin-06-out-reset 1 net zdir => parport.0.pin-07-out net ystep => parport.0.pin-08-out setp parport.0.pin-08-out-reset 1 net ydir => parport.0.pin-09-out net charge-pump => parport.0.pin-16-out net both-home-y <= parport.0.pin-10-in net both-home-z <= parport.0.pin-11-in net both-home-x <= parport.0.pin-12-in setp stepgen.0.position-scale [AXIS_0]SCALE setp stepgen.0.steplen 1 setp stepgen.0.stepspace 0 setp stepgen.0.dirhold 8801 setp stepgen.0.dirsetup 28601 setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL net xpos-cmd axis.0.motor-pos-cmd => stepgen.0.position-cmd net xpos-fb stepgen.0.position-fb => axis.0.motor-pos-fb net xstep <= stepgen.0.step net xdir <= stepgen.0.dir net xenable axis.0.amp-enable-out => stepgen.0.enable net both-home-x => axis.0.home-sw-in net both-home-x => axis.0.neg-lim-sw-in net both-home-x => axis.0.pos-lim-sw-in setp stepgen.1.position-scale [AXIS_1]SCALE setp stepgen.1.steplen 1 setp stepgen.1.stepspace 0 setp stepgen.1.dirhold 8801 setp stepgen.1.dirsetup 28601 setp stepgen.1.maxaccel [AXIS_1]STEPGEN_MAXACCEL net ypos-cmd axis.1.motor-pos-cmd => stepgen.1.position-cmd net ypos-fb stepgen.1.position-fb => axis.1.motor-pos-fb net ystep <= stepgen.1.step net ydir <= stepgen.1.dir net yenable axis.1.amp-enable-out => stepgen.1.enable net both-home-y => axis.1.home-sw-in net both-home-y => axis.1.neg-lim-sw-in net both-home-y => axis.1.pos-lim-sw-in setp stepgen.2.position-scale [AXIS_2]SCALE setp stepgen.2.steplen 1 setp stepgen.2.stepspace 0 setp stepgen.2.dirhold 8801 setp stepgen.2.dirsetup 28601 setp stepgen.2.maxaccel [AXIS_2]STEPGEN_MAXACCEL net zpos-cmd axis.2.motor-pos-cmd => stepgen.2.position-cmd net zpos-fb stepgen.2.position-fb => axis.2.motor-pos-fb net zstep <= stepgen.2.step net zdir <= stepgen.2.dir net zenable axis.2.amp-enable-out => stepgen.2.enable net both-home-z => axis.2.home-sw-in net both-home-z => axis.2.neg-lim-sw-in net both-home-z => axis.2.pos-lim-sw-in net estop-out <= iocontrol.0.user-enable-out net estop-out => iocontrol.0.emc-enable-in loadusr -W hal_manualtoolchange net tool-change iocontrol.0.tool-change => hal_manualtoolchange.change net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared