Advanced Search

Search Results (Searched for: )

  • tommy
  • tommy
10 Feb 2025 09:05
Replied by tommy on topic 7i95T + 7i78 spindle configuration

7i95T + 7i78 spindle configuration

Category: Basic Configuration

I ment hm2_7i95.0.gpio.050.outoutput which enable/disable vfd.

I solved it with additional near component, which outputs true when in my case spindle-ramped is at zero, and this output is inverted, so I can use it for VFD enable.

Code below, if someone in future faces similar problem:
# -------SPINDLE SOFT START --------------------------------------

# load the real time modules limit2 and near with names so it is easier to follow their connections
loadrt limit2 names=spindle-ramp
loadrt near names=spindle-at-speed,spindle-zero

# add the functions to a thread
addf spindle-ramp        servo-thread
addf spindle-at-speed    servo-thread

# spimdle-zero pin used for enabeling vfd and disabeling after decel is finished
addf spindle-zero        servo-thread

# set the parameter for max rate-of-change
# (max spindle accel/decel in units per second)
setp spindle-ramp.maxv 1100

# hijack the spindle speed out and send it to spindle ramp in
net spindle-cmd <= spindle.0.speed-out => spindle-ramp.in

# the output of spindle ramp is sent to the scale in
net spindle-ramped <= spindle-ramp.out => scale.0.in

# to know when to start the motion we send the near component
# (named spindle-at-speed) to the spindle commanded speed from
# the signal spindle-cmd and the actual spindle speed
# provided your spindle can accelerate at the maxv setting.
net spindle-cmd => spindle-at-speed.in1
net spindle-ramped => spindle-at-speed.in2

# setting first input of second near input to 0
setp spindle-zero.in1 0

# sending actual spindle speed to second input of second near module
net spindle-ramped => spindle-zero.in2

# the output from spindle-at-speed is sent to spindle.0.at-speed
# and when this is true motion will start
net spindle-ready <= spindle-at-speed.out => spindle.0.at-speed

# ---------- SPIDNLE OUT -----------

setp hm2_7i95.0.gpio.050.is_output 1

# spindle-zero.out is used for delaying VFD disable to wait spindle ramp down till stops spining
net sindle-enbl spindle-zero.out => hm2_7i95.0.gpio.050.out

setp hm2_7i95.0.pwmgen.00.out0.invert_output true
setp hm2_7i95.0.pwmgen.pwm_frequency 2000
setp hm2_7i95.0.pwmgen.00.scale 16500
net spindle-on <= spindle.0.on
net spindle-on => hm2_7i95.0.pwmgen.00.enable
net spindle-ramped => hm2_7i95.0.pwmgen.00.value
  • meister
  • meister
10 Feb 2025 08:53

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

i have released a new version (dev->main),

but remember, never change a running system :)

If you update you also have to rebuild the gateware.

if you use i2c devices you probably have to change your config, it no longer runs individually but really as a bus (or several).

github.com/multigcs/riocore/blob/main/CHANGELOG.md
  • partec
  • partec
10 Feb 2025 08:41 - 10 Feb 2025 08:54
  • automata
  • automata
10 Feb 2025 08:35
Replied by automata on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Hi Grotius,
I feel that for 3 axis Gcode, your earlier method of applying 2D bi-clothoids by considering them in the plane holding the two lines should be sufficient for line-line, line-arc and arc-line cases. Only in arc-arc case, you may run into this 3D clothoid / torsion scenario.
-automata
  • Martin.L
  • Martin.L
10 Feb 2025 06:50

EtherCAT + lcec + cia402 + PID on A6-1000EC in velocity control mode

Category: EtherCAT

Have you guys figured out how to auto tune this servos?
  • beauxnez
  • beauxnez
10 Feb 2025 05:18 - 10 Feb 2025 05:19

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

same error when modifying the .ini file

 
  • cakeslob
  • cakeslob
10 Feb 2025 05:06

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

add this to [TRAJ] in your ini file
SPINDLES                = 3
  • akg1904
  • akg1904
10 Feb 2025 04:34
Replied by akg1904 on topic Pitch Error Compensation explanation

Pitch Error Compensation explanation

Category: General LinuxCNC Questions

Hi,Thank you for your explanation. However, I'm struggling to understand the compensation behavior in my configuration file. For example, if I specify the following compensations:10  10.1 10.08
20  20.1 20.08
30  30.1 30.08
...

When I move my machine to 30 mm, will the compensations for 10 mm and 20 mm accumulate, causing the machine to move to 30.3 mm instead of 30.1 mm? Or will the machine only apply the 30 mm compensation and move to 30.1 mm?

Regards
Abhishek
  • beauxnez
  • beauxnez
10 Feb 2025 04:13

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

thanks but I'm really sorry but I don't know what I'm doing (it's Chinese to me)
 I see in the qtplasmac_comp.hal file the line "net plasmac:scribe-start spindle.1.on => plasmac.scribe-start"
 should I copy it into my NVEM.hal file?
  • Lcvette
  • Lcvette's Avatar
10 Feb 2025 02:18

ProbeBasic and sidemount, retractable 3D Probe

Category: QtPyVCP

I think you misinterpreted my design meaning, I mean put the tools outside along the y axis.

 
  • Grotius
  • Grotius's Avatar
10 Feb 2025 01:43
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Hi,

I thought, mabye just start coding a clothoid lib. And try to
understand how 3d clothoids work.

I followed this paper, the same as Andrew used : 2d clothoid
Then coded chapter 4 into c code.
Was also able to look into Andrews clothoid code from where i
borrowed the gaus legendre.

With a little assistance of DeepSeek i was able to get a single 2d clothoid
running and plotted with gnu plot.

Then i turned on my experimental mode and tried to expand the signle 2d clothoid
to a single 3d clothoid.

The 3d clothoid uses torsion. To keep it simple i used simple names in the c code.

theta0 & kappa0 -> xy
theta1 & kappa1 -> z

I think the hard part is really the bi-clothoid fitting, wich has to be coded yet.

Code so far:
libclothoid

Gnu plot of single 3d clothoid:
 
  • PCW
  • PCW's Avatar
09 Feb 2025 23:37

Trouble tuning axis for first time, ferror doesn't go to zero after move

Category: General LinuxCNC Questions

The scaling of I  is such that you need pretty large numbers
to make any visible difference
  • unknown
  • unknown
09 Feb 2025 23:30
Replied by unknown on topic From Grbl to linuxcnc

From Grbl to linuxcnc

Category: General LinuxCNC Questions

RPi5 will need to have hm2_spix driver loaded
RPi4 will need to have hm2_rpspi driver loaded
  • unknown
  • unknown
09 Feb 2025 23:24
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

sudo ping -i 0.001 -c 1000000 -f 192.168.1.1

This was pinging my router, for about 15 minutes, and I did not get a failed packet, no lockups.
Displaying 19036 - 19050 out of 19543 results.
Time to create page: 1.163 seconds
Powered by Kunena Forum