homing of gantry with servos using index
- lunada
- Offline
- Senior Member
Less
More
- Posts: 42
- Thank you received: 2
05 Nov 2023 19:07 #284653
by lunada
homing of gantry with servos using index was created by lunada
I have a gantry router with servos. 2 motors on the y axis. The index on each motor are .692" off from one another. I am trying to home the gantry using these parameters:[AXIS_Y]
MAX_VELOCITY = 1200.0
MAX_ACCELERATION = 2.0
MIN_LIMIT = -0.05
MAX_LIMIT = 96.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.9
MIN_FERROR = 0.5
MAX_VELOCITY = 1200.0
MAX_ACCELERATION = 2.0
P = 50
I = 0
D = 0
FF0 = 0
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
ENCODER_SCALE = -196000
OUTPUT_SCALE = 10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -0.05
MAX_LIMIT = 96.0
HOME_OFFSET = 0.692
HOME_SEARCH_VEL = -.05
HOME_LATCH_VEL = .01
HOME_FINAL_VEL = .01
HOME_USE_INDEX = YES
HOME_SEQUENCE = -2
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.9
MIN_FERROR = 0.5
MAX_VELOCITY = 1200.0
MAX_ACCELERATION = 2.0
P = 50
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
ENCODER_SCALE = 196000
OUTPUT_SCALE = -10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -0.05
MAX_LIMIT = 96.0
HOME_OFFSET = 0
HOME_SEARCH_VEL = -.05
HOME_LATCH_VEL = .01
HOME_FINAL_VEL = .01
HOME_USE_INDEX = yes
HOME_SEQUENCE = -2
Basically what happens is the joint 1 motor reaches index first and then stops. the joint 2 motor continues to search for the index and causes the gantry to rack. How do i keep the joint 1 motor going after it reaches the index for .692" until the joint 2 motor reaches the index? I'd rather not ignore the index.
MAX_VELOCITY = 1200.0
MAX_ACCELERATION = 2.0
MIN_LIMIT = -0.05
MAX_LIMIT = 96.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.9
MIN_FERROR = 0.5
MAX_VELOCITY = 1200.0
MAX_ACCELERATION = 2.0
P = 50
I = 0
D = 0
FF0 = 0
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
ENCODER_SCALE = -196000
OUTPUT_SCALE = 10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -0.05
MAX_LIMIT = 96.0
HOME_OFFSET = 0.692
HOME_SEARCH_VEL = -.05
HOME_LATCH_VEL = .01
HOME_FINAL_VEL = .01
HOME_USE_INDEX = YES
HOME_SEQUENCE = -2
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.9
MIN_FERROR = 0.5
MAX_VELOCITY = 1200.0
MAX_ACCELERATION = 2.0
P = 50
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
ENCODER_SCALE = 196000
OUTPUT_SCALE = -10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -0.05
MAX_LIMIT = 96.0
HOME_OFFSET = 0
HOME_SEARCH_VEL = -.05
HOME_LATCH_VEL = .01
HOME_FINAL_VEL = .01
HOME_USE_INDEX = yes
HOME_SEQUENCE = -2
Basically what happens is the joint 1 motor reaches index first and then stops. the joint 2 motor continues to search for the index and causes the gantry to rack. How do i keep the joint 1 motor going after it reaches the index for .692" until the joint 2 motor reaches the index? I'd rather not ignore the index.
Please Log in or Create an account to join the conversation.
- lunada
- Offline
- Senior Member
Less
More
- Posts: 42
- Thank you received: 2
05 Nov 2023 19:30 #284657
by lunada
Replied by lunada on topic homing of gantry with servos using index
just to note, the gantry is very rigid and will not allow more than .005" of misalignment before it binds the motors.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17940
- Thank you received: 4811
05 Nov 2023 20:25 #284661
by PCW
Replied by PCW on topic homing of gantry with servos using index
I would think its necessary to align the index's of the 2 gantry
that is, I would expect the .692" of offset to need to be reflected in the limit switch
positions as well which seems iffy at best
that is, I would expect the .692" of offset to need to be reflected in the limit switch
positions as well which seems iffy at best
Please Log in or Create an account to join the conversation.
- lunada
- Offline
- Senior Member
Less
More
- Posts: 42
- Thank you received: 2
06 Nov 2023 02:12 #284681
by lunada
Replied by lunada on topic homing of gantry with servos using index
yea i took the motor off the machine and rotated it and got it close enough to home, then did a home offset on one joint to make up the few thousandths it was off. seems to be fine now, thanks.I would think its necessary to align the index's of the 2 gantry
that is, I would expect the .692" of offset to need to be reflected in the limit switch
positions as well which seems iffy at best
Please Log in or Create an account to join the conversation.
Time to create page: 0.048 seconds