Advanced Search

Search Results (Searched for: )

  • rodw
  • rodw's Avatar
Yesterday 07:07
Replied by rodw 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.
 

Update your machine to use LinuxCNC and we might be able to help.
  • rodw
  • rodw's Avatar
Yesterday 07:04
Replied by rodw 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! :)

there have been big changes.
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
follow the updated process and also the added Hal file command mentioned in response to your other post
 
  • rodw
  • rodw's Avatar
Yesterday 07:01
Replied by rodw on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Also the Ethercat repos have changed to point to linuxcnc-ethercat
The instructions in my Ethercat sticky have been updated so also follow them
2.9.10 ISO should install the new repos mentioned but follow the  instructions in step 2
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
 
  • rodw
  • rodw's Avatar
Yesterday 06:57
Replied by rodw 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?

From a message from grandixximo
can try for now to do

loadrt lcec
...
initf lcec.activate servo-thread
addf lcec.read-all servo-thread
  • Aciera
  • Aciera's Avatar
Yesterday 06:16

Gmoccapy tool table not accepting lathe tool angles...

Category: Gmoccapy

just need to search for 'locale.format_string()' and replacing each instance back with 'locale.format()'?


No, the other way around.
Click on the link in my post above and you will see the files 'calculatorwidget.py', 'offsetpage_widget.py' and 'tooledit_widget.py'. The lines marked in red need to be replaced with the lines marked in green. You will see the line number on the left.

'pncconf.py' is also affected but that is not required for running Gmoccapy.
  • ihavenofish
  • ihavenofish
Yesterday 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
Yesterday 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
Yesterday 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
Yesterday 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.
Displaying 61 - 75 out of 14295 results.
Time to create page: 0.562 seconds
Powered by Kunena Forum