Advanced Search

Search Results (Searched for: )

  • hansfbaier
  • hansfbaier
Yesterday 02:58
Replied by hansfbaier on topic calling all probe basic lathe users!

calling all probe basic lathe users!

Category: QtPyVCP

I have this gang type lathe with live tools and I am thinking about converting it to LinuxCNC 
in the future:
www.smartlathe.com/products/sl-36
  • rodw
  • rodw's Avatar
Yesterday 20:32
Replied by rodw on topic Total lines in a GCode file

Total lines in a GCode file

Category: General LinuxCNC Questions

in master branch 2.10, the currently executing line number can be found on this pin
motion.interp.line-number
If you get the number of lines as gmoccappy does you can calculate the percent processed in real time

 
  • scsmith1451
  • scsmith1451's Avatar
Yesterday 20:26
Replied by scsmith1451 on topic Total lines in a GCode file

Total lines in a GCode file

Category: General LinuxCNC Questions

In case anyone else needs to work with HAL_HBar and HAL_VBar components in Glade, it turns out that I didn't have my hal file configured correctly for the HBar. Within Glade, there is a description the zone limits for color changes is based on 0.0 - 1.0 which is a fractional percentage of the MAX/MIN limits, not what is required for input. Hence, what ever the MAX?MIN limits are set to, zones are based on the fractional percentage of that range.

I had to remove the SCALE component and just net gmoccapy.program.progress directly to the GLADE HAL_HBar component for everything to work as expected.

Thank for all you help.
  • spumco
  • spumco
Yesterday 20:21
Replied by spumco on topic calling all probe basic lathe users!

calling all probe basic lathe users!

Category: QtPyVCP

it sounds like the machine you built is very specific for some dedicated work you need to accomplish. the conversational i created is really geared more towards a job shop type workflow on a traditional toolroom cnc lathe. not sure it would be of much help for your automation geared setup.

 


It's more of a 'standard' gang-tool lathe with some extra capabilities. And I look forward to using your conversational features - that's one of the primary reasons I'd prefer not to build a GUI from scratch.

The side panel is certainly one place I can stick some indicator LED's.  And I suspect not many people are running LCNC, much less PB, with a sub-spindle or live-tools.

On the other hand, I'd argue that a parts counter is lathe-agnostic.  I've seen a few LCNC parts counters (usually via Ladder) grafted on to other GUI's, but nothing 'integrated' in a GUI.

Yet every commercial CNC lathe I've seen or used has a parts counter of some sort.  Tool-room, slant-bed turret, gang-tool, VTL, etc - all the controls have some way of keeping track of parts, and using the counter's parameters/values to drive bar/slug handling macros.

A part counter with references to bar-feed sub-routines can be done entirely inside G-code (incrementing parameters), but there's no (good) way to monitor the status while a run is in-progress.  A built-in parts counter makes it gravy.
  • rodw
  • rodw's Avatar
Yesterday 20:17

Retrofitting a 3-axis VMC with DC servos - guidance needed

Category: Driver Boards

I've never used anything other than integrated graphics. no need for a seperate GPU
  • Ismacr63
  • Ismacr63
Yesterday 19:47
Replied by Ismacr63 on topic I can't reverse the spindle rotation.

I can't reverse the spindle rotation.

Category: Basic Configuration

Do i understand correctly, you have a BOB attached to Mesa, and then from BOB to PC817?
That seems redundant as you already have the GND's wired together, so might want to get rid of the PC817 as it is not isolating anything.
Is there any resistor on the input side of the PC817?
There must be one, probably a 47-100 ohm should work.
also, might want to try the pull down version, so the pin 9 to the other input of PC817, and the input that was on pin 9 to +5V. This might also require inverting the pin in hal.
 

 

Your understanding is correct:

Mesa 7i92 → Chinese BOB (5 V outputs) → PC817 module → DI4 of XP200 servo (24 V input).

I use the PC817 to adapt the 5 V level to the 24 V input of the servo, because the BOB cannot drive a 24 V input directly. Even though the grounds are connected together (no isolation), the optocoupler's output transistor acts as a simple NPN switch to pull DI4 to ground.

Can you check the output of the module with an ohmmeter?

If the PC817 module needs 5V drive you would have to connect it in sinking
mode to the 7I92. ( +5V to PC817 module IN+ 7I92 output to
PC817 module IN-  and active low output )

Is there some other issue with reverse in the hal file
( like PWM connections if you have spindle speed control )
 


I tested the sinking configuration exactly as described:

+5 V from BOB → IN+ (anode) of PC817 module

IN- (cathode) → pin 9 (GPIO12, 7I92)

Output V → DI4 (XP200), G → 24 V GND

HAL: spindle-ccw → GPIO12 with invert_output true

The LED now lights up when I activate REV (M4), and turns off in FWD (M3), exactly as expected. However, the spindle still does not reverse.

Thanks again!

 
  • scsmith1451
  • scsmith1451's Avatar
Yesterday 18:44

Shutting down a standalone GLADE panel launched with gmoccapy

Category: Gmoccapy

Using a bash script to start LCNC followed by the kill script works.

I've created a desktop launcher, however, I can't add it to my quick start panel. Seems to be a limitation associated with Debian 12.

Thanks again for pointing me in the right direction.,
  • Lcvette
  • Lcvette's Avatar
Yesterday 16:28
Replied by Lcvette on topic calling all probe basic lathe users!

calling all probe basic lathe users!

Category: QtPyVCP

@spumco
I think most of that could be done with the new user configs, pb lathe already has a large sidebar xz dro and you could add additional as needed. i think for the led/dro/the sidebar would be ideal. and the user main dro bottom panel is configurable already for any number of combinations.

it sounds like the machine you built is very specific for some dedicated work you need to accomplish. the conversational i created is really geared more towards a job shop type workflow on a traditional toolroom cnc lathe. not sure it would be of much help for your automation geared setup.

@susan-parker
sweet keep me posted! i think this would be right up your alley for your machine!
  • BartyBorris
  • BartyBorris
Yesterday 15:01

Returning to LinuxCNC After 10+ yrs, Questions on Old Mesa Hardware & New Builds

Category: Driver Boards

Yeah, I was starting to think the same, but still need to do a bit more digging regarding drivers and firmware tonight. I just built myself a new PC last year and still have the old one with a couple PCI slots... Seems like a more modern MESA setup would be Ethernet based nowadays (for my use case), but using the 5i22 would still get me going with Linuxcnc again, even though it is overkill, and many of the skills I develop would likely transfer to a more modern setup for the next project.
  • tommylight
  • tommylight's Avatar
Yesterday 14:48
Replied by tommylight on topic Cannot get out of Estop

Cannot get out of Estop

Category: General LinuxCNC Questions

Thank you for reporting back.
  • Aciera
  • Aciera's Avatar
Yesterday 14:47
Replied by Aciera on topic Total lines in a GCode file

Total lines in a GCode file

Category: General LinuxCNC Questions

Try the scale component (set gain to 0.01) to convert 0..100 to 0..1:
linuxcnc.org/docs/html/man/man9/scale.9.html
  • tommylight
  • tommylight's Avatar
Yesterday 14:47

Retrofitting a 3-axis VMC with DC servos - guidance needed

Category: Driver Boards

Dell Optiplex 790 is still usable but needs at least 4GB of RAM.
Lenovo M93 with 4000 series CPU are also good, so if this is what you can get it is better than that Optiplex.
Fujitsu from that era are also OK.
  • galmiklos
  • galmiklos
Yesterday 14:14 - Yesterday 14:21
Replied by galmiklos on topic Cannot get out of Estop

Cannot get out of Estop

Category: General LinuxCNC Questions

I found the culprit! :-)

Apparently, the customized component that handles the SPI communication with the customized remora-spi firmware is not compatible with trixie.

This is the part in the code that breaks it.
int rt_peripheral_init(void)
{
    int  memfd;
    FILE *fp;

    // assume were only running on >RPi3

    if ((fp = fopen("/proc/device-tree/soc/ranges" , "rb")))
    {

The soc ranges path is different in trixie.
root@raspberrypi:~# hd /proc/device-tree/soc\@107c000000/ranges
00000000  00 00 00 00 00 00 00 10  00 00 00 00 80 00 00 00  |................|
00000010

I modified the component so, that when the path does not exist, I just consider it as a Raspberry Pi 5 with RP1 chip, and now it works! :-)
    if ((fp = fopen("/proc/device-tree/soc/ranges" , "rb")))
    {

. . . . . . . . .

    }
    else
    {
        DEBUG_PRINT("Raspberry Pi 5, using RP1 driver\n\n");
        rp1 = true;
    }

I know it's just a quick and dirty workaround, but works for me.
  • Japoo_Ness
  • Japoo_Ness
Yesterday 14:04

Retrofitting a 3-axis VMC with DC servos - guidance needed

Category: Driver Boards

Finally, after a long wait, the boards have arrived! Now I'm looking to buy the PC to control the machine. Checking all the models you shared before, I couldn't find any of them available in my country for under $700 USD.

However, I found two options: a Dell Optiplex 790 with an i5-2400, and another refurbished PC with an i5-4400 (the seller didn't specify the exact model, just that it could be an Optiplex, HP, Lenovo, or Bangho).

Which one would recommend? Both rely on integrated graphics. Is that going to be an issue in my case? From what I've read, a dedicated GPU is usually recommended, but I'm not sure if that's only for software pulse generation or if it's recommended for hardware-assisted setups too.

Thanks in advance!
  • timo
  • timo
Yesterday 13:22
Replied by timo on topic largest NC file

largest NC file

Category: General LinuxCNC Questions

I was looking at one of my "bigger ones" and it has a measly 2kB.
About 80 000 lines of G-code. :-),
A bit of 2.5D surfacing nothing really exciting.
Displaying 1 - 15 out of 14838 results.
Time to create page: 2.406 seconds
Powered by Kunena Forum