4th and 5th axes fail to function

More
18 Jan 2022 07:20 #232223 by elf
I'm using Pncconf Wizard to add 4th and 5th axes to Mesa 7i76e hardware.  X, Y, and Z are using Clearpath SDSK servos and are functioning.  The 4th and 5th axes are using DM542T (version 4) drivers.  When connected to another machine, the steppers and drivers are working properly.  Axis A does not respond in the wizard.  

File Attachment:

File Name: 5axes.hal
File Size:12 KB
 

File Attachment:

File Name: 5axes.ini
File Size:5 KB
Hal and ini files attached. 
Attachments:

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

More
18 Jan 2022 07:38 #232229 by rodw
Can you check that 5v is selected with the switch on the drive?

You are the second reporting issues with this drive
forum.linuxcnc.org/38-general-linuxcnc-q.../44771-7i76e?start=0

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

More
18 Jan 2022 08:23 #232232 by elf
Funny, you should mention that :) The other machine I used to do the test is a rose engine for which I designed the hardware and firmware. It can use onboard drv8825 drivers or external drivers. Last week one of the users installed the DM542T v4 driver and couldn't get them to work. I finally convinced him that even though the drivers were using 24v to power the steppers, the logic was 5v.
The following user(s) said Thank You: rodw

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

More
18 Jan 2022 08:57 #232238 by rodw
Did they work when set to 5 volts?

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

More
18 Jan 2022 09:10 #232241 by elf
The drivers work when set to 5v on the rose engine, but not with the 7i76e and Linuxcnc. I'm using a single 24v power supply for the 7i76e and the steppers. (The servos use 75v). I've tried supplying 5v to the Enable pins on the driver, but that didn't change the behaviour from not having any connection to the Enable pins.

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

More
18 Jan 2022 09:36 #232244 by rodw
Very strange. I've used the DM542A from Longs Motors for years and they perform really well. I did hear some DM542's from other suppliers were not so good so I was fussy with brands.

I have had one other drive fail to run on my 7i76e which was a 2 amp Sanyo Denki Nema 24 on a throttled back 6 amp LAM Technologies DS1076a but it ran fine on a 3 amp Lam DS1073a so I worked around it.

All I can think of is 24 volts is close to the minimum voltage of 20 volts.
I am contemplating purchasing some DM542's from rtelligent who have a version that will handle my 60V AC toroid. Seems like brand definitely matters!

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

More
18 Jan 2022 10:53 #232257 by tommylight
Do the motors wired to 542 lock when power is applied?
If yes, set the step time and step space to at least 5000 in the ini file and test again.

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

More
18 Jan 2022 10:57 #232259 by rodw

Do the motors wired to 542 lock when power is applied?
If yes, set the step time and step space to at least 5000 in the ini file and test again.

I'd be surprised if that makes a difference as this is what I was using. But on a different brand of DM542
DIRSETUP   = 500
DIRHOLD    = 500
STEPLEN    = 2500
STEPSPACE  = 2500

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

More
18 Jan 2022 10:59 #232260 by rodw
And this is what is in the users ini file posted earlier
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
The following user(s) said Thank You: tommylight

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

More
18 Jan 2022 20:06 #232328 by elf
 

File Attachment:

File Name: 5axes_2022-01-18.hal
File Size:14 KB
 

File Attachment:

File Name: 5axes_2022-01-18.ini
File Size:5 KB
Well, I can't see any big differences in the .hal and .ini files, but the 4th and 5th axes are working now. I removed the wires to the Enable pins and set microstepping to 8 in the wizard. I also added the B axis by copying the A axis.
Attachments:

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

Time to create page: 0.079 seconds
Powered by Kunena Forum