Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
28 Sep 2025 17:11
Replied by andypugh on topic Weiler DZ26 Millturn Conversion

Weiler DZ26 Millturn Conversion

Category: Turning

The logic for setting that HAL pin is here, it just reports the system state:
github.com/LinuxCNC/linuxcnc/blob/master..._intf/halui.cc#L2167

Is halui.estop.activate being driven at all? Is it false?
  • andypugh
  • andypugh's Avatar
28 Sep 2025 16:49
Replied by andypugh on topic Lathe Macros

Lathe Macros

Category: Other User Interfaces

I was upbraided earlier by a friend from the Motor Club about this, as he watched your video and thought that I should have defaulted to a 55 degree angle as anything other than Whitworth is an abomination.

Adding the compound angle wouldn't be too hard, but I doubt that cutting buttress threads is that common, and you can always MDI the G76 directly if you need to.
I think that 29.5 is "not terrible" for Whitworth, but I would need to sketch a diagram to be sure. It's probably not ideal for BA threads (47.5 degree) or Panzergewinde (80 degree)

I also suspect that the macro takes many more passes than strictly necessary,
  • andypugh
  • andypugh's Avatar
28 Sep 2025 16:40 - 28 Sep 2025 16:41
Replied by andypugh on topic Python pendant logic problems

Python pendant logic problems

Category: General LinuxCNC Questions

As a first step, get the encoder counting so that you can see a "counts" pin incrementing when you turn the encoder.
There are a few ways to do this mentioned above, and there is always the possibility of using the software encoder counter too, connected to GPIO pins,

Once you have the counts HAL pin working, that then needs connecting to all the axis (and joint) jog-counts pins. You then wire the switches to set the jog-enable pins of the axes/joints as required,

For the actual pin names see:
linuxcnc.org/docs/stable/html/man/man9/m...n.9.html#AXIS%20PINS

linuxcnc.org/docs/stable/html/man/man9/m....9.html#JOINT%20PINS

And possibly linuxcnc.org/docs/stable/html/man/man1/h...html#Joint%20jogging

But prefer the pins in "motion" to those in "halui" as the former run in realtime and so are more dependable.
  • andypugh
  • andypugh's Avatar
28 Sep 2025 16:07
Replied by andypugh on topic Rerunning a tool in qt_dragon_hd

Rerunning a tool in qt_dragon_hd

Category: Qtvcp

I think that this is a consequence of the system trying to get into the same state after a run-from-line request.
But it does rather assume a toolchanger and/or repeatable length tools.

Rather than re-post the toolpath, you should be able to to comment-out the preceding tool changes in the G-code file. (Just don't forget to un-comment them, or save the modified file under a new name)

Which LinuxCNC version are you running? I think that there have been various attempts to improve run-from-line over the years.

There is discussion, but no conclusion, here: github.com/LinuxCNC/linuxcnc/issues/246#issuecomment-423049528
  • kb58
  • kb58
28 Sep 2025 15:03 - 28 Sep 2025 19:04
  • MacKaye
  • MacKaye
28 Sep 2025 13:59
Replied by MacKaye on topic Weiler DZ26 Millturn Conversion

Weiler DZ26 Millturn Conversion

Category: Turning

I have already asked in another estop related chat but maybe that was too old of a thread.
I have been trying to incorporate the rather complicated estop relais functionality from the original machine setup and have messed up my estop logic along the way and can not recover from all changes i have made in the meantime.
Even the easy setup i am running right now is unable to recover GUI estop from True status. I have checked behaviour in halscope and everything seems to work correctly, except somethings holding on to halui.estop.is-activated. I can find nothing about what kernel nets exist, linking internal pins to ...is-activated. What problem could be the source of that behaviour?
Thank you all


net not_aus_fault     => halui.estop.activate

setp oneshot.0.width 0.1
setp edge.0.in-edge FALSE          
setp timedelay.0.on-delay 0.05     
setp timedelay.0.off-delay 0
net not_aus_ok         => iocontrol.0.emc-enable-in
net not_aus_ok         => edge.0.in
net estop-ok-rising    <= edge.0.out => oneshot.0.in
net estop-reset-raw    <= oneshot.0.out => timedelay.0.in
net estop-reset-pulse  <= timedelay.0.out => halui.estop.reset

 
  • Aciera
  • Aciera's Avatar
28 Sep 2025 13:44

toggle2nist hangs when pressing an other button at the same time

Category: HAL

'toggle2nist.comp' up to and including 2.9.x has issues:
github.com/LinuxCNC/linuxcnc/pull/3193

A new version is available in master:
github.com/LinuxCNC/linuxcnc/blob/0bc97e...nts/toggle2nist.comp

which you could install into your version by downloading the new version and using
(sudo) halcompile --install toggle2nist.comp

Note that 'halcompile' requires the 'linuxcnc-dev' package to be installed

Also note that people used to work around some of the problematic 'toggle2nist' behavior by adding hal components between the momentary switch and 'toggle2nist.in'. Looking at your .in pin signal in the halscope sreenshot makes me think that you might have done that. If you use the new version make sure to directly connect the momentary switch to the .in pin.
  • juergen-home
  • juergen-home
28 Sep 2025 11:01 - 28 Sep 2025 11:17

toggle2nist hangs when pressing an other button at the same time

Category: HAL

I have this gamepad.hal as an example for my problem.
This is used with the button of a gamepad.I start a program by a button, then I can pause/resume it by another button.The third button is to stop the program.
The problem I have: If the program is started and I press pause/resume and stop at the same time, sometimes the toggle2nist_on get stucked in on state and the pause/resume will not work until I quit linuxcnc and start again. Is this a known behavior, or is something wrong in my gamepad.hal

# test for linuxcnc 2.9 2025-09-28 work
# generic china Gamepad
loadusr -W hal_input -KRAL USB Gamepad

#---------------------
# Program Stop
#---------------------
#halui.program.stop (bit, in) - pin for stopping a program
net button13  input.0.btn-base5 => halui.program.stop
#---------------------

#---------------------
# Program Start
#---------------------
net button16  input.0.btn-base4 => halui.program.run
#---------------------

#---------------------
# Program Pause on/ Pause off
#---------------------
# known bugs: if you stop  while in pause, than swich on and start program again, pause will not work.
# sometimes tog2nist_1.on stays on !

loadrt toggle names=tog_1
addf tog_1 servo-thread 1

loadrt toggle2nist names=tog2nist_1
addf tog2nist_1 servo-thread 2

net net-button-pause-trigger input.0.btn-base6 => tog_1.in  # this is the pause button
net net-button-pause tog2nist_1.in <= tog_1.out
net net-pause-is-on tog2nist_1.is-on <= halui.program.is-paused
net net-pause-off tog2nist_1.off => halui.program.resume
net net-pause-on tog2nist_1.on => halui.program.pause
#---------------------
  • Hakan
  • Hakan
28 Sep 2025 08:23 - 28 Sep 2025 09:54

(Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60

Category: Driver Boards

Do you have the errors from syslog?

I would like to see the 60fe and 60fd sdos and pdos out specifically and only the 6 mentioned PDOs in there.

Here is a document on how to use the drive in TwinCAT.
shopcdnpro.grainajz.com/category/409767/...%8D%97-%E8%8B%B1.pdf
I guess it is worthwhile to check it works there.
  • rene-dev
  • rene-dev
27 Sep 2025 21:38
Linuxcnc meeting Stuttgart was created by rene-dev

Linuxcnc meeting Stuttgart

Category: Deutsch

there will be a meeting in Stuttgart again.
nuudel.digitalcourage.de/dGtDlt4Tzw9tZ3Hn
 
  • GDTH
  • GDTH's Avatar
27 Sep 2025 18:34

Carousel with counts move x amount of pockets

Category: Advanced Configuration

i have copied the carousel component and removed the align_pin if statement from state 8. I think this is ment for dc motors. So far it seems to work fine.
  • kb58
  • kb58
27 Sep 2025 17:44 - 27 Sep 2025 17:52

(Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60

Category: Driver Boards

FWIW, here are the files in question as of now, with the requested lines commented out or removed. I must still be missing something - or the manual leaves out critical information...
  • kb58
  • kb58
27 Sep 2025 17:38 - 27 Sep 2025 17:39

(Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60

Category: Driver Boards

Understood. I tried the above - no change, status light still blinking, still in "PREOP".

Regarding a factory reset, I'm not sure how to apply it. See attached screenshot:
  • Hakan
  • Hakan
27 Sep 2025 17:07

(Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60

Category: Driver Boards

I specifically was after the digital IO like here
#net sig300 lcec.0.0.digital-inputs => baxedmstatus.0.ect60inputs
net sig301 baxedmstatus.0.wirenok => qtvcp_embed.wirenok_led baxedmfeedcontrolV02.0.wireNOK
net sig302 baxedmstatus.0.wirefeedon => qtvcp_embed.wirefeed_led qtvcp_embed.led_wire
#net sig303 baxedmstatus.0.ect60-0-outputs => lcec.0.0.set60FE-1
#net sig304 baxedmstatus.0.ect60-1-outputs => lcec.0.1.set60FE-1
Put a # in front of the net lines. "and stuff" is vague for anything else that might cause problem for linuxcnc to start.
The logic of your machine is not correct then, but that's not important now. Get it to start only.
 
  • kb58
  • kb58
27 Sep 2025 16:48 - 27 Sep 2025 16:49

(Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60

Category: Driver Boards

I will try that, yes. What is meant by "nets and stuff?"

I will also try the factory reset but am unsure how well that will work. What I mean is, let's say that I issue the factory reset command upon entry to the code. Then, the following code will immediately configure the driver into a "not factory reset" condition. Is the thinking that something was changed that has not been corrected and that a factory reset is the only way to fix it?
Displaying 8176 - 8190 out of 18110 results.
Time to create page: 0.606 seconds
Powered by Kunena Forum