Configuring rotary axis parameters
Posted: Mon Jan 13, 2025 5:41 pm
I'm struggling to get my Haas 5c indexer to operate correctly when interfaced to the DC1 add-on axis. I believe I have the physical wiring done correctly but the installation manual really only walks you thru configuring a linear axis, so I have a few questions I hope someone can help clarify:
1) Per the installation manual, encoders should count UP when the servo motor shaft turns counterclockwise when viewed from the shaft end. Mine is currently counting DOWN, but the servo does not "run away". Is this a problem? When everything else is finally working, I can simply switch "Dir Rev" in the motor parameter screen if handwheel jog direction doesn't match actual indexer rotation, correct?
2) My indexer has a worm ratio of 60:1 The encoder on the servo motor shaft is 8,000 counts/rev. The indexer utilizes a prox switch for home location of the indexer spindle. It is wired to INP7 of the ALLIN1 and "closes" (green dot) when in home position.
In the MOTOR PARAMETER screen (F1>F3>137>F2>F2) I currently have the following parameters:
Motor rev/in: 1.0 --> Only because I'm trying to understand why I'm getting 160,000 counts per "click" with handwheel set to x1 (see below)
Encoder counts/rev: 8,000
Limit - : 0
Limit + : 0
Home - : 30
Home + : 30
Dir Rev : N
Screw Comp: N
Regarding the column labeled "Motor rev/in". What does that mean when applied to a rotary axis? My assumption is Motor rev/degree of spindle rotation. If that is correct, would the answer be "6" if I have a worm reduction of 60:1? (360/60=6) OR...is it Motor rev/1 revolution of spindle (360 degrees)? Or is it something else? (Until I understand this, I have Motor Rev/in set to 1.000 in the MOTOR PARAMETER screen)
I have an 8,000 count encoder on the servo motor shaft. With 1.000 in the Motor rev/in column for the rotary axis, one click of the handwheel with the step resolution set to x1 yields 160,000 encoder counts. That certainly doesn't seem right. Shouldn't it be 8,000? I figure I need to get this right before I tackle the other problems.
3) The last problem is homing. Since this is a rotary axis, there are no limit switches per se, the indexer utilizes a prox switch to identify "home". It is my understanding I DO NOT wire the prox switch to the limit switch input of the drive axis. I need to wire it to an aux input of the ALLIN1DC. I have it wired to inp 7. Currently, the axis fails to home, it just rotates very slowly. I have verified the input is working by manually turning the worm shaft (I have disconnected the servo motor from the indexer worm shaft to verify this) while watching the I/O screen; INP7 is red until it turns green briefly at the same spindle position thru several full rotations of the indexer spindle. Because of that, I'm fairly confident the physical wiring of the indexer to the control is correct, and my problems are due to incorrect parameters.
I can no longer remember where I got the "30" parameters for the Home + & - columns (I did the physical wiring and installation almost 10 months ago and had to put the project on hold until now). I think it might have been from a forum response...but maybe from a TSB. Again, super frustrated there isn't better documentation specifically regarding adding a ROTARY axis via the DC1 add-on axis.
So I've been trying to find documentation again to tell me exactly what that parameter is doing.
1) Per the installation manual, encoders should count UP when the servo motor shaft turns counterclockwise when viewed from the shaft end. Mine is currently counting DOWN, but the servo does not "run away". Is this a problem? When everything else is finally working, I can simply switch "Dir Rev" in the motor parameter screen if handwheel jog direction doesn't match actual indexer rotation, correct?
2) My indexer has a worm ratio of 60:1 The encoder on the servo motor shaft is 8,000 counts/rev. The indexer utilizes a prox switch for home location of the indexer spindle. It is wired to INP7 of the ALLIN1 and "closes" (green dot) when in home position.
In the MOTOR PARAMETER screen (F1>F3>137>F2>F2) I currently have the following parameters:
Motor rev/in: 1.0 --> Only because I'm trying to understand why I'm getting 160,000 counts per "click" with handwheel set to x1 (see below)
Encoder counts/rev: 8,000
Limit - : 0
Limit + : 0
Home - : 30
Home + : 30
Dir Rev : N
Screw Comp: N
Regarding the column labeled "Motor rev/in". What does that mean when applied to a rotary axis? My assumption is Motor rev/degree of spindle rotation. If that is correct, would the answer be "6" if I have a worm reduction of 60:1? (360/60=6) OR...is it Motor rev/1 revolution of spindle (360 degrees)? Or is it something else? (Until I understand this, I have Motor Rev/in set to 1.000 in the MOTOR PARAMETER screen)
I have an 8,000 count encoder on the servo motor shaft. With 1.000 in the Motor rev/in column for the rotary axis, one click of the handwheel with the step resolution set to x1 yields 160,000 encoder counts. That certainly doesn't seem right. Shouldn't it be 8,000? I figure I need to get this right before I tackle the other problems.
3) The last problem is homing. Since this is a rotary axis, there are no limit switches per se, the indexer utilizes a prox switch to identify "home". It is my understanding I DO NOT wire the prox switch to the limit switch input of the drive axis. I need to wire it to an aux input of the ALLIN1DC. I have it wired to inp 7. Currently, the axis fails to home, it just rotates very slowly. I have verified the input is working by manually turning the worm shaft (I have disconnected the servo motor from the indexer worm shaft to verify this) while watching the I/O screen; INP7 is red until it turns green briefly at the same spindle position thru several full rotations of the indexer spindle. Because of that, I'm fairly confident the physical wiring of the indexer to the control is correct, and my problems are due to incorrect parameters.
I can no longer remember where I got the "30" parameters for the Home + & - columns (I did the physical wiring and installation almost 10 months ago and had to put the project on hold until now). I think it might have been from a forum response...but maybe from a TSB. Again, super frustrated there isn't better documentation specifically regarding adding a ROTARY axis via the DC1 add-on axis.
So I've been trying to find documentation again to tell me exactly what that parameter is doing.