Home Limit Switch

More
5 years 6 months ago #207144 by Clive S
Replied by Clive S on topic Home Limit Switch

PastorHealer wrote: Thanks Clive. The Y's are working now. But I know there is still something wrong with my thinking about the machine coordinates.

When I push the down arrow on my keyboard, the Y axis moves to the back. So I know that I've got the Y motors wired in the wrong direction. Do I change the sign the same as on Home_Search_Vel to have the gantry move towards the back after?

I think this issue is what made me think I had a problem with the Z


This all depends where the switches are located front or back I take it the Y is the gantry if so and you have two motors then the sequence has to be a -ve same number on both joints (motors)

You can change the direction of the motors by make the SCALE=xxxx -ve but then you have to change all the rest below

re this:
[JOINT_1]

HOME = -12 .. this will be the final home postion
HOME_OFFSET = 0.000000 .. this is to square the gantry ie 0.5
HOME_SEARCH_VEL = 3 ..If you cange it to -ve it will search in the opposite direction 0
HOME_LATCH_VEL = 5 .. as above
HOME_SEQUENCE = -1 .. this has to be -ve for gantry squaring

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

More
5 years 6 months ago #207146 by Jeff_in_Wa
Replied by Jeff_in_Wa on topic Home Limit Switch
When I home now, all joints home properly, move off of the switch 12mm's. Perfect!
But then I'm getting "Exceeded Negative Soft Limit (-0.00100) on joint 1 X
And "Exceeded Negative Soft Limit (-0.00100) on joint 2 Y's

I can see why I'm getting the error as "Home" value is a negative value. What I can't figure out is why the machine is homing properly in spite of it being wrong.

Home is wanted to be at the right / rear of my cnc router

Here are my Y settings:

[AXIS_Y]
MAX_VELOCITY = 150.0
MAX_ACCELERATION = 200
MIN_LIMIT = -0.001
MAX_LIMIT = 838

[JOINT_1]
TYPE = LINEAR
HOME = -12.0
MIN_LIMIT = -0.001
MAX_LIMIT = 838
MAX_VELOCITY = 200
MAX_ACCELERATION = 200
STEPGEN_MAXACCEL = 220
SCALE = -80.0
FERROR = 1
MIN_FERROR = 0.25
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -30
HOME_LATCH_VEL = 5
HOME_SEQUENCE = -1

#HOME_SEARCH_VEL = 0
#HOME_LATCH_VEL = 0
#HOME_USE_INDEX = NO
#HOME_SEQUENCE = -1

[JOINT_2]
TYPE = LINEAR
HOME = -12.0
MIN_LIMIT = -0.001
MAX_LIMIT = 838
MAX_VELOCITY = 200
MAX_ACCELERATION = 200
STEPGEN_MAXACCEL = 220
SCALE = -80.0
FERROR = 1
MIN_FERROR = 0.25
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -30
HOME_LATCH_VEL = 5
HOME_SEQUENCE = -1

#HOME_SEARCH_VEL = 0
#HOME_LATCH_VEL = 0
#HOME_USE_INDEX = NO
#HOME_SEQUENCE = -1

Thanks for any assistance.

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

More
5 years 6 months ago #207148 by tommylight
Replied by tommylight on topic Home Limit Switch
HOME = -12.0
MIN_LIMIT = -0.001
That can not work, home must be a value inside the limits.
Use HOME_OFFSET to move from the switch.

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

More
5 years 6 months ago #207149 by Jeff_in_Wa
Replied by Jeff_in_Wa on topic Home Limit Switch
Thank you. I will try that.
On my old cnc, home was back right corner as well. But all the numbers on the dro were negative from home. I'm pretty sure this is why I'm struggling with this software.

I'm having to rethink my work area. Am I right in this?

I was told cnc's all use a negative work area.

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

More
5 years 6 months ago #207150 by Clive S
Replied by Clive S on topic Home Limit Switch
Have you tried changing

MIN_LIMIT = -0.001
MAX_LIMIT = 838

to

MIN_LIMIT = 838
MAX_LIMIT = -0.001

in the 3 places

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

More
5 years 6 months ago #207155 by Jeff_in_Wa
Replied by Jeff_in_Wa on topic Home Limit Switch
I will try that
Clive, will you set my thinking right...

If my home switches are on the back right, should my machine coordinates be positive or negative as I move the spindle over the work area?

I think that's what is messing with my brain...

Your suggestion makes the work area negative, which is what I'm used to.

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

Time to create page: 0.389 seconds
Powered by Kunena Forum