zmiana narzedzia dzała (wraca skad zaczal)
This commit is contained in:
@@ -27,9 +27,9 @@
|
|||||||
5218 0.000000
|
5218 0.000000
|
||||||
5219 0.000000
|
5219 0.000000
|
||||||
5220 1.000000
|
5220 1.000000
|
||||||
5221 100.000000
|
5221 150.000000
|
||||||
5222 40.000000
|
5222 140.000000
|
||||||
5223 -30.511000
|
5223 -31.000000
|
||||||
5224 0.000000
|
5224 0.000000
|
||||||
5225 0.000000
|
5225 0.000000
|
||||||
5226 0.000000
|
5226 0.000000
|
||||||
|
|||||||
@@ -27,9 +27,9 @@
|
|||||||
5218 0.000000
|
5218 0.000000
|
||||||
5219 0.000000
|
5219 0.000000
|
||||||
5220 1.000000
|
5220 1.000000
|
||||||
5221 100.000000
|
5221 150.000000
|
||||||
5222 40.000000
|
5222 140.000000
|
||||||
5223 -30.511000
|
5223 -31.000000
|
||||||
5224 0.000000
|
5224 0.000000
|
||||||
5225 0.000000
|
5225 0.000000
|
||||||
5226 0.000000
|
5226 0.000000
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# These files are loaded post GUI, in the order they appear
|
# These files are loaded post GUI, in the order they appear
|
||||||
# Generated by stepconf 1.1 at Wed Apr 9 15:06:15 2025
|
# Generated by stepconf 1.1 at Thu Apr 10 16:24:36 2025
|
||||||
# If you make changes to this file, they will be
|
# If you make changes to this file, they will be
|
||||||
# overwritten when you run stepconf again
|
# overwritten when you run stepconf again
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# These files are loaded post GUI, in the order they appear
|
# These files are loaded post GUI, in the order they appear
|
||||||
# Generated by stepconf 1.1 at Wed Apr 9 15:06:15 2025
|
# Generated by stepconf 1.1 at Thu Apr 10 16:24:36 2025
|
||||||
# If you make changes to this file, they will be
|
# If you make changes to this file, they will be
|
||||||
# overwritten when you run stepconf again
|
# overwritten when you run stepconf again
|
||||||
sets spindle-at-speed true
|
sets spindle-at-speed true
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[DIALOG_GEOMETRY]
|
[DIALOG_GEOMETRY]
|
||||||
AboutDialog-geometry = half
|
AboutDialog-geometry = half
|
||||||
LncMessage-geometry = 590 511 280 118
|
LncMessage-geometry = 590 511 280 118
|
||||||
ToolChangeDialog-geometry = default
|
ToolChangeDialog-geometry = 590 511 340 237
|
||||||
basicProbeHelpDialog-geometry = 340 226 600 600
|
basicProbeHelpDialog-geometry = 340 226 600 600
|
||||||
CalculatorDialog-geometry = 590 511 472 376
|
CalculatorDialog-geometry = 590 511 472 376
|
||||||
VersaHelpDialog-geometry = default
|
VersaHelpDialog-geometry = default
|
||||||
@@ -91,7 +91,7 @@ gcodegraphics-user-lat = 0.0
|
|||||||
gcodegraphics-user-lon = 0.0
|
gcodegraphics-user-lon = 0.0
|
||||||
|
|
||||||
[CUSTOM_FORM_ENTRIES]
|
[CUSTOM_FORM_ENTRIES]
|
||||||
Tool to load = 1
|
Tool to load = 0
|
||||||
Laser X = 100.0
|
Laser X = 100.0
|
||||||
Laser Y = -20.0
|
Laser Y = -20.0
|
||||||
Sensor X = 10.0
|
Sensor X = 10.0
|
||||||
@@ -142,15 +142,15 @@ Cal diameter = 0
|
|||||||
[VERSA_PROBE_OPTIONS]
|
[VERSA_PROBE_OPTIONS]
|
||||||
ps_searchvel = 30.0
|
ps_searchvel = 30.0
|
||||||
ps_probevel = 20.0
|
ps_probevel = 20.0
|
||||||
ps_z_clearance = 0.0
|
ps_z_clearance = 10.0
|
||||||
ps_probe_max = 1.0
|
ps_probe_max = 1.0
|
||||||
ps_probe_max_z_travel = 20.0
|
ps_probe_max_z_travel = 20.0
|
||||||
ps_probe_latch = 1.0
|
ps_probe_latch = 1.0
|
||||||
ps_probe_diam = 2.0
|
ps_probe_diam = 2.0
|
||||||
ps_xy_clearance = 5.0
|
ps_xy_clearance = 5.0
|
||||||
ps_side_edge_length = 5.0
|
ps_side_edge_length = 5.0
|
||||||
ps_probe_height = 47.0
|
ps_probe_height = 57.202
|
||||||
ps_block_height = 20.0
|
ps_block_height = 69.201
|
||||||
use_tool_measurement = True
|
use_tool_measurement = True
|
||||||
ps_offs_x = 0.0
|
ps_offs_x = 0.0
|
||||||
ps_offs_y = 0.0
|
ps_offs_y = 0.0
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Generated by stepconf 1.1 at Wed Apr 9 15:06:15 2025
|
# Generated by stepconf 1.1 at Thu Apr 10 16:24:36 2025
|
||||||
# If you make changes to this file, they will be
|
# If you make changes to this file, they will be
|
||||||
# overwritten when you run stepconf again
|
# overwritten when you run stepconf again
|
||||||
loadrt [KINS]KINEMATICS
|
loadrt [KINS]KINEMATICS
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Generated by stepconf 1.1 at Wed Apr 9 15:06:15 2025
|
# Generated by stepconf 1.1 at Thu Apr 10 16:24:36 2025
|
||||||
# If you make changes to this file, they will be
|
# If you make changes to this file, they will be
|
||||||
# overwritten when you run stepconf again
|
# overwritten when you run stepconf again
|
||||||
|
|
||||||
@@ -47,6 +47,35 @@ CYCLE_TIME = 0.010
|
|||||||
[RS274NGC]
|
[RS274NGC]
|
||||||
PARAMETER_FILE = linuxcnc.var
|
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]
|
||||||
EMCMOT = motmod
|
EMCMOT = motmod
|
||||||
COMM_TIMEOUT = 1.0
|
COMM_TIMEOUT = 1.0
|
||||||
@@ -76,6 +105,17 @@ TOOL_TABLE = tool.tbl
|
|||||||
USE_PROBE = versaprobe
|
USE_PROBE = versaprobe
|
||||||
#USE_PROBE = basicprobe
|
#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]
|
[MDI_COMMAND_LIST]
|
||||||
# for macro buttons on main oage up to 10 possible
|
# for macro buttons on main oage up to 10 possible
|
||||||
|
|||||||
84
test-config-1_1744294996.hal
Normal file
84
test-config-1_1744294996.hal
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
# Generated by stepconf 1.1 at Wed Apr 9 15:06: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
|
||||||
|
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 45000
|
||||||
|
setp stepgen.0.dirsetup 45000
|
||||||
|
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 45000
|
||||||
|
setp stepgen.1.dirsetup 45000
|
||||||
|
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 45000
|
||||||
|
setp stepgen.2.dirsetup 45000
|
||||||
|
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
|
||||||
195
test-config-1_1744294996.ini
Normal file
195
test-config-1_1744294996.ini
Normal file
@@ -0,0 +1,195 @@
|
|||||||
|
# Generated by stepconf 1.1 at Wed Apr 9 15:06:15 2025
|
||||||
|
# If you make changes to this file, they will be
|
||||||
|
# overwritten when you run stepconf again
|
||||||
|
|
||||||
|
[EMC]
|
||||||
|
MACHINE = test-config-1
|
||||||
|
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 = test-config-1.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 = -10
|
||||||
|
Z_MAX_CLEAR = -2
|
||||||
|
MAXPROBE = 40
|
||||||
|
|
||||||
|
[CHANGE_POSITION]
|
||||||
|
X = 10
|
||||||
|
Y = 10
|
||||||
|
Z = -10
|
||||||
|
|
||||||
|
[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 = 200.0
|
||||||
|
|
||||||
|
[JOINT_0]
|
||||||
|
TYPE = LINEAR
|
||||||
|
HOME = 0.0
|
||||||
|
MIN_LIMIT = -0.001
|
||||||
|
MAX_LIMIT = 200.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 = -10.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 = 200.0
|
||||||
|
|
||||||
|
[JOINT_1]
|
||||||
|
TYPE = LINEAR
|
||||||
|
HOME = 0.0
|
||||||
|
MIN_LIMIT = -0.001
|
||||||
|
MAX_LIMIT = 200.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 = -10.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
|
||||||
|
#******************************************
|
||||||
84
test-config-1_1744295076.hal
Normal file
84
test-config-1_1744295076.hal
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
# Generated by stepconf 1.1 at Thu Apr 10 16:23: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
|
||||||
|
|
||||||
|
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 45000
|
||||||
|
setp stepgen.0.dirsetup 45000
|
||||||
|
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 45000
|
||||||
|
setp stepgen.1.dirsetup 45000
|
||||||
|
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 45000
|
||||||
|
setp stepgen.2.dirsetup 45000
|
||||||
|
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
|
||||||
143
test-config-1_1744295076.ini
Normal file
143
test-config-1_1744295076.ini
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
# Generated by stepconf 1.1 at Thu Apr 10 16:23:16 2025
|
||||||
|
# If you make changes to this file, they will be
|
||||||
|
# overwritten when you run stepconf again
|
||||||
|
|
||||||
|
[EMC]
|
||||||
|
MACHINE = test-config-1
|
||||||
|
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 = test-config-1.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.001
|
||||||
|
MAX_LIMIT = 200.0
|
||||||
|
|
||||||
|
[JOINT_0]
|
||||||
|
TYPE = LINEAR
|
||||||
|
HOME = 0.0
|
||||||
|
MIN_LIMIT = -0.001
|
||||||
|
MAX_LIMIT = 200.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 = -10.000000
|
||||||
|
HOME_LATCH_VEL = -6.250000
|
||||||
|
HOME_SEQUENCE = 1
|
||||||
|
#******************************************
|
||||||
|
|
||||||
|
#*** AXIS_Y *******************************
|
||||||
|
[AXIS_Y]
|
||||||
|
MAX_VELOCITY = 50.0
|
||||||
|
MAX_ACCELERATION = 500.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 = 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 = -10.000000
|
||||||
|
HOME_LATCH_VEL = -6.250000
|
||||||
|
HOME_SEQUENCE = 2
|
||||||
|
#******************************************
|
||||||
|
|
||||||
|
#*** AXIS_Z *******************************
|
||||||
|
[AXIS_Z]
|
||||||
|
MAX_VELOCITY = 25.0
|
||||||
|
MAX_ACCELERATION = 500.0
|
||||||
|
MIN_LIMIT = 0.0
|
||||||
|
MAX_LIMIT = 100.001
|
||||||
|
|
||||||
|
[JOINT_2]
|
||||||
|
TYPE = LINEAR
|
||||||
|
HOME = 100.0
|
||||||
|
MIN_LIMIT = 0.0
|
||||||
|
MAX_LIMIT = 100.001
|
||||||
|
MAX_VELOCITY = 25.0
|
||||||
|
MAX_ACCELERATION = 500.0
|
||||||
|
STEPGEN_MAXACCEL = 625.0
|
||||||
|
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
|
||||||
|
#******************************************
|
||||||
10
tool.tbl
10
tool.tbl
@@ -1,5 +1,5 @@
|
|||||||
T0 P0 X0 Y0 Z0 A0 B0 C0 U0 V0 W0 D2.00000 I0 J0 Q0 ;probe
|
T0 P0 D+2.000000 ;probe
|
||||||
T1 P1 X0 Y0 Z0.51100 A0 B0 C0 U0 V0 W0 D0.12500 I0 J0 Q0 ;1/8 end mill
|
T1 P1 D+0.125000 Z+0.511000 ;1/8 end mill
|
||||||
T2 P2 X0 Y0 Z0.10000 A0 B0 C0 U0 V0 W0 D0.06250 I0 J0 Q0 ;1/16 end mill
|
T2 P2 D+4.000000 Z+5.355084 ;1/16 end mill
|
||||||
T3 P3 X0 Y0 Z1.27300 A0 B0 C0 U0 V0 W0 D0.20100 I0 J0 Q0 ;#7 tap drill
|
T3 P3 D+0.201000 Z+1.273000 ;#7 tap drill
|
||||||
T99999 P123 X0 Y0 Z0.10000 A0 B0 C0 U0 V0 W0 D0 I0 J0 Q0 ;big tool number
|
T99999 P123 Z+0.100000 ;big tool number
|
||||||
|
|||||||
Reference in New Issue
Block a user