Advanced Search

Search Results (Searched for: )

  • MatthiasF1210
  • MatthiasF1210
11 Jan 2026 14:10

Error on 7i73 emc Counter after Update to 2.9.7

Category: Driver Boards

Hi,

I am using LinuxCNC for years now and my Hardware is since 2020 stable. My hardware uses a Mesa 5i25 for the main job and an 7i73 as remote with an handwheel. 

After upgrading to 2.9.7 ( with PC hdd and OS update) I found that my handwheel is always counting, even when not used. I have the 7i73 on SmartSerial port0 loaded with:
loadrt hm2_pci config="num_encoders=5 num_pwmgens=1 num_stepgens=4 sserial_port_0=1220"

hm2_5i25.0.7i73.0.0.enc0.count -> is incrementing at max speed right after startup. So I double checked all Hardware even with an oszi, but the electrical signals are OK.

So I tested this code in hal, end replaced the HW Counter with an SW Counter. Then all is working as expected...
loadrt encoder num_chan=1
addf encoder.update-counters servo-thread
addf encoder.capture-position servo-thread

# HW Count
net 7i73-mpg-count     <=    hm2_5i25.0.7i73.0.0.enc0.count
net 7i73-mpg-rawcounts     <=    hm2_5i25.0.7i73.0.0.enc0.rawcounts

# SW Count
net handrad-phase-A hm2_5i25.0.7i73.0.0.input-08 => encoder.0.phase-A
net handrad-phase-B hm2_5i25.0.7i73.0.0.input-09 => encoder.0.phase-B
net 7i73-mpg-count-sw <= encoder.0.counts

# use SW Count
net 7i73-mpg-count-sw => axis.x.jog-counts
net 7i73-mpg-count-sw => axis.y.jog-counts
net 7i73-mpg-count-sw => axis.z.jog-counts

Even when it works now, I would like to understand the reason behind to check if the is the even more trouble, which I didn't find till now.

Question:
Where there relevant changes in hm2? My old LinuxCNC before was 2.8 ....
Is a "Firmware" Update neccesary ?
Could this be an defect inside the 7i73? Is something similar known?





 
  • endian
  • endian's Avatar
11 Jan 2026 13:42

Commission drive on AX5206) using TC3 to prep for linuxcnc-ethercat

Category: EtherCAT

the most easiest way from my point of view at everything it ... configure TC3 + you hardware and then configure the lcec itself...

if something it not listed you have to know which type of encoder feedbeck it is and then choose right one from DriveManagerX ... then setup the axis in manual jog and everything 

at resolver you had have to know which type, frequency and poles it is ... that all then grab these data and configure the in the Drive manager

my own driver with integrated homing subroutine which is working same as at CoE drivers is here

(TC3 machine with win10)configuration tool which grab export TC3 master and transfer everything to lcec master shape is here

after succesfull configuration of TC3 just export and copy paste to lcnc folder ... its more easy than ever 

lowest scan time which I get from AX5YZZ is 250us scan which I am currently running same as at shared example
  • andrax
  • andrax
11 Jan 2026 13:03
Replied by andrax on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

I don't know what the problem is. It's always the left Y-axis that sporadically fails to start during homing. I always have to turn the machine off, and then it usually works. There haven't been any problems after homing so far. I can rule out wiring issues because I would get an error message.
I think that for some reason, the servo occasionally doesn't receive a start command for homing and therefore doesn't start.
The error must be somewhere in my configuration. 
 
  • hhscott
  • hhscott
11 Jan 2026 12:38
Replied by hhscott on topic Startup Question

Startup Question

Category: General LinuxCNC Questions

Great! Thank you
  • 5_Zylinder
  • 5_Zylinder
11 Jan 2026 12:21
Replied by 5_Zylinder on topic Hurco BMC 30 AP

Hurco BMC 30 AP

Category: CNC Machines

Hello everyone, after a long break, I've started modifying my Hruco again.

A quick overview of the setup: I have a 7I97 mainboard, and I've connected a 7I74 to it to expand the ports.
I've connected a 7IAO (Port 1) and a 7I89 (Port 2) to the 7I74.
I noticed that the 7IAO also has a Xilinx Spartan-6 FPGA, but I assume it already has a basic bitfile on it that I could flash via the pins on the chip, but I don't have to if it's not necessary.
Am I correct in this assumption, or do I also need to flash my own bitfile onto the card?

Now for the second part of my question.
I wanted to create a suitable bitfile for the four cards I mentioned above.
What software would be best to use for this?
Since the FPGAs are from Xilinx, I'll probably have to use their software so the IC can understand the bit file, so Vivado, right?
I also saw something online from Efinix, but those are different ICs.
The software probably won't be compatible with them, will it?
  • MaHa
  • MaHa
11 Jan 2026 12:15
Replied by MaHa on topic Startup Question

Startup Question

Category: General LinuxCNC Questions

yourmachine.ini  file,  in  [TRAJ]  section  POSITION_FILE = posfile.txt   stores machine positions at shutdown. If this is not set, the machine starts with all axes set to zero

 
  • johnbl
  • johnbl
11 Jan 2026 12:09
Replied by johnbl on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Can you elaborate on what are these architectural issues?
  • tommylight
  • tommylight's Avatar
11 Jan 2026 11:59
Replied by tommylight on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

Have you ever had the problem where one of the Y-axes doesn't start moving during homing and the gantry is crooked?
That happens to me a lot. I have to restart the machine and then it works again.

That should not happen, ever, and it did not happen as i have probably over 15 machines with tandem joints, some industrial ones with over 400KG heavy gantries.
You should check the wiring first, then test the failing side drive.
Are you using the same drives mentioned here?
  • grandixximo
  • grandixximo's Avatar
11 Jan 2026 11:44
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

I've checked all the reported spikes, and the issue is not the new s-curve in itself, but the trajectory planner architecture, we will have to do a much more involved refactoring, will look at Tormach work, maybe talk with Rob if that happens, and take it from there.
The current scurve is best that can be done within the limitations of the current tp architecture.
  • deckname
  • deckname
11 Jan 2026 11:30
Replied by deckname on topic QtPlasmaC + CoreXY Kinematics

QtPlasmaC + CoreXY Kinematics

Category: General LinuxCNC Questions

Thanks for the reply
I tried corexykins, didn´t work because i use uspace?
so i went with KINEMATICS = corexy, which then caused problems with loadrt [KINS]KINEMATICS and loadrt [EMCMOT]EMCMOT...
Why are home switches necessary? I dont have the machine connected at the moment since I´m only trying to get the software to start.

Is this combination of software even the right choice?
I´m building a small portable plasma cutter while using some parts of an old 3d printer and i would really like to use corexy.
Are there other GUIs that work better with this?
  • 3404gerber
  • 3404gerber
11 Jan 2026 11:27

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

...

Edit: Launched linuxcnc on terminal, getting "bad spi payload"
(Bad SPI payload = 32393a38)

The value of the payload is strange; it's almost half value of what you are suppose to get:

#define PRU_DATA            0x64617461     // "data" SPI payload
#define PRU_READ              0x72656164  // "read" SPI payload
#define PRU_WRITE             0x77726974  // "writ" SPI payload
#define PRU_ESTOP           0x65737470  // "estp" SPI payload

I'd try with a lower SPI frequency.
  • RotarySMP
  • RotarySMP's Avatar
11 Jan 2026 11:25 - 11 Jan 2026 11:26
Replied by RotarySMP on topic Retrofitting a 1986 Maho MH400E

Retrofitting a 1986 Maho MH400E

Category: Milling Machines

The Maho is back up and running again, but I still dont really know what the FError and MinFError "should" be for such a machine.


Thanks for your help.
  • hhscott
  • hhscott
11 Jan 2026 10:49
Startup Question was created by hhscott

Startup Question

Category: General LinuxCNC Questions

Simple question that I cannot seem to locate the answer:
No matter what offset I was using when I shutdown LinuxCNC I want my DROs to read 0 after I restart and then home. I can do this with the Touch-Off button in Axis but how do I set my INI/HAL file to clear offsets when LinuxCNC restarts?

Of is there a mdi input that would have the same outcome?

Thanks,
HH
  • andrax
  • andrax
11 Jan 2026 10:36
Replied by andrax on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

Hi, that looks really good.
How stable is your system?
Have you ever had the problem where one of the Y-axes doesn't start moving during homing and the gantry is crooked?
That happens to me a lot. I have to restart the machine and then it works again.
  • dschultz
  • dschultz
11 Jan 2026 01:14
Replied by dschultz on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

It's been almost a year since I originally started this thread and thought it might be of interest to give a status update on my machine.It's been humming along without issue powered by the A6 400watt AC ethercat servos.It is a 4x4 size router direct driven with ballscrews on all axis (XYYZ). I highly recommend the A6 servos for simple set-ups. Mine is not a demanding setup but for the cost, in my opinion they are an unbeatable value. Thank-you to those that gave me pointers when I was making the transition from step drive to ethercat!

 
Displaying 76 - 90 out of 20185 results.
Time to create page: 0.288 seconds
Powered by Kunena Forum