×
Forum Header
Weird problem with X-axis travel
31 May 2010 15:19 - 31 May 2010 15:32 #3051
by Davenc
Weird problem with X-axis travel was created by Davenc
I've successfully installed and setup my cncfusion kit along with the xylotex motor kit and everything is working fine except one item that I just noticed. I've been running the cnc manually using the joypad I installed.
When I jog the x-axis using either the manual jog gui buttons or the joypad the table travels the expected direction. Note that the cncfusion kit is engraved so you know which is the + or - direction. What is odd though is the software triangular indicator in EMC2 goes in the wrong direction. Basically the indicator is moving in the same direction as the table is moving which is backwards. The indicator should be moving the opposite direction as the table does so I must have missed something in the setup. I've looked around and I don't see anything obvious but I know it's got to be something obvious that I'm overlooking. The Y & Z axis's both work like they are supposed to.
Here's my ini file.
# Generated by stepconf at Sun May 30 19:07:33 2010
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
MACHINE = my-mill
NML_FILE = emc.nml
DEBUG = 0
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.2
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/davenc/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 = 100000
SERVO_PERIOD = 1000000
[HAL]
HALUI = halui
HALFILE = my-mill.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.10
MAX_LINEAR_VELOCITY = 1.00
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -4.5
MAX_LIMIT = 4.5
HOME_OFFSET = -1.0
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -2.0
MAX_LIMIT = 2.0
HOME_OFFSET = -1.0
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -7.5
MAX_LIMIT = 0.01
HOME_OFFSET = -1.0
When I jog the x-axis using either the manual jog gui buttons or the joypad the table travels the expected direction. Note that the cncfusion kit is engraved so you know which is the + or - direction. What is odd though is the software triangular indicator in EMC2 goes in the wrong direction. Basically the indicator is moving in the same direction as the table is moving which is backwards. The indicator should be moving the opposite direction as the table does so I must have missed something in the setup. I've looked around and I don't see anything obvious but I know it's got to be something obvious that I'm overlooking. The Y & Z axis's both work like they are supposed to.
Here's my ini file.
# Generated by stepconf at Sun May 30 19:07:33 2010
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
MACHINE = my-mill
NML_FILE = emc.nml
DEBUG = 0
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.2
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/davenc/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 = 100000
SERVO_PERIOD = 1000000
[HAL]
HALUI = halui
HALFILE = my-mill.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.10
MAX_LINEAR_VELOCITY = 1.00
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -4.5
MAX_LIMIT = 4.5
HOME_OFFSET = -1.0
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -2.0
MAX_LIMIT = 2.0
HOME_OFFSET = -1.0
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -7.5
MAX_LIMIT = 0.01
HOME_OFFSET = -1.0
Last edit: 31 May 2010 15:32 by Davenc.
Please Log in or Create an account to join the conversation.
01 Jun 2010 11:54 #3054
by Davenc
Replied by Davenc on topic Re:Weird problem with X-axis travel
Never mind I was able to figure it out. I had to place a - sign in front of the scale for that axis. scale = -8000
Please Log in or Create an account to join the conversation.
Time to create page: 0.068 seconds