Search Results (Searched for: )

  • rodw
16 Mar 2026 02:53

thank you Peter,
That got rid of the error there but it points now to an error on Hal line 25: empty variable name. I don't know how lines are counted no matter how many ways I counted them it did not make sense to me.
I so very much appreciate your help, I have spending days with AI trying to get this figured out to no avail, you forum experts know this stuff!!!!
Grorge
If you open the file with geany which is part of the linuxcnc ISO. the  editor will show line numbers.
  • Marcos DC
16 Mar 2026 02:15
Replied by Marcos DC on topic El5101 Config
It may be less a case of “no results” and more a case of “the pieces exist, but there does not seem to be a complete worked example showing how to tie them together in LinuxCNC.”

If you already get the Z/C event, then it sounds like the remaining issue is LinuxCNC integration rather than the EL5101 itself.
Using the EL5101 for A/B and a separate optical sensor for Z into an EL1008 sounds like a practical workaround if you are looking for a known working threading setup to base yours on.
  • tommylight
16 Mar 2026 02:03
In your hal file, under the addf it has
setp [HMOY] hm2_7i76e.0.stepgen.timer-number 1
setp [HMOT] hm2_7i76e.0.dpll.01.timer-us -100.

Notice the HMOY should be HMOT
-
Editing config files at random never ever ends good.
  • kello711
16 Mar 2026 01:28
I am trying to load up a 1" wood surfacing bit. I wanted to use the tool offset direction in the probing but it doesn't seem to work. I didn't find anything in the documentation to explain how. I added the diameter to the tool table to no avail. Also on the probing menu, what do "User Params" 1 and 2 do?
  • kello711
16 Mar 2026 01:22
I'm not sure how to remedy the errors (also attached).

Invalid params in linear command
 Linear move on line 5 would exceed joint 3's positive limit

This occurs after running a surfacing from the conversational tab. I ran the gcode and stopped it to make adjustments to the positions and then run again. The only remedy seemed to re-probe with 3d touch probe and then reload the cutting tool. This seems excessive and not sure how to fix for the future.
  • georgio
16 Mar 2026 01:20
thank you Peter,
That got rid of the error there but it points now to an error on Hal line 25: empty variable name. I don't know how lines are counted no matter how many ways I counted them it did not make sense to me.
I so very much appreciate your help, I have spending days with AI trying to get this figured out to no avail, you forum experts know this stuff!!!!
Grorge
  • rock861261
16 Mar 2026 01:08
Replied by rock861261 on topic El5101 Config
Can I use the El5101 for the a/b and use an optical sensor for the z with an input to EL1008
  • rock861261
16 Mar 2026 00:47
Replied by rock861261 on topic El5101 Config
I can get a Z activation but cant configure it to linuxcnc

I agree I see a bunch of pieces but no results. So what does everyone use for a spindle encoder for threading?
  • Marcos DC
16 Mar 2026 00:42
Replied by Marcos DC on topic El5101 Config
Did you check the Beckhoff EL5101 latch documentation?
EN_LATC / LATC_VAL look like the terminal’s native C/index latch mechanism to me, so the EL5101 does seem to provide native index support in hardware.

The real gap looks to be on the LinuxCNC side: mapping that cleanly into the expected index-enable semantics.

From what I have seen in the LinuxCNC forum threads, there are bits and pieces of reference material, but apparently no complete end-to-end example covering EL5101 + LinuxCNC spindle index semantics + threading/orient.
  • tommylight
16 Mar 2026 00:31
Replied by tommylight on topic MESA 7i76eu Firmware
  • rock861261
16 Mar 2026 00:09
Replied by rock861261 on topic Spindle Encoder: Float Precision Issues
Do you have a copy of the hal file?
  • PCW
15 Mar 2026 23:43
This section of the hal file is broken in at least 3 ways:

loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
#loadrt [KINS]KINEMATICS
loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=1 num_stepgens=4 sserial_port_0=2"
#loadrt hostmot2

1. loadrt [KINS]KINEMATICS is commented out
2. loadrt hostmot2 is commented out
3. loadrt hostmot2 is in the wrong order (it must be loaded before hm2_eth)

It should look like what pncconf creates:

loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hostmot2
loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=1 num_stepgens=4 sserial_port_0=2"
  • rock861261
15 Mar 2026 23:04
Replied by rock861261 on topic El5101 Config
is it possible to set it up as a output to a 5v input? I can trigger it that way?
  • grandixximo
15 Mar 2026 22:07 - 15 Mar 2026 22:10
Replied by grandixximo on topic Ethercat random jitter fix
@andrax

Sittner's repository does  not support 

syncToRefClock

If you want to test Sascha Ittner's code with pll
Set 
refClockSyncCycles="-1"

My code is a different repo

github.com/grandixximo/linuxcnc-ethercat

Sasha's code is missing some drivers, he has done a huge rework, he also removed the grind, but used another method, I am still undecided on how to merge his code properly.
  • georgio
15 Mar 2026 21:37
Hello all,
I am a newbie and I might have posted this question on the wrong thread before so I apologize for my lack of knowledge and experience. I have got my board and pc communicatiing and I think I have fixed most of the error but until i get this one fixed I won't know. I have an error which seems to be misidentifiying my z axis. I have a xyyx router setup hopefully to get y  squaring. The error I am getting says an undefined kinematicsSwitch and it leaves my setup with undefined limit on z. All help will be greatly appreciated. I will post my ini and hal files for you to look at.
Thanks again,
George
Displaying 5881 - 5895 out of 11812 results.
Time to create page: 0.380 seconds
Powered by Kunena Forum