Advanced Search

Search Results (Searched for: )

  • sajurcaju
  • sajurcaju
18 Apr 2025 18:37
Replied by sajurcaju on topic Odd estop problem

Odd estop problem

Category: General LinuxCNC Questions

Halscope does indeed show scattered 1V spikes on parallel port pin 3 (what I'm using for estop ext).
Estop-ext was not debounced.

I tried it again unchanged, estop not debounced. When I enabled, it immediately had an estop. Re-enabled, it took 10 seconds to estop.
I added debounce in Hal and it's been enabled for 3 hours with no estop events. Looks pretty good, more time will tell for sure.

Unfortunately, part of the debounce code is in my machine-name.hal file, which will get overwritten if I run Stepconf. Another note to my "fixing after stepconf" file. The code:

In machine-name.hal, add an intermediate net estop-ext-raw:
#net estop-ext       <= parport.1.pin-03-in-not <<as written by Stepconf>>
net estop-ext-raw       <= parport.1.pin-03-in-not

In custom.hal:
loadrt debounce cfg=2
setp debounce.0.delay 100
addf debounce.0 base-thread
net estop-ext-raw => debounce.0.1.in
net estop-ext <= debounce.0.1.out

Thank you!

 
  • aDm1N
  • aDm1N's Avatar
18 Apr 2025 18:34 - 18 Apr 2025 18:36
Replied by aDm1N on topic ChatGPT LinuxCNC Assistent

ChatGPT LinuxCNC Assistent

Category: Configuration Tools

 

File Attachment:

File Name: linuxcnc.txt
File Size:5 KB
Unfortunately I couldn't add anything more, here is the error report from linuxcnc.
  • pgf
  • pgf
18 Apr 2025 18:30

Are the program's extents available to the g-code?

Category: General LinuxCNC Questions

I wish y'all had been around when I first configured my machine... 20 years ago. :-)

After Tommy's first reply, I did some reading, and realized that since I have X and Y limits, configuring them as homing inputs as well would be trivial. And so it was, plus or minus a "+" or "-", here and there.

I think I never thought there was any point to having a true home, and really, I've gotten by without it until now. I hit the limit switches when jogging reasonably often, but they're soft-mounted, so it's not a big deal.

In any case, I'm fully configured with home+limits on X and Y now, and I have proper soft limits configured, so I'm all set. <Another high five!>

Secondary question: I don't have a Z+ limit switch. My mill is so slow I'd really have to not be paying attention for the carriage to get close to the stepper. A lower limit would be nice, but I really don't understand how that could work. My spindle is a router, so the bit length varies a lot. Is there any way to configure this to work? I see people say that they don't bother with a lower Z limit, and just rely on a soft limit there, but what would you set it to? Is there something about "real" spindles that I don't know? Are the bits always the same length?
Displaying 17131 - 17133 out of 17133 results.
Time to create page: 0.507 seconds
Powered by Kunena Forum