Advanced Search

Search Results (Searched for: )

  • 10K
  • 10K's Avatar
01 Jan 2025 15:27
Replied by 10K on topic Threading Index Varies With Speed

Threading Index Varies With Speed

Category: General LinuxCNC Questions

I ran a couple of tests this morning to see if I could figure out why the velocity started working OK. These two scope captures are both at 200 RPM, running the same threading program. It shows me that 10 teeth is not adequate for some operations, and that I should modify the spindle with a new gear with more teeth. I'm thinking I'll do 180 teeth/rev. It'll take me a while to make the modifications.

I don't expect this to fix the original problem of threads not aligning at different speeds, but it should fix the slightly varying thread pitch..

HAL using: net spindle-position encoder.0.position => spindle.0.revs



HAL using: net spindle-position encoder.0.position-interpolated => spindle.0.revs



 
  • PCW
  • PCW's Avatar
01 Jan 2025 15:02
Replied by PCW on topic Spindle speed and instatnly powered led

Spindle speed and instatnly powered led

Category: Qtvcp

The scale is odd because you have the .00035 scale factor (so the full scale value (to get PWM=1) is 2857 )

Do you need the scale component? Eliminating it and setting the output scale to 24000 would certainly
simplify debugging.

With the existing scaling, setting the output scale (and max output) to 8.4 should be about right:

MAX_OUTPUT = 8.4
OUTPUT_SCALE = 8.4
OUTPUT_MIN_LIMIT = 1.75
OUTPUT_MAX_LIMIT = 8.4

But why would you do that?

MAX_OUTPUT = 24000.0
OUTPUT_SCALE = 24000
OUTPUT_MIN_LIMIT = 5000
OUTPUT_MAX_LIMIT = 24000

and no scale component is 100% easier to understand


 
  • TomAlborough
  • TomAlborough's Avatar
01 Jan 2025 14:59
Replied by TomAlborough on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Thank you cornholio.

I'm looking to cut wood for building boats.

If I run into issues doing the above well, I earned a living doing Unix driver and kernel work a while ago; I would like to contribute now if I could. I have experience with a number of device driver debugging and kernel development techniques.

Let me get some hardware and software in. Again, if there is a certain feature that doesn't work that should work, let me know.

Thanks,
Tom Alborough
  • PCW
  • PCW's Avatar
01 Jan 2025 14:33
Replied by PCW on topic 7i96s not recognized

7i96s not recognized

Category: Basic Configuration

No, the host Ethernet address should be say 10.10.10.100

 
  • slowpoke
  • slowpoke
01 Jan 2025 13:41 - 01 Jan 2025 13:43
Replied by slowpoke on topic 7i96s not recognized

7i96s not recognized

Category: Basic Configuration

This is a dedicated PC for LinuxCNC for my lathe. It has built in WiFi that connects to our home network. The Ethernet port is dedicated to the MESA card. I don't plan to connect with anything else via that Ethernet port, just the Mesa card.
  • zelo
  • zelo
01 Jan 2025 13:36 - 01 Jan 2025 16:20

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I have my config here for ec500 with nvmpg: github.com/zelo/linuxcnc-remora-ec500-rt1052-cfg

- For now basic spindle controll works
- Stepper drivers (DM556T) using DMA stepgen.
- NVMPG - signal generator, multiplier button, and axis selection

I have still issues with following joint errors, but thats with faster movement or direction change. I guess when i jog too fast with the wheel it cant keep up.
EDIT: fixed following joint errors by setting lower max velocity values
  • _skinner
  • _skinner
01 Jan 2025 13:00
Spindle speed and instatnly powered led was created by _skinner

Spindle speed and instatnly powered led

Category: Qtvcp

Hello,
I have little troubles with my spindle, I have to S1200 to get 12000RPM, S1800 to get 18000RPM etc, i tried many things with parameters but without results:
Generally PWM signal from motion controller card drive a 0-10V signal to spindle, when scale set to 24000 it won't work at all.
MAX_OUTPUT = 24000.0
OUTPUT_SCALE = 1
OUTPUT_MIN_LIMIT = 5000
OUTPUT_MAX_LIMIT = 24000
hal:
net spindle-pid-out  pid.s.output    => scale.gear.in
setp scale.gear.gain 0.00035
net spindle-output        <=  scale.gear.out
setp   hm2_7c81.0.pwmgen.01.output-type 1
setp   hm2_7c81.0.pwmgen.01.scale  [SPINDLE_0]OUTPUT_SCALE
net spindle-output      => hm2_7c81.0.pwmgen.01.value
net spindle-enable      => hm2_7c81.0.pwmgen.01.enable
net spindle-at-speed     <=  hm2_7c81.0.gpio.051.in_not

second thing I like to drive LED in qtdragon_hd which is instantly powered on after spindle enable:
in ini file in DISPLAY section I've added :
USER_COMMAND_FILE = CONFIGFOLDER/qtdragonrc.py
and code in file:
print('\nUser command file for following spindle.0.at_speed\n')

# needed to instance patch
# reference: ruivieira.dev/python-monkey-patching-for-readability.html
import types

# import the handlerfile to get reference to it's libraries.
# use <screenname>_handler
import qtdragon_handler as SELF

###############################################
# add hook to add a status request
###############################################
def before_loop__(self):
    try:
        #self.w.led_at_speed.setProperty('halpin_option',False)
        self.w.led_at_speed.setProperty('follow_halpin_state',True)
        self.w.led_at_speed.setProperty('halpin_name','spindle.0.at-speed')
        self.w.led_at_speed. _hal_init()
    except Exception as e:
        pass

# Here we are instance patching the original handler file to add a new
# function that calls our new function (of the same name)
# defined in this file
self.before_loop__ = types.MethodType(before_loop__, self)


but led won't work (i tried 'self.w.led_at_speed' and 'self.w.hal_led_atspeed'), i have simple relay to inform that spindle reach speed, which is working correctly but only led on screen not working

Thank You in advance for help
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
01 Jan 2025 12:49
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

You coming at this arse about. Which makes me wonder if this is for academic purposes, a potential commercial endeavor or a tech blog.
First one decides on the type of cnc machine they want to build, then they choose the controller to suit.
The simplest entry point for one who has no plan for their actual "cnc machine" would be.

A Lenovo M73e tower, preferably with an i5, the appropriate MB to Parallel Port cable ( there's some trickery with the cable that enables the PP hardware) and a generic Parallel Port breakout board. I've recommended this combination as I know it works, I have tested it with a lathe for basic functionality. I actually found this machine on the side of road with a celeron processor, which I swapped out for an i5 (3470 I think) and an SSD from the "useful box".

What people want is something that will run their hardware (their cnc machine be it a plasma cutter, lathe, mill router, laser tube profiler, PnP machine, cnc soldering machine) at a price point they can afford. As you can guess this is quite an expansive list.
  • MrDe
  • MrDe
01 Jan 2025 12:42

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Hello,I’m experiencing an issue with the NVEM V5 board (RT1052) when using the Remora firmware. The spindle output (VSO) is functioning as expected, providing a 0-10V signal, but none of the other output pins are working at all. I’ve tried toggling all the output pins (as shown in the attached picture), but none of them are triggering HIGH.

Interestingly, all the input pins are working perfectly fine without any issues.

What I’m trying to achieve is to have the VSO pin control the spindle speed and use both OUT1 and OUT2 to control the direction (CCW | CW).

Has anyone encountered a similar problem or have any suggestions on what might be causing this?

Thanks in advance for any help!
  • _skinner
  • _skinner
01 Jan 2025 12:34

qtDragon LED Probe und Spindeldrehzahl anzeigen

Category: Deutsch

Cześć!
To chyba chodzi Ci o np:
net probe-in <= hm2_7c81.0.gpio.053.in_not
wtedy LED w qtdragon działa
ale to musi być w qtvcp_postgui:
net probe-in => qtdragon.led-probe
  • wusel0464
  • wusel0464
01 Jan 2025 12:18
Replied by wusel0464 on topic Reading values ​​from qtdragon.pref.

Reading values ​​from qtdragon.pref.

Category: Qtvcp

Hello,

Thank you very much for your quick help.

I'll try in the next few days to see if I can do it the way I thought I would.

The reason is actually quite simple, I want to use my camera offset
that I assigned to an MDI button from the qtdragon setup so that I don't have to enter the values ​​in different places.

At some point I'll forget and then I'll be surprised.

A happy new year to everyone and best wishes, Frank.
  • RV3Dtech
  • RV3Dtech
01 Jan 2025 12:16

qtDragon LED Probe und Spindeldrehzahl anzeigen

Category: Deutsch

Hallo zusammen,
ich möchte meinen WLZ mit der "qtdragon.led-probe" verknüpfen.
dazu habe ich die folgendne Eintrag in der HAL hinterlegt:
"net probe-tool => qtdragon.led-probe" 

Allerdings meckert er beim Start dass er den Pin qtdragon.led-probe nicht hat, obwohl er in der HAL-SHOW angezeigt wird. 
--> "Pin 'qtdragon.led-probe' does not exist"
Irgendwas fehlt da, ich komme aber nicht darauf 

Die zweite Frage wäre wie ich mir die Drehzahl in qtDragon anzeigen lassen kann, EIN & AUS sowie der Schieberegler gehen aber die U/min werden nicht angezeigt.  Meine HAL-Einträge zur Spindel:
# ---Setup Spindel Steuerungs-Signale---
net spindle-vel-cmd-rps <= spindle.0.speed-out-rps
net spindle-vel-cmd-rps-abs <= spindle.0.speed-out-rps-abs
net spindle-vel-cmd-rpm <= spindle.0.speed-out
net spindle-vel-cmd-rpm-abs <= spindle.0.speed-out-abs => hm2_7i76e.0.7i76.0.0.spinout
net spindle-enable <= spindle.0.on => hm2_7i76e.0.7i76.0.0.spinena
net spindle-cw <= spindle.0.forward
net spindle-ccw <= spindle.0.reverse => hm2_7i76e.0.7i76.0.0.spindir
net spindle-brake <= spindle.0.brake
net spindle-revs => spindle.0.revs
net spindle-at-speed => spindle.0.at-speed
net spindle-vel-fb-rps => spindle.0.speed-in
net spindle-index-enable <=> spindle.0.index-enable
# ---Einrichtung der Signale zur Spindel-Geschwindigkeits-Steuerung---
sets spindle-at-speed true
# --- DIGITAL POTENTIOMETER OUTPUT SETUP ---
setp hm2_7i76e.0.7i76.0.0.spinout-minlim [SPINDLE_0]OUTPUT_MIN_LIMIT
setp hm2_7i76e.0.7i76.0.0.spinout-maxlim [SPINDLE_0]OUTPUT_MAX_LIMIT
setp hm2_7i76e.0.7i76.0.0.spinout-scalemax [SPINDLE_0]OUTPUT_SCALE

 
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
01 Jan 2025 12:10
Replied by Cant do this anymore bye all on topic 7i96s not recognized

7i96s not recognized

Category: Basic Configuration

The hosts file is one method for host name resolution. It's not used for setting the IP address of a host.
If you had a small network of 4 computers that didn't require connection outside of the network and you didn't want to run a DNS server you would create a hosts file with all the mappings and then be able to access each machine by their DNS entry in the hosts file.
Displaying 20731 - 20743 out of 20743 results.
Time to create page: 0.432 seconds
Powered by Kunena Forum