Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
13 Nov 2025 17:27
Replied by Hakan on topic AX58100

AX58100

Category: EtherCAT

I would start looking at
- encoders. With the current stm32f407 the quadrature counters are tied to certain pins, and max 4 such hardware counters. Code is in E3000, would copy that.
- EtherCAT chip, would base it on LAN9252 (which most of the cards use) due to Ax58100 limit of 2x16 pdos. Don't know of a limit for LAN9252, it's not less than 2x16. 
- Opto-couplers, would revisit.

If you are thinking of stepper generator with encoder inputs, say for four of them, would base it on E3000 for the user code and extend to four encoders, code is already there. soes library from E7000. Hardware will be based on E3000 around stm32, around E7000 for EtherCAT.

One can think of one card supporting 1 drive. Or 2 stepper drives. And use multiple cards

In linuxcnc 2.10 there is 64-bit integers, so no risk for encoders overflowing. 32-bit isn't quite enough at least for spindles.

Is it just an idea, or are you going to do it?
.
  • langdons
  • langdons's Avatar
13 Nov 2025 17:23 - 13 Nov 2025 17:27
Replied by langdons on topic Avon 3000 Mill retrofit

Avon 3000 Mill retrofit

Category: Milling Machines

If PNCConf is applicable to your situation, you can use it to make a config.

While it does not offer 100% of the funtionality you can achieve by edting the .ini file, it's a great start.

You can edit an existing config with PNCConf too.

And you can create as many configs as you like until you have one that works.

Also, be careful as you have a lot of transformers that can each deliver substantial current.

When in doubt, use a circuit breaker or something (the circuit breaker may not survive) to protect a vital circuit.

Also keep in mind that most switching power supplies have intrinsic overload protection while a simple, traditional transformer-rectifier supply does not.

Though for powering motor drivers, those transformers will do a good job, albeit with some risk.

If you have a page scanner, use it instead of your camera to scan paper documents, as it will yeild slightly more readable scans, though a picture is certainly good enough.
  • langdons
  • langdons's Avatar
13 Nov 2025 17:14
Replied by langdons on topic pulling my hair out please help

pulling my hair out please help

Category: Basic Configuration

Whoa!

Always keep in mind that humans survived for almost a million years without computers or CNC machines.

Did you try using PNCConf?

You should try making a new config with PNCConf (or stepconf, for a parallel port setup).

Editing the files is great, but I think it's very helpful to start out with a guided configuration tool.

Also, if you reply to your own topic, it does not apear in the "No Replies" tab anymore and your question may end up forgotten.
  • langdons
  • langdons's Avatar
13 Nov 2025 17:06
Why is there no BSDCNC? was created by langdons

Why is there no BSDCNC?

Category: Off Topic and Test Posts

Obviously, we have LinuxCNC, designed for Debian with some real-time stuff.

However, I have installled FreeBSD and its derivatives (GhostBSD) on several computers and have noticed that it is very fast, efficient, and low-latency.

It is almost devoid of stupid useless background processes (Linux is pretty good too, though I suppose Windows has lowered the bar so low at this point by adding ads to the login screen and stuff).

Why is Linux the favoured OS for stuff like this?

As an added bonus, BSD-CNC rhymes!
  • TurboStreetCar
  • TurboStreetCar
13 Nov 2025 14:37
Replied by TurboStreetCar on topic Can MESA work without LinuxCNC?

Can MESA work without LinuxCNC?

Category: Driver Boards

Hey thats pretty awesome. Love the monarch also!

Is that using HAl-Core?

Do you have a github? Im looking to do something similar to this but with a custom GUI.
  • vibram
  • vibram
13 Nov 2025 14:37
Replied by vibram on topic AX58100

AX58100

Category: EtherCAT

Hello Hakan and thank you for all your work.
If I want to create a small PCB in order to add encoders, compatible with LinuxCNC, which version of your project would you advise in order to modify it?

Thanks
  • skunkworks
  • skunkworks
13 Nov 2025 14:27
Replied by skunkworks on topic Can MESA work without LinuxCNC?

Can MESA work without LinuxCNC?

Category: Driver Boards

I am using hal only with a mesa card to control a monarch lathe spindle. (so encoder, 2 analog drives and some i/o)



Works great.
sam
  • langdons
  • langdons's Avatar
13 Nov 2025 14:00 - 13 Nov 2025 14:01

qtdragon crash during 3d viewer translation (QTvcp ERROR! Message # 1)

Category: Qtvcp

Software is fine, but is seems like such a shame to use software rendering when you have a good GPU.

Are the proprietary NVIDIA drivers an option?

Please post output of glxgears -info.
  • sixie6e
  • sixie6e's Avatar
13 Nov 2025 13:56 - 13 Nov 2025 14:26

Module ec_master not found in directory /lib/modules/6.1.0-25-rt-amd64

Category: Installing LinuxCNC

I solved this on my Zorin machine by:
1. copying the ec_master.ko module from /lib/modules/(uname -r)/ethercat/master/ into /lib/modules/(uname -r)/kernel/drivers/ethercat
2.
returning to the install folder
3. running make clean followed by sudo depmod -a
Hope this helps.
  • langdons
  • langdons's Avatar
13 Nov 2025 13:55

qtdragon crash during 3d viewer translation (QTvcp ERROR! Message # 1)

Category: Qtvcp

I have 2 PCIe AMD GPUs that I have no use for (too old for 3D stuff becaue AMD only provides support for like 3 years, plus I don't use PCs).

I wish we could trade GPUs.

AMD/ATI stuff works well on Linux because the drivers are in the kernel, though OpenCL is patchy.

NVIDIA GPUs work great on Linux for headless compute, but not always for rendering stuff.
  • TurboStreetCar
  • TurboStreetCar
13 Nov 2025 13:54
Replied by TurboStreetCar on topic Can MESA work without LinuxCNC?

Can MESA work without LinuxCNC?

Category: Driver Boards

Im looking into this as well, is there a clear cut way of running/interfacing HAL with a custom software?

I guess the real question is how to separate HAL from linuxcnc.
  • TurboStreetCar
  • TurboStreetCar
13 Nov 2025 13:45
Replied by TurboStreetCar on topic Determining Rate Of Accelleration

Determining Rate Of Accelleration

Category: General LinuxCNC Questions

Aha! I knew there had to be a relatively easy way. Thanks!
  • MillingMarvin
  • MillingMarvin
13 Nov 2025 10:58

Ethercat - assinged the same pdos to multiple Slave-Signals?

Category: EtherCAT

this is genius!
the comand "lcec_configgen -typedb=false" worked perfectly,
thank you so much for the recomandation!



 
  • hanz24
  • hanz24
13 Nov 2025 09:46
Replied by hanz24 on topic Move stepper motor only with push button

Move stepper motor only with push button

Category: HAL

Thanks a lot, i already find this kind of topic but never found the right one. i will read and try it.

I have tried to change the configuration on the hal file using mux4 etc like this, but my stepper motor still doesn't move, maybe because it doesn't have the  stepgen.02.position-cmd parts. But i think it will be much easier with extra joint configuration.
setp hm2_7i98.0.stepgen.02.control-type   1
setp hm2_7i98.0.stepgen.02.step_type      0
setp hm2_7i98.0.stepgen.02.position-scale -400
setp hm2_7i98.0.stepgen.02.maxvel         30
setp hm2_7i98.0.stepgen.02.maxaccel       100
setp hm2_7i98.0.stepgen.02.steplen        2000
setp hm2_7i98.0.stepgen.02.stepspace      2000
setp hm2_7i98.0.stepgen.02.dirsetup       3000
setp hm2_7i98.0.stepgen.02.dirhold        3000

setp hm2_7i98.0.gpio.013.is_output     1
setp hm2_7i98.0.gpio.013.invert_output 0
net a-enable => hm2_7i98.0.gpio.013.out

loadrt mux4 count=1
addf mux4.0 servo-thread

# Set the speed value
setp mux4.0.in0  0       # stopped
setp mux4.0.in1  200    # speed forward 
setp mux4.0.in2 -200    # speed reverse


# Jog with Push Button, Positif direction pin 001, Negatif direction pin 005
net jog-a-plus-raw    debounce.0.0.in <= hm2_7i98.0.gpio.001.in_not 
net jog-a-plus        debounce.0.0.out => mux4.0.sel0
net jog-a-minus-raw    debounce.0.1.in <= hm2_7i98.0.gpio.005.in_not
net jog-a-minus     debounce.0.1.out => mux4.0.sel1

net chuck-speed mux4.0.out =>    hm2_7i98.0.stepgen.02.velocity-cmd

loadrt or2 count=1
addf or2.0 servo-thread

net jog-a-plus  => or2.0.in0
net jog-a-minus => or2.0.in1

net chuck-enable or2.0.out => hm2_7i98.0.stepgen.02.enable
  • Aciera
  • Aciera's Avatar
13 Nov 2025 09:25 - 13 Nov 2025 09:26
Replied by Aciera on topic Move stepper motor only with push button

Move stepper motor only with push button

Category: HAL

Have a look at 'extra joints'. sim configs can be found in 'configs/sim/axis/extrajoints.
github.com/LinuxCNC/linuxcnc/tree/master...sim/axis/extrajoints

There is also some information here:
linuxcnc.org/docs/html/man/man9/motion.9.html

Discussion:
forum.linuxcnc.org/38-general-linuxcnc-q...-controller?start=20
Displaying 136 - 150 out of 22425 results.
Time to create page: 0.284 seconds
Powered by Kunena Forum