Advanced Search

Search Results (Searched for: stepper spindle)

  • Masiwood123
  • Masiwood123's Avatar
05 Dec 2025 22:13
Replied by Masiwood123 on topic Hybrid Manual/Stepper Control

Hybrid Manual/Stepper Control

Category: General LinuxCNC Questions

forum.linuxcnc.org/27-driver-boards/4698...7i96s?start=0#252760

I made a lathe with manual control of two axes simulatively, although apart from the servo motor as the main spindle I didn't have another axis as in your Z that could do its thing while these two are moved manually as I understood. maybe something in this topic can help.
  • jaro_p
  • jaro_p's Avatar
04 Dec 2025 13:48 - 04 Dec 2025 14:07

Changes in configuration files generated in pncconfig for 7i76 to 7i78

Category: Configuration Tools

Thanks for the answer, but I understand that I have to edit it.
Only the 7i76 card has a different pin arrangement. Otherwise, the pins on P1 are DB25. Fortunately, the pins for the first four axes are identical. I already wrote that, it works without problems.
But while the 7i78 has spindle control, serial interface and encoder for the spindle on pins 05-13, the 7i76 has an output for the fifth stepper motor, two serial interfaces and an encoder on the same pins. That encoder is labeled ENx, unlike the encoder on the 7i78 - it is QUADx. I don't know if it's the same.
So if, for example, I activate the spindle encoder on P1 in pncconf, will it be the same for the 7i78? And further, on connectors P1 and P2 (on which the 7i78 can be physically located), there is no option to set spindle dir, enable. I set this on P7 but I need it to be on P1. Will it be enough to overwrite the IO number and will it work?
Let me not forget, on the P7 pins it is possible to set the direction of rotation for the spindle - two pins, but on the P1 DB25 there is a SPINDIR pin which is one pin. So if I set one pin on P7 to CW and the other to CCW, will it get to the right place on the 7i78?
  • LearningLinuxCNC
  • LearningLinuxCNC's Avatar
04 Dec 2025 01:54
Mesa 7i76eu Encoder Questions was created by LearningLinuxCNC

Mesa 7i76eu Encoder Questions

Category: Driver Boards

I have a 7i76eu that I am using on a new lathe conversion. I must have something wrong with firmware or something on the 7i76eu. The configuration is set up with 3 encoders is what it says. I only have one encoder connected to the 7i76 on tb3. It is configured as single ended jumpers w11 w12 and w16 all set to the left position (up in my case). When I look at the inputs in halshow the A signal is showing up as the A signal on encoder 0, the B signal is showing up as the A signal on encoder 1 and the index signal is showing up as the A signal on encoder 2.

What do I have incorrect here. My mesa setup is a 7i76eu with just a 7i73 pendant smart serial card. I have one spindle drive, one encoder that I am using on the 7i76 two steppers and several io.

I downloaded the firmware pack from Mesa. I installed one that just had the 7i76in the name but no other cards. Which firmware should I use in this case? 

Not sure if this is a config or a firmware mismatch issue. Any help would be appreciated.
  • Hexagon
  • Hexagon
30 Nov 2025 18:22
EtherCAT servo as main spindle was created by Hexagon

EtherCAT servo as main spindle

Category: EtherCAT

Hello, everyone. I have a problem configuring a servo from StepperOnline: A6-1000EC. My goal is to control this servo via the python api. It should be possible to position it between 0 and 360° as well as rotation with different speeds.

My first attempt was to configure the servo as an angular axis. Then I wrote a simple python program to control the axis via JOG_INCREMENT and JOG_CONTINOUS. For absolute positioning I switch to MDI mode and send my target position. This works totally fine, but I can't run gcode with this solution, because I can't turn the servo continuous in one direction.

So I tried setting up this as a spindle instead. At first I changed my xml so I can process target-velocity and control-mode. Then I used a mux2 to change the control-mode depending on the use of M3/M4/M5 or M19. This works fine and my frequency drive changes between mode8 and mode9. The spindle control with M3/M4/M5 also works fine, but when I enter a command like M19 R180 Q2 P0 the servo drive throws a fault. When the target position is near the actual position this works, so I assume it is some sort of following error. My bigger problem is, that the actual position of the motor after using M3 for some time is very large, cause it is not restricted to one revolution. Is there a way to change that? At my first attempt using it as an axis I used wrapped_rotary, but that only affected the display, not the actual value.

Does anyone know what I could do, or if there is a better way for the use of an servo as position and continuous motion?

Many thanks in advance
  • unknown
  • unknown
30 Nov 2025 07:30
Replied by unknown on topic Red Init & Done Lights on 7i92M

Red Init & Done Lights on 7i92M

Category: Driver Boards

First, is the a 7I92M or 7I92TM?
 
This is old machine, so it's probably an old board, so it's probably a 7i92M (sans "T").


Just for future reference, the age of machine will have no bearing on whether it's a T or sans T. It will depend on the period the card was bought. History will show the the Spartan 6 FPGA was hard to get at one stage, hence the switch to the Trion device.

In real life, despite what the "maker community" will tell you, a capacitor isn't the end all and be all. Also you'll really need to know the load current,ripple and frequency for determining the capacitor reqired, which will differ from application to application, just mentioning this as a PSA.
What is the best option is a quality PSU, yep a bench PSU is great for testing, a genuine Meanwell or Weidmüller (depending on where you are not as easy to get hold of and a little more $$$) supply wont let you down once installed, I only mention these as these are the ones I've been using for eons, all DIN rail mount. I usually switch the computer PSU on, then the MESA boards PSUs, then the stepper power and finally the servo driver for the spindle. To tell the truth with all the relays (self latching) and stuff the PSU wiring was way more complicated than maybe what is should have been. But each circuit controlling the mains is independently controlled.
Regarding powering the 7i77/7i776 or any other DB-25 daughter I've been powering mine(7i76/7i74/7i73/7i83)by the DB-25 connector, found it to be a simple and solid solution. The 7i73 & 7i83 are also powered by the smart serial cable via the 7i74.
  • Will_cnc
  • Will_cnc
29 Nov 2025 22:10

Machine fails to get past G1 "spindle-at-speed" issue EtherCAT spindle

Category: EtherCAT

Hi everyone,I’ve recently finished mounting my machine to its base and tidying up the wiring, so I decided to try running a quick program to see if everything was working properly.Machine Configuration:
  • Controller: Raspberry Pi 5
  • Servos: 3 × Leadshine EL8 servo drives with 400 W motors (EtherCAT)
  • Spindle: 1 kW StepperOnline drive (EtherCAT)
The program starts fine, but the machine seems to get stuck at the first G1 command.After doing some reading, it looks like this could be related to the “spindle-at-speed” signal in the HAL configuration.Because I’m using EtherCAT, I’m not sure where this needs to be handled:
Should the spindle-at-speed signal be configured in the HAL file, or Is it something that needs to be set up in the .comp file for the EtherCAT drive?

Any guidance or examples on how to handle this signal within an EtherCAT setup would be really appreciated. when the spindle is running currently I am having no feedback from the drive to record the actual speed ? 
  • Masiwood123
  • Masiwood123's Avatar
26 Nov 2025 18:35 - 26 Nov 2025 18:37
Replied by Masiwood123 on topic Physical buttons to 7i96s+7i77

Physical buttons to 7i96s+7i77

Category: HAL

2.9.0. I didn't have a 7i92 with me, so I used a 7i96s as the main card, which turned out to be better because I'm planning two additional axes later that will use steppers...now about mpg, maybe and I have an example to try...but I didn't have any experience with connecting potentiometers for feed and spindle override, and any Hal example would be valuable to me.
  • Hakan
  • Hakan
24 Nov 2025 13:24 - 24 Nov 2025 13:52
Replied by Hakan on topic an CIA402 Stepper/Servo as Spindle

an CIA402 Stepper/Servo as Spindle

Category: EtherCAT

Yes, that's what I have in the example.

It might work with the cia402pv instead of the standard cia402 also in csp mode.
But I'm not sure, the goal with that component was to add PV, and I may have
broken csp. Not that I meant to, but I didn't check thoroughly.
Also the pv-mode=true and csp-mode=true doesn't work well together,
there should really be a new logic like op-mode=3 (for csp-mode)
  • Red_D85
  • Red_D85
24 Nov 2025 11:48
Replied by Red_D85 on topic an CIA402 Stepper/Servo as Spindle

an CIA402 Stepper/Servo as Spindle

Category: EtherCAT

Hello Hakan

can i had 2 instances Cia402

Cia402dBraun for xyz and cia402pv for spindle? did you know that?
  • aDm1N
  • aDm1N's Avatar
21 Nov 2025 20:57

EtherCAT + CiA402 Servo: OP state reached, but axis won’t move (only Following E

Category: General LinuxCNC Questions

That worked well. Currently, I'm just testing that the electronics are working; the hardware isn't connected yet, so scaling isn't realistic. What is working is the C-axis and the M commands for spindle movement. The stepper motors are also moving as they should. There are still problems with the M19 command (the servo might be trying to reach a position too quickly, which isn't possible). I'm also checking that the C-axis is working reliably. Currently, there are still problems switching from M3 to S500 for a short time after the C-axis. The servo goes into overload because it seems to be trying to reach a position too quickly, which isn't possible.
  • Hakan
  • Hakan
20 Nov 2025 17:00
Replied by Hakan on topic an CIA402 Stepper/Servo as Spindle

an CIA402 Stepper/Servo as Spindle

Category: EtherCAT

Yes there is an example. Two normal stepper drives and one stepper motor spindle.
In the example directory.
 
  • Red_D85
  • Red_D85
20 Nov 2025 16:59
Replied by Red_D85 on topic an CIA402 Stepper/Servo as Spindle

an CIA402 Stepper/Servo as Spindle

Category: EtherCAT

Hi Hakan
thank you
What should the whole thing look like in the hall and ini? is there an sample?
 
  • Hakan
  • Hakan
20 Nov 2025 16:48
Replied by Hakan on topic an CIA402 Stepper/Servo as Spindle

an CIA402 Stepper/Servo as Spindle

Category: EtherCAT

You can use this component instead of the standard cia402 component.
github.com/MetalMusings/cia402pv
The drive uses PV (Profile Velocity) mode which is more suitable
for a spindle motor as it has its own speed ramp up and down.
 
  • Red_D85
  • Red_D85
20 Nov 2025 13:02
an CIA402 Stepper/Servo as Spindle was created by Red_D85

an CIA402 Stepper/Servo as Spindle

Category: EtherCAT

Hallo at all

how can i get an CIA 402 Ethercat stepper work as spindle? I had 3axes (X Y Z) that works. Anybody can help?

Greetings
  • Hakan
  • Hakan
20 Nov 2025 08:17

EtherCAT + CiA402 Servo: OP state reached, but axis won’t move (only Following E

Category: General LinuxCNC Questions

Okay, so one drive is for a spindle?
I made an adaptation to the cia402 component for the driver to work in PV (Profile velocity) mode
which is better suited to run as spindle.
Check out here github.com/MetalMusings/cia402pv
This person made it work after a while forum.linuxcnc.org/38-general-linuxcnc-q...tor-as-spindle-motor
 
Displaying 1 - 15 out of 166 results.
Time to create page: 0.763 seconds
Powered by Kunena Forum