Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
12 May 2024 16:23
Replied by PCW on topic Smoked my spindle - likely my fault

Smoked my spindle - likely my fault

Category: Installing LinuxCNC

Output scale should be set to the maximum RPM of the spindle
  • Swag
  • Swag's Avatar
12 May 2024 16:20

Latency, error finishing read, and IRQ affinity

Category: General LinuxCNC Questions

I thought I had, I edited the section with the IP address to my card IP address of 10.10.10.11. Obviously I’ve made a mistake, I’ll go back through it again to see.
  • moretoyswins
  • moretoyswins
12 May 2024 16:11 - 12 May 2024 19:58
Replied by moretoyswins on topic Smoked my spindle - likely my fault

Smoked my spindle - likely my fault

Category: Installing LinuxCNC

Looking at my INI file, I see pnfconf reset my OUTPUT_SCALE = 25263, but I had it set as OUTPUT_SCALE = 1 before the test.
  • PCW
  • PCW's Avatar
12 May 2024 16:10 - 12 May 2024 16:17

Latency, error finishing read, and IRQ affinity

Category: General LinuxCNC Questions

Mozmcks script requires editing to match your IP address setup
or it will not setup the irq mask.

Note that my simple script just sets the mask temporarily and would
need to be re-run after re-boot. In addition, if irqbalance is not disabled
the mask setting  will be eventually undone by irq balance.

The main point of my script is for testing
  • PCW
  • PCW's Avatar
12 May 2024 16:03

Latency, error finishing read, and IRQ affinity

Category: General LinuxCNC Questions

The i915 driver supports basically all Intel graphic chips except the GMA500 series

That kernel command line is fine
  • moretoyswins
  • moretoyswins
12 May 2024 16:01 - 12 May 2024 20:34
Smoked my spindle - likely my fault was created by moretoyswins

Smoked my spindle - likely my fault

Category: Installing LinuxCNC

Okay, so maybe I am over my head, but I thought I had this one figured out, but I was wrong.  I followed the suggestions from several posts, including [url=https://162.243.45.186/27-driver-boards/48095-cannot-make-pwm-work-on-mesa-7i96s

Edit: I am not sure what I did, but much of my original message is missing; I have tried to recreate the just of the message below:

Okay, so maybe I am over my head, but I thought I had this one figured out, but I was wrong.  I followed the suggestions from several posts, including [url=https://162.243.45.186/27-driver-boards/48095-cannot-make-pwm-work-on-mesa-7i96s

With my old GRBL controller, I used a PWM-to-voltage module to run my Spindle, an AMB 1400 FME-P DI .  The module generated 0-10v while being supplied with 24v.  I thought the 7i96s Analog Spindle Interface would replace this module.

The only power I have in the new controller is +-5v, +12v, and +48v.  Based on my interpretation of setting hm2_7i96s.0.pwmgen.00.offset-mode to TRUE, it would allow me to supply -5v to SPIN- and +5v to SPIN+ and then shift the voltage on SPIN_OUT to 0-10v.

So, I wired it up and tested it with a DVM; the voltages looked fine, at least for the speeds I tested.  So, I decided to hook up the Spindle.  I ran "m3 s3500", and the Spindle started; I cannot verify the speed, but it seemed correct.  Next, I tried "ms s10000"; the Spindle sped up, and it, too, seemed fine.  So, I decided to try "m3 s18000", (the speed I use most often), the Spindle sped up, but based on the pitch of the noise from the Spindle I think it was running at a higher speed.  I was reaching for the eStop when the Spindle went crazy, speeding up, and then there was the terrible burnt electronics smell.  My hand was over the eStop, so it only lasted a second.  I am afraid even to try to start it, fearing the worst.

As I mentioned, I used a PWM-to-voltage module previously and thought it would be safest to return to it.  The 2-PWM bit file uses STEP/DIR 4, which is my A-axis.  I did read a post about a person using software-driven PWM on an output pin, but they were using a 7i96, not a 7i96s, and it was unclear, at least to me, how they had wired it.  I would guess they wired OUT+ to PWM+ and GND to PWM—but that is only a guess.

I am at a loss as to what to try next.

Any help or suggestions would be greatly appreciated.

I am not sure whether to scrap the idea of using the Analog Spindle Interface or try to figure out software-driven PWN and return to the PWM-to-voltage module.
  • Swag
  • Swag's Avatar
12 May 2024 16:00 - 12 May 2024 16:02

Latency, error finishing read, and IRQ affinity

Category: General LinuxCNC Questions

I do not know where the i915 came from, this is a vanilla install from the distro and the 2.8 was the same. Ah, I see, it is in the rt_setup script pinned to the start of this thread. I did run that in both setups trying to bring latency down.
if ! grep -vE '^[[:space:]]*#' $GRUB_FILE | grep -E '^[[:space:]]*GRUB_CMDLINE_LINUX_DEFAULT.*i915.enable_rc6' > /dev/null
then
    echo "Disabling intel graphics power save option."
    sed -i "/^GRUB_CMDLINE_LINUX_DEFAULT=/ s/\"$/ i915.enable_rc6=0\"/" $GRUB_FILE
    do_update_grub=1
fi
  • Swag
  • Swag's Avatar
12 May 2024 15:55

Latency, error finishing read, and IRQ affinity

Category: General LinuxCNC Questions

Strange, for some reason I thought the rt_setup script had already done that.  Obviously I was mistaken as that does seem to have done the trick, have the original servo_thread value and have run multiple times through the test program. 

Really can not thank you enough and sorry that I missed that in all my other troubleshooting.
Cores: 4
Actual CPU Mask: 8
Desired CPU Mask: 8
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-21-rt-amd64 root=UUID=404def33-1162-4fb1-89b1-fe0f54513cfc ro quiet isolcpus=3 intel_idle.max_cstate=1 i915.enable_rc6=0
  • tommylight
  • tommylight's Avatar
12 May 2024 15:54
Replied by tommylight on topic Latency, error finishing read, and IRQ affinity

Latency, error finishing read, and IRQ affinity

Category: General LinuxCNC Questions

Question, why and where did you get the info about using i915 in the kernel line?
Remove that, update grub and try again.
-
Pretty sure i read hundreds of times about i915 having to be blacklisted a few years back, so using it now seems really strange.
It was an intel chipset that lasted till i965 or i945, so that is superseded, probably 15 or more years ago.
  • PCW
  • PCW's Avatar
12 May 2024 15:41

Latency, error finishing read, and IRQ affinity

Category: General LinuxCNC Questions

Can you try pinning the Ethernet IRQ to the last processor:

 

File Attachment:

File Name: pinirq_2024-05-12.txt
File Size:1 KB


Use by

mv pinirq.txt pinirq
chmod +x pinirq

sudo ./pinirq enp2s0

and then try LinuxCNC again

NOTE: Look at the script before you run it as with any script
from unknown sources, especially scripts that need sudo...

 
  • Swag
  • Swag's Avatar
12 May 2024 15:21

Latency, error finishing read, and IRQ affinity

Category: General LinuxCNC Questions

Here the results from the Debian 12 system that is not working:
Cores: 4
Actual CPU Mask: 2
Desired CPU Mask: 8
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-21-rt-amd64 root=UUID=404def33-1162-4fb1-89b1-fe0f54513cfc ro quiet isolcpus=3 intel_idle.max_cstate=1 i915.enable_rc6=0

And here the results from the Debian 10 system that is working (same computer, just swapping HDD back and forth):
Cores: 4
Actual CPU Mask: 2
Desired CPU Mask: 8
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-26-rt-amd64 root=UUID=85bd3bc9-e8c5-4aa9-99cb-c3ad9df9ef66 ro initrd=/install/gtk/initrd.gz quiet isolcpus=3 intel_idle.max_cstate=1 i915.enable_rc6=0
  • PCW
  • PCW's Avatar
12 May 2024 15:00 - 12 May 2024 15:00

Latency, error finishing read, and IRQ affinity

Category: General LinuxCNC Questions

 
Can you post the results of running this script:

File Attachment:

File Name: checkmask.txt
File Size:0 KB


to run

mv checkmask.txt checkmask
chmod +x checkmask

then

./checkmask enp2s0
  • Ehsan_R
  • Ehsan_R
12 May 2024 14:38 - 12 May 2024 14:40

LitexCNC: firmware and driver for 5A-75B and 5A-75E

Category: Driver Boards

It is normal for the position to change when you close the program.  That's why we have homing or motors with an absolute multi-turn encoder so that linuxcnc can know the new position.  It may be only a few microns, but the position is changing. this is the enabling signal on my drivers. 
If the signal is missing the motor will not move.

 

Thank you very much for your reply
Yes, your answer is logical.
But according to what is in the litexcnc docs
 
I noticed that this problem does not exist in speed mode
So putting the board in speed mode when I press the estop button solved the problem
 
  • Project_Hopeless
  • Project_Hopeless's Avatar
12 May 2024 14:35 - 12 May 2024 14:42
Replied by Project_Hopeless on topic 7i96S PSU

7i96S PSU

Category: Driver Boards

This is a hobby robot project with mostly Nema 17, so I was targeting 5 & 25 vdc, on a budget.

Hobby Robot
  • JT
  • JT's Avatar
12 May 2024 13:29 - 12 May 2024 13:34
Replied by JT on topic New subforum for physical HMI?

New subforum for physical HMI?

Category: Other User Interfaces

JET has been replaced with Flex GUI... gnipsel.com/linuxcnc/flexgui/index.html

JT
Displaying 26401 - 26415 out of 26482 results.
Time to create page: 0.696 seconds
Powered by Kunena Forum