MESA 7i76E For Lathe Step-Dir Spindle, Orient and Rotary Axis

More
28 Jul 2020 12:41 - 28 Jul 2020 12:57 #176237 by xenon-alien
Hello!

I'm new in LinuxCNC. (a few month I'm reading and watching videos about it)
There are a Laptop with LinuxCNC 2.7.15 (LinuxCNC Uspace 2.7.0 Debian 9 Stretch) + MESA 7i76E Card.
I did the PncConf for lathe XZ Axis C-L Stepper motors and one Servo motor for the Spindle with STEP/DIR.
X => 0 axis, Z =>2 axis, Spindle => 4 axis.
The encoder is connected to the A -A, B -B, Z -Z and the GND in differential. (OZ don't know for what purpose)
Now it's looks like working, but can't use M19 command.
I saw talla83's video for 5i25 Card and downloaded the configured files for Spindle Step/Dir

File Attachment:

File Name: 20181124_S...5i25.rar
File Size:542 KB

But I don't know how to modify the HAL file to make it work for the Ethernet card.
hm2_5i25.0.stepgen.00.dirsetup change to hm2_7i76e.stepgen.04.dirsetup all of them.
What else? Just copy/paste the rest?

Need all functions: continuous rotation (it's working), threading (g76 g33 ), orient and positioning.

You can find in my instagram short videos what I have already. (type in google my nickname "xenon-alien" => Daniel P)

I will appreciate any advice's.
My English not is the best, so sorry about it. (I'm from Ukraine)
Attachments:
Last edit: 28 Jul 2020 12:57 by xenon-alien.

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

More
28 Jul 2020 14:58 #176250 by PCW
You can globally replace the card name (replace all "5i25" with "7i76e")
You also need to change the driver name from hm2_pci to hm2_eth
and add the board_ip-xx.xx.xx.xx token to the hm2_eth command line
(this is described in the hm2_eth manual page)
The following user(s) said Thank You: xenon-alien

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

More
28 Jul 2020 16:29 - 28 Jul 2020 16:30 #176258 by xenon-alien

You can globally replace the card name (replace all "5i25" with "7i76e")
You also need to change the driver name from hm2_pci to hm2_eth
and add the board_ip-xx.xx.xx.xx token to the hm2_eth command line
(this is described in the hm2_eth manual page)

Replacing no problem.
Driver name and the board_ip-xx.xx.xx.xx already did the PncConf.
The rest just copy/paste in my config without modification?
Last edit: 28 Jul 2020 16:30 by xenon-alien.

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

More
28 Jul 2020 17:59 #176263 by PCW
If you are starting with someone else's 5i25+7I76 configuration,
changing the card name and driver line should be sufficient.
The following user(s) said Thank You: xenon-alien

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

More
28 Jul 2020 18:03 - 28 Jul 2020 18:09 #176265 by xenon-alien

If you are starting with someone else's 5i25+7I76 configuration,
changing the card name and driver line should be sufficient.

OK! Thanks!
It was just a 5i25 without 7I76
Last edit: 28 Jul 2020 18:09 by xenon-alien.

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

More
28 Jul 2020 18:18 #176267 by PCW
OK If that's the case, you are likely better off starting with a fresh configuration from pncconf
for a 7I76e.

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

More
28 Jul 2020 18:44 #176273 by xenon-alien

OK If that's the case, you are likely better off starting with a fresh configuration from pncconf
for a 7I76e.

I'm doing so. And the rest 5i25 data will copy/paste in my HAL file.
I hope it will work.

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

More
31 Jul 2020 15:05 #176669 by xenon-alien
Today I just tried to replace everything in original Spindle.hal file for my 7i76E board and my stepgens, but No success...
Not really understand the values in .ini file...
I have a nema17 stepper motor 1/2 microstepping, so for a full rotation I have 400 steps. Belt drive Encoder for 600pps + ratio 1.5 : 1 = 900pps and I have 3600 in the ini file (generated config with PncConf working well with this values)
But in modification not...
On m19 r0 it can just stop in random position, or rotating endless
If I type in m19 r180 it's speeds up and goes into resonance till I do not turn of with m5.
Is it possible to use the spindle like a Rotary Axis somehow?
Maybe the index impulse is too long? (short video Step/Dir Spindle in my insta)
www.instagram.com/p/CDO4g4rpxAl/
www.instagram.com/p/CDKCD-LJB8n/

Attachments:

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

More
02 Aug 2020 19:48 #176931 by xenon-alien
So, I figured out.
The ENCODER_SCALE must be equal to STEP_SCALE in microsteps, but in my case it's impossible.
How can it be modificated to use different STEP_SCALE?
For now I use ENCODER_SCALE = -3600 (rotating to other direction needed in my case "-") and 3200 microstepping and looks really close to reality.
www.instagram.com/p/CDZfz0qJsZ8/

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

More
02 Aug 2020 20:49 #176936 by tommylight
Attaching instagram pictures does not work, all i get is blank space.
Anyone else having this issue ?

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

Time to create page: 0.124 seconds
Powered by Kunena Forum