Advanced Search

Search Results (Searched for: )

  • MTTI
  • MTTI's Avatar
27 Nov 2025 18:11

QtPlasmaC – Magic Comments not creating materials from G-code

Category: Plasmac

Hi

This morning I was running v2.9-238.315 and later tested with v2.10-009.072. The issue was present on both versions.

I continued testing and the problem only occurs with o=1 and o=2 magic comments.
o=0 was always working correctly and did not cause any issue.

With o=1 and o=2, the material was written to the *_material.cfg* file, but QtPlasmaC showed a parameter error and did not update the material list. A restart of QtPlasmaC was required for the new material to appear.

I found the cause inside the function rewrite_material_file() in qtplasmac_gcode.
The code checks material_reload like this:
response = RUN(['halcmd', 'getp', self.matReloadPin], capture_output=True)
if not int(response.stdout.decode()):
    break
But on my installation, this command returns:
halcmd getp qtplasmac.material_reload = TRUE
Since TRUE cannot be converted to int(), a ValueError exception is raised.
This stops the reload process, which leads to the UI not updating and to the misleading “parameter missing” message.

I applied a workaround that accepts both 0/1 and TRUE/FALSE strings:
raw = response.stdout.decode().strip().upper()
if raw in ['0', 'FALSE']:
    break
else:
    continue

After this fix:

* o=1 and o=2 now correctly create or update materials
* the UI refreshes immediately
* no more incorrect popup message
* no restart of QtPlasmaC required
* o=0 continues to work as before

I also added a local improvement: after a new material is created, it is automatically selected as the current active material.

If needed, I can provide a clean patch and test G-code examples.
I am also available to run additional tests if required.

I have attached to this post the NGC file I have been using since this morning.
The temporary example file was not working either, except when using o=0

Thanks
  • PCW
  • PCW's Avatar
27 Nov 2025 17:00 - 27 Nov 2025 17:08
Replied by PCW on topic Mesa 7I96s - 5 AXIS

Mesa 7I96s - 5 AXIS

Category: Installing LinuxCNC

So it's a mystery, Your hal/ini files work for me.
(after changing to 10.10.10.10 IP address because that's how my test PC is setup)

Do you always get this error:

hm2_eth: ERROR: Could not retrieve hardware address (MAC) of 192.168.1.121: Resource temporarily unavailable

That happens before any joint/axis ini settings are processed and is only related to low level communications.

You can sometimes get this error after power cycling if the network link is not established yet, so could happen in testing
but is not in anyway related to the number of axis.

 
  • jmelson
  • jmelson
27 Nov 2025 16:36
Replied by jmelson on topic Fanuc encoders

Fanuc encoders

Category: Driver Boards

That is just a list of error codes produced by the Fanuc control. I have a working converter for the 4-wire, low speed (1.024 mbit/second) encoders. I am now trying to decipher the 2-wire, 2.73 mbit/sec encoders. I have been able to trick an encoder to start responding by flipping switches on a pulse generator. But, I tried to set up an FPGA to get the encoder to respond, and I get NOTHING!
So, these encoders apparently need a different command to select the mode before it will respond.
Jon
  • langdons
  • langdons's Avatar
27 Nov 2025 16:32
Replied by langdons on topic Converting a Brother TC215 to LinuxCNC

Converting a Brother TC215 to LinuxCNC

Category: Milling Machines

If you have made changes to any wiring, please upload the latest pic showing the current state of everything.

Thank you and good luck!
  • langdons
  • langdons's Avatar
27 Nov 2025 16:30
Replied by langdons on topic Red Init & Done Lights on 7i92M

Red Init & Done Lights on 7i92M

Category: Driver Boards

You can steal 5V from your PC either via USB or by tapping into the main power supply wires for HDDs and stuff (shut down your PC before you open it and splice wires).

There is some risk involved in doing so, but you should be fine.

Please note that USB has limited power available, you can also fry your motherboard much more easily through USB ports as they connect to the motherboard as opposed to the PSU directly.

A USB-B charger or a MEAN-WELL power supply is also a good option.

Perhaps some filter caps would help?

Large caps with a low ESR can damage your power supply/PC due to their very high inrush current; probably don't go above 470µF unless you are sure your power supply can handle it or you don't care about your power supply's survival.
  • snowgoer540
  • snowgoer540's Avatar
27 Nov 2025 16:22

QtPlasmaC – Magic Comments not creating materials from G-code

Category: Plasmac

Can you post your actual gcode file?

What version of qtplasmac are you running? It’s in the header of the window.

There is a temporary example file for
both metric and imperial in the nc_files\plasmac folder…  here: 

github.com/LinuxCNC/linuxcnc/blob/master...porary_materials.ngc
  • RotarySMP
  • RotarySMP's Avatar
27 Nov 2025 16:21
Replied by RotarySMP 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.
  • spumco
  • spumco
27 Nov 2025 15:58
Replied by spumco on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

One thing I didn't notice in the vid or the thread discussion is that there is a separate manual for the braking module.  It's referenced on page viii (Part G - 11) of the VFD manual.

The braking module manual shows a "T1" and "T2" connection on the module.. but those aren't shown in the main VFD manual.

Based on the diagram, I suspect those need mains power to 'activate' the braking module.

I'm sure there are some parameters to change as well, but this might be a possibility.  Maybe have a look?

And yes...dogshit manuals.

 
  • Z3n
  • Z3n
27 Nov 2025 15:42
Replied by Z3n on topic Converting a Brother TC215 to LinuxCNC

Converting a Brother TC215 to LinuxCNC

Category: Milling Machines

You can direct connect to via the AC Servos via a special cable through USB and their software: www.dmm-tech.com/resource-center

The 7I92 does connect via eithernet. I believe the reason for purchasing the dual board setup was to make sure there were enough axis controllers available for eventual expansion via rotary tables and things like that, as well as the appropriate spindle control for the mill.
  • Z3n
  • Z3n
27 Nov 2025 15:40 - 27 Nov 2025 15:44
Replied by Z3n on topic Red Init & Done Lights on 7i92M

Red Init & Done Lights on 7i92M

Category: Driver Boards

It is a 7I92M as per the screen printing on the board and the sticker on the back.

I did check the 5v power and it appears to be getting a very solid 5v, but I will power it independently to double check in case there is some form of low voltage immediately at power on.

Appreciate the help, I'll start the RMA process with Mesa.

Edit: Oh, and I'm assuming I should be able to configure the 7I76 / 7I77D appropriately to be powered via direct 5v and look at the lights to confirm those boards function as well? The manual is a little sparse on what the different LED patterns indicate.  
  • jmp97
  • jmp97
27 Nov 2025 15:39
Replied by jmp97 on topic Mesa 7I96s - 5 AXIS

Mesa 7I96s - 5 AXIS

Category: Installing LinuxCNC

Not, it's the same
  • langdons
  • langdons's Avatar
27 Nov 2025 15:26
Replied by langdons on topic Red Init & Done Lights on 7i92M

Red Init & Done Lights on 7i92M

Category: Driver Boards

First, is the a 7I92M or 7I92TM?
 

This is old machine, so it's probably an old board, so it's probably a 7i92M (sans "T").
  • PCW
  • PCW's Avatar
27 Nov 2025 15:24
Replied by PCW on topic Mesa 7I96s - 5 AXIS

Mesa 7I96s - 5 AXIS

Category: Installing LinuxCNC

Is the card IP address different in the 5 Axis configuration?
  • PCW
  • PCW's Avatar
27 Nov 2025 15:20
Replied by PCW on topic Red Init & Done Lights on 7i92M

Red Init & Done Lights on 7i92M

Category: Driver Boards

First, is the a 7I92M or 7I92TM? these need different firmware and recovery is
done differently.

On a 7I92M, what is expected to happen at power up is that both red LEDs will
turn on briefly and then go out. If the /INIT light never goes out (even for a fraction of a second)
at power up, its likely an issue with the 5V power so first check the 5V power.

Also on a 7I92M, if the /INIT light blinks of briefly at power up and then re-illuminates,
this  suggests corrupted firmware or some other card issue which probably requires
returning the card to Mesa for analysis/repair/replacement.

 
  • langdons
  • langdons's Avatar
27 Nov 2025 14:51 - 27 Nov 2025 15:23
Replied by langdons on topic Converting a Brother TC215 to LinuxCNC

Converting a Brother TC215 to LinuxCNC

Category: Milling Machines

How did you move the servos if that board is broken?

What USB connection?

Doesn't the 7i92 connect via ethernet?

Why is there a 7i76 and a 7i76?

Doesn't the 7i77 have enough I/O by iteself?

(I know you didn't buy those boards or wire them, it's just strange that somebody decided to use both)
Displaying 241 - 255 out of 22281 results.
Time to create page: 0.388 seconds
Powered by Kunena Forum