Advanced Search

Search Results (Searched for: )

  • Todd Zuercher
  • Todd Zuercher's Avatar
05 Aug 2025 18:51

M62-M65 (or likewise) from qtvcp panel during gcode execution

Category: Qtvcp

Another way that I've used is to create a couple of hal pins (an input and an output) that control the output in the gui python script. Then useing a couple of user defined M-codes to setp the value of input pin to setp the value of the input pin. This was able to allow the either the gui or the G-code to override the other like your flipflop example. Essentially the same thing, except the flipflop lives in the gui code instead of using a hal component.
  • PCW
  • PCW's Avatar
05 Aug 2025 18:27
Replied by PCW on topic Hltnc servo motor

Hltnc servo motor

Category: EtherCAT

That particular drive (80 AST ...) does not seem to be EtherCAT
but they may have an EtherCAT model.
  • h_munktell
  • h_munktell
05 Aug 2025 17:52 - 05 Aug 2025 17:53

M62-M65 (or likewise) from qtvcp panel during gcode execution

Category: Qtvcp

Yes, that is exactly what I'm after.

Yes, I have full control over the HAL files. I have actually got it to "work" decent, but it's a bit ugly. I convert both the park and follow command from the qtvcp panel, as well as the digital-out HAL pin to pulses with edge HAL components. The pulses go into or2 components. This way I have one "set" (track) command and one "reset" (park) command, but those are just pulses. I feed those signals into a flipflop component that is then actually controlling the shoe movement. See attached schematic. "ds" is my qtvcp panel, so ds.track and ds.park is the momentary panel buttons. text on the lines are the net names, text over the blocks are the component name. 

It's working, but I get into the situation that the motion.digital-out pin is not reflecting the status of the shoe if overriding it from the panel. It actually is a minor thing, as my M6 remap always park and then activating the shoe again. But I would like to have the motion pin reflecting actual state, just for sanity :)

edit: adding the attachement
 
  • UweSauter
  • UweSauter
05 Aug 2025 17:40
Replied by UweSauter on topic Umbau der Steuerung auf LinuxCNC + EtherCAT

Umbau der Steuerung auf LinuxCNC + EtherCAT

Category: Deutsch

Hallo Pascal,

ich hatte zu dem Zeitpunkt noch nicht das Verständnis, wie das alles ineinander greift. Inzwischen bin ich soweit, dass ich die Motoren ansteuern kann.

Allerdings stolpere ich aktuell darüber, dass ich die Fräse (bzw. meinen Testaufbau) noch nicht in den "normalen" Zustand schalten kann. Ich habe ja einen Gantry Aufbau mit zwei Servos für die X-Achse. Allerdings kann ich in der Oberfläche bisher nur einzelne Motoren und keine Achsen auswählen.
Ich nehme an, dass das daran liegt, dass die Referenzierung noch nicht funktioniert.

Bevor ich mich allerdings um die Referenzierung kümmern kann, muss ich noch die Parametrierung machen, da die Servos aktuell zum Zittern neigen, sobald sie auch nur ein winziges Stück bewegt wurden.  Zwei Adapterkabel dazu habe ich inzwischen angefertigt, bin aber noch nicht dazu gekommen, die Parametrierung auch vorzunehmen.

Schönen Gruß,

Uwe
  • pommen
  • pommen's Avatar
05 Aug 2025 17:38

how to make M7 (mist on) generate step pulses

Category: G&M Codes

You can set do 'setp' command while linuxcnc is running via halcmd i think.
open a terminal and write halcmd -k (double check this syntax)

linuxcnc.org/docs/html/man/man1/halcmd.1.html

I think you can set set via bash commands, i haven't tried though
I think you make a file with your command and call it trough a custom Mcode.

in the file:
#!/bin/bash
# M101 - some command
halcmd setp parport.0.pin-XX-out true


There is some more steps to this. I think you need to ad a new new Mcode is the ini file RS274NGC section.

I hope this gives you enough to keywords to search.

/Peter
  • cmorley
  • cmorley
05 Aug 2025 17:32

M62-M65 (or likewise) from qtvcp panel during gcode execution

Category: Qtvcp

So m65 commands operate a dust cover and you want to override the controls manually while in auto mode?

You can control m65 directly while in auto mode other then with gcode.
But could you put some logic components between motion pins and the dust control pins that the control panel can control. Something like an OR component?
  • h_munktell
  • h_munktell
05 Aug 2025 17:09

M62-M65 (or likewise) from qtvcp panel during gcode execution

Category: Qtvcp

A real noob on qtvcp I will say :)

From a qtvcp panel, is it possible to modify the motion.digital-out-xx HAL pins with M62-M65 during AUTO mode, as in when the machine is cutting, without going into MDI mode?

I would like this to have the ability to manually raise or park a Z independent dust shoe during cutting. The dust shoe is normally controlled with M62-65 during tool changes.
Displaying 14161 - 14167 out of 14167 results.
Time to create page: 0.865 seconds
Powered by Kunena Forum