Linux Newb

More
6 years 9 months ago #155668 by stubb21
Replied by stubb21 on topic Linux Newb
What is the calculation for Max_Velocity? And what is difference between Acceleration and stepgen_maxaccel? Not sure what to change. My Y acces is set to max of 60 ipm I believe, I want to mess with X and see how much I can increase it as well, gradually of course so I don't stall out.

Thanks again.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #155672 by tommylight
Replied by tommylight on topic Linux Newb
Yes this is the ini file, there is another file with the same name in that folder with the hal extension.
Below in red some explanations, so it should be easier to figure out what to change.

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

Other stuff is self explanatory.
The following user(s) said Thank You: stubb21

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #155679 by Todd Zuercher
Replied by Todd Zuercher on topic Linux Newb
The difference between max-acceleration and stepgen max acceleration is. The max-acceleration is the max that the axis will be commanded by the motion planner. The stepgen one is the max the stepgen will go regardless of what it is commanded. It needs to be set higher than the ordinary one to allow for headroom for the pid to work and other things such as backlash compensation.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #155738 by stubb21
Replied by stubb21 on topic Linux Newb
Thank you for breaking it down. So if I want to increase my top end feed rate and cutting speed I would just increase max_velocity right? Guessing Axis 0 is X, 1 is Y and 2 is Z? Y is currently at 60 IPM max which is pretty nice, I want to see if X will run smoothly at that speed as well.

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.

More
6 years 9 months ago #155749 by tommylight
Replied by tommylight on topic Linux Newb

stubb21 wrote: So if I want to increase my top end feed rate and cutting speed I would just increase max_velocity right? Guessing Axis 0 is X, 1 is Y and 2 is Z?

Yes and yes.
MAX_LINEAR_VELOCITY is the maximum speed the Machine can travel, meaning the combination of speeds of 2 or more axis moving at the same time, example:
When jogging or moving X and Y at the same time, the head is moving diagonally at a faster speed than any one of it's axis.
SCALE should be the steps needed to move an axis 1 inch, so the motor does 200 steps per rotation, if that motor is directly mounted to a ball screw with a pitch of 5mm, that gives us 40 steps per mm. You will have to also factor in microstepping and/or reduction, or belt teeth on the driving pulley, or the rack/pinion pitch. Sorry i can not be more helpful about this but i never use calculators or any kind of help with the scale as i calculate all in my head very quickly, or when i have unknowns i just enter something and then use the Calibration menu to do the fine tuning.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #155759 by stubb21
Replied by stubb21 on topic Linux Newb
Gotcha thank you! Well I think for what I need I will just increase the max_velocity gradually and find a good sweet spot. What you are talking about seems like more than I need/understand lol. I Greatly appreciate your help!

Please Log in or Create an account to join the conversation.

Time to create page: 0.222 seconds
Powered by Kunena Forum