- Posts: 9
- Thank you received: 1
Linux Newb
- stubb21
- Topic Author
- Offline
- New Member
-
I am looking to increase my max feed rates for X axis at the moment, I know I can run quicker but don't know how to adjust it in the files. Any help would be greatly appreciated!
Thank you!
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
- Posts: 2203
- Thank you received: 486
Please Log in or Create an account to join the conversation.
- stubb21
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
- Posts: 2203
- Thank you received: 486
stubb21 wrote: Ok gotcha. I'll look around and see if I can find those! Is there just 2?
They are the main ones. You should find them in the config folder
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
there are two files with the same name as the folder, one with .hal and one with .ini
You will have to open that INI file and edit it with a text editor (NOT with word processors like libreoffice), change the values of the max_velocity for the axis/joints and save.
Please Log in or Create an account to join the conversation.
- stubb21
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 1
# Generated by stepconf at Sat Feb 23 21:15:41 2013
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
MACHINE = Joe
DEBUG = 0
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.2
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 0.1
PROGRAM_PREFIX = /home/emc2/emc2/nc_files
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
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 = emc.var
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 20833
SERVO_PERIOD = 1000000
[HAL]
HALUI = halui
HALFILE = Joe.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal
[HALUI]
# add halui MDI commands here (max 64)
[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 0.675
MAX_LINEAR_VELOCITY = 2.0
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = .675
MAX_ACCELERATION = 10.0
STEPGEN_MAXACCEL = 12.5
SCALE = 16000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -100.0
MAX_LIMIT = 100.0
HOME_OFFSET = 0.0
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 10.0
STEPGEN_MAXACCEL = 12.5
SCALE = 16000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -100.0
MAX_LIMIT = 100.0
HOME_OFFSET = 0.0
[AXIS_2]
TYPE = LINEAR
HOME = 6.0
MAX_VELOCITY = 0.4
MAX_ACCELERATION = 5.0
STEPGEN_MAXACCEL = 6.25
SCALE = 16000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -100.0
MAX_LIMIT = 100.0
HOME_OFFSET = 6.0
Please Log in or Create an account to join the conversation.
- stubb21
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 1
Thanks again.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Below in red some explanations, so it should be easier to figure out what to change.
Other stuff is self explanatory.stubb21 wrote: Thank you all for the replies. Sorry I don't know linux at all, I only use it to run the machine. Is this what you're looking for? I don't see a .ini file
# Generated by stepconf at Sat Feb 23 21:15:41 2013
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
MACHINE = Joe
DEBUG = 0
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.2
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 0.1
PROGRAM_PREFIX = /home/emc2/emc2/nc_files
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
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 = emc.var
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 20833 Make this 100000 just to avoid some latency/cheap drive issues
SERVO_PERIOD = 1000000
[HAL]
HALUI = halui
HALFILE = Joe.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal
[HALUI]
# add halui MDI commands here (max 64)
[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 0.675
MAX_LINEAR_VELOCITY = 2.0 This should be the max velocity in seconds for the machine
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = .675 This should be the max velocity in seconds for this axis, change also for other axis
MAX_ACCELERATION = 10.0 If you need to change this, you will have to change below also
STEPGEN_MAXACCEL = 12.5
SCALE = 16000.0 This should be the scale, or how many pulses to send per inch of movement
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -100.0
MAX_LIMIT = 100.0
HOME_OFFSET = 0.0
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 10.0
STEPGEN_MAXACCEL = 12.5
SCALE = 16000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -100.0
MAX_LIMIT = 100.0
HOME_OFFSET = 0.0
[AXIS_2]
TYPE = LINEAR
HOME = 6.0
MAX_VELOCITY = 0.4
MAX_ACCELERATION = 5.0
STEPGEN_MAXACCEL = 6.25
SCALE = 16000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -100.0
MAX_LIMIT = 100.0
HOME_OFFSET = 6.0
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4737
- Thank you received: 1480
Please Log in or Create an account to join the conversation.
- stubb21
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 1
As far as MAX_LINEAR_VELOCITY and SCALE I don't know what those are or if I should even mess with them. I bought this machine used so I don't know all the specs that went into building it.
Please Log in or Create an account to join the conversation.