- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Machine fails to get past G1 "spindle-at-speed" issue EtherCAT spindle
Machine fails to get past G1 "spindle-at-speed" issue EtherCAT spindle
- Will_cnc
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 1
29 Nov 2025 22:10 #339455
by Will_cnc
Machine fails to get past G1 "spindle-at-speed" issue EtherCAT spindle was created by Will_cnc
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:
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 ?
- Controller: Raspberry Pi 5
- Servos: 3 × Leadshine EL8 servo drives with 400 W motors (EtherCAT)
- Spindle: 1 kW StepperOnline drive (EtherCAT)
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 ?
Please Log in or Create an account to join the conversation.
- langdons
-
- Offline
- Platinum Member
-
Less
More
- Posts: 799
- Thank you received: 90
29 Nov 2025 22:16 - 30 Nov 2025 00:33 #339456
by langdons
Replied by langdons on topic Machine fails to get past G1 "spindle-at-speed" issue EtherCAT spindle
Did you start the spindle with M3 or M4 first?
Try this:
Put M3 at the first line of your program.
Run some random G0 commands to wait until the spindle reaches full speed, then run a G1 and see if it works.
Perhaps the spindle actually just is not at-speed yet.
Try this:
Put M3 at the first line of your program.
Run some random G0 commands to wait until the spindle reaches full speed, then run a G1 and see if it works.
Perhaps the spindle actually just is not at-speed yet.
Last edit: 30 Nov 2025 00:33 by langdons.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1071
- Thank you received: 361
29 Nov 2025 22:31 - 29 Nov 2025 22:31 #339457
by Hakan
Replied by Hakan on topic Machine fails to get past G1 "spindle-at-speed" issue EtherCAT spindle
I seem to have made a mistake in the cia402pv component with the stat-at-speed pin..
I'll look at that tomorrow. If you just want to mill you can comment out the spindle-at-speed signal and
setp Spindle.0.at-speed 1
I'll look at that tomorrow. If you just want to mill you can comment out the spindle-at-speed signal and
setp Spindle.0.at-speed 1
Last edit: 29 Nov 2025 22:31 by Hakan.
The following user(s) said Thank You: Will_cnc
Please Log in or Create an account to join the conversation.
- Will_cnc
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 1
29 Nov 2025 22:53 #339458
by Will_cnc
Replied by Will_cnc on topic Machine fails to get past G1 "spindle-at-speed" issue EtherCAT spindle
Hi Hakan
thanks for your help , I'm using the cia402pv component you put together, I can't seem to get the drive to feed back the velocity of the motor could this maybe be another issue ?
thanks for your help , I'm using the cia402pv component you put together, I can't seem to get the drive to feed back the velocity of the motor could this maybe be another issue ?
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1071
- Thank you received: 361
29 Nov 2025 23:17 #339459
by Hakan
Replied by Hakan on topic Machine fails to get past G1 "spindle-at-speed" issue EtherCAT spindle
Not the same, stat-at-speed looks for two bits in the statusword from the drive.
There is a genuine mistake made there.
But actual speed should work nevertheless, I'll take a look at that also tomorrow.
Do you see any actual speed from the lcec.0 component?
There is a genuine mistake made there.
But actual speed should work nevertheless, I'll take a look at that also tomorrow.
Do you see any actual speed from the lcec.0 component?
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Machine fails to get past G1 "spindle-at-speed" issue EtherCAT spindle
Time to create page: 0.068 seconds