Threaded View
-
17-04-2019 #7Yes that is one way. But is far simpler to just edit the ini file as you can get very fine adjustments. . (This is for the benefit of others to see that the config files are just plain text)Anyway we're all back to normal now with everything squared up again. Altering the homing squaring doesn't need alterations to the software, just a tweak of the microadjustable switch actuator shown here:
# Generated by stepconf 1.1 at Sun Jul 1 16:50:39 2018
# If you make changes to this file, they will be overwritten when you run stepconf again
# This file has been edited
[EMC]
MACHINE = test_for_slaved_axis
DEBUG = 0
VERSION = 1.0
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm
MAX_FEED_OVERRIDE = 1.2
MAX_JOG_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
DEFAULT_ANGULAR_VELOCITY = 2.50
MIN_ANGULAR_VELOCITY = 0
MAX_ANGULAR_VELOCITY = 25.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/clive/linuxcnc/nc_files
INCREMENTS = .5mm .1mm .05mm .01mm .005mm
PYVCP = custompanel.xml
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[RS274NGC]
PARAMETER_FILE = linuxcnc.var
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000
[HAL]
HALFILE = wal_slaved_axis.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal
[TRAJ]
COORDINATES = XYZ
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_LINEAR_VELOCITY = 2.50
MAX_LINEAR_VELOCITY = 25.00
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins coordinates=XXYZ kinstype=BOTH
JOINTS = 4
[AXIS_X]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -0.001
MAX_LIMIT = 200
[JOINT_0]
TYPE = LINEAR
# final home position machine-unit/sec
HOME = 70
MIN_LIMIT = -0.001
MAX_LIMIT = 200
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 320
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.1 # use this to square the gantry
# machine-units per sec next 3 lines
HOME_SEARCH_VEL = 10 This is the speed it searches for the home switch use a -ve number to revervse
HOME_LATCH_VEL = -6 This the the speed it use to back off the switch use a -ve to reverse
HOME_FINAL_VEL = 20 This is the speed it will travel to the final HOME position
HOME_USE_IIDEX = NO
HOME_SEQUENCE = -1 # has to be -ve for gantry
[JOINT_1]
TYPE = LINEAR
# final home position machine-unit/sec
HOME = 70
MIN_LIMIT = -0.001
MAX_LIMIT = 200
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 320
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.5 # use this to square the gantry
# machine-units per sec next 3 lines
HOME_SEARCH_VEL = 10
HOME_LATCH_VEL = -6
HOME_FINAL_VEL = 20
HOME_USE_IIDEX = NO
HOME_SEQUENCE = -1 # has to be -ve for gantry
[AXIS_Y]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -0.001
MAX_LIMIT = 200.0
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 25.0
STEPGEN_MAXACCEL = 937.5
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_USE_IIDEX = NO
HOME_SEQUENCE = 0
[AXIS_Z]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -100.0
MAX_LIMIT = 0.001
[JOINT_3]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 25.0
STEPGEN_MAXACCEL = 937.5
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_USE_IIDEX = NO
HOME_SEQUENCE = 0Last edited by Clive S; 24-02-2021 at 09:31 AM. Reason: Added in BLUE for explanation
..Clive
The more you know, The better you know, How little you know
-
The Following 3 Users Say Thank You to Clive S For This Useful Post:
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Why is Y axis "squaring" necessary only with twin motors?
By MartinS in forum Linear & Rotary MotionReplies: 10Last Post: 09-08-2017, 10:10 PM -
What do I need to run LinuxCNC???
By gatesy in forum LinuxCNC (EMC)Replies: 22Last Post: 02-12-2015, 07:42 PM -
Setup for squaring twin X-axis gantry
By routercnc in forum Gantry/Router Machines & BuildingReplies: 20Last Post: 26-03-2014, 11:13 PM -
Seeking some practical squaring advice.
By Wal in forum Gantry/Router Machines & BuildingReplies: 12Last Post: 09-01-2014, 12:04 AM -
How many LinuxCNC/EMC users do we have?
By birchy in forum LinuxCNC (EMC)Replies: 16Last Post: 30-12-2012, 08:08 PM



Reply With Quote
Bookmarks