Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Generated by stepconf at Mon Nov 21 18:28:36 2011
- # 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 5000
- loadrt stepgen step_type=2,2,2
- addf parport.0.read base-thread
- addf stepgen.make-pulses 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
- setp stepgen.0.position-scale [AXIS_0]SCALE
- # setp stepgen.0.steplen 1
- # setp stepgen.0.stepspace 0
- # setp stepgen.0.dirhold 35000
- # setp stepgen.0.dirsetup 35000
- 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 XA <= stepgen.0.phase-A
- net XB <= stepgen.0.phase-B
- net xenable axis.0.amp-enable-out => stepgen.0.enable
- setp stepgen.1.position-scale [AXIS_1]SCALE
- # setp stepgen.1.steplen 1
- # setp stepgen.1.stepspace 0
- # setp stepgen.1.dirhold 35000
- # setp stepgen.1.dirsetup 35000
- 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 YA <= stepgen.1.phase-A
- net YB <= stepgen.1.phase-B
- net yenable axis.1.amp-enable-out => stepgen.1.enable
- setp stepgen.2.position-scale [AXIS_2]SCALE
- # setp stepgen.2.steplen 1
- # setp stepgen.2.stepspace 0
- # setp stepgen.2.dirhold 35000
- # setp stepgen.2.dirsetup 35000
- 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 ZA <= stepgen.2.phase-A
- net ZB <= stepgen.2.phase-B
- net zenable axis.2.amp-enable-out => stepgen.2.enable
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement