Advanced Search

Search Results (Searched for: )

  • snowgoer540
  • snowgoer540's Avatar
27 Nov 2025 23:55

QtPlasmaC – Magic Comments not creating materials from G-code

Category: Plasmac

Thank you for the help, I had narrowed it down to the rewrite_material_file method before I left for Thanksgiving dinner.  You definitely saved me time getting the rest of the way there.  From what I can tell without doing a bunch of digging, getp will return 'TRUE' or 'FALSE' when the halpin is setup as a 'bit'.  

I pushed your fix for this to the master branch:  github.com/LinuxCNC/linuxcnc/commit/7333...d08fd2855851c8ee91b3

I also found a copy/paste bug and fixed that as well.

Thank you again!
  • Z3n
  • Z3n
27 Nov 2025 23:20
Replied by Z3n on topic Converting a Brother TC215 to LinuxCNC

Converting a Brother TC215 to LinuxCNC

Category: Milling Machines

I’ll post my wiring diagrams once I’ve got them more organized, I’m working out of a google sheet that’s set up for tracking the status and purpose of each wire. 
  • tommylight
  • tommylight's Avatar
27 Nov 2025 23:19
Replied by tommylight on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

Try in MDI
S0
Before
M5
  • RotarySMP
  • RotarySMP's Avatar
27 Nov 2025 23:15 - 27 Nov 2025 23:16
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

Okay, I think I understand why it is doing what it does. 

The brake is working, but only during a speed change. So with C13 = 0.5S, and C023 at 110% current, the spindle speed change from 70 Hz to 20 Hz is braked (nicely). So that solves my decel between CSS facing cuts.

But switching spindle off, makes the spindle coast down. Since I am commanding the VFD with analog 0-10V, I thought spindle off just meant 0V commanded, but now I think about it, I sort off remember being surprised that is not the way LinuxCNC works. I suspect the spindle stop actually  deactivates the spindle drive enable signal which I have connected to VFD Pin 28,  and therefore the VFD is disabled every stop.

Since I controlling the VFD with a 0-10V analog signal, what can I do to have  LinuxCNC set that analog signal to 0V when I command a spindle stop?

I thought I was only only using Pin 28 it for machine start up and shut down, and E-Stop. It looks like I need to put a delay onto that disable to give the VFD time to be braked down to stop with the analog speed command, before the VFD is disabled.
  • spumco
  • spumco
27 Nov 2025 22:00
Replied by spumco on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

Those are the thermal overheat switch, which with that wiring will cut power to the main VFD in the case that the brake module overheats. To test it, that connection is not necessary.
 

Makes sense now that I look at the diagram more closely.

Are the LED's on the brake module illuminated?  Green for ready, yellow for braking active?  Just trying to work out if your #2 (dead component) theory is true.
  • tommylight
  • tommylight's Avatar
27 Nov 2025 21:51
Replied by tommylight on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

OFF topic/rant

3/ I only have 16A feed at 400V.

Just to make Americans green with envy (i was granted American citizenship but i never went there :) ):
I have that in every room in the house, that is 3 phase, each capable of 400V at 16A!
And in the shops there are everywhere 3X400V/32A sockets, so yes we can charge electric cars very fast at home, but we do not have many of those cars. I would like one that can do about 50-100KM on a single charge as that is sufficient for my daily use, but i would need another car for longer distances, so i am sticking to my diesel for now...until i build one with some drone batteries and some servo motors i have around the shop! :)
  • tommylight
  • tommylight's Avatar
27 Nov 2025 21:44
Replied by tommylight on topic Physical buttons to 7i96s+7i77

Physical buttons to 7i96s+7i77

Category: HAL

copy the .comp file to your home folder, open terminal:
sudo halcompile hyst.comp --install
That will compile and install the file/component where it belongs, then in the hal file there should be the entries pertaining to hyst and it's generated pins as above posted entries from Cofhal
  • Masiwood123
  • Masiwood123's Avatar
27 Nov 2025 21:27 - 27 Nov 2025 21:28
Replied by Masiwood123 on topic Physical buttons to 7i96s+7i77

Physical buttons to 7i96s+7i77

Category: HAL

thank you very much, I will try this tomorrow related to hal file, this is an example for a spindle, I believe it is similar for feed? I also need information on where this file should be located, in which Linux folder ``hist.comp``? and do I need to add any line to the ini, except halfile=...
  • COFHAL
  • COFHAL
27 Nov 2025 21:10 - 27 Nov 2025 21:11
Replied by COFHAL on topic Physical buttons to 7i96s+7i77

Physical buttons to 7i96s+7i77

Category: HAL

 

File Attachment:

File Name: hyst.comp
File Size:2 KB
#SE USAN CON LOS POTENCIMETROS DE OVERRIDE PARA QUE AL ENCENDER LA MAQUINA MUESTRE EL VALOR CORRECTO DE LA POSICION DEL POTENCIOMETRO

loadrt hyst names=hyst.feedpot,hyst.SPDLpot
loadrt mux_generic config=fs2,fs2

#SE USAN CON LOS POTENCIMETROS DE OVERRIDE PARA QUE AL ENCENDER LA MAQUINA MUESTRE EL VALOR CORRECTO DE LA POSICION DEL POTENCIOMETRO

addf mux-gen.00 servo-thread
addf mux-gen.01 servo-thread
addf hyst.feedpot servo-thread
addf hyst.SPDLpot servo-thread

# --- OVERRIDE SIGNALS ---

# --- ANULAR VELOCIDAD DE AVANCE Y DEL SPINDLE ---
# ----BIT DIRECT VALUE

setp halui.feed-override.direct-value true
setp halui.spindle.0.override.direct-value true

# ESTABLECER ESCALA DE CAMBIOS DE LA ANULACION DE AVANCE Y SPINDLE

setp halui.feed-override.scale 0.01
setp halui.spindle.0.override.scale 0.01

#
OVERRIDE AVANCE

setp hyst.feedpot.gain 0.05
setp hyst.feedpot.deadband 0.7
setp hyst.feedpot.step 1
setp mux-gen.00.in-float-00 100

setp scale.1.gain 60.61 # ESCALAR LA ENTRADA ANALOGA DE AVANCE OVERRIDE, VALOR ANALOGO 200/3 VOLTIOS = 60.61
setp mux-gen.00.in-float-00 100 # ESTABLECER EL VALOR DE AVANCE OVERRIDE EN 100% CUANDO SE APAGA LA MAQUINA

net analogin0 scale.1.in <= hm2_7i92.0.7i73.0.0.analogin0
net feedpot-raw scale.1.out

net feedpot-raw hyst.feedpot.in
net feedpot-hyst hyst.feedpot.out mux-gen.00.in-float-01
net machine-is-on mux-gen.00.sel-bit-00
net feedpot-mux mux-gen.00.out-s32 halui.feed-override.counts

#
FIN OVERRIDE AVANCE

#
OVERRIDE VELOCIDAD SPINDLE----

setp hyst.SPDLpot.gain 0.05
setp hyst.SPDLpot.deadband 0.7
setp hyst.SPDLpot.step 1

setp scale.2.gain 60.61 # ESCALAR LA ENTRADA ANALOGA DEL SPINDLE OVERRIDE, VALOR ANALOGO 200/3 VOLTIOS = 60.61
setp mux-gen.01.in-float-00 100 # ESTABLECER EL VALOR DE SPINDLE OVERRIDE EN 100% CUANDO SE APAGA LA MAQUINA

net analogin1 scale.2.in <= hm2_7i92.0.7i73.0.0.analogin1
net SPDLpot-raw scale.2.out

net SPDLpot-raw hyst.SPDLpot.in
net SPDLpot-hyst hyst.SPDLpot.out mux-gen.01.in-float-01
net machine-is-on mux-gen.01.sel-bit-00
net SPDLpot-mux mux-gen.01.out-s32 halui.spindle.0.override.counts
  • jmp97
  • jmp97
27 Nov 2025 20:28 - 27 Nov 2025 20:29
Replied by jmp97 on topic Mesa 7I96s - 5 AXIS

Mesa 7I96s - 5 AXIS

Category: Installing LinuxCNC

Yes, I always get the same error. I've been trying things all day, changing the connections between the drivers that I'm sure work fine. Everything seems to be working correctly in terms of the electronics. I've tried all possible combinations with the drivers and the connections on the 7I96S.

Could there be a ‘conflict’ because there is another configuration that has worked with the same IP? Could there be some kind of ‘cache’?

If I remove the two added axes from the HAL, then I don't have any problems.
  • tommylight
  • tommylight's Avatar
27 Nov 2025 20:28
Replied by tommylight on topic Mesa 7I96s - 5 AXIS

Mesa 7I96s - 5 AXIS

Category: Installing LinuxCNC

Did you by any chance edit the hal and ini files on a windows PC, or maybe using Libreoffice?
  • Ul
  • Ul
27 Nov 2025 20:05 - 27 Nov 2025 20:08
Replied by Ul on topic Chinese Mesa 7I92 from aliexpress NEW

Chinese Mesa 7I92 from aliexpress NEW

Category: Driver Boards

Thank you for the reply, but I just flashed at least the 3.3V power regulator with 24V on the still working 7i98 instead, so it will take some time for me to do the repair. Maybe I can even program it using raspberry GPIOs then.
By that coincidence I had an EEPROM with a working firmware, which I just soldered it on the bricked card. Now it works again, but the other one doesn't.
  • PCW
  • PCW's Avatar
27 Nov 2025 19:47 - 27 Nov 2025 19:49
Replied by PCW on topic Chinese Mesa 7I92 from aliexpress NEW

Chinese Mesa 7I92 from aliexpress NEW

Category: Driver Boards

On Xilinx based cards you can use any working bitfile for fallback.
It wont have the blinking INIT LED indicator but otherwise the same.

This will protect against things like a power failure during flash update
It will not protect against writing firmware that does not work but has a
valid chip type and CRC (like firmware for a different card)

If you do have working fallback and a bad primary (Good CRC but does not work),
it is possible to recover without JTAG by intentionally causing an error in the primary
flash file load (say by shorting out the flash chip SDO pin briefly at power up)
  • Ul
  • Ul
27 Nov 2025 19:23
Replied by Ul on topic Chinese Mesa 7I92 from aliexpress NEW

Chinese Mesa 7I92 from aliexpress NEW

Category: Driver Boards

If they did supply firmware, I would try re-writing it with:

mesaflash --device 7i92 --addr 10.10.10.10 --write  vendor_supplied_firmware_file_name.bit --reload

 

My Chinese 7i98 doesn't seem to have a fallback area, so I bricked one of mine by flashing a corrupted Chinese firmware. I wouldn't try again to flash it this way.

Since then I am doing it the Chinese way:

sudo mesaflash --device 7i92 --addr 192.168.1.121 --write 7i92.bit --fix --fallback
sudo mesaflash --device 7i92 --addr 192.168.1.121 --write 7i92.bit --fallback
sudo mesaflash --device 7i92 --addr 192.168.1.121 --reload --fallback

If the firmware doesn't work, it says: "No 7I98 board found" and only one LED is on.  So I know if the firmware is bad and I don't go further. After power cycling it, the previous firmware is loaded and it works again.

If it works (and only if it works), i continue with:

sudo mesaflash --device 7i92 --addr 192.168.1.121 --write 7i92.bit --fix  
sudo mesaflash --device 7i92 --addr 192.168.1.121 --write 7i92.bit  
sudo mesaflash --device 7i92 --addr 192.168.1.121 --reload

Then I power cycle it and check the pins:

sudo mesaflash --device 7i92 --addr 192.168.1.121 --readhmid

I've tested some original 7i92 and 7i98 bitfiles and they all work perfectly, so there is no point in using Chinese bitfiles except if the "7i92" card doesn't even look like a Mesa card and really needs a Chinese custom file. I believe, even the files supplied by the Chinese are mostly original files.

I also could flash a Chinese 7i98 fallback firmware called "7i92_fallback.bit" on a Chinese 7i92, so the 7i92 had 50 pins.
But it didn't brick, so I could flash the right firmware afterwards.




 
  • Dudelbert
  • Dudelbert
27 Nov 2025 18:16

Considering a Full Rewire on a Working Schaublin 125 CNC

Category: Turning

So, I did think a bit and decided to actually go on with a change to LinuxCNC. Thanks for the replies helping me to decide in that way.

I think I will try to leave the cabling in the machine mostly untouched, but completely remake everything in the electrical cabinet.

For many of the open questions I will probably stick closely to what Rotary did, as most of the design decisions were considered by this whole forum, and the pros and cons have been carefully considered. With that, I don’t see much of a point in redoing this myself.

I will update here now and again, but only with stuff specific to my project.

With this I will definitely change the Z-axis motor and driver. I do have a Chinese AASD driver from an old project that never happened.
It’s a 1 kW motor, so definitely overkill — but it is already there, so it will work.

One other thing: in the toolholders I got with the machine there was one that does not fit the machine. See picture.
If anyone has a machine that needs this style of toolholder, or knows someone who does, I would be happy to give it away.


 
Displaying 226 - 240 out of 22281 results.
Time to create page: 0.211 seconds
Powered by Kunena Forum