Advanced Search

Search Results (Searched for: )

  • JT
  • JT's Avatar
Today 11:58
Replied by JT on topic Is mini still available?

Is mini still available?

Category: Other User Interfaces

Mini was depreciated in LinuxCNC 2.7.
You could make a similar GUI using Flex GUI.
gnipsel.com/linuxcnc/flexgui/index.html

JT
  • Billiiles
  • Billiiles
Today 09:13
Replied by Billiiles on topic Axis and tool length sensor troubles

Axis and tool length sensor troubles

Category: General LinuxCNC Questions

Hi all
After a couple of years, I am finally back and ready to making chips. I have a router, use steppers on parport. Linuxcnc is 2.9.4, debian:

Linux cnc0 6.1.0-35-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.137-1 (2025-05-07) x86_64 GNU/Linux

The router works, I can cut stuff etc. not the problem. The job that I want to do soon requires quite a few tool changes. So far I did it using the dowel method, but that is very time consuming. Sure an automatic tool changer would be perfect, but that's up for in a later stage. For now I have a tool length sensor, that I would like to use with my collet spindle to get tool length set after a manual tool change.

When I run tcdemo.ngc:

- goes to change position
- when I hit "Tool change complete", goes to zmax, tool sensor x and y, starts going towards the sensor.
- As soon as the sensor is touched, I get "Probe tripped during non-probe move" and program is stopped

How can I get over this?

I attach the relevant files in zipped folder "toollength_problem.zip"

Greez
chris

You might want to double-check that the
G38.x
command is active before motion toward the sensor begins. Also, review your HAL and INI files to confirm the probe input isn't being tripped by noise or an early signal. Did you try adding a small delay before the probe move to stabilize the signal?
  • bladekel
  • bladekel
Today 09:02
Replied by bladekel on topic How to control brake before moving ?

How to control brake before moving ?

Category: HAL

Maybe have a look at the 'joint.N.unlock' pins:
linuxcnc.org/docs/html/man/man9/motion.9...OINT%20unlock%20pins
 

It seems to work for me.
Is there any example for unlocking an axis?
  • cadcam
  • cadcam
Today 07:45
Replied by cadcam on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

Does anyone have lathe working?

Run - python3 ncam and mill loads
Run - python3 ncam -c lathe and get the attached errors

Thanks
 
  • ginarypu
  • ginarypu
Today 07:07
Replied by ginarypu on topic (solved) python error on startup

(solved) python error on startup

Category: General LinuxCNC Questions

 

File Attachment:

File Name: change.ngc
File Size:2 KB
Went to startup linuxcnc today and am getting the following error

Found file(REL): ./custom.hal
initialize: module '/home/peter/cnc/taigmesa/python/toplevel.py' init failed:
Traceback (most recent call last):

File "/home/peter/cnc/taigmesa/python/toplevel.py", line 19, in <module>
import remap space waves

File "python/remap.py", line 19, in <module>
from stdglue import *

File "python/stdglue.py", line 59

print "change_prolog: Toolchanger soft fault %d" % int(self.params[5601])

^

SyntaxError: invalid syntax

Interp ctor: can't instantiate Python plugin
initialize: module '/home/peter/cnc/taigmesa/python/toplevel.py' init failed:
Traceback (most recent call last):

File "/home/peter/cnc/taigmesa/python/toplevel.py", line 19, in <module>
import remap

File "python/remap.py", line 19, in <module>
from stdglue import *

File "python/stdglue.py", line 59

print "change_prolog: Toolchanger soft fault %d" % int(self.params[5601])

^

SyntaxError: invalid syntax

Python plugin configure() failed, status = -11
Python plugin required for prolog=, but not available: 78:REMAP = M6 modalgroup=6 prolog=change_prolog ngc=change epilog=change_epilog
Python plugin required for epilog=, but not available: 78:REMAP = M6 modalgroup=6 prolog=change_prolog ngc=change epilog=change_epilog

emc/task/emctaskmain.cc 3084: can't initialize interpreter 

If I comment out the
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=change epilog=change_epilog
from my ini file all is well, but obviously no tool change.
With it in it eventually starts up after the error above but is unusable.

Chacking against git history show no significant changes that I can see.

Linuxcnc version 2.9.3
UI is Gmoccapy
Python version is 3.7.3

Unsure where to start.Update all
print
statements in your custom Python files (
stdglue.py
,
remap.py
, etc.) to use Python 3 syntax—i.e., wrap them in parentheses.Also check for other Python 2-isms:
  • xrange
    range
  • iteritems()
    items()
  • raw_input()
    input()
  • Integer division (
    /
    vs
    //
    )

 

  • Aciera
  • Aciera's Avatar
Today 05:07
  • kn612
  • kn612
Yesterday 01:49
Replied by kn612 on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

Thank you so much.  I was able to create a 7i97t config.  No errors on starting or shutdown.  The 7i97t stays connected.  

​​​​
  • tommylight
  • tommylight's Avatar
Yesterday 01:04
Replied by tommylight on topic RIP

RIP

Category: Off Topic and Test Posts

He was one of the wild ones, RIP.
  • unknown
  • unknown
Yesterday 00:55
RIP was created by unknown

RIP

Category: Off Topic and Test Posts

  • SebastianM
  • SebastianM
Yesterday 21:25 - Yesterday 21:33

"KeyError" suddenly appears after moving a limitswitch

Category: QtPyVCP

Hey guys!
My linuxcnc / probebasic started to show a weird behaviour today.
After I start the system and home the machine, I get a popup saying "KeyError" _everytime_ when I jog any of the axes.
I can ignore that message, but it comes back everyime I jog again (no matter if via keyboard, softkey or pendant).

BUT - what I found out... as soon as I zero one of the axes (or all three), the error is gone.
I have not changed anything in my (software) config the last week, BUT I have modified my x axis yesterday and therefore moved the limitswitch a bit. 
Can this somehow be related? The popup says somewthing with "...active.WCSoffset..."... maybe some cached value doesnt fit anymore after I moved that switch?


Thx in advance!
  • PCW
  • PCW's Avatar
Yesterday 20:07 - Yesterday 21:49
Replied by PCW on topic How to control brake before moving ?

How to control brake before moving ?

Category: HAL

net canMove not.0.out => stepgen.3.enable

My guess is that this causes the following error
when motion starts and this is still false.
That is, the commanded position is changing but
the stepgen is disabled so cannot follow ( so the
stepgen feedback is static) so you get a
following error.

Edit:

If linuxCNC is allowed to start motion before the brake is released,
Expanding the following error limits seem like the easiest solution.
However now this joint will lag the others so coordinated motion would
not be possible.

Is there some way to use digital inputs and outputs in the
gcode to manage the brake? That is, use a digital output
to enable the brake and a digital input to signal when the brake was
full applied and fully released. You would do this using M62,M63 and
M66 in the gcode and the hal digital input and output pins.

www.linuxcnc.org/docs/devel/html/gcode/m...e.html#mcode:m62-m65
  • scsmith1451
  • scsmith1451
Yesterday 20:06
Replied by scsmith1451 on topic Set program zero using XY positioning laser

Set program zero using XY positioning laser

Category: Advanced Configuration

If I understand the BUTTON_1_CODE correctly, the G10 L20 P0 coordinate system is always offset to the fixed values defined by X and Y. How does positioning the cross-hairs to a difference starting position translate the offsets to the new location correctly?
  • Aciera
  • Aciera's Avatar
Yesterday 19:00
Replied by Aciera on topic Weird G54 orientation

Weird G54 orientation

Category: General LinuxCNC Questions

Well all I can say is that clearly your G54 offset values are wrong. So if those values are set in Fusion then you would need to look there.
Also you have tool offsets not only in Z but also in X and Y which is a bit unusual.
  • vale
  • vale
Yesterday 18:48
Replied by vale on topic Homing Stepperonline A6

Homing Stepperonline A6

Category: EtherCAT

Hi,

No thanks, i already got it working with the same EL7 homecomp and forgot to update this ;)
Was waiting for the beckhoff modules to arrive and got them today, so i can finally continue now!
  • claytoncramer
  • claytoncramer
Yesterday 18:39
Replied by claytoncramer on topic Is mini still available?

Is mini still available?

Category: Other User Interfaces

That antiquity came with a browser too old to support ChatGPT. I see references to the mini code still being available. Does anyone know to install it?
Displaying 1 - 15 out of 24993 results.
Time to create page: 0.237 seconds
Powered by Kunena Forum