Issues with setting up 3 axis mill
06 Nov 2022 08:29 - 06 Nov 2022 08:39 #256047
by cadpete
Issues with setting up 3 axis mill was created by cadpete
I am building a 3 axis vertical mill and have spent more than a month trying to get the motors to run.iI am using raspberry pi 4 and MESA 7i76En step generator with 3 CL57T (v4) stepper controllers (closed loop)..
X and Y axis both work fine in pncconfig but I always get encoder fault on the CL57T for Z tests as soon as I try to move it.
So far I have tried -swapping motor positions - always Z died so not motor.
swapping controller positions - always Z dies so not contrroller.
Swapping encoder leads - always z drive died so not leads swapping MESA stepper leads - always Z died
swapping order of mesa connections - always Z died
I have noticed that often on moving X or Y the Z motor will make a noise, without movement.
Anyone have any additional ideas to test?
X and Y axis both work fine in pncconfig but I always get encoder fault on the CL57T for Z tests as soon as I try to move it.
So far I have tried -swapping motor positions - always Z died so not motor.
swapping controller positions - always Z dies so not contrroller.
Swapping encoder leads - always z drive died so not leads swapping MESA stepper leads - always Z died
swapping order of mesa connections - always Z died
I have noticed that often on moving X or Y the Z motor will make a noise, without movement.
Anyone have any additional ideas to test?
Last edit: 06 Nov 2022 08:39 by cadpete. Reason: clean up format added one extra test made
Please Log in or Create an account to join the conversation.
06 Nov 2022 11:28 #256057
by chris@cnc
Replied by chris@cnc on topic Issues with setting up 3 axis mill
Hi,
where is your motor wired?
X-Axis is stepgen.00
Y-Axis is stepgen.01
Z-Axis is stepgen.03
What is on stepgen.02?
where is your motor wired?
X-Axis is stepgen.00
Y-Axis is stepgen.01
Z-Axis is stepgen.03
What is on stepgen.02?
Please Log in or Create an account to join the conversation.
06 Nov 2022 12:49 #256062
by cadpete
Replied by cadpete on topic Issues with setting up 3 axis mill
Was on Stepgen 2 but was trying 3 to eliminate that as an option
Please Log in or Create an account to join the conversation.
06 Nov 2022 13:12 - 06 Nov 2022 13:15 #256064
by chris@cnc
Replied by chris@cnc on topic Issues with setting up 3 axis mill
Attachments:
Last edit: 06 Nov 2022 13:15 by chris@cnc.
Please Log in or Create an account to join the conversation.
06 Nov 2022 13:18 #256065
by cadpete
Replied by cadpete on topic Issues with setting up 3 axis mill
I understand. I was using Stepgen 02, but on the files sent I had tried using Stepgen 03 to eliminate the Mesa card Stepgen 02 from the error chain in case it had been damaged in the previous attempts
Please Log in or Create an account to join the conversation.
06 Nov 2022 14:34 #256069
by PCW
Replied by PCW on topic Issues with setting up 3 axis mill
Are you having this problem with LinuxCNC or pncconf?
The noise from Z when you move X,Y really sounds like a wiring issue
Suggestions:
Test with LinuxCNC, not pncconf
Change this hal line:
set setp hm2_7i76e.0.dpll.01.timer-us -50
to
setp hm2_7i76e.0.dpll.01.timer-us -200
Check the Z wiring
Change the step/dir wiring to single ended:
Drive DIR+ and PUL+ to 7I76E +5V
Drive DIR- and PUL- to 7I76E DIR- and PUL-
The noise from Z when you move X,Y really sounds like a wiring issue
Suggestions:
Test with LinuxCNC, not pncconf
Change this hal line:
set setp hm2_7i76e.0.dpll.01.timer-us -50
to
setp hm2_7i76e.0.dpll.01.timer-us -200
Check the Z wiring
Change the step/dir wiring to single ended:
Drive DIR+ and PUL+ to 7I76E +5V
Drive DIR- and PUL- to 7I76E DIR- and PUL-
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19155
- Thank you received: 6415
06 Nov 2022 16:24 #256080
by tommylight
Or your explanation is mixing things up.
Replied by tommylight on topic Issues with setting up 3 axis mill
The only way that is physically possible is the motor is wired wrong or dead, nothing else. You have mixed windings on Z.So far I have tried -swapping motor positions - always Z died so not motor.
swapping controller positions - always Z dies so not contrroller.
Swapping encoder leads - always z drive died so not leads swapping MESA stepper leads - always Z died
swapping order of mesa connections - always Z died
This is always power wiring related OR the dir pin of Z axis is wired to step pins of other axis.I have noticed that often on moving X or Y the Z motor will make a noise, without movement.
Or your explanation is mixing things up.
Please Log in or Create an account to join the conversation.
06 Nov 2022 17:22 #256084
by cakeslob
Replied by cakeslob on topic Issues with setting up 3 axis mill
Hey , I have the same motors, I had the same issue, and Ive seen several others on the forum who have had the same issue.
- Check encoder wires are not loose at driver end (mine was one wire came loose)
- check encoder wires are the same as other drives (other guys on forum had this issue)
- Put drive in to open loop mode and try that, if it works in open loop mode, its an encoder thing
I have this with all 3 axis, I assume its a driver current tuning thing, but I dont want to install the china software to adjust the settings, so Im not sure.
- Check encoder wires are not loose at driver end (mine was one wire came loose)
- check encoder wires are the same as other drives (other guys on forum had this issue)
- Put drive in to open loop mode and try that, if it works in open loop mode, its an encoder thing
I have noticed that often on moving X or Y the Z motor will make a noise, without movement.
I have this with all 3 axis, I assume its a driver current tuning thing, but I dont want to install the china software to adjust the settings, so Im not sure.
Please Log in or Create an account to join the conversation.
07 Nov 2022 07:40 #256118
by cadpete
Replied by cadpete on topic Issues with setting up 3 axis mill
Thanks all for your suggestions - gives me more to check next weekend - only time I get to play
Please Log in or Create an account to join the conversation.
08 Nov 2022 10:25 #256199
by andypugh
Replied by andypugh on topic Issues with setting up 3 axis mill
A system that runs in pncconf and not in LinuxCNC often points to a problem with the "enable" wiring. (ie, it is actually configured as a disable). With most stepper drivers it is best to just leave enable inputs unconnected (but check)
A stepper drive should not be able to damage a 7i76. But a motor can certainly damage a stepper driver. Especially if one phase goes open-circuit.
If the motor is wired 2-phase bipolar then you should see a low resistance between A+ to A- and B+ to B- and nothing between any A and any B. It's not unknown for stepper motors to be mis-wired.
It's harder to work out if the phase direction is wrong, which would reverse the motor and lead to an encoder-to-motor plausibility fault. (But you say that the motors have all run?)
A stepper drive should not be able to damage a 7i76. But a motor can certainly damage a stepper driver. Especially if one phase goes open-circuit.
If the motor is wired 2-phase bipolar then you should see a low resistance between A+ to A- and B+ to B- and nothing between any A and any B. It's not unknown for stepper motors to be mis-wired.
It's harder to work out if the phase direction is wrong, which would reverse the motor and lead to an encoder-to-motor plausibility fault. (But you say that the motors have all run?)
The following user(s) said Thank You: cadpete
Please Log in or Create an account to join the conversation.
Time to create page: 0.138 seconds