Advanced Search

Search Results (Searched for: )

  • 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?
  • Hakan
  • Hakan
27 Sep 2025 16:48 - 27 Sep 2025 16:52
Replied by Hakan on topic Trouble with Cia402 drive configuration

Trouble with Cia402 drive configuration

Category: EtherCAT

I meant "lcec_configgen".
I don't think there is a guide for TwinCAT here, have not seen one.
Maybe my old stumbling tries with Twincat still works.
Youtube video Twincat start
Download TwinCAT XAE shell from beckhoff (free).
It might need other downloads as well, but once installed it seems to work.

So I think we have tried everything now.

TwinCAT should be supported by the manufacturer, so you should be able to ask the manufacturer how to get it running.
Once you have got was is needed to get the drive from PreOP+E it should be possible to replicate in lcec.
 
  • Hakan
  • Hakan
27 Sep 2025 16:37

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

Category: Driver Boards

Can you comment out nets and things in the hal file to also remove the digital in and out?
rodw also mentioned doing a factory reset of the drive by writing to a sdo. Can you do that too?
  • Ul
  • Ul
27 Sep 2025 15:55
  • ulda
  • ulda
27 Sep 2025 14:53 - 27 Sep 2025 14:56

proudly presenting a Maho MH700 retrofit ..

Category: CNC Machines

Hi
The machine is sold, but I have the config data.you can download it to the attachment.
/ulda
Displaying 4141 - 4155 out of 21882 results.
Time to create page: 0.309 seconds
Powered by Kunena Forum