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
Displaying 19381 - 19387 out of 19387 results.
Time to create page: 0.658 seconds
Powered by Kunena Forum