Joint 0 Following Error with Mesa 5i25/7i76?
- nigel-tufnel
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
17 Dec 2016 03:27 - 17 Dec 2016 03:27 #84305
by nigel-tufnel
Joint 0 Following Error with Mesa 5i25/7i76? was created by nigel-tufnel
I'm getting a "joint 0 following error" on my X-axis when I jog above ~160in/min. It accelerates up to speed fine but I get the error when I release the jog button. I would like to believe I can get to a higher jog velocity, especially since there is no load on the motors. I have tried increasing the FERROR value in my INI but it had no effect. Given my .ini file and setup listed below, does anyone see anything that I should change to get more speed? My searches only found info on servo motors. Thanks!
Setup:
Nema 42 stepper, 200 steps
Gecko 202 driver, 10 micro steps
5i25/7i76
latency test results ~10,000-15,000
no load on motor
no sign of motors stalling
INI File
# Generated by PNCconf at Mon Dec 12 12:19:20 2016
# If you make changes to this file, they will be
# overwritten when you run PNCconf again
[EMC]
MACHINE = my_LinuxCNC_machine
DEBUG = 0
[DISPLAY]
DISPLAY = axis
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/rb1cnc/linuxcnc/nc_files
PYVCP = pyvcp-panel.xml
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 0.500000
MAX_LINEAR_VELOCITY = 3.000000
MIN_LINEAR_VELOCITY = 0.010000
DEFAULT_ANGULAR_VELOCITY = 0.250000
MAX_ANGULAR_VELOCITY = 1.000000
MIN_ANGULAR_VELOCITY = 0.010000
EDITOR = gedit
GEOMETRY = xyz
[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
SERVO_PERIOD = 1000000
[HOSTMOT2]
# **** This is for info only ****
# DRIVER0=hm2_pci
# BOARD0=5i25
[HAL]
HALUI = halui
HALFILE = my_LinuxCNC_machine.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal
SHUTDOWN = shutdown.hal
[HALUI]
[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 0.42
MAX_LINEAR_VELOCITY = 5
NO_FORCE_HOMING = 1
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
#********************
# Axis X
#********************
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 3
MAX_ACCELERATION = 30.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 = 3.75
STEPGEN_MAXACCEL = 37.50
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 = 2.60416666666
# these are in nanoseconds
DIRSETUP = 1000
DIRHOLD = 10000
STEPLEN = 500
STEPSPACE = 4500
STEP_SCALE = 10159.9997
MIN_LIMIT = -8.0
MAX_LIMIT = 8.0
HOME_OFFSET = 0.0
#********************
# Axis Y
#********************
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.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 = 2.50
STEPGEN_MAXACCEL = 37.50
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 = 2.5
# these are in nanoseconds
DIRSETUP = 1000
DIRHOLD = 10000
STEPLEN = 500
STEPSPACE = 4500
STEP_SCALE = 10159.9997
MIN_LIMIT = -0.001
MAX_LIMIT = 8.0
HOME_OFFSET = 0.0
#********************
# Axis Z
#********************
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.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 = 1.25
STEPGEN_MAXACCEL = 37.50
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 = 1.25
# these are in nanoseconds
DIRSETUP = 1000
DIRHOLD = 10000
STEPLEN = 500
STEPSPACE = 4500
STEP_SCALE = 10159.9997
MIN_LIMIT = -4.0
MAX_LIMIT = 4.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -0.050000
HOME_LATCH_VEL = -0.016667
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
#********************
# Spindle
#********************
[SPINDLE_9]
P = 0.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 5000.0
OUTPUT_SCALE = 5000.0
OUTPUT_MIN_LIMIT = 0.0
OUTPUT_MAX_LIMIT = 5000.0
Setup:
Nema 42 stepper, 200 steps
Gecko 202 driver, 10 micro steps
5i25/7i76
latency test results ~10,000-15,000
no load on motor
no sign of motors stalling
INI File
# Generated by PNCconf at Mon Dec 12 12:19:20 2016
# If you make changes to this file, they will be
# overwritten when you run PNCconf again
[EMC]
MACHINE = my_LinuxCNC_machine
DEBUG = 0
[DISPLAY]
DISPLAY = axis
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/rb1cnc/linuxcnc/nc_files
PYVCP = pyvcp-panel.xml
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 0.500000
MAX_LINEAR_VELOCITY = 3.000000
MIN_LINEAR_VELOCITY = 0.010000
DEFAULT_ANGULAR_VELOCITY = 0.250000
MAX_ANGULAR_VELOCITY = 1.000000
MIN_ANGULAR_VELOCITY = 0.010000
EDITOR = gedit
GEOMETRY = xyz
[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
SERVO_PERIOD = 1000000
[HOSTMOT2]
# **** This is for info only ****
# DRIVER0=hm2_pci
# BOARD0=5i25
[HAL]
HALUI = halui
HALFILE = my_LinuxCNC_machine.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal
SHUTDOWN = shutdown.hal
[HALUI]
[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 0.42
MAX_LINEAR_VELOCITY = 5
NO_FORCE_HOMING = 1
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
#********************
# Axis X
#********************
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 3
MAX_ACCELERATION = 30.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 = 3.75
STEPGEN_MAXACCEL = 37.50
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 = 2.60416666666
# these are in nanoseconds
DIRSETUP = 1000
DIRHOLD = 10000
STEPLEN = 500
STEPSPACE = 4500
STEP_SCALE = 10159.9997
MIN_LIMIT = -8.0
MAX_LIMIT = 8.0
HOME_OFFSET = 0.0
#********************
# Axis Y
#********************
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.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 = 2.50
STEPGEN_MAXACCEL = 37.50
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 = 2.5
# these are in nanoseconds
DIRSETUP = 1000
DIRHOLD = 10000
STEPLEN = 500
STEPSPACE = 4500
STEP_SCALE = 10159.9997
MIN_LIMIT = -0.001
MAX_LIMIT = 8.0
HOME_OFFSET = 0.0
#********************
# Axis Z
#********************
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.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 = 1.25
STEPGEN_MAXACCEL = 37.50
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 = 1.25
# these are in nanoseconds
DIRSETUP = 1000
DIRHOLD = 10000
STEPLEN = 500
STEPSPACE = 4500
STEP_SCALE = 10159.9997
MIN_LIMIT = -4.0
MAX_LIMIT = 4.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -0.050000
HOME_LATCH_VEL = -0.016667
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
#********************
# Spindle
#********************
[SPINDLE_9]
P = 0.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 5000.0
OUTPUT_SCALE = 5000.0
OUTPUT_MIN_LIMIT = 0.0
OUTPUT_MAX_LIMIT = 5000.0
Last edit: 17 Dec 2016 03:27 by nigel-tufnel.
Please Log in or Create an account to join the conversation.
17 Dec 2016 04:02 #84306
by PCW
Replied by PCW on topic Joint 0 Following Error with Mesa 5i25/7i76?
What version of LinuxCNC are you running?
( there are many wrong settings in your inii file, these seem
like they come from a quite old version of PnCConf )
At the minimum I would set all the axis P terms to 1000 and all the axis MAX_OUTPUT values to 0
( there are many wrong settings in your inii file, these seem
like they come from a quite old version of PnCConf )
At the minimum I would set all the axis P terms to 1000 and all the axis MAX_OUTPUT values to 0
Please Log in or Create an account to join the conversation.
- nigel-tufnel
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
17 Dec 2016 17:37 #84329
by nigel-tufnel
Replied by nigel-tufnel on topic Joint 0 Following Error with Mesa 5i25/7i76?
Thanks for the suggestions. I changed the P terms and MAX_OUTPUT and now my motors can jog faster.
I am using a fresh install of LinuxCNC 2.7.0 downloaded within the last month. When I load PNCconf and click the help icon, it says BETA 1 Version in the Help Pages. Not sure where else to check version level,
What are the wrong settings in my .ini files and what are the correct settings? Or how can I determine the correct settings?
Thanks!
I am using a fresh install of LinuxCNC 2.7.0 downloaded within the last month. When I load PNCconf and click the help icon, it says BETA 1 Version in the Help Pages. Not sure where else to check version level,
What are the wrong settings in my .ini files and what are the correct settings? Or how can I determine the correct settings?
Thanks!
Please Log in or Create an account to join the conversation.
17 Dec 2016 17:48 #84330
by PCW
Replied by PCW on topic Joint 0 Following Error with Mesa 5i25/7i76?
2.7.0 is more than a year old (and has a number of bugs in pncconf)
The current LinuxCNC release is 2.7.8 I would suggest updating
( The ISOs are made infrequently so you must update LinuxCNC to get the latest )
I believe most of these config file bugs are fixed in the current pncconf
The current LinuxCNC release is 2.7.8 I would suggest updating
( The ISOs are made infrequently so you must update LinuxCNC to get the latest )
I believe most of these config file bugs are fixed in the current pncconf
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds