Preparation for the self-construction of a carousel changer

More
30 Oct 2022 18:55 #255475 by andypugh
1kHz is more than can be done on the GPIO with software PWM, which was my first idea.

The 7i76E has a number of expansion ports. What (if anything) do you have plugged in to those? There may be one or more PWM channels available there.

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

More
31 Oct 2022 01:25 #255532 by mgm
I haven't connected anything to the extension terminations if they mean the two 25 pin connectors.
I only have a 7i84D connected to RS -422.

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

More
31 Oct 2022 12:32 #255564 by andypugh
If you start LinuxCNC from the command line (command "linuxcnc") then there should be a dump of all the pin functions printed to the terminal.
See if you have any extra PWM channels showing.

You can either connect directly to the pins (though it's a bit risky) to get a PWM, or attach any of these boards and take the PWM from them:
store.mesanet.com/index.php?route=product/category&path=83_87
Don't be too concerned about the intended use of the boards, a step-dir output can be used to output PWM if the pin assignments match. But the cheapest board (7i75) is purely buffering/protection and doesn't need a fortuitous match.

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

More
31 Oct 2022 13:01 #255567 by mgm
Ok then the 7i78 would be the right one for me right?
That is even available at EUSurplas! Then I order the ....
Thanks for the support!

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

More
31 Oct 2022 14:11 #255574 by andypugh
Or 7i75.

Which firmware do you currently have on the 7i76E?

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

More
31 Oct 2022 15:11 #255579 by mgm
It is the firmware on it as delivered !

I can not look because I am today and tomorrow on vacation.

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

More
02 Nov 2022 08:41 - 02 Nov 2022 08:43 #255761 by mgm
I have ordered a 7i75!

When starting linuxcnc via the terminal I get the following info:
 

File Attachment:

File Name: Pinbelegun...sion.txt
File Size:4 KB


but there is no PWM included ...
Do I have to flash another bit file and if so which one?
Attachments:
Last edit: 02 Nov 2022 08:43 by mgm.

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

More
02 Nov 2022 13:17 #255784 by andypugh
I have been poking about in the hostmot2 firmware files for the 7i76E and found a firmware that swaps one of the step-dir channels on the 7i76E for a PWM / DIR channel.
Are you using all the stepgens?
It's the 7i76e_7i76x1p2d.bit file

What is your current "loadrt hm2_eth" line in the HAL file? It might be disabling PWM on the current firmware.

Do you have Mesaflash? (You are likely to need it soon)

sudo apt-get install mesaflash

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

More
03 Nov 2022 08:05 #255822 by mgm
Yes I am using all 5 stepgens !

My current line is:
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=20xxxx"

I think I need to change num_pwmgens=0   to   num_pwmgens=1   right?

Mesa flash I have already installed ...

Where can I find the new bit file?

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

More
03 Nov 2022 08:25 #255824 by mgm
Ok I found the bit-fils on the Mesa site!

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

Time to create page: 0.091 seconds
Powered by Kunena Forum