Homing question

More
18 Apr 2013 07:57 #32864 by egropp
Homing question was created by egropp
Having a hell of a time getting this machine to home correctly, not sure what i am doing (or not doing) correct here.
My Z axis homes correctly, the Z moves up to the home switch, backs off hits it again then moves to the home position.
The X and Y axis hit the home switch, back off, hit it again, then instead of moving away from the switch it tries to drive the axis throught the switch .
Here is the .ini file for the axis.
Any help at all would be most appreciated.


[AXIS_0]
TYPE = LINEAR
HOME = 1.0
MAX_VELOCITY = 0.12
MAX_ACCELERATION = 2.0
STEPGEN_MAXACCEL = 2.5
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = 0.0
MAX_LIMIT = 37.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0.050000
HOME_LATCH_VEL = 0.050000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1

[AXIS_1]
TYPE = LINEAR
HOME = 1.0
MAX_VELOCITY = 0.1
MAX_ACCELERATION = 1.0
STEPGEN_MAXACCEL = 1.25
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = 0.0
MAX_LIMIT = 26.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0.050000
HOME_LATCH_VEL = 0.050000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2

[AXIS_2]
TYPE = LINEAR
HOME = -0.5
MAX_VELOCITY = 0.1
MAX_ACCELERATION = 1.0
STEPGEN_MAXACCEL = 1.25
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -2.5
MAX_LIMIT = 0.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0.050000
HOME_LATCH_VEL = 0.050000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0

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

More
18 Apr 2013 09:06 #32867 by Todd Zuercher
Replied by Todd Zuercher on topic Homing question
It looks like your directions for your x and y are backwards.
When you jog your x in the positive direction does it move towards your home switch or away from it?

Z is right because it moves positive (up) when searching for home limit, finds it then moves -.5 down away from it.

If your X goes from 0 to the left to 37 to the right, as you have it set it will move towards the 37 searching for the home switch find it, then set that point as 0 then tries to move 1 to the right of that.

Tell us how you want your machine oriented and witch way it moves when jogged now and we can help you straighten it out.

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

More
18 Apr 2013 09:53 #32868 by egropp
Replied by egropp on topic Homing question
Yes, the X axis is left 0 right 37
The y is closest to me @ 0 and 26 away from me.
When i jog the x with the right arroy key, the x axis moves right and left key goes left
The y also seems to be correct in that i hit the up arrow and it moves away, the down arrow bring it back

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

More
18 Apr 2013 13:01 - 18 Apr 2013 13:02 #32871 by ArcEye
Replied by ArcEye on topic Homing question
Hi

When i jog the x with the right arroy key, the x axis moves right and left key goes left
The y also seems to be correct in that i hit the up arrow and it moves away, the down arrow bring it back


It is a common misconception that the arrows move the table.
Movements are in relation to the tool and the workpeice not the table

When you press the right arrow, your quill should move right across the workpiece, which means the table moves left.

In your .ini file reverse the sign of the SCALE= figure for the X and Y axes, ie if it is 400 make it -400

Your axes should then move correctly which should enable homing.

regards
Last edit: 18 Apr 2013 13:02 by ArcEye.

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

More
18 Apr 2013 19:34 #32877 by Todd Zuercher
Replied by Todd Zuercher on topic Homing question
If your machine when jogged in the negetive direction moves towards 0 and the 0 limit is where you want your home switch, then your home velocities should be:
HOME_SEARCH_VEL =- 0.050000
HOME_LATCH_VEL = -0.050000
every thing else should be OK.

If it is already moving toward the switch you want as 0, then as ArcEye said you need to change the SCALE=8000 to -8000.

If you want it to home at the switch on the 37 end (the end you currently have it configured for), then you need to change the HOME_OFFSET to 37.0000, (the HOME= is where the machine will park after homing you may or may not want to change this)

Have fun

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

More
18 Apr 2013 21:22 #32879 by egropp
Replied by egropp on topic Homing question
Thanks to all for the info!!

I am now in business with all axis moving and homing as expected.
My setup does not move the table, but rather the gantry and tool move over the table.

Thanks again for the input.

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

Time to create page: 0.130 seconds
Powered by Kunena Forum