Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
Today 19:35

Mesa 7I76EU TB2 not working right (TB3 works fine) – need help diagnosing

Category: Driver Boards

Is it possible that you have the incorrect step mode chosen in your hal file?

(step/dir is mode 0)
  • devils4ever
  • devils4ever
Today 19:15
Replied by devils4ever on topic iMach3 P2-S Stops Working

iMach3 P2-S Stops Working

Category: General LinuxCNC Questions

Thanks for your input. That makes sense. Is it worth trying some ferrites?

Are there other brands/models that are more reliable and easy to configure with LinuxCNC?
  • Routerworks
  • Routerworks
Today 18:50

Need help setting up XYYZA for stepper motors

Category: Basic Configuration

My Dual Y 3 axis works fine.  I am trying to setup a 4th rotary axis.  I used the setup wizard for steppers.  I doesn't have a XYYZA  option, only XYZA.
i attached the Y step and direction output to two outputs that appear to drive both Y motors on the Halscope. However without having a Y0 and Y1 as in the 3 axis setup I am hesitant to try driving the steppers as I am not sure they will both act in the same direction.  Looking at the 3 axis setup I would need 5 joints (0.0.0.0.0) to do this.  

Would greatly appreciate some insight.

Thanks in advance
  • spumco
  • spumco
Today 18:40
Replied by spumco on topic iMach3 P2-S Stops Working

iMach3 P2-S Stops Working

Category: General LinuxCNC Questions

I have a P4-S I abandoned a while ago due to flakey behavior and annoying USB lag/latency.  Solid, feels great, nice features... but unreliable for me.

I believe they are very sensitive to RF or EMI through the USB connection.  I've read a number of reports of similar issues - random resets.  One thread I read (maybe not on this board, cant remember) indicated the user could brick his iMach at will by stepping on a rubber anti-fatigue mat while holding the MPG.

When I had mine apart I realized the USB cable shield isn't connected to anything inside the MPG housing.  Not to the pcb ground, not to the case - just clipped short.  No way to dissipate static or anything inside (or outside) the MPG.  I'm not an electronics guru, but this didn't seem right.

If you are in love with it and don't feel like dealing with intermittent customer service from iMach, maybe add more ferrites to the cable.

Also - maybe - see if you can connect the cable shield to something that isn't powered on the PCB or housing.  And cross your fingers.
  • spumco
  • spumco
Today 18:24
Replied by spumco on topic Lathe C axis homing

Lathe C axis homing

Category: General LinuxCNC Questions

Yea, scaling and all the math made my brain hurt.

First, it helped me to stop thinking of INI file terms like ENCODER_SCALE whenever they are used to set the value of something in HAL.  Think about the underlying pins when working on the math, not the arbitrary INI parameter name.  I got confused (still do) between all the various 'NNN_SCALE' things in INI and would mix up what was affecting what.  Helps when you write them out all in one place:
  • encoder.N.scale = [SPINDLE_N] ENCODER_SCALE = 10000
  • stepgen.N.position-scale = yada yada yada

So hurdle #1 - spindle and c-axis are in different units.  Spindle is in revolutions, c-axis is in degrees.  This causes brain hurt.

#2 - as you noticed, spindle scale is a velocity thing, so it's a RPM/RPS formula not steps per degree.

#3 - remember that my spindle drive is internally in velocity mode ONLY, and my stepgen is always in velocity-mode... so I don't switch the stepgen position-scale via M102/103.

If you are switching the drive internally, you will almost certainly need to change the stepgen scale for each drive mode.
  • Hakan
  • Hakan
Today 17:24
Replied by Hakan on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

ec_generic doesn't add or remove any interrupt moderation.
ec_generic is just a layer on top of linux's normal network driver.
 
  • billykid
  • billykid's Avatar
Today 16:57
Replied by billykid on topic xhc-hb04 does not communicate

xhc-hb04 does not communicate

Category: General LinuxCNC Questions

Thanks, but the USB stick was really broken and it blocks any PC it's plugged into. I'm using the handwheel to modify it with an ESP32.
  • Dudelbert
  • Dudelbert
Today 16:23 - Today 16:28

Considering a Full Rewire on a Working Schaublin 125 CNC

Category: Turning

I have the variator now basically working.

To the 3 problems I laid out a few days ago:

1: The problem was really at 2 points. For one, the line
setp [HMOT](CARD0).pwmgen.05.
offset-mode should have been 1 and was 0, and on top the VFD was set slightly wrong. Using open-loop FOC now, the tuning went much better.

2: The divide-by-0 issue is still somewhat there, but giving both ".in" pins a starting value greater than 0 makes it so it still throws an error at startup but works as expected thereafter.

3: It seems that I cannot manipulate the error term directly, but what works is to take commanded and feedback, calculate the error, and scale that error. With that, I can “reassemble” a feedback that leads the PID component to get the error I want it to.

With all that, I am able to have stable control over the whole RPM range of about 65 RPM to 3000 RPM.

The variator control still has to be improved, but the principle seems absolutely workable.

  • jblanscett
  • jblanscett
Today 12:50
Replied by jblanscett on topic G33.1 causing gcode to hang

G33.1 causing gcode to hang

Category: General LinuxCNC Questions

I figured out the problem. The spindle at speed wasn't going true for the clockwise direction of the spindle causing the code to hang.
  • m0602232
  • m0602232
Today 12:46 - Today 12:48
Replied by m0602232 on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

I have been experimenting with planner type 1 for a while now with 3-axis milling machine. Generally it seems to work but I'm having problems with g33.1. What is the current state with tp1, should it work when running g33.1? Right now I get error "ruckig_plan_position: invalid limits (v=0.000000, a=3000.000000, j=120000.000000)" at every spindle revolution. In ini file I have nonzero traj(default_linear_velocity, max_linear_velocity), axis' and joints(max_velocity).
  • rodw
  • rodw's Avatar
Today 12:01

How to work with LinuxCNC for EtherCAT Servo drivers?

Category: EtherCAT

The instructions to install ethercat are here:
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step

We use an xml file to define PDOs and map to linuxcnc pins but its nothing like twincat stuff.

I've been working on a custom ISO that installs ethercat and tunes the kernel but its slow going.
  • rodw
  • rodw's Avatar
Today 11:52
Replied by rodw on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

With ec_igb or ec_igc native driver: interrupt moderation is irrelevant, they use polling not interrupt.
With ec_generic: interrupt moderation is active and you should disable it with

ethtool -C <iface> adaptive-rx off rx-usecs 0 tx-usecs 0

probably as soon as possible on boot, before ethercat starts.
To know which drive you are using, check your erhercat.conf file

You can use a udev rule to do this. we use one for ethercat to use as an example. You might be able to extend the ethercat script  to add ethtool commands for: 
<iface> gro off lro off tso off
-set-eee <iface> eee off
 
  • andrax
  • andrax's Avatar
Today 11:50
Replied by andrax on topic Ethercat, CIA402, Yaskawa Sigma-X

Ethercat, CIA402, Yaskawa Sigma-X

Category: EtherCAT

Could you please provide the error logs?
  • jblanscett
  • jblanscett
Today 11:50
Replied by jblanscett on topic G33.1 causing gcode to hang

G33.1 causing gcode to hang

Category: General LinuxCNC Questions

ah thanks I uncommented that out. No change to the behavior though.
 
  • spumco
  • spumco
Today 11:40
Replied by spumco on topic G33.1 causing gcode to hang

G33.1 causing gcode to hang

Category: General LinuxCNC Questions

pid.s.index-enable is still commented out in the last file you attached.
Displaying 1 - 15 out of 285007 results.
Time to create page: 4.717 seconds
Powered by Kunena Forum