How to increase the Z axis punch speed?

More
1 year 8 months ago #322626 by programador
Good afternoon
Everyone

First of all, I would like to thank you for all the help I received in this forum, especially from Mr. PCW. With this help, I was able to go far and achieve a satisfactory result.

However, although the machine is working, the customer wants more speed on the Z axis. I don't know if I'm already at the mechanical limit of this machine, but what parameters can I change and how can I change and calculate them to test the limit of this machine? If anyone can give me a tip on how to change the INI file to improve performance, I would be very grateful.

Below is the video of the machine that was retrofitted and working perfectly with the boards from the manufacturer Mesa.



Below is the INI code
Code:
[code]# Generated by PNCconf at Sat Apr 27 14:56:11 2024 # Using LinuxCNC version:  2.8 # If you make changes to this file, they will be # overwritten when you run PNCconf again [EMC] MACHINE = 7i96s+7i84d DEBUG = 0 VERSION = 1.1 [DISPLAY] DISPLAY = gmoccapy POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL MAX_FEED_OVERRIDE = 2.000000 MAX_SPINDLE_OVERRIDE = 1.000000 MIN_SPINDLE_OVERRIDE = 0.500000 INTRO_GRAPHIC = linuxcnc.gif INTRO_TIME = 5 PROGRAM_PREFIX = /home/linoteck/linuxcnc/nc_files INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm POSITION_FEEDBACK = ACTUAL DEFAULT_LINEAR_VELOCITY = 6.000000 MAX_LINEAR_VELOCITY = 25.000000 MIN_LINEAR_VELOCITY = 0.500000 DEFAULT_ANGULAR_VELOCITY = 12.000000 MAX_ANGULAR_VELOCITY = 180.000000 MIN_ANGULAR_VELOCITY = 1.666667 EDITOR = gedit GEOMETRY = xyzab #ABATELA EMBED_TAB_NAME=Alarmes EMBED_TAB_COMMAND = gladevcp -x {XID} -H ui-alarmes.hal alarmes.ui EMBED_TAB_LOCATION = ntb_user_tabs [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 RS274NGC_STARTUP_CODE = G21 G40 G90 G94 G97 G64 P0.025 REMAP= M6 modalgroup=6 ngc=sub_progs/troca_ferramenta USER_M_PATH = /home/linoteck/linuxcnc/nc_files/m_codigos/ [EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 SERVO_PERIOD = 1000000 [HMOT] # **** This is for info only **** CARD0=hm2_7i96s.0 [HAL] HALUI = halui HALFILE = 7i96s+7i84d.hal HALFILE = custom.hal POSTGUI_HALFILE = postgui_call_list.hal SHUTDOWN = shutdown.hal HALFILE = classicladder.hal [HALUI] [HALUI] # add halui MDI commands here (max 64)  [KINS] JOINTS = 5 KINEMATICS = trivkins coordinates=XYZAB [TRAJ] COORDINATES =  XYZAB MAX_ANGULAR_VELOCITY = 360.00 DEFAULT_ANGULAR_VELOCITY = 36.00 LINEAR_UNITS = mm ANGULAR_UNITS = degree DEFAULT_LINEAR_VELOCITY = 16.00 MAX_LINEAR_VELOCITY = 160.00 [EMCIO] EMCIO = io CYCLE_TIME = 0.100 TOOL_TABLE = tool.tbl #****************************************** [AXIS_X] MAX_VELOCITY = 160.0 MAX_ACCELERATION = 10000.0 MIN_LIMIT = -0.01 MAX_LIMIT = 1250.0 [JOINT_0] TYPE = LINEAR HOME = 0.0 FERROR = 10.0 MIN_FERROR = 1.0 MAX_VELOCITY = 160.0 MAX_ACCELERATION = 10000.0 # The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION # If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger. STEPGEN_MAXVEL = 200 STEPGEN_MAXACCEL = 12500 P = 1000 I = 0 D = 0 FF0 = 0 FF1 = 1 FF2 = 0 BIAS = 0 DEADBAND = 0 MAX_OUTPUT = 0 # these are in nanoseconds DIRSETUP   = 10000 DIRHOLD    = 10000 STEPLEN    = 10000 STEPSPACE  = 10000 STEP_SCALE = 250 MIN_LIMIT = -0.01 MAX_LIMIT = 1250.0 HOME_OFFSET = 0.000000 HOME_SEARCH_VEL = -33.316667 HOME_LATCH_VEL = -33.316667 HOME_FINAL_VEL = 0.000000 #HOME_USE_INDEX = NO #HOME_SEQUENCE = 1 #****************************************** #****************************************** [AXIS_Y] MAX_VELOCITY = 160.0 MAX_ACCELERATION = 10000.0 MIN_LIMIT = -0.01 #MAX_LIMIT = 1293.0 MAX_LIMIT = 1164.0 [JOINT_1] TYPE = LINEAR HOME = 0.0 FERROR = 10.0 MIN_FERROR = 1.0 MAX_VELOCITY = 160.0 MAX_ACCELERATION = 10000.0 # The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION # If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger. STEPGEN_MAXVEL = 200 STEPGEN_MAXACCEL = 12500 P = 1000 I = 0 D = 0 FF0 = 0 FF1 = 1 FF2 = 0 BIAS = 0 DEADBAND = 0 MAX_OUTPUT = 0 # these are in nanoseconds DIRSETUP   = 10000 DIRHOLD    = 10000 STEPLEN    = 9000 STEPSPACE  = 10000 STEP_SCALE = 250 MIN_LIMIT = -0.01 MAX_LIMIT = 1293.0 HOME_OFFSET = 0.000000 HOME_SEARCH_VEL = -33.316667 HOME_LATCH_VEL = -33.316667 HOME_FINAL_VEL = 0.000000 #HOME_USE_INDEX = NO #HOME_SEQUENCE = 1 #****************************************** #****************************************** [AXIS_Z] #MAX_VELOCITY = 25.0 MAX_VELOCITY = 50.0 #MAX_ACCELERATION = 750.0 MAX_ACCELERATION = 1000.0 #MIN_LIMIT = -100.0 #MAX_LIMIT = 0.01 MIN_LIMIT = -100.0 MAX_LIMIT = 100.0 [JOINT_2] TYPE = LINEAR HOME = 0.0 FERROR = 50 MIN_FERROR = 50 #MAX_VELOCITY = 25.0 MAX_VELOCITY = 125.0 #MAX_ACCELERATION = 750.0 MAX_ACCELERATION = 1750.0 P = 50.0 I = 0.0 D = 0.0 FF0 = 0.0 FF1 = 1.0 FF2 = 0.0 BIAS = 0.0 DEADBAND = 0.0 MAX_OUTPUT = 0.0 ENCODER_SCALE = 415 OUTPUT_SCALE = 10 OUTPUT_MIN_LIMIT = -10.0 OUTPUT_MAX_LIMIT = 10.0 MIN_LIMIT = -100.0 MAX_LIMIT = 100.0 HOME_OFFSET = 0.0 #HOME_SEQUENCE = 0 #****************************************** [AXIS_A] MAX_VELOCITY = 360.0 MAX_ACCELERATION = 1200.0 MIN_LIMIT = -500.0 MAX_LIMIT = 500.0 [JOINT_3] #TYPE = ANGULAR TYPE = LINEAR HOME = 0.0 FERROR = 0.5 MIN_FERROR = 0.05 MAX_VELOCITY = 360.0 MAX_ACCELERATION = 1200.0 # The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION # If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger. STEPGEN_MAXVEL = 450 STEPGEN_MAXACCEL = 1500 P = 1000 I = 0 D = 0 FF0 = 0 FF1 = 1 FF2 = 0 BIAS = 0 DEADBAND = 0 MAX_OUTPUT = 0 # these are in nanoseconds DIRSETUP   = 10000 DIRHOLD    = 10000 STEPLEN    = 5000 STEPSPACE  = 5000 STEP_SCALE = 222 MIN_LIMIT = -500.0 MAX_LIMIT = 500.0 HOME_OFFSET = 0.0 #HOME_SEQUENCE = 1 #****************************************** [AXIS_B] MAX_VELOCITY = 160.0 MAX_ACCELERATION = 10000.0 MIN_LIMIT = -45000.0 MAX_LIMIT = 45000.0 [JOINT_4] TYPE = LINEAR HOME = 0.0 FERROR = 10.0 MIN_FERROR = 1.0 MAX_VELOCITY = 160.0 MAX_ACCELERATION = 10000.0 # The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION # If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger. STEPGEN_MAXVEL = 200 STEPGEN_MAXACCEL = 12500 P = 1000 I = 0 D = 0 FF0 = 0 FF1 = 1 FF2 = 0 BIAS = 0 DEADBAND = 0 MAX_OUTPUT = 0 # these are in nanoseconds DIRSETUP   = 10000 DIRHOLD    = 10000 STEPLEN    = 10000 STEPSPACE  = 10000 STEP_SCALE = 142 MIN_LIMIT = -45000.0 MAX_LIMIT = 45000.0 HOME_OFFSET = -92.000000 HOME_SEARCH_VEL = -33.316667 HOME_LATCH_VEL = -33.316667 HOME_FINAL_VEL = 0.000000 #HOME_USE_INDEX = NO #HOME_SEQUENCE = 1 [SPINDLE_0] P = 0 I = 0 D = 0 FF0 = 1 FF1 = 0 FF2 = 0 BIAS = 0 DEADBAND = 0 MAX_OUTPUT = 2000


[/code]

Please Log in to join the conversation.

More
1 year 8 months ago #322630 by PCW
You might try setting the Z axis velocity the same as the joint 2 velocity (125):

[AXIS_Z]
#MAX_VELOCITY = 25.0
MAX_VELOCITY = 50.0
#MAX_ACCELERATION = 750.0
MAX_ACCELERATION = 1000.0
#MIN_LIMIT = -100.0
#MAX_LIMIT = 0.01
MIN_LIMIT = -100.0
MAX_LIMIT = 100.0

[JOINT_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 50
MIN_FERROR = 50
#MAX_VELOCITY = 25.0
MAX_VELOCITY = 125.0
#MAX_ACCELERATION = 750.0
MAX_ACCELERATION = 1750.0
P = 50.0
I = 0.0
D = 0.0

Please Log in to join the conversation.

More
1 year 8 months ago #322756 by programador
Good evening Mr. PCW, everything is fine, I managed to increase the speed, thank you very much. The results of the electronic boards from the manufacturer Mesa were surprising, being able to increase the speed beyond what the machine can support.
Please, can you tell me which HAL configuration component I can use to connect MAX_VELOCITY and MAX_ACCELERATION with a variable in the classicladder or using a UI grid graph in the GMOCCAPY graphical user interface tabs? The machine operator requested to be able to increase and decrease the machine's operating speed without having to change the INI file.

Please Log in to join the conversation.

More
1 year 8 months ago #322836 by PCW
Might easier to just have a few configurations with different settings in their .ini files

You can change ini settings with LinuxCNC running (but interpreter idle) but setting up a GUI to
do this is outside my area of expertise.
 

Please Log in to join the conversation.

More
1 year 7 months ago #325092 by programador
Hello Mr. PCW, I would like to thank you very much for all the help I have received here on the forum. I am very happy with the quality of the Mesa boards and the countless possibilities for any type of project. Exceeding all expectations. I would like to thank the Mesa manufacturer team for all their support. I wish you much peace, health and prosperity.

My project has been completed and I can't wait to continue new projects using your technology.
I am very pleased to recommend this technology to everyone.
See you soon.

Please Log in to join the conversation.

Time to create page: 0.187 seconds
Powered by Kunena Forum