Advanced Search

Search Results (Searched for: )

  • cmorley
  • cmorley
26 Apr 2025 21:10
Replied by cmorley on topic How to open QT ui file in LinuxCNC

How to open QT ui file in LinuxCNC

Category: Qtvcp

Sorry for cryptic message - I am away from home for work.
I did not know that QtPlasmac was patched to show a grid in P view - those plasma guys are very crafty!
I also didn't realize QtDragon had no builtin way to show grids

(I assume your gcode graphics widget is called gcodegraphics in designer)

To get XYZ grids to show you must set a grid size:
self.w.gcodegraphics.grid_size = 1
setting the grid color is possible (Red,green,blue):
self.w.gcodegraphics.colors = (1.0, 1.0, 1.0)
add those to bottom of  init_widgets() function.

to get grid in perspective too require patching.
    def new_draw_grid(self):
        if self.w.gcodegraphics.get_view() == 3:
            rotation = math.radians(STATUS.stat.rotation_xy % 90)
            # permutation = lambda x_y_z2: (x_y_z2[0], x_y_z2[1], x_y_z2[2])  # XY Z

            def permutation(x_y_z2):
                return x_y_z2[0], x_y_z2[1], x_y_z2[2]  # XY Z
            # inverse_permutation = lambda x_y_z3: (x_y_z3[0], x_y_z3[1], x_y_z3[2])  # XY Z

            def inverse_permutation(x_y_z3):
                return x_y_z3[0], x_y_z3[1], x_y_z3[2]  # XY Z
            self.w.gcodegraphics.draw_grid_permuted(rotation, permutation, inverse_permutation)
        else:
            self.old_draw_grid()

add to bottom of  init_widgets() function:
        # patched gcodegraphics functions
        self.old_draw_grid = self.w.gcodegraphics.draw_grid
        self.w.gcodegraphics.draw_grid = self.new_draw_grid
I think I should modify the underlaying code so the patching is not necessary - on the todo list.
  • PCW
  • PCW's Avatar
26 Apr 2025 20:18
Replied by PCW on topic spindle with encoder

spindle with encoder

Category: Basic Configuration

I think maybe you don't understand how rigid tapping works.


When rigid tapping, the Z axis motion is synchronized (geared basically)
to the spindle rotation, the synchronized motion is continuous through
the downstroke, spindle reversal and upstroke. Any pause that interferes
with this "gearing" will break taps.
  • endian
  • endian's Avatar
26 Apr 2025 20:05

WEMAS MT 32 CNC Lathe -> LinuxCNC - Mesa or EtherCAT?

Category: Turning

hi there,

I have a long talk with gentelmen from the beckhoff which are talking that 2ms is for them limit of RT control ... I am experimenting with the 7 axis over profibus and there is latency 1336us, but I have not tested them ever... I have setted them to 2ms 

I think for 3 o 4 axis it should be less then 1ms in the optimalized profibus cycle with equidistant mode active... I am running old metronix servopacks over speed loop... Everything works well even homing procedure but I think it is not for extremly precise machines probably I will facing the limits in the future but that servopacks was for 40bugs at locat market place

I have configure CanOpen, profibus, profinet over ethercat too but profinet have terrible delay 4ms which are not enough for anything ... or use the IRT profinet with 31.25us latency(there is limitation of 5 or 6 device on the network) but you will need special interface from continental which is only dealer of them

My machine is running at mesa 7i77 + linear scales, next running kollmorgen packs at 250us + linear scales, next nidec stuff too at 250us{not all stuff integrated as driver build in probing} and now I am experimenting with profibus ... 

S120 is profi solution on 31.25us drivecliQ bus but it is soo soo expensive ... EtherCAT should runs at 62.5us but need native stuff and I have never tested them that fast... probably there will be limitations of lcnc latency hw itself

regards 
  • Lcvette
  • Lcvette's Avatar
26 Apr 2025 19:24
Replied by Lcvette on topic Rack Tool Changer

Rack Tool Changer

Category: QtPyVCP

I am in North Carolina in the USA, you are thinking of Joco in NZ..lol
  • Lcvette
  • Lcvette's Avatar
26 Apr 2025 19:08

Probe Basic and Carousel ATC with Geneva and Stepper

Category: QtPyVCP

yes you want to use the geneva pin for the pocket index so its in the locked position. for homing, you could configure it a few ways, but typically i would use the home switch + the index switch so when homed it will be in the locked position of pocket #1. I was planning on using the same dumb motor step generator so please let me know how it works out for you. here is how my home/index is setup on my little atc build:

 
Displaying 16951 - 16955 out of 16955 results.
Time to create page: 0.900 seconds
Powered by Kunena Forum