. .

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    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:
    Yes 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)


    # 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 = 0
    Last 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

  2. 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

  1. Why is Y axis "squaring" necessary only with twin motors?
    By MartinS in forum Linear & Rotary Motion
    Replies: 10
    Last Post: 09-08-2017, 10:10 PM
  2. What do I need to run LinuxCNC???
    By gatesy in forum LinuxCNC (EMC)
    Replies: 22
    Last Post: 02-12-2015, 07:42 PM
  3. Setup for squaring twin X-axis gantry
    By routercnc in forum Gantry/Router Machines & Building
    Replies: 20
    Last Post: 26-03-2014, 11:13 PM
  4. Seeking some practical squaring advice.
    By Wal in forum Gantry/Router Machines & Building
    Replies: 12
    Last Post: 09-01-2014, 12:04 AM
  5. How many LinuxCNC/EMC users do we have?
    By birchy in forum LinuxCNC (EMC)
    Replies: 16
    Last Post: 30-12-2012, 08:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •