Servos drives directly start turning
- tommylight
-
- Offline
- Moderator
-
Less
More
9 months 3 weeks ago #341087
by tommylight
They just short internally as a normal switch.
Replied by tommylight on topic Servos drives directly start turning
No.The PINS ENA0- and ENA0+ on the TB5 connector should get power when I turn on the machine with F2 right???
They just short internally as a normal switch.
Please Log in or Create an account to join the conversation.
9 months 3 weeks ago #341090
by JanCNC
Replied by JanCNC on topic Servos drives directly start turning
Now the wiring is correct and the enable is working. If i test every axis for its own it seems to work fine.
But now i got a problem with my gantry Y Axis. If both Y Axis connected to the TB5 and we press F2 the Motors jumps around and an following error occures. Do you have any idea why this happend?
But now i got a problem with my gantry Y Axis. If both Y Axis connected to the TB5 and we press F2 the Motors jumps around and an following error occures. Do you have any idea why this happend?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
9 months 3 weeks ago #341093
by tommylight
If yes, that does not work, analog drives can not be wired like that as it will mess with the feedback.
Each MUST use it's own output and it's own feedback.
Replied by tommylight on topic Servos drives directly start turning
Do you mean both servo drives are connected to the same analog output?
But now i got a problem with my gantry Y Axis. If both Y Axis connected to the TB5 and we press F2 the Motors jumps around and an following error occures. Do you have any idea why this happend?
If yes, that does not work, analog drives can not be wired like that as it will mess with the feedback.
Each MUST use it's own output and it's own feedback.
Please Log in or Create an account to join the conversation.
9 months 3 weeks ago #341096
by PCW
Replied by PCW on topic Servos drives directly start turning
The hal file shows independent analog outputs and encoders
Are you sure you have the feedback correct for Y and Y2?
You not only have to get the right (matching) directions but the
proper feedback so you don't get a instant runaway at drive enable.
Might be best to test this with the linear axis disconnected
Are you sure you have the feedback correct for Y and Y2?
You not only have to get the right (matching) directions but the
proper feedback so you don't get a instant runaway at drive enable.
Might be best to test this with the linear axis disconnected
Please Log in or Create an account to join the conversation.
9 months 3 weeks ago - 9 months 3 weeks ago #341118
by JanCNC
Replied by JanCNC on topic Servos drives directly start turning
No, the servo drives of the Y-Gantry each have their own connection to the encoder TB3/4 and analog interface TB5.
Attached is a picture of my 7i77 axis connection.
If I connect only one of the two Y axes to the analog interface TB5 and enable with F2 the axis enters control mode (drifting slightly but no jog possible). However, if I connect both axes to TB5 and enable them with F2, the axes immediately spin at high speed and a following error occurs.
@PCW What do you mean with "test this with the linear axis disconnected"?
Note: The axes are currently not connected to the mechanics and are essentially lying loose on the table.
Attached is a picture of my 7i77 axis connection.
If I connect only one of the two Y axes to the analog interface TB5 and enable with F2 the axis enters control mode (drifting slightly but no jog possible). However, if I connect both axes to TB5 and enable them with F2, the axes immediately spin at high speed and a following error occurs.
@PCW What do you mean with "test this with the linear axis disconnected"?
Note: The axes are currently not connected to the mechanics and are essentially lying loose on the table.
Last edit: 9 months 3 weeks ago by JanCNC.
Please Log in or Create an account to join the conversation.
9 months 3 weeks ago #341132
by PCW
Replied by PCW on topic Servos drives directly start turning
Encoder issue? Did you that both encoders work?
Are they Scaled properly and in the correct direction?
Why does one joint have the scale reversed?
If the axis drifts when enabled, encoder feedback --> PID --> analog output is not working
If the axis runs away when enabled you most likely have the feedback loop reversed
Unless both motors hold position when enable (and resist applied torque)
the feedback loop is not working and needs to be checked on part at a time
Are they Scaled properly and in the correct direction?
Why does one joint have the scale reversed?
If the axis drifts when enabled, encoder feedback --> PID --> analog output is not working
If the axis runs away when enabled you most likely have the feedback loop reversed
Unless both motors hold position when enable (and resist applied torque)
the feedback loop is not working and needs to be checked on part at a time
Please Log in or Create an account to join the conversation.
Time to create page: 0.354 seconds