zmodyfikowany auto probe tool
This commit is contained in:
24
linuxcnc.var
24
linuxcnc.var
@@ -16,7 +16,7 @@
|
||||
5187 0.000000
|
||||
5188 0.000000
|
||||
5189 0.000000
|
||||
5210 0.000000
|
||||
5210 1.000000
|
||||
5211 0.000000
|
||||
5212 0.000000
|
||||
5213 0.000000
|
||||
@@ -26,10 +26,10 @@
|
||||
5217 0.000000
|
||||
5218 0.000000
|
||||
5219 0.000000
|
||||
5220 1.000000
|
||||
5220 4.000000
|
||||
5221 317.201300
|
||||
5222 249.269700
|
||||
5223 0.000000
|
||||
5223 -66.313500
|
||||
5224 0.000000
|
||||
5225 0.000000
|
||||
5226 0.000000
|
||||
@@ -37,9 +37,9 @@
|
||||
5228 0.000000
|
||||
5229 0.000000
|
||||
5230 0.000000
|
||||
5241 302.590500
|
||||
5242 75.191000
|
||||
5243 -81.985254
|
||||
5241 231.819921
|
||||
5242 87.920971
|
||||
5243 -84.140462
|
||||
5244 0.000000
|
||||
5245 0.000000
|
||||
5246 0.000000
|
||||
@@ -47,9 +47,9 @@
|
||||
5248 0.000000
|
||||
5249 0.000000
|
||||
5250 0.000000
|
||||
5261 728.141000
|
||||
5262 204.515175
|
||||
5263 -62.361542
|
||||
5261 243.070000
|
||||
5262 112.965000
|
||||
5263 -41.291500
|
||||
5264 0.000000
|
||||
5265 0.000000
|
||||
5266 0.000000
|
||||
@@ -57,9 +57,9 @@
|
||||
5268 0.000000
|
||||
5269 0.000000
|
||||
5270 0.000000
|
||||
5281 0.000000
|
||||
5282 0.000000
|
||||
5283 0.000000
|
||||
5281 217.270682
|
||||
5282 60.971881
|
||||
5283 -66.378617
|
||||
5284 0.000000
|
||||
5285 0.000000
|
||||
5286 0.000000
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
5187 0.000000
|
||||
5188 0.000000
|
||||
5189 0.000000
|
||||
5210 0.000000
|
||||
5210 1.000000
|
||||
5211 0.000000
|
||||
5212 0.000000
|
||||
5213 0.000000
|
||||
@@ -26,10 +26,10 @@
|
||||
5217 0.000000
|
||||
5218 0.000000
|
||||
5219 0.000000
|
||||
5220 1.000000
|
||||
5220 4.000000
|
||||
5221 317.201300
|
||||
5222 249.269700
|
||||
5223 -43.050000
|
||||
5223 -66.313500
|
||||
5224 0.000000
|
||||
5225 0.000000
|
||||
5226 0.000000
|
||||
@@ -37,9 +37,9 @@
|
||||
5228 0.000000
|
||||
5229 0.000000
|
||||
5230 0.000000
|
||||
5241 302.590500
|
||||
5242 75.191000
|
||||
5243 -81.985254
|
||||
5241 231.819921
|
||||
5242 87.920971
|
||||
5243 -84.140462
|
||||
5244 0.000000
|
||||
5245 0.000000
|
||||
5246 0.000000
|
||||
@@ -47,9 +47,9 @@
|
||||
5248 0.000000
|
||||
5249 0.000000
|
||||
5250 0.000000
|
||||
5261 728.141000
|
||||
5262 204.515175
|
||||
5263 -62.361542
|
||||
5261 243.070000
|
||||
5262 112.965000
|
||||
5263 -41.291500
|
||||
5264 0.000000
|
||||
5265 0.000000
|
||||
5266 0.000000
|
||||
@@ -57,9 +57,9 @@
|
||||
5268 0.000000
|
||||
5269 0.000000
|
||||
5270 0.000000
|
||||
5281 0.000000
|
||||
5282 0.000000
|
||||
5283 0.000000
|
||||
5281 217.270682
|
||||
5282 60.971881
|
||||
5283 -66.378617
|
||||
5284 0.000000
|
||||
5285 0.000000
|
||||
5286 0.000000
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Thu Apr 3 11:11:36 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Thu Apr 3 11:11:36 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 2.50
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 25.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 2.50
|
||||
MAX_LINEAR_VELOCITY = 25.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 200.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 200.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 1.500000
|
||||
HOME_LATCH_VEL = 1.500000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 200.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 200.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 1.500000
|
||||
HOME_LATCH_VEL = 1.500000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 1.500000
|
||||
HOME_LATCH_VEL = 1.500000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,82 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Thu Apr 3 11:18:37 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
net spindle-on <= spindle.0.on
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Thu Apr 3 11:18:37 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 2.50
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 25.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 2.50
|
||||
MAX_LINEAR_VELOCITY = 25.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,84 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 08:29:59 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in
|
||||
net probe-in <= parport.0.pin-13-in
|
||||
net estop-ext <= parport.0.pin-15-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-ext => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 08:29:59 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,86 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 08:36:34 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in
|
||||
net probe-in <= parport.0.pin-15-in-not
|
||||
# net estop-ext <= parport.0.pin-13-in-not
|
||||
|
||||
net spindle-on <= spindle.0.on
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-ext => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,148 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 08:36:34 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
[PROBE]
|
||||
# pick basic probe or versa probe or remove for none
|
||||
#USE_PROBE = versaprobe
|
||||
USE_PROBE = basicprobe
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,85 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 14:29:05 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in
|
||||
net probe-in <= parport.0.pin-15-in-not
|
||||
|
||||
net spindle-on <= spindle.0.on
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,148 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 14:29:05 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
[PROBE]
|
||||
# pick basic probe or versa probe or remove for none
|
||||
#USE_PROBE = versaprobe
|
||||
USE_PROBE = basicprobe
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,83 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:08:19 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in-not
|
||||
net probe-in <= parport.0.pin-13-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:08:19 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,83 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:10:22 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in-not
|
||||
net probe-in <= parport.0.pin-13-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:10:22 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,83 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:12:12 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in-not
|
||||
net probe-in <= parport.0.pin-13-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:12:12 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,83 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:14:50 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in-not
|
||||
net probe-in <= parport.0.pin-13-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:14:50 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,83 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:16:50 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in-not
|
||||
net probe-in <= parport.0.pin-13-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:16:50 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,83 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:19:10 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in-not
|
||||
net probe-in <= parport.0.pin-13-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:19:10 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 99.999
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 100.0
|
||||
MIN_LIMIT = 99.999
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 100.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,83 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:28:46 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in-not
|
||||
net probe-in <= parport.0.pin-13-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:28:46 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,83 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:30:15 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in
|
||||
net probe-in <= parport.0.pin-13-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Fri Apr 4 15:30:15 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,83 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:07:14 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in
|
||||
net home-y <= parport.0.pin-11-in
|
||||
net home-z <= parport.0.pin-12-in
|
||||
net probe-in <= parport.0.pin-13-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:07:14 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,80 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:10:56 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in
|
||||
net home-y <= parport.0.pin-11-in
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:10:56 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,86 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:13:16 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
setp parport.0.pin-02-out-invert 1
|
||||
net xdir => parport.0.pin-02-out
|
||||
setp parport.0.pin-03-out-invert 1
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
setp parport.0.pin-04-out-invert 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
setp parport.0.pin-05-out-invert 1
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
setp parport.0.pin-06-out-invert 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
setp parport.0.pin-07-out-invert 1
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in
|
||||
net home-y <= parport.0.pin-11-in
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:13:16 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 30.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = -100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,86 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:19:34 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
setp parport.0.pin-02-out-invert 1
|
||||
net xdir => parport.0.pin-02-out
|
||||
setp parport.0.pin-03-out-invert 1
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
setp parport.0.pin-04-out-invert 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
setp parport.0.pin-05-out-invert 1
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
setp parport.0.pin-06-out-invert 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
setp parport.0.pin-07-out-invert 1
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in
|
||||
net home-y <= parport.0.pin-11-in
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:19:34 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = -100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = -100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,80 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:22:31 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in
|
||||
net home-y <= parport.0.pin-11-in
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:22:31 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = -100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = -100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,80 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:26:31 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:26:31 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = -100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = -100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,80 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:28:12 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:28:12 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 5.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,80 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:29:55 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:29:55 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 5.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,80 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:32:01 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:32:01 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = -100.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = -5.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = -100.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,80 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:33:33 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 08:33:33 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = -5.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,80 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:09:42 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:09:42 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = -5.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,80 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:11:20 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in-not
|
||||
net home-y <= parport.0.pin-11-in-not
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:11:20 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = -5.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,82 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:14:33 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
setp parport.0.pin-02-out-invert 1
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
setp parport.0.pin-04-out-invert 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in
|
||||
net home-y <= parport.0.pin-11-in
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:14:33 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 20.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = -5.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,80 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:22:56 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in
|
||||
net home-y <= parport.0.pin-11-in
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:22:56 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 10.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = -5.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 750.0
|
||||
STEPGEN_MAXACCEL = 937.5
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,80 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:26:26 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in
|
||||
net home-y <= parport.0.pin-11-in
|
||||
net home-z <= parport.0.pin-12-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,143 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:26:26 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 5.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 5.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = -5.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
@@ -1,84 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:31:00 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net min-home-x <= parport.0.pin-10-in
|
||||
net min-home-y <= parport.0.pin-11-in
|
||||
net max-home-u <= parport.0.pin-12-in
|
||||
net probe-in <= parport.0.pin-15-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net min-home-x => joint.0.home-sw-in
|
||||
net min-home-x => joint.0.neg-lim-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net min-home-y => joint.1.home-sw-in
|
||||
net min-home-y => joint.1.neg-lim-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,153 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 10:31:00 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[MDI_COMMAND_LIST]
|
||||
# for macro buttons on main oage up to 10 possible
|
||||
MDI_COMMAND = G0 Z25;X0 Y0;Z0, Goto\nUser\nZero
|
||||
MDI_COMMAND = G53 G0 Z0;G53 G0 X0 Y0,Goto\nMachn\nZero
|
||||
|
||||
[PROBE]
|
||||
# pick basic probe or versa probe or remove for none
|
||||
#USE_PROBE = versaprobe
|
||||
USE_PROBE = basicprobe
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 5.0
|
||||
HOME_SEQUENCE = 2
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_IGNORE_LIMITS = YES
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 5.0
|
||||
HOME_SEQUENCE = 1
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_IGNORE_LIMITS = YES
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = -5.0
|
||||
HOME_SEQUENCE = 0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = -5.0
|
||||
#******************************************
|
||||
@@ -1,84 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 11:44:07 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net min-home-x <= parport.0.pin-10-in
|
||||
net min-home-y <= parport.0.pin-11-in
|
||||
net max-home-u <= parport.0.pin-12-in
|
||||
net probe-in <= parport.0.pin-15-in-not
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net min-home-x => joint.0.home-sw-in
|
||||
net min-home-x => joint.0.neg-lim-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net min-home-y => joint.1.home-sw-in
|
||||
net min-home-y => joint.1.neg-lim-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-out => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,140 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Mon Apr 7 11:44:07 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 5.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_IGNORE_LIMITS = YES
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 5.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_IGNORE_LIMITS = YES
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = -5.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = -5.0
|
||||
#******************************************
|
||||
@@ -1,85 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Thu Apr 17 15:29:02 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net min-home-x <= parport.0.pin-10-in
|
||||
net min-home-y <= parport.0.pin-11-in
|
||||
net max-home-u <= parport.0.pin-12-in
|
||||
net estop-ext <= parport.0.pin-13-in-not
|
||||
net probe-in <= parport.0.pin-15-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net min-home-x => joint.0.home-sw-in
|
||||
net min-home-x => joint.0.neg-lim-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net min-home-y => joint.1.home-sw-in
|
||||
net min-home-y => joint.1.neg-lim-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-ext => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,140 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Thu Apr 17 15:29:02 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 5.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_IGNORE_LIMITS = YES
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 5.0
|
||||
MIN_LIMIT = 0.0
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_IGNORE_LIMITS = YES
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = -5.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.0
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = -5.0
|
||||
#******************************************
|
||||
@@ -1,84 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Thu Apr 17 15:33:51 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
loadrt [KINS]KINEMATICS
|
||||
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
|
||||
loadrt hal_parport cfg="0 out"
|
||||
setp parport.0.reset-time 5000
|
||||
loadrt stepgen step_type=0,0,0
|
||||
|
||||
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 probe-in => motion.probe-input
|
||||
|
||||
setp parport.0.pin-01-out-invert 1
|
||||
net spindle-on => parport.0.pin-01-out
|
||||
net xdir => parport.0.pin-02-out
|
||||
net xstep => parport.0.pin-03-out
|
||||
setp parport.0.pin-03-out-reset 1
|
||||
net ydir => parport.0.pin-04-out
|
||||
net ystep => parport.0.pin-05-out
|
||||
setp parport.0.pin-05-out-reset 1
|
||||
net zdir => parport.0.pin-06-out
|
||||
net zstep => parport.0.pin-07-out
|
||||
setp parport.0.pin-07-out-reset 1
|
||||
net home-x <= parport.0.pin-10-in
|
||||
net home-y <= parport.0.pin-11-in
|
||||
net home-z <= parport.0.pin-12-in
|
||||
net estop-ext <= parport.0.pin-13-in-not
|
||||
net probe-in <= parport.0.pin-15-in
|
||||
|
||||
setp stepgen.0.position-scale [JOINT_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 [JOINT_0]STEPGEN_MAXACCEL
|
||||
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
|
||||
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
|
||||
net xstep <= stepgen.0.step
|
||||
net xdir <= stepgen.0.dir
|
||||
net xenable joint.0.amp-enable-out => stepgen.0.enable
|
||||
net home-x => joint.0.home-sw-in
|
||||
|
||||
setp stepgen.1.position-scale [JOINT_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 [JOINT_1]STEPGEN_MAXACCEL
|
||||
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
|
||||
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
|
||||
net ystep <= stepgen.1.step
|
||||
net ydir <= stepgen.1.dir
|
||||
net yenable joint.1.amp-enable-out => stepgen.1.enable
|
||||
net home-y => joint.1.home-sw-in
|
||||
|
||||
setp stepgen.2.position-scale [JOINT_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 [JOINT_2]STEPGEN_MAXACCEL
|
||||
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
|
||||
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
|
||||
net zstep <= stepgen.2.step
|
||||
net zdir <= stepgen.2.dir
|
||||
net zenable joint.2.amp-enable-out => stepgen.2.enable
|
||||
net home-z => joint.2.home-sw-in
|
||||
|
||||
net estop-out <= iocontrol.0.user-enable-out
|
||||
net estop-ext => iocontrol.0.emc-enable-in
|
||||
|
||||
net tool-change <= iocontrol.0.tool-change
|
||||
net tool-changed => iocontrol.0.tool-changed
|
||||
net tool-number <= iocontrol.0.tool-prep-number
|
||||
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
|
||||
@@ -1,191 +0,0 @@
|
||||
# Generated by stepconf 1.1 at Thu Apr 17 15:33:51 2025
|
||||
# If you make changes to this file, they will be
|
||||
# overwritten when you run stepconf again
|
||||
|
||||
[EMC]
|
||||
MACHINE = mayo-mill
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = qtvcp qtdragon
|
||||
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
|
||||
EDITOR = gedit
|
||||
POSITION_OFFSET = RELATIVE
|
||||
POSITION_FEEDBACK = ACTUAL
|
||||
ARCDIVISION = 64
|
||||
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
|
||||
MAX_FEED_OVERRIDE = 1.2
|
||||
MIN_SPINDLE_OVERRIDE = 0.5
|
||||
MAX_SPINDLE_OVERRIDE = 1.2
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MIN_LINEAR_VELOCITY = 0
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
CYCLE_TIME = 0.100
|
||||
INTRO_GRAPHIC = linuxcnc.gif
|
||||
INTRO_TIME = 5
|
||||
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
|
||||
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
|
||||
|
||||
[KINS]
|
||||
JOINTS = 3
|
||||
KINEMATICS = trivkins coordinates=XYZ
|
||||
|
||||
[FILTER]
|
||||
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
|
||||
PROGRAM_EXTENSION = .py Python Script
|
||||
PROGRAM_EXTENSION = .nc,.tap G-Code File
|
||||
png = image-to-gcode
|
||||
gif = image-to-gcode
|
||||
jpg = image-to-gcode
|
||||
py = python
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.010
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = linuxcnc.var
|
||||
|
||||
# start up G/M codes when first loaded
|
||||
RS274NGC_STARTUP_CODE = G17 G21 G40 G43H0 G54 G64P0.0127 G80 G90 G94 G97 M5 M9
|
||||
|
||||
# subroutine/remap path list
|
||||
SUBROUTINE_PATH =\
|
||||
~/linuxcnc/nc_files/examples/ngcgui_lib:\
|
||||
~/linuxcnc/nc_files/examples/ngcgui_lib/utilitysubs:\
|
||||
~/linuxcnc/nc_files/examples/remap-subroutines:\
|
||||
~/linuxcnc/nc_files/examples/remap_lib
|
||||
|
||||
# is the sub, with is called when a error during tool change happens.
|
||||
ON_ABORT_COMMAND=O <on_abort> call
|
||||
|
||||
# The remap code for QtVCP's versaprobe's automatic tool probe of Z
|
||||
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=qt_auto_probe_tool epilog=change_epilog
|
||||
|
||||
# required for python remaps
|
||||
[PYTHON]
|
||||
# The path to start a search for user modules. ie python's sys.path.insert(0,PATH)
|
||||
#PATH_PREPEND = ~/linuxcnc/nc_files/examples/remap_lib/python-stdglue/python
|
||||
|
||||
# The path start point for all remap searches ie. python's sys.path.append()
|
||||
PATH_APPEND = ~/linuxcnc/nc_files/examples/remap_lib/python-stdglue/python
|
||||
# path to the tremap's 'oplevel file
|
||||
TOPLEVEL = ~/linuxcnc/nc_files/examples/remap_lib/python-stdglue/python/toplevel.py
|
||||
# set remap debug level
|
||||
#LOG_LEVEL = 1000
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 1.0
|
||||
BASE_PERIOD = 100000
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = mayo-mill.hal
|
||||
HALFILE = custom.hal
|
||||
POSTGUI_HALFILE = postgui_call_list.hal
|
||||
|
||||
[TRAJ]
|
||||
COORDINATES = X Y Z
|
||||
LINEAR_UNITS = mm
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 5.00
|
||||
MAX_LINEAR_VELOCITY = 50.00
|
||||
|
||||
[EMCIO]
|
||||
EMCIO = io
|
||||
CYCLE_TIME = 0.100
|
||||
TOOL_TABLE = tool.tbl
|
||||
[PROBE]
|
||||
# pick basic probe or versa probe or remove for none
|
||||
USE_PROBE = versaprobe
|
||||
#USE_PROBE = basicprobe
|
||||
|
||||
[VERSA_TOOLSETTER]
|
||||
X = 100
|
||||
Y = 40
|
||||
Z = -30
|
||||
Z_MAX_CLEAR = -2
|
||||
MAXPROBE = 40
|
||||
|
||||
[CHANGE_POSITION]
|
||||
X = 10
|
||||
Y = 10
|
||||
Z = -2
|
||||
|
||||
[MDI_COMMAND_LIST]
|
||||
# for macro buttons on main oage up to 10 possible
|
||||
MDI_COMMAND = G0 Z25;X0 Y0;Z0, Goto\nUser\nZero
|
||||
MDI_COMMAND = G53 G0 Z0;G53 G0 X0 Y0,Goto\nMachn\nZero
|
||||
#*** AXIS_X *******************************
|
||||
[AXIS_X]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 780.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_SEQUENCE = 2
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Y *******************************
|
||||
[AXIS_Y]
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -0.001
|
||||
MAX_LIMIT = 485.0
|
||||
MAX_VELOCITY = 50.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = -20.000000
|
||||
HOME_LATCH_VEL = -6.250000
|
||||
HOME_SEQUENCE = 1
|
||||
#******************************************
|
||||
|
||||
#*** AXIS_Z *******************************
|
||||
[AXIS_Z]
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -100.0
|
||||
MAX_LIMIT = 0.001
|
||||
MAX_VELOCITY = 25.0
|
||||
MAX_ACCELERATION = 500.0
|
||||
STEPGEN_MAXACCEL = 625.0
|
||||
SCALE = 80.0
|
||||
FERROR = 1
|
||||
MIN_FERROR = .25
|
||||
HOME_OFFSET = 0.000000
|
||||
HOME_SEARCH_VEL = 10.000000
|
||||
HOME_LATCH_VEL = 6.250000
|
||||
HOME_SEQUENCE = 0
|
||||
#******************************************
|
||||
249
qt_auto_probe_tool.ngc
Normal file
249
qt_auto_probe_tool.ngc
Normal file
@@ -0,0 +1,249 @@
|
||||
o<qt_auto_probe_tool> sub
|
||||
|
||||
; IMPORTANT: this remap enables using a gcode/ngc program on machines without
|
||||
; automatic tool changers, and without repeatable tool holders, but which
|
||||
; do have a tool setter (and ideally, an xyz probe).
|
||||
; With this remap, a program or user can issue TxM6 commands at any
|
||||
; point and the machine will automatically do the following:
|
||||
; 1. Move to a tool change position defined in .ini parameters, Z first, then XY
|
||||
; 2. Perform the normal M6 tool change (IE stop spindle, prompt for tool)
|
||||
; 3. Move to the location of the toolsetter, Z first, then XY, probe the new tool's offset
|
||||
; 4. Change the offset of the current coordinate system to match the new tool
|
||||
; 5. Return the tip of the new tool to the same spot as the tip of the old tool
|
||||
; based on newly measured z-offset
|
||||
; 6. Return control back to whatever state it was in prior, continuing the program
|
||||
; if one had been running.
|
||||
; The following settings should be enabled in the QtDragon interface:
|
||||
; A - Under Probe Tool screens: insure that "Tool Measure" is enabled
|
||||
; B - Under Settings: insure that "Use Tool Sensor" is enabled
|
||||
; The following workflow assumes using both a XYZ probe and a Z Toolsetter:
|
||||
; 1 - Initial Setup: Before beginning the program, setup the Probe Tool as
|
||||
; having a zero z-offset in the tool table. (Non-zero tool lengths
|
||||
; for the probe tool can be made to work, but have multiple extra
|
||||
; steps required, and it is easy to have the tool offset interfere with
|
||||
; the remap coding and cause incorrect adjustments to your offsets.
|
||||
; This procedure assumes a zero length.)
|
||||
; 2 - Initial Tool: Load the probe tool with M61 Qx, where x is the Probe tool's number
|
||||
; in the tool table. (Do not use TxM6)
|
||||
; 3 - Toolsetter measure: Use button under the Probe Screens for "Probe Tool Setter
|
||||
; Z Height:" this will set and display on the Probe Settings screen the
|
||||
; "Probe HT" = #<_hal[qtversaprobe.probeheight> value in ABS coordinates.
|
||||
; 4 - Workpiece Measure: Use the button under the Probe Screens for "Probe Z height
|
||||
; of material:" this will set and display on the Probe Settings screen the
|
||||
; "Block Ht" = #<_hal[qtversaprobe.blockheight]> value in ABS coordinates.
|
||||
; 5 - Set Coord System (G54): Use the Probe Tool and whichever probe screen is
|
||||
; appropriate to set the coordinate system XYZ offsets needed for your job.
|
||||
; NOTE: Return_Option 3 uses the current local coordinate system, not just ABS coord.
|
||||
; 6 - Prepare to Run: You may then issue a manual TnM6 command to change the tool
|
||||
; before starting the job, or if the job begins with a TnM6 command before
|
||||
; spinning the spindle, you may leave the Probe Tool installed.
|
||||
; !! Take care not to leave the XYZ tool probe in the spindle when a program may start
|
||||
; the spindle. !!
|
||||
;(debug, in change tool_in_spindle=#<tool_in_spindle> current_pocket=#<current_pocket>)
|
||||
;(debug, selected_tool=#<selected_tool> selected_pocket=#<selected_pocket>)
|
||||
(debug, !!!!MODYFIKACJA!!!!)
|
||||
; -------------------------------------
|
||||
; --- Begin Initial data gathering ----
|
||||
; -------------------------------------
|
||||
|
||||
#<tool> = #<selected_tool>
|
||||
#<pocket> = #<selected_pocket>
|
||||
#<local_start_x> = #<_x>
|
||||
#<local_start_y> = #<_y>
|
||||
#<local_start_z> = #<_z>
|
||||
|
||||
#<zworkoffset> = [#[5203 + #5220 * 20] + #5213 * #5210]
|
||||
|
||||
; -------------------------------------
|
||||
; --- End Initial Data Gathering ----
|
||||
; -------------------------------------
|
||||
|
||||
; -------------------------------------
|
||||
; --- Begin Initial Safety Checks ----
|
||||
; -------------------------------------
|
||||
|
||||
; we must execute this only in the milltask interpreter
|
||||
; or preview will break, so test for '#<_task>' which is 1 for
|
||||
; the milltask interpreter and 0 in the UI's
|
||||
o100 if [#<_task> EQ 0]
|
||||
(debug, Task is Null)
|
||||
o100 return [999]
|
||||
o100 endif
|
||||
|
||||
; check we are in right mode
|
||||
o110 if [#<_metric_machine>]
|
||||
o115 if [#<_imperial>]
|
||||
(MSG, Auto Tool probe error: not in G21 mode )
|
||||
o115 return [-3] ; indicate probe contact failure to epilog
|
||||
o115 endif
|
||||
o110 else
|
||||
o115 if [#<_imperial> EQ 0]
|
||||
(MSG, Auto Tool probe error: not in G20 mode )
|
||||
o115 return [-3] ; indicate probe contact failure to epilog
|
||||
o115 endif
|
||||
o110 endif
|
||||
|
||||
;check we have a usable search velocity configured, otherwise error
|
||||
o150 if [#<_hal[qtversaprobe.searchvel]> LE 0]
|
||||
(MSG, No usable search velocity in hal.qtversaprobe.searchvel)
|
||||
o150 return [-1] ; indicate searchvel <= 0
|
||||
o150 endif
|
||||
|
||||
;check we do not have an invalid Return Option
|
||||
o175 if [EXISTS[#<_ini[VERSA_TOOLSETTER]RETURN_OPTION>]]
|
||||
#<return_opt> = #<_ini[VERSA_TOOLSETTER]RETURN_OPTION>
|
||||
o176 if [[#<return_opt> EQ 1] OR [#<return_opt> EQ 2] OR [#<return_opt> EQ 3]]
|
||||
;Continue: Return_Option is both defined and valid
|
||||
o176 else
|
||||
(MSG, Invalid RETURN_OPTION in .ini file under VERSA_TOOLSETTER)
|
||||
o176 return [-1] ; signal error to post processing
|
||||
o176 endif
|
||||
o175 else
|
||||
;Continue: it is valid to not define Return_Option, defaults to 1
|
||||
o175 endif
|
||||
|
||||
; -------------------------------------
|
||||
; --- End Initial Safety Checks ----
|
||||
; -------------------------------------
|
||||
|
||||
; -------------------------------------
|
||||
; --- Begin Physical Tool Change ----
|
||||
; -------------------------------------
|
||||
|
||||
;first go up
|
||||
F #<_hal[qtversaprobe.searchvel]>
|
||||
G53 G0 Z[#<_ini[CHANGE_POSITION]Z>]
|
||||
|
||||
o200 if [#<_current_tool> NE #<tool>]
|
||||
; then move to change position
|
||||
G53 G0 X[#<_ini[CHANGE_POSITION]X>] Y[#<_ini[CHANGE_POSITION]Y>]
|
||||
o200 endif
|
||||
|
||||
;cancel tool offset mode
|
||||
G49
|
||||
|
||||
; using the code being remapped here means 'use builtin behaviour'
|
||||
; ie, this is not a recursive call to this program, but calls the
|
||||
; un-remapped M6 processing
|
||||
; That processing includes actually sending the window to the user
|
||||
; to press OK when they have completed the tool change.
|
||||
M6
|
||||
|
||||
; -------------------------------------
|
||||
; ------ End Physical Tool Change ----
|
||||
; -------------------------------------
|
||||
|
||||
; -------------------------------------
|
||||
; ------ Begin Safety Checks for Tool Offset Measurement ----
|
||||
; -------------------------------------
|
||||
|
||||
o300 if [#<_hal[qtversaprobe.enable]> EQ 0]
|
||||
(MSG, Auto Tool probe disabled )
|
||||
G43 ;turn back on tool offset mode before returning
|
||||
o300 return [3] ; indicate no tool measurement
|
||||
o300 endif
|
||||
|
||||
;check we have a usable probe velocity configured, otherwise error
|
||||
o400 if [#<_hal[qtversaprobe.probevel]> LE 0]
|
||||
o400 return [-2] ; indicate probevel <= 0
|
||||
o400 endif
|
||||
|
||||
; -------------------------------------
|
||||
; ------ End Safety Checks for Tool Offset Measurement ----
|
||||
; -------------------------------------
|
||||
|
||||
; -------------------------------------
|
||||
; ------ Begin Tool Offset Measurement ----
|
||||
; -------------------------------------
|
||||
|
||||
;rapid-move to safe height
|
||||
G53 G0 Z[#<_ini[VERSA_TOOLSETTER]Z_MAX_CLEAR>]
|
||||
;Then rapid-move to probe XY location
|
||||
G53 G0 X[#<_ini[VERSA_TOOLSETTER]X>] Y[#<_ini[VERSA_TOOLSETTER]Y>]
|
||||
;then feed down to the probe start location
|
||||
F #<_hal[qtversaprobe.searchvel]>
|
||||
G53 G1 Z[#<_ini[VERSA_TOOLSETTER]Z>]
|
||||
|
||||
;switch to relative distance mode for probe moves
|
||||
G91
|
||||
|
||||
;begin initial probe move
|
||||
F #<_hal[qtversaprobe.searchvel]>
|
||||
G38.2 Z- #<_ini[VERSA_TOOLSETTER]MAXPROBE>
|
||||
G0 Z #<_hal[qtversaprobe.backoffdist]>
|
||||
|
||||
o510 if [#5070 EQ 0]
|
||||
G90
|
||||
o510 return [-3] ; indicate probe contact failure to epilog
|
||||
o510 endif
|
||||
|
||||
;reprobe at probe speed: G38.2 means probe toward workpiece, stop on contact
|
||||
; when G38.n axis completes, it puts the Z value detected (in the coordinates system
|
||||
; in which this program started) into parameter #5063 (because we're probing Z)
|
||||
;
|
||||
F #<_hal[qtversaprobe.probevel]>
|
||||
G38.2 Z- [#<_hal[qtversaprobe.backoffdist]> *1.2]
|
||||
|
||||
o520 if [#5070 EQ 0]
|
||||
G90
|
||||
o520 return [-3] ; indicate probe contact failure to epilog
|
||||
o520 endif
|
||||
|
||||
;switch back to absolute distance mode once probing is done
|
||||
G90
|
||||
|
||||
;set the current offset
|
||||
#<touch_result> = #5063
|
||||
|
||||
;
|
||||
; G10 L1 is the Set Tool Table Offset: it changes the tool table offset,
|
||||
; it DOES NOT change the offsets in the current coordinate system. (that would be G10 L2)
|
||||
|
||||
; <----- MODYFIKACJA ------->
|
||||
; #<calculated_offset> = [#<touch_result> - #<_hal[qtversaprobe.probeheight]> + #<_hal[qtversaprobe.blockheight]>]
|
||||
|
||||
#<calculated_offset> = [#<touch_result> - #<_hal[qtversaprobe.probeheight]> + #<zworkoffset>]
|
||||
; <----- MODYFIKACJA ------->
|
||||
|
||||
G10 L1 P#<tool> Z[#<calculated_offset>]
|
||||
|
||||
;G43 enables tool length offset: this affects all subsequent moves by applying
|
||||
; the offset just calculated to the coordinate system currently in
|
||||
; effect. ie. it has subtracted Calculated Offset from the Z offset
|
||||
|
||||
G43
|
||||
|
||||
; <----- MODYFIKACJA ------->
|
||||
#<z_touch> = [#5063 + #<zworkoffset>]
|
||||
; <----- MODYFIKACJA ------->
|
||||
|
||||
(DEBUG, %fProbe Height: #<_hal[qtversaprobe.probeheight]>)
|
||||
(DEBUG, %fBlock Height: #<_hal[qtversaprobe.blockheight]>)
|
||||
(DEBUG, %fProbe Result [without offs]: #<touch_result>)
|
||||
(DEBUG, %fProbe Result [with offs]: #<z_touch>)
|
||||
(DEBUG, %fZ Axis Offset [Z zero]: #<zworkoffset>)
|
||||
(DEBUG, %fCalculated Offset: #<calculated_offset>)
|
||||
|
||||
; -------------------------------------
|
||||
; ------ End Tool Offset Measurement ----
|
||||
; -------------------------------------
|
||||
|
||||
; -------------------------------------
|
||||
; ------ Begin Return Movement ----
|
||||
; -------------------------------------
|
||||
|
||||
; return to original tool-tip position, but using new z-offset
|
||||
;(DEBUG, Return to original tool-tip position using new z-offset: #<local_start_x> , #<local_start_y> , #<local_start_z>)
|
||||
G53 G0 Z[#<_ini[VERSA_TOOLSETTER]Z_MAX_CLEAR>]
|
||||
; now use original (modal)coord system to go over to xy
|
||||
G0 X[#<local_start_x>] Y[#<local_start_y>]
|
||||
; and finally down to the (already offset) z coord
|
||||
G0 Z[#<local_start_z>]
|
||||
|
||||
; -------------------------------------
|
||||
; ------ End Return Movement ----
|
||||
; -------------------------------------
|
||||
|
||||
; signal success be returning a value > 0:
|
||||
o<qt_auto_probe_tool> endsub [1]
|
||||
m2
|
||||
@@ -1,11 +1,11 @@
|
||||
[DIALOG_GEOMETRY]
|
||||
AboutDialog-geometry = half
|
||||
LncMessage-geometry = 590 511 232 122
|
||||
LncMessage-geometry = 590 511 280 118
|
||||
ToolChangeDialog-geometry = 590 511 340 237
|
||||
FileDialog-geometry = 321 318 563 382
|
||||
basicProbeHelpDialog-geometry = 340 226 600 600
|
||||
CalculatorDialog-geometry = 590 511 472 376
|
||||
VersaHelpDialog-geometry = default
|
||||
VersaHelpDialog-geometry = 340 226 600 600
|
||||
axisToolButtonDialog_CALCULATOR = 590 511 472 376
|
||||
_CALCULATOR = 590 511 472 376
|
||||
|
||||
@@ -25,12 +25,12 @@ RunFromLineDialog_play_sound = True
|
||||
RunFromLineDialog_sound_type = READY
|
||||
|
||||
[BOOK_KEEPING]
|
||||
last_loaded_directory = /home/cnc/Nextcloud/@Home/MyFiles/cnc/MyGcode/szablon_regius_R
|
||||
last_loaded_file = /home/cnc/Nextcloud/@Home/MyFiles/cnc/MyGcode/szablon_regius_R/emka_1mm_regius.ngc
|
||||
last_loaded_directory = /home/cnc/Nextcloud/@Home/MyFiles/cnc/MyGcode/emka_Regius
|
||||
last_loaded_file = /home/cnc/Nextcloud/@Home/MyFiles/cnc/MyGcode/emka_Regius/touch_plate_R6.ngc
|
||||
style_QSS_Path = DEFAULT
|
||||
RecentPath_0 = /home/cnc/Nextcloud/@Home/MyFiles/cnc/MyGcode/szablon_regius_R/emka_1mm_regius.ngc
|
||||
last_saved_directory = /home/cnc/Nextcloud/@Home/MyFiles/cnc/MyGcode/air_throtle
|
||||
RecentSavedPath_0 = /home/cnc/Nextcloud/@Home/MyFiles/cnc/MyGcode/air_throtle/air_drill_corners.nc
|
||||
RecentPath_0 = /home/cnc/Nextcloud/@Home/MyFiles/cnc/MyGcode/emka_Regius/touch_plate_R6.ngc
|
||||
last_saved_directory = /home/cnc/Nextcloud/@Home/MyFiles/cnc/MyGcode/air_throtle/air2
|
||||
RecentSavedPath_0 = /home/cnc/Nextcloud/@Home/MyFiles/cnc/MyGcode/air_throtle/air2/ALGerber_BottomLayer.ngc
|
||||
|
||||
[ORIGINOFFSET_SYSTEM_NAMES]
|
||||
__dialogOffsetViewWidget-G54 = User System 1
|
||||
@@ -104,12 +104,12 @@ Sensor Y = 10.0
|
||||
Camera X = 10.0
|
||||
Camera Y = 10.0
|
||||
Work Height = 20.0
|
||||
Touch Height = 56.0
|
||||
Touch Height = 0.0
|
||||
Sensor Height = 40.0
|
||||
Search Velocity = 40.0
|
||||
Probe Velocity = 10.0
|
||||
Max Probe = 10.0
|
||||
Retract Distance = 10.0
|
||||
Search Velocity = 300.0
|
||||
Probe Velocity = 60.0
|
||||
Max Probe = 20.0
|
||||
Retract Distance = 1.0
|
||||
Z Safe Travel = 10.0
|
||||
Eoffset count = 0
|
||||
External offsets = False
|
||||
@@ -145,17 +145,17 @@ Cal y width = 0
|
||||
Cal diameter = 0
|
||||
|
||||
[VERSA_PROBE_OPTIONS]
|
||||
ps_searchvel = 300.0
|
||||
ps_searchvel = 30.0
|
||||
ps_probevel = 10.0
|
||||
ps_z_clearance = 3.0
|
||||
ps_probe_max = 1.0
|
||||
ps_probe_max = 3.0
|
||||
ps_probe_max_z_travel = 1.0
|
||||
ps_probe_latch = 0.5
|
||||
ps_probe_diam = 2.0
|
||||
ps_xy_clearance = 5.0
|
||||
ps_probe_diam = 1.0
|
||||
ps_xy_clearance = 3.0
|
||||
ps_side_edge_length = 5.0
|
||||
ps_probe_height = 20.0
|
||||
ps_block_height = 20.0
|
||||
ps_probe_height = -58.085
|
||||
ps_block_height = -50.0
|
||||
use_tool_measurement = False
|
||||
ps_offs_x = 0.0
|
||||
ps_offs_y = 0.0
|
||||
|
||||
12
tool.tbl
12
tool.tbl
@@ -1,5 +1,7 @@
|
||||
T0 P0 ;Probe
|
||||
T1 P1 D+0.850000 Z-58.021500 ;0.85 Flat end mill
|
||||
T2 P2 D+3.175000 ;3.175 Flat end mill
|
||||
T3 P3 D+3.175000 ;3.175 Engrave mill 30* 0.2
|
||||
T4 P4 D+6.000000 ;6mm Flat end mill
|
||||
T0 P0 X0 Y0 Z0 A0 B0 C0 U0 V0 W0 D0 I0 J0 Q0 ;Probe
|
||||
T1 P1 X0 Y0 Z0 A0 B0 C0 U0 V0 W0 D0.85000 I0 J0 Q0 ;0.85 Flat end mill
|
||||
T2 P2 X0 Y0 Z0 A0 B0 C0 U0 V0 W0 D3.17500 I0 J0 Q0 ;3.175 Flat end mill
|
||||
T3 P3 X0 Y0 Z0 A0 B0 C0 U0 V0 W0 D3.17500 I0 J0 Q0 ;3.175 Engrave mill 30* 0.2
|
||||
T4 P4 X0 Y0 Z0 A0 B0 C0 U0 V0 W0 D6.00000 I0 J0 Q0 ;6mm Flat end mill
|
||||
T5 P0 X0 Y0 Z0 A0 B0 C0 U0 V0 W0 D1.00000 I0 J0 Q0 ;1mm Flat end mill
|
||||
T6 P0 X0 Y0 Z0 A0 B0 C0 U0 V0 W0 D0.80000 I0 J0 Q0 ;drill 0.7
|
||||
|
||||
Reference in New Issue
Block a user