Advanced Search

Search Results (Searched for: )

  • MaHa
  • MaHa
30 Aug 2025 21:49
Replied by MaHa on topic halui.mdi-command-NN pins not showing up

halui.mdi-command-NN pins not showing up

Category: HAL

There is  </vbox> missing at the end of of the .xml file
  • ziggi
  • ziggi's Avatar
30 Aug 2025 21:28 - 31 Aug 2025 08:56

Troubles to get started with SD240 Retrofit

Category: Turning

Sorry to bother you again guys. With the help of some people I have the axes and the spindle going now.
My current issue is the homing of the axes. They do not move to search for the home- switches, but just home "in place" so just where they stand. Obviously the axes pretend to "be homed" then, because softlimits are active. Signal joint.1.homed swaps immediately to yellow
If I unhome all axes I can move them where I want by jogging them- otherwise the + way is limited as it should be to 5/10mm +.
The hm2_7i80.0.gpio.026.in reacts in HAL-show on pushing the home switch manually and also the signal  "z-home-sw" swaps from red to yellow together with hm2_7i80.0.gpio.026.in.
The signal "z-is-homed" stays red .... if this is of any importance.

It is just that the search for the HOME signal does not take place. When trying to home an axis the axis motor is activated, stops immediately (does not move the axis) and sets the DRO value to 0.0
Any help appreciated
Thank you
Sigi
  • xunil
  • xunil
30 Aug 2025 19:30 - 30 Aug 2025 19:37
Replied by xunil on topic halui.mdi-command-NN pins not showing up

halui.mdi-command-NN pins not showing up

Category: HAL

Yeah, I commented those out to get LinuxCNC to start so I could look at the halui component in halshow, to see if maybe the pins were numbered differently than I expected or something. With those lines uncommented LinuxCNC won't start, since the mdi-command-NN pins don't exist.

Thanks for mentioning it though, I've certainly had forest-for-trees errors like that before where another pair of eyes spotted the problem immediately.  :)
  • MaHa
  • MaHa
30 Aug 2025 19:20
Replied by MaHa on topic halui.mdi-command-NN pins not showing up

halui.mdi-command-NN pins not showing up

Category: HAL

Just in case you are not aware that in the # Syringe section in your postgui.hal everything regarding mdi-command is commented out.
  • xunil
  • xunil
30 Aug 2025 18:34
Replied by xunil on topic halui.mdi-command-NN pins not showing up

halui.mdi-command-NN pins not showing up

Category: HAL

I’m aware of how it’s _supposed_ to work, my question is what I’m doing wrong in my configs that make halui not expose mdi-command-00 etc pins despite the presence of MDI_COMMAND entries in the [HALUI] INI section, and HALUI=halui in the [HAL] section?
  • Waldemar
  • Waldemar's Avatar
30 Aug 2025 18:12 - 31 Aug 2025 11:48
Simple/Manual Centre Finder was created by Waldemar

Simple/Manual Centre Finder

Category: AXIS

Hello all,

I'm a basic user of LCNC - I know it reasonably well, but don't use a tool changer, only have a basic through tool Z probe which gets occasional use - you get the idea: my set-up is pretty rudimentary but I get good results and productive use out of the software.

When I need to find the centre of a circular feature I've been touching a dowel off at three points around a circumference (fag paper or multimeter method) and feeding three sets of X,Y coordinates into a spreadsheet which then works out the centre for me, like so:





Here's the sheet in OpenOffice format.

It works, but I was wondering if there was a way to incorporate a simple centre finder tab into the interface, something that would look a little like this:

 

The first three buttons to touch off the three positions on the circumference and the 'FIND CENTRE' button to perform four ops:

Calculate the X,Y centre coordinates
Lift the Z axis to its G53 0
Move to the calculated X,Y centre
Set G54 (or current WCS) X,Y to 0,0

So I guess there would need to be six variables that get written using date from 'current position' numbered parameters #5420 & #5421

POSA_X
POSA_Y
POSB_X
POSB_Y
POSC_X
POSC_Y

And then the two calculated variables that are used in a subroutine to lift and move the spindle to the centre and zero out X,Y at the new position

CNTR_X
CNTR_Y

I get that this is still clunkier than using a probe, but I honestly have little need for one!  If I have to keep punching the numbers into the spreadsheet then that's fine, but to have this in a tab would be cool.  Am I thinking about this in the right way?

How would you tackle it?

Many thanks.

Wal.
  • jschulze
  • jschulze
30 Aug 2025 18:05
Replied by jschulze on topic Unwinding Rotary Axis for Homing

Unwinding Rotary Axis for Homing

Category: Advanced Configuration

If anyone stumbles on this looking for a solution I was able to work it out in hal using wcomp and some and, or, not components. Basically I used the wcomp to check the startup position from the last_position.txt file, then using a bit of funny logic I made it so after the joints hits the home switch in the positive direction, the wcomp keeps the home switch closed for the remainder of the positive direction travel, then in the negative direction I used the min wcomp output to disable the home switch input for the remainder of the negative travel. So the home switch only properly works in a narrow joint position range. With this setup the normal homing routine does exactly what I need. When the joint is in the positive direction it backs off until it's in the proper range and in the negative direction it ignores the physical switch until it's in the proper range. There's some silly logic with some and/or/not comps which I'm sure could be made more elegant, but it does work.
  • Benb
  • Benb's Avatar
30 Aug 2025 17:32
Replied by Benb on topic halui.mdi-command-NN pins not showing up

halui.mdi-command-NN pins not showing up

Category: HAL

An MDI command can be executed by using halui.mdi-command-00
Here is an example showing how it 's done:

linuxcnc.org/docs/html/gui/halui.html
 
  • benn686
  • benn686
30 Aug 2025 15:57

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

Category: Driver Boards

I found a few lpf files.. like the one litex generates, and the one here:
github.com/ZeroMips/Colorlight-5A-75B-gp.../master/gpiotest.lpf

However, when I program the bitstream, it doesn't seem to be doing anything. Even a simple led blink. 

Opening the lpf in Lattice Diamond, I notice that these lpf files show errors in the spreadsheet view.. so I think Lattice is ignoring the pin assignments all together?

 
  • PCW
  • PCW's Avatar
30 Aug 2025 14:08
Replied by PCW on topic extra axis on 7i96 with bob

extra axis on 7i96 with bob

Category: Driver Boards

W8 must be down

To see the 5ABOB specific pinout:

mesaflash --device 7i96 --addr 10.10.10.10 --dbname3 5abob --readhmid
  • f355
  • f355's Avatar
30 Aug 2025 11:41 - 30 Aug 2025 20:11
Replied by f355 on topic Z probe and tool setter combo

Z probe and tool setter combo

Category: Basic Configuration

For posterity, I have managed to solve this by writing a little HAL component  that works by switching between OR and AND depending on whether the machine is over the tool setter with the touch probe loaded in the spindle. Feels a bit like redneck engineering, but hey, if it works it works.

There's also a simplistic probe crash protection, I was actually surprised when I wasn't able to find this feature elsewhere.
  • PaulQUE
  • PaulQUE
30 Aug 2025 11:25
Replied by PaulQUE on topic extra axis on 7i96 with bob

extra axis on 7i96 with bob

Category: Driver Boards

thank you for the help, I did a fresh install using the latest image and got mesaflash to work, the proper firmware is now on the board.

I have a few more questions before I fry my card

when connecting the bob o the 7i96 in what position should W8 be?

what is the correct adress for the P1/PWM pin on the bob?
  • rebelx
  • rebelx
30 Aug 2025 03:57
Replied by rebelx on topic EtherCAT on Debian 13 ?

EtherCAT on Debian 13 ?

Category: EtherCAT

Thanks!!! Not sure how I could have missed that one. I posted something right after it, but my focus back then was on Trixie, not on EtherCAT. I feel so stupid now Anyway, I'm sure I will get it fixed with that info. Again, thanks!
  • xunil
  • xunil
30 Aug 2025 01:23

halui.mdi-command-NN pins not showing up

Category: HAL

Hoping someone can point out the probably obvious error in my configs that is causing halui.mdi-command-NN pins not to be created.  The halui component loads and the rest of halui's normal pins show up in the HAL Configuration tree; in the [HAL] section I have the HALUI = halui line; I've made sure the [HALUI] section in the INI file exists and that there are MDI_COMMAND entries under that heading, but still no joy.  Can someone see what I've missed? 

File Attachment:

File Name: configs.zip
File Size:6 KB


Thanks.


 
  • Paul01
  • Paul01's Avatar
30 Aug 2025 01:22
Multi Axis Slow Feedrate was created by Paul01

Multi Axis Slow Feedrate

Category: General LinuxCNC Questions

Hi everyone. I know this topic has been covered before, but I would like a bit of advice specific to my machine as I'm not that well versed in LinuxCNC.

I've built a 5 axis rotating nutating (head-head) type CNC and it's been running well for the past 1.5-2 years. However, I'm getting quite slow feedrates on certain multi axis operations and it's becoming increasingly frustrating.

As an example, this image shows a test file where the X and Y axes barely move, the Z and A axes don't move, and it basically just rotates the C axis. At a specified feedrate of 4000mm/min, it's only cutting at about 600mm/min. My max velocity for linear axes is 25,000mm/min, and angular is 4500deg/min. Acceleration is relatively high, and 4000mm/min should be achievable.

 

I'm using Fusion for the CAM, and the above test file is using swarf machining. This can only be output as a bunch of small lines, so I've gone as coarse as possible with the tolerance and that's set at 0.1mm, and I'm using P0.1 Q0.1 for smoothing. And I'm using TCP.

Correct me if I'm wrong, but is the slowdown in the feedrate due to the 1 line lookahead in multi axis?

I have a separate LinuxCNC config setup to run my machine as a simulation, and it uses a different ini file to my machines so I can test files prior to running them. With this ini file I've bumped up the max velocity a bit, and really bumped up the acceleration, and I've been able to get the required 4000mm/min. However, these velocity and acceleration speeds are very unrealistic for my physical machine.

So my question is, is this just how LinuxCNC is? Or am I doing something wrong? Or is there a workaround for this issue? I've also tried using inverse time, but it gives me the same outcome as programmed feedrate. Let me know if there are any files I should post (ini, etc). Thanks.

Here's a couple of photos of my machine.

 

 
Displaying 9391 - 9405 out of 17974 results.
Time to create page: 1.705 seconds
Powered by Kunena Forum