Advanced Search

Search Results (Searched for: )

  • UrKibin
  • UrKibin
21 Mar 2025 10:11 - 21 Mar 2025 10:58

CINCINATTI MILACRON ARROW 500 (BDS4 + VFS5) WITH MESA 7i77 + 6i25 WITH LINUXCNC

Category: Milling Machines

Hi All,

Good day. Managed to wire the ENA to the servo drive enable.

My current problem is overshoot. lets say I command it y5, it will go until y6 then go back to y5. Overshoot increases as feed speed increases. I estimate it to be 1mm per 100mmpm. so 100mmpm has an overshoot of 1mm, 300mmpm has an overshoot of 3mm.

PID settings are
P = 1.5 (If i add more, it shakes at higher speed)
I = 0
D = 0 (any increase and the system shakes)
FF0 = 0
FF1 = 1
FF2 = 0
Scale : 1225 (0.01 accuracy even with overshoots)

Regards,
Kibin
  • UrKibin
  • UrKibin
21 Mar 2025 10:10

CINCINATTI MILACRON ARROW 500 (BDS4 + VFS5) WITH MESA 7i77 + 6i25 WITH LINUXCNC

Category: Milling Machines

Hi All,

Good day. Managed to wire the ENA to the servo drive enable.

My current problem is overshoot. It is overshooting. lets say I command it y5, it will go until y6 then go back to y5. Overshoot increases as feed speed increases. I estimate it to be 1mm per 100mmpm. so 100mmpm has an overshoot of 1mm, 300mmpm has an overshoot of 3mm.

PID settings are
P = 1.5 (If i add more, it shakes at higher speed)
I = 0
D = 0 (any increase and the system shakes)

Scale : 1225 (0.01 accuracy even with overshoots)
  • HansU
  • HansU's Avatar
21 Mar 2025 10:04 - 21 Mar 2025 10:05
Replied by HansU on topic Keyboard Shortcuts in Gmoccapy

Keyboard Shortcuts in Gmoccapy

Category: Gmoccapy

Weird that it works with a small modification in a minimal running example but not in gmoccapy:

import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk

class ToggleButtonApp(Gtk.Window):
    def __init__(self):
        super().__init__(title="Toggle Button Example")
        self.set_default_size(200, 100)
        self.tbtn_turtle_jog = Gtk.ToggleButton(label="Button is OFF")
        self.tbtn_turtle_jog.connect("toggled", self.on_chk_turtle_jog_toggled)
        self.add(self.tbtn_turtle_jog)
        self.connect("key-press-event", self.on_key_press)

    def on_chk_turtle_jog_toggled(self, button):
        if button.get_active():
            button.set_label("Button is ON")
        else:
            button.set_label("Button is OFF")

    def on_key_press(self, widget, event):
        keyname = Gdk.keyval_name(event.keyval)
        if keyname == "r" or keyname == "R":
            self.tbtn_turtle_jog.set_active(not self.tbtn_turtle_jog.get_active())
            return True  # Stop further processing of the event

win = ToggleButtonApp()
win.connect("destroy", Gtk.main_quit)
win.show_all()
Gtk.main()


Maybe you have some time to play around and figure it out if it is important for you.
  • jazial
  • jazial
21 Mar 2025 09:57
movable Z limit was created by jazial

movable Z limit

Category: Advanced Configuration

Hello,

I'm working on a mill which make Z+ move to free the tool in spindle.

I need to go to Z++ to disengage locking, but i have to keep under Z25 when machining.

I set up a mux2 component with 2 Z limit values
I normal operation Z limit is 25 and while toolchange Z limit is 180

If i run m6 txx, it works fine, but if I load a program, the plot complain about Z limit, because M6 subroutine mention off limit Z move
If I launch program, linuxcnc complains about Z limit too, but program runs nicely as my limit is moved when it have to

Anyone have an idea to fix this ?

I've tried to add a conditional state before the Z move, but linuxcnc still see the move while plotting

Thanks
  • HansU
  • HansU's Avatar
21 Mar 2025 09:57
Replied by HansU on topic Keyboard Shortcuts in Gmoccapy

Keyboard Shortcuts in Gmoccapy

Category: Gmoccapy

Hi, there,

i am trying to make a keyboard shortcut to toggle between TURTLE and RABBIT jog mode. I think that the code should have look something like this: 

        if keyname == "r":
            "some toggle event goes here"
            return True

It is shown on in the def on_key_event section in the code attached from line 3052. Can you help me which event should I use to toggle jog modes? 

 


Toggling does not really work without further changes, because it toggles the button twice then.
Adding two buttons is the simplest solution if that works for you.
        if (keyname == "R" or keyname == "r"):
            self.widgets.tbtn_turtle_jog.set_active(False)
        if (keyname == "T" or keyname == "t"):
            self.widgets.tbtn_turtle_jog.set_active(True)
Displaying 18046 - 18050 out of 18050 results.
Time to create page: 1.191 seconds
Powered by Kunena Forum