Advanced Search

Search Results (Searched for: )

  • unknown
  • unknown
22 Sep 2025 04:06
Replied by unknown on topic Linear Move Exceeds Lower Limit

Linear Move Exceeds Lower Limit

Category: General LinuxCNC Questions

If you are able a willing to attach your hal & ini files (and any other hal files you may being using) it may be possible to run a sim of your config.
BTW what version of Linuxcnc are you using ?
  • ihavenofish
  • ihavenofish
22 Sep 2025 03:10
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

Well, that escalated quickly.

Got a servo coming tomorrow to test, it is the same as the stepper online ethercat model, except direct from the factory.

Anyone get the stepper online ethercat servos working nice with linuxcnc yet? I've seen a lot of chat around the lichuan, but not these.
  • tightmopedman9
  • tightmopedman9
22 Sep 2025 02:06
QtVCP Cannot Connect Message Dialog Box Hal Pin was created by tightmopedman9

QtVCP Cannot Connect Message Dialog Box Hal Pin

Category: Qtvcp

Using QTDragon HD, I am trying to set up a message box for a probe error check routine. In my .ini I have:
MESSAGE_BOLDTEXT = Probe Error
MESSAGE_TEXT = No Response From Wireless Probe Try Jiggling
MESSAGE_DETAILS = None
MESSAGE_TYPE = okdialog status        
MESSAGE_PINNAME = probe-error
MESSAGE_ICON = CRITICAL

In the postgui.hal file I have:
net probe-error-msg     probe_error_mgr.show-message    qtdragon.probe-error

LinuxCNC won't start due to the error:
HAL: ERROR: signal 'probe-error-msg' already has output pin
qtdragon_hd_postgui.hal:39: link failed

The signal 'probe-error-msg' is on only one line of the postgui HAL file. I've tried different types of dialog boxes, different pin names, netting to an OR2 and I've even tried making a HAL connection to the dialog box in a QTDragon sim config, pulled straight from master. 

I feel like there's something obvious I'm missing, but I can't figure it out. 

I attached my main hal, postgui hal and ini file. Warning - they're long and messy.

 
  • unknown
  • unknown
22 Sep 2025 01:52
Replied by unknown on topic Touch off, OK button greyed out

Touch off, OK button greyed out

Category: AXIS

Or you can follow the instructions here:
gist.github.com/cgomesu/70b41cfde804d4a2981029f9f71f8908


Do I need to say use Linuxcnc as your package ;)
  • unknown
  • unknown
22 Sep 2025 01:49
Replied by unknown on topic Touch off, OK button greyed out

Touch off, OK button greyed out

Category: AXIS

Uninstall 2.9.5

Manually download the 2.9.4 deb files using gdebi.
  • unknown
  • unknown
22 Sep 2025 01:47
Replied by unknown on topic New install on previously working system

New install on previously working system

Category: Installing LinuxCNC

If you could your ini & hal files and confirm the IP of the computer you are using. It could be as simple as an in correct IP in your Hal file.
  • thanks for the help
  • thanks for the help
22 Sep 2025 01:29
Replied by thanks for the help on topic Tool height setter M6 subroutine question

Tool height setter M6 subroutine question

Category: General LinuxCNC Questions

Update:

I added this to the hal file:

# --- Manual Tool Change Handshake ---
# These connect the tool change request to its "done" signal,
# and the tool prepare request to its "ready" signal.
net tool-change iocontrol.0.tool-change => iocontrol.0.tool-changed
net tool-prepare iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

And this to the ini file:

TOOL_CHANGE = manual

Now the T1 M6 command goes through like the M6 command did previously, but when I run the T1 M6 command I get an error that reads "P value out of range with G10 L1" I'll keep digging.
  • ckuecker
  • ckuecker
22 Sep 2025 00:39

New install on previously working system

Category: Installing LinuxCNC

Running 2.9.5 on a RPi 4. I had this system running well earlier, until I tried to update Easy Probe. Now, I can't communicate with the Mesa card on ETH0.

I had to replace my main PC, which wants to use the 192.168.1.x addresses. I changed the jumpers on my 7i96s to 10.10.10.10, and I can ping the card.

When I run LinuxCNC, I get the attached report.
Any suggestions?
  • Rockwood
  • Rockwood
21 Sep 2025 23:17 - 21 Sep 2025 23:44
Dynamic soft limits was created by Rockwood

Dynamic soft limits

Category: PathPilot

Hey All,
I'm not sure if this is the right place for this. But I'm working with a Tormach 1500MX that has a PathPilot control.
I built a complicated fixture for running the same part over and over. I wanted to have the soft limits prevent the tool from hitting the fixture. Which means having different X and Y limits when the Z axis is low enough to have the tool in the fixture. Also to prevent Z from lowering into the fixture unless X and Y are correctly positioned.

I ended up with this added to tormach's postgui hal file:

#rockwood edit , the below is for setting dynamic soft limits to protect from crashing into fixture when in "run" mode, "Setup" accessed with the built in tormach keyswitch, will have full travel. All units are inches.
#If Z < -3.187: X and Y limits switch to narrow windows (X:[14.349-15.175], Y:[5.674-6.559]); else use factory limits.
# Z min is -3.187 by default; becomes -11.494 when BOTH X and Y are within their narrow windows.


#load and name components I will need later,  and2 components have to be added in "tormach_mill_ethercat_csp.hal" 
loadrt mux2 names=mux.xMin,mux.xMax,mux.yMin,mux.yMax,mux.zMin,mux.zMinSetup
loadrt comp names=comp.zBelow,comp.x_ge_min,comp.x_le_max,comp.y_ge_min,comp.y_le_max

# add stuff to servo thread
addf comp.zBelow     servo-thread
addf comp.x_ge_min   servo-thread
addf comp.x_le_max   servo-thread
addf comp.y_ge_min   servo-thread
addf comp.y_le_max   servo-thread
addf mux.xMin        servo-thread
addf mux.xMax        servo-thread
addf mux.yMin        servo-thread
addf mux.yMax        servo-thread
addf mux.zMin        servo-thread
addf mux.zMinSetup   servo-thread     
addf not.setup-mode  servo-thread      
addf and.narrow      servo-thread      
addf and.znarrow     servo-thread      
addf and.xInWin      servo-thread
addf and.yInWin      servo-thread
addf and.xyInWin     servo-thread


setp comp.x_ge_min.in0  14.349                                          # comp.x_ge_min.in0 is set to X narrow MIN setting
setp comp.x_le_max.in1  15.175                                          # comp.x_le_max.in1 is set to X narrow MAX setting
net motor.00.feedback-position comp.x_ge_min.in1 comp.x_le_max.in0      # current X postion is sent to *min.in0 and *max.in1

setp comp.y_ge_min.in0  5.674                                           # comp.y_ge_min.in1 is set to Y narrow MIN setting
setp comp.y_le_max.in1  6.559                                           # comp.Y_le_max.in1 is set to Y narrow MAX setting
net motor.01.feedback-position comp.y_ge_min.in1 comp.y_le_max.in0      # current Y postion is sent to *min.in0 and *max.in1

setp comp.zBelow.in1   -3.187                           # set in1 to our fixture height threshhold:
net motor.02.feedback-position  => comp.zBelow.in0      # assign current Z position to comp.zBelow.in0
net z-below-thresh     comp.zBelow.out                  #create z-below-thresh this is true when Z is extended into the fixture 

net x-ge-min            comp.x_ge_min.out    => and.xInWin.in0          # is X > than MIN?
net x-le-max            comp.x_le_max.out    => and.xInWin.in1          # is X < than MAX?
net x-inrange           and.xInWin.out                                  # if both are true than so is x-inrange

net y-ge-min            comp.y_ge_min.out    => and.yInWin.in0          # is Y > than MIN?
net y-le-max            comp.y_le_max.out    => and.yInWin.in1          # is Y < than MAX?
net y-inrange           and.yInWin.out                                  # if both then y-inrange

net x-inrange           => and.xyInWin.in0
net y-inrange           => and.xyInWin.in1
net both-inrange        and.xyInWin.out                                 # if both X and Y are in range, then both-inrange

#these mux contain the limit values. 
setp mux.xMin.in0   -0.000001   #factory default
setp mux.xMax.in0    19.68500   #factory default

setp mux.yMin.in0   -0.000001   #factory default
setp mux.yMax.in0    13.77900   #factory default

setp mux.zMinSetup.in0    -14.0   #this is the factory default Min Z, IF we are in setup mode this should always be the value.
setp mux.zMinSetup.in1    -3.187  #this is a zMin just above the fixture. this is default when in run mode. it changes only when X and Y are in the narrow window.   

setp ini.2.max_limit 0.000001  #setting Z max to factory limit. this is a fixed value.

# Narrow windows: X and Y
setp mux.xMin.in1    14.349
setp mux.xMax.in1    15.175
setp mux.yMin.in1     5.674
setp mux.yMax.in1     6.559

setp mux.zMin.in1     -11.494  #this is 1mm below cutting height, to be allowed only when x and y are within window 

#modeswitchsig is from tormach, its TRUE when in setup mode. im flipping it and creating "not-setup" which just means run mode.
net modeswitchsig       => not.setup-mode.in
net not-setup       not.setup-mode.out

#if z-below-thresh and not setup, then we narrow x and Y windows
net z-below-thresh and.narrow.in0
net not-setup      and.narrow.in1
net narrow-enable  and.narrow.out
net narrow-enable  mux.xMin.sel
net narrow-enable  mux.xMax.sel
net narrow-enable  mux.yMin.sel
net narrow-enable  mux.yMax.sel

#mux.zmin setup just exists so we can go all the way down in setup mode
net not-setup mux.zMinSetup.sel 
net z-min-default mux.zMinSetup.out mux.zMin.in0    #This assigns a default Zmin -3.187 if in "run" mode, -14 if in "setup mode"

#If X and Y are in the window and not-setup then set the Zmin mux to true, changing our z min value
net both-inrange  and.znarrow.in0
net not-setup     and.znarrow.in1
net z-narrow      and.znarrow.out
net z-narrow      mux.zMin.sel

# set axis limits min/max from the muxes
net x-min-dyn  mux.xMin.out ini.0.min_limit
net x-max-dyn  mux.xMax.out ini.0.max_limit
net y-min-dyn  mux.yMin.out ini.1.min_limit
net y-max-dyn  mux.yMax.out ini.1.max_limit
net z-min-dyn  mux.zMin.out ini.2.min_limit
#Rockwood edit over
 


I've tested it, just jogging around and with MDI commands. It seems to be working. But this is my first time using linuxCNC. So I'd love a reality check from anyone more familiar. Does this make sense or is there a better way to do it? Am I adding too much to the servo thread? Is there something I should check to make sure I'm not slowing stuff down too much? 

In the future, I want to get rid of all the hard-coded numbers. I want to store them in another file or at least one clear location in the postgui file. Preferably, I could process the "narrow window" numbers from a work offset, so I can move the fixture in the future and change the offset. But I would want to then lock that or all offsets from being edited easily, maybe using the same setup mode keyswitch. I'm not sure how to handle that yet. If anyone has ideas, I'd love to hear them.

Thanks for your time!
 
  • RayJr
  • RayJr
21 Sep 2025 22:42
Replied by RayJr on topic Touch off, OK button greyed out

Touch off, OK button greyed out

Category: AXIS

What is the best way to move from 2.9.5 back to 2.9.4?
  • MaHa
  • MaHa
21 Sep 2025 21:25 - 21 Sep 2025 21:51
Replied by MaHa on topic FlexGui -Touch off

FlexGui -Touch off

Category: Other User Interfaces

I had time for some investigation. When touchof before running a gcode, (self.gui_path) in the file touchoff.py  leads to /usr/lib/libflexgui. but after running a gcode (self.gui_path) contains /home/miller/linuxcnc/configs.

Toolchange popup is affected also the same way.
  • scsmith1451
  • scsmith1451's Avatar
21 Sep 2025 20:55
Replied by scsmith1451 on topic Linear Move Exceeds Lower Limit

Linear Move Exceeds Lower Limit

Category: General LinuxCNC Questions

I have my machine configured for both and home on all axes.
  • scsmith1451
  • scsmith1451's Avatar
21 Sep 2025 20:52
Replied by scsmith1451 on topic Linear Move Exceeds Lower Limit

Linear Move Exceeds Lower Limit

Category: General LinuxCNC Questions

Your assumptions are correct for both the table and the block.
  • choppter
  • choppter
21 Sep 2025 18:02 - 21 Sep 2025 18:16

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Hi meister,

Really cool project! I was thinking about combining FPGA support and  LinuxCNC on an  Ultra96  board (Xilinx/AMD Ultrascale device, 4x ARM64 cores and FPGA on the same chip) for years, but had no clue how the HAL messaging works. But with your UDP example as a base it was really easy! Below is a pic of the demo system, which is the Ultra96 itself, a simple self made interface board and the CNC Shield v3.0 at the top. And of course a video . :-)When I was done I saw you had added and experimental "axi" plugin and it looks like you had the same idea like me, but it did not work for me. In case you are interested, I could send my versions of the verilog and and c-code portion and maybe you could add it in a later version of your code generation magic.

Thomas 

 
  • thanks for the help
  • thanks for the help
21 Sep 2025 17:12
Replied by thanks for the help on topic Linear Move Exceeds Lower Limit

Linear Move Exceeds Lower Limit

Category: General LinuxCNC Questions

oops....sorry.
Displaying 2461 - 2475 out of 22561 results.
Time to create page: 1.516 seconds
Powered by Kunena Forum