Advanced Search

Search Results (Searched for: )

  • 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.
Displaying 13306 - 13309 out of 13309 results.
Time to create page: 0.412 seconds
Powered by Kunena Forum