Advanced Search

Search Results (Searched for: )

  • ihavenofish
  • ihavenofish
20 Jul 2026 06:10
Replied by ihavenofish on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

So i installed this on a redone setup of 2.9.8 and im getting constant random joint and limit errors. even mid program. they seem to stem from random spike encoder frames. sometimes it goes 10 mins without anything, sometimes you can move for 1 second without one.

I am not 100% sure they are related to this patch, or what this patch is meant to fix. But its rendered my machine pretty unusable. (i redid the machine to add a 4th axis)

Any thoughts?
  • ihavenofish
  • ihavenofish
20 Jul 2026 05:59
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

4th axis!



So, in redoing linuxcnc and adding this new leadshine L6 servo, ethercat is not totally ferked. I am getting random limit and joint errors during program runs, during jogging, sitting idle. I managed to see one of these errors with the scope and it is a one frame spike of ferror that's seemingly infinite value.

What the heck is going on. Ill upload my config files shortly. Every camera cut in the video is a random joint error on a random axis.

I have the jitter fix build, and not a whooole lot else really changed from the last build. HALP! :)
  • RotarySMP
  • RotarySMP's Avatar
20 Jul 2026 04:52

Gmoccapy tool table not accepting lathe tool angles...

Category: Gmoccapy

Thanks a lot for checking and confirming that.

Is this correct ,
So for each of the files in '/usr/lib/python3/dist-packages/gladevcp/'...
I just need to search for  'locale.format_string()' and replacing each instance back with 'locale.format()'?

Cheers,
Mark
  • abbasezzi
  • abbasezzi
20 Jul 2026 04:17
Replied by abbasezzi on topic jerking on zero position

jerking on zero position

Category: Forum Questions

i am controlling drive by using modbus 485, my controller is teensy 4.1 with wavetec RS485 module between drive and controller. the drive is being controlled in PR/velocity mode.. the PR mode is being used for homing and velocity for normal 360 degree rotations. i am facing issue in the end when the arm reaches to zero/home position.
  • PCW
  • PCW's Avatar
19 Jul 2026 23:22
Replied by PCW on topic Jogwheels won´t jog

Jogwheels won´t jog

Category: Basic Configuration

To jog before homing you need to connect the joint jog  pins the same as the axis jog pins

That is for example if X is joint 0, you would connect these pins
to the same sources as the X jog pins:

joint.0.jog-counts
joint.0.jog-scale
joint.0.jog-enable
joint.0.jog-vel-mode
 
  • tommylight
  • tommylight's Avatar
19 Jul 2026 22:44
Replied by tommylight on topic Parallel Port - how to invert PWM value

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

Hmm, this might work
parport.<p>.pin-<n>-out-invert 

That is why i did not mention it, as that is exactly what you needed.
-
Welcome to the parport club, i bought 3 old PC's with parallel ports (a Pentium 4 and two of Core 2) for 40 euro about 5 days back, and no matter how much fanfare goes on here from time to time about it being obsolete, i still love it as it works perfectly...for nearly 20 years without a single hiccup ever.
And also keep a stock of 2-4 at all times in the shop, so now should be 6...as one went off yesterday to it's new work place.
  • rodw
  • rodw's Avatar
19 Jul 2026 20:47
Replied by rodw on topic Parallel Port - how to invert PWM value

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

I answered my own question by reading the docs!
setp parport.0.pin-01-out-invert 1
Is exactly what I needed, I went looking for -not pins with no joy and never thought to look at parameters
  • macsddau@linuxcnc
  • macsddau@linuxcnc's Avatar
19 Jul 2026 19:06
Replied by macsddau@linuxcnc on topic Any idea how to write PP form APT to ngc

Any idea how to write PP form APT to ngc

Category: Post Processors

Added APTSource program extension and path to [FLITER] section
  • tuxcnc
  • tuxcnc
19 Jul 2026 18:36
Replied by tuxcnc on topic Jogwheels won´t jog

Jogwheels won´t jog

Category: Basic Configuration

Thank you very much.
I have been planning to add encoder support as mpg for a long time, but it was not my priority because I do not have the appropriate equipment.
But today you gave me an opportunity, so I connected a regular encoder to 7i92 and performed tests.
In the condition as below, you can move the X axis by turning the encoder, but only after the axis has been referenced.
I haven't tested any more because I don't want to look for and solder switches right now, but judging by the code it must work.
(The setp axis.x.jog-enable 1 line is for testing only and should be removed afterwards.)
loadrt mux4
addf mux4.0 servo-thread

# For velocity mode, set to 1
# In velocity mode the axis stops when the dial is stopped
# even if that means the commanded motion is not completed,
# For position mode (the default), set to 0
# In position mode the axis will move exactly jog-scale
# units for each count, regardless of how long that might take,
setp axis.x.jog-vel-mode 1
setp axis.y.jog-vel-mode 1
setp axis.z.jog-vel-mode 0

# The Axis select inputs
# Line bellow is for testing only. For normal use remove it and uncomment next.
setp axis.x.jog-enable 1
#net mpg-x axis.x.jog-enable <= hm2_7i92.0.gpio.026.in_not
net mpg-y axis.y.jog-enable <= hm2_7i92.0.gpio.030.in_not
net mpg-z axis.z.jog-enable <= hm2_7i92.0.gpio.031.in_not

# The inputs to the mux4 component
net scale1 mux4.0.sel0 <= hm2_7i92.0.gpio.016.in_not
net scale2 mux4.0.sel1 <= hm2_7i92.0.gpio.015.in_not

# This sets the scale that will be used based on the input to the mux4
setp mux4.0.in0 0.025
setp mux4.0.in1 0.0025
setp mux4.0.in2 0.00025

# The output from the mux4 is sent to each axis jog scale
net mpg-scale mux4.0.out => axis.x.jog-scale axis.y.jog-scale axis.z.jog-scale

# The encoder output counts to the axis. Only the selected axis will move.
net encoder-counts hm2_7i92.0.encoder.00.count => axis.x.jog-counts axis.y.jog-counts axis.z.jog-counts
  • tommylight
  • tommylight's Avatar
19 Jul 2026 18:16
Replied by tommylight on topic Parallel Port - how to invert PWM value

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

Some examples of PWM stuff:
loadrt pwmgen output_type=1
addf pwmgen.make-pulses base-thread
addf pwmgen.update servo-thread
net dout-00 <=  pwmgen.0.pwm
setp pwmgen.0.pwm-freq 1000.0
setp pwmgen.0.scale 6.0
setp pwmgen.0.offset 0.2
setp pwmgen.0.dither-pwm true

net dout-00         => parport.0.pin-02-out
Probably more there, but usually all you need is frequency and scale, sometimes also offset.
  • tommylight
  • tommylight's Avatar
19 Jul 2026 18:11
Replied by tommylight on topic Any idea how to write PP form APT to ngc

Any idea how to write PP form APT to ngc

Category: Post Processors

2- make it working in LinuxCNC as program filter, actually only works stand alone.

Did you add the [FILTER] entries to the ini file?
Here is mine, adjust to your needs:
[FILTER]
PROGRAM_EXTENSION = .pts values
pts = ./LinuxCNC_pts_filter_4_axis.py
  • tommylight
  • tommylight's Avatar
19 Jul 2026 18:07
Replied by tommylight on topic jerking on zero position

jerking on zero position

Category: Forum Questions

How is the drive controlled?
More info...
  • Onkelmat
  • Onkelmat's Avatar
19 Jul 2026 14:37
Jogwheels won´t jog was created by Onkelmat

Jogwheels won´t jog

Category: Basic Configuration

It´s a me again.

So far I got the Gildemeister NEF 500 Plus Lathe running again, with the keyboard i was even able to make some chips. Homing now works since the updated version of Pncconfig wizard seems to have a few bugs left for the 7i97T. On bug for example is, inputs that are "inmux.00" are named "in.00" in the .ini or .hal, not sure right now but that occured every single time i changed something with the wizard.

But let´s get back to the problem I´m facing now. Trust me, searched two whole days to find a solution bymyselfe.
Here´s the physical setup where i´m coming from:

i have two Handwheels on my machine, they have A /A b /B signals, and are wired to encoder 03 and encoder 04. In Halshow i can see the hm2_7i797.0.encoder.03.count corresponding to each wheel. That worked right away.
The wheels should be always enabled, except when running a command or a programm. The wheels are fixed to their axis. 03 is for Z axis and 04 is for X Axis.

I copied and wrote tons of .hal lines but nothing seems to get the axis moving when i´m turning the wheels. I tried to set all enables that are somehow related to axis jogging to true in Halshow. nothing worked. In the documentation the link is broken to that one site for hooking a jogwheel. And every code i copied was obsolote, since the names of the pins and this has changed. I end up with "pin doesn´t exsist" all the time. You don´t have to tell me the whole solution, but i´d like to understand the mechanics behind Jogwheels and Axis jogging, how do i link the jogwheel count to the axis count so it moves ?
 
  • macsddau@linuxcnc
  • macsddau@linuxcnc's Avatar
19 Jul 2026 10:11 - 19 Jul 2026 10:15
Replied by macsddau@linuxcnc on topic Any idea how to write PP form APT to ngc

Any idea how to write PP form APT to ngc

Category: Post Processors

Hi
I have seen recent topic of @tommylight about filter for pts files. This help me to start writing the postprocessor for apt files.

I can manage simple words and convert to gcode.
Next to steps :
1- process circular interpolations
2- make it working in LinuxCNC as program filter, actually only works stand alone.

I am sure that’s python code is not as beautiful as it should be but that’s working.
  • rodw
  • rodw's Avatar
19 Jul 2026 09:56
Replied by rodw on topic Parallel Port - how to invert PWM value

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

Hmm, this might work
parport.<p>.pin-<n>-out-invert 
Displaying 91 - 105 out of 14297 results.
Time to create page: 0.606 seconds
Powered by Kunena Forum