Advanced Search

Search Results (Searched for: )

  • Route 66 Scott
  • Route 66 Scott
13 Nov 2025 18:31

LinuxCNC + Mesa 7i92TF + Gecko G540. Docs are useless. Help, Please!

Category: PnCConf Wizard

Thank you so much for pointing me in the right direction. 

Yes, any AI I asked eventually started hallucinating code that broke things. 

I did have someone send me a template HAL & INI set for the machine I am using (a Platform CNC with upgraded linear rails. Excellent hardware, currently being let down by confusing software, and its operator.) I was able to cobble something together that mostly worked, after much iteration. Since this was done manually, it didn't help me with learning and using PnCConf, which I would prefer. 

At this point I have everything moving, but until I sort out homing, the Y & Y2 axes are not moving in unison. They are seen as separate Joints 1 & 2. I assumed there would be some way to simply lock them together as one gantry joint(?), but apparently that's not how LinuxCNC works.
  • Route 66 Scott
  • Route 66 Scott
13 Nov 2025 18:12

LinuxCNC + Mesa 7i92TF + Gecko G540. Docs are useless. Help, Please!

Category: PnCConf Wizard

Yes, I have flashed the G540 firmware to the 7i92 card.
  • 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?
.
  • 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
  • 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.
  • 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
  • Hakan
  • Hakan
13 Nov 2025 07:36 - 13 Nov 2025 07:38
Replied by Hakan on topic Configuration Schnider electric ILA2 Servo

Configuration Schnider electric ILA2 Servo

Category: EtherCAT

I see these two lines
[35409.201765] EtherCAT WARNING 0: 12 datagrams TIMED OUT!
[35409.331702] EtherCAT WARNING 0-1: Other mailbox protocol response for eoe0s1.
The first one with datagrams TIMED OUT is usually due to network adapter perfomance.
If you have a Realtek network adapter, install the realtek dkms linux drivers.
12 datagrams timed out isn't too bad and it should still work.

The second line indicates your drive supports EoE, Ethernet over EtherCat.
Unfortunately, linuxcnc-ethercat doesn't support that and people have all kinds
of problem to get such servos going.
The most straight-forward way is to download the IgH Ethertcat master and build it
with the flag --disable-eoe.
There is another way - read out the eeprom content of the drive, modify two bits,
and write back. forum.linuxcnc.org/ethercat/55806-long-i...660n?start=20#337450
  • hanz24
  • hanz24
13 Nov 2025 07:09

Move stepper motor only with push button

Category: HAL

I’m working on a CNC lathe project using mesa card 7i98 where I want to add an extra stepper motor to control the chuck lock/unlock mechanism. The goal is to operate this lock only using a push button, completely independent from any G-code commands. This is to prevent accidents in case there's an error in a G-code file that could unintentionally move the chuck lock.I’ve already managed to configure the stepper so it can be moved using a push button, but the issue is that in my current configuration the motor is still connected to joint.2 and axis.a. I’m worried that if something goes wrong in the G-code, the machine could send motion commands to this stepper as if it were a normal axis, which might release the chuck during machining.What I want is a clean way to configure this stepper as a completely independent device, not tied to any axis or joint used by the motion planner, so it will only respond to the push button input.Has anyone implemented something similar or knows the proper way to configure this in LinuxCNC?
Displaying 2956 - 2970 out of 19842 results.
Time to create page: 0.317 seconds
Powered by Kunena Forum