Advanced Search

Search Results (Searched for: )

  • xenith
  • xenith
24 Aug 2025 06:39

Named subroutines containing probe ops cause backplot errors

Category: O Codes (subroutines) and NGCGUI

I believe that I have figured out my problem, however I don't quite know how to fix it. I'm using subroutines to perform different types of feature probing operations. An example program would look something like this:

preamble
o<probe_z> call [...]
o<probe_xy_boss> call []
end

When I load one of these gcode programs, I immediately get "unknown word starting with c" errors from the 3D plotter. It seems like the plotter isn't recognizing the syntax for named subroutines. If you ignore the error, then the first subroutine will run without issue. After the first probe is completed, the error will appear again for the second o code and terminate the program. I attempted to fix this by wrapping each call in a conditional like this:

o100 if [#<_task> EQ 1]
o<probe_z> call [...]
o100 endif
o101 if [#<_task> EQ 1]
o<probe_xy_boss> call []
o101 endif
end

This stopped any errors from appearing prior to cycle start. The first subroutine will execute without issue, and then the error will get triggered again immediately after the first probe. Limiting the file to a single subroutine solves the issue. The #<_task> wrapping method doesn't seem to work more than once in a file in this situation. I suspect that this has something to do with the fact that the first subroutine contains a probe operation which limits the lookahead of the controller's planner. Perhaps the backplotter is getting re-triggered after the first probe operation, but the machine is still in automatic mode since it's mid-file? Any ideas would be appreciated. I'm using probe-basic.
  • jorgearma0205
  • jorgearma0205
24 Aug 2025 06:28
displayed axis was created by jorgearma0205

displayed axis

Category: Advanced Configuration

I am updating a grinding machine which only has the y and z axes controlled by a motor, the x axis is hydraulically driven with limit sensors, I already have the machine working with an old 5i23, I configured the x axis to not have errors in pncconf by configuring a linear encoder mounted on the x axis with the intention of being able to visualize them but when running a program it shows me a tracking error obviously given that there is no x movement command and the encoder starts to count, is it possible to disable the hili of the x axis only keeping the encoder count to be able to visualize the x axis on the screen? 
 
  • karlhe
  • karlhe
24 Aug 2025 05:42 - 24 Aug 2025 06:58
Replied by karlhe on topic in linuxcnc freecad 1.0 einbinden

in linuxcnc freecad 1.0 einbinden

Category: Configuration Tools

Danke tommy,

werde es nachher gleich probieren.

karlhe

Habe ich brobiert, leider nur freecad 0.2, nich 1.0

 
  • tommylight
  • tommylight's Avatar
24 Aug 2025 00:13
Replied by tommylight on topic Need help changing axis home direction?

Need help changing axis home direction?

Category: General LinuxCNC Questions

How did you create the config?
If using the wizard, there is "invert" on the right side of every pin, so check that for direction of the axis you need.
You can also edit the .ini file and add " - " (minus sign) in front of the SCALE value for the joints/axis you need to change direction.
  • tommylight
  • tommylight's Avatar
24 Aug 2025 00:10
Replied by tommylight on topic Voron Life , for anyone going into 3D printing !

Voron Life , for anyone going into 3D printing !

Category: Additive Manufacturing

Seen that a while back, it is a version of Voron 2.4 but bigger.
I have a bigger Voron with 10mm belts all over and i think i linked to files probably twice till now, they ar eon printables.com under the toma.3d name, just in case.
  • cmorley
  • cmorley
23 Aug 2025 23:48 - 23 Aug 2025 23:51
Replied by cmorley on topic Displaying Active Work Coordinate System

Displaying Active Work Coordinate System

Category: GladeVCP

Glad you got it to work.
It errors for timing reasons it seems, the function get called before all the initiation is done.
After initiation then there is no more errors.
I ran your panel in master and it's the same.

You can quiet the message by changing the code in hal_actions.py
def on_activate(self, w):
    try:
        ensure_mode(self.stat, self.linuxcnc, linuxcnc.MODE_MDI)
        template = HalTemplate(self.command)
        cmd = template.substitute(FloatComp(self.hal))
        self.linuxcnc.mdi(cmd)
    except Exception as e:
        pass
        #print(self.get_name(),e)

 
  • benn686
  • benn686
23 Aug 2025 23:24

ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board

Category: Driver Boards

Anyone have a Lattice Diamond project for the Colorlight v8 board?

I bought the board and a HW-USBN-2A jtag programmer.. however, the litex .bit file generated doesn't seem to do anything.. no led activity, no button response, no serial output etc.

So just want to take a step back, and see if I a simple blink-led project, synthesized in Diamond works.
 
  • cmorley
  • cmorley
23 Aug 2025 22:58
Replied by cmorley on topic QtDragon feature request go_to_zero

QtDragon feature request go_to_zero

Category: Qtvcp

What version of linuxcnc are you using?
I like this idea and have it working in principle for master branch.
Displaying 13801 - 13808 out of 13808 results.
Time to create page: 0.385 seconds
Powered by Kunena Forum