Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
27 Nov 2024 11:36
Replied by tommylight on topic CAROUSEL ATC

CAROUSEL ATC

Category: HAL

ATC must have some sensors, be it index and pocket, or gray scale, or binary, or ....
  • uvos
  • uvos
27 Nov 2024 11:33

Asrock Q1900M: Unexpected Realtime Delay, but Good Latency Values

Category: General LinuxCNC Questions

the J1900 dosent have hyperthreading, nor dose the board have tpm, i disabled all the low power c states, onboard audio, the igpu (machine is headless).

If i could somehow repoduce the latency excursion in latency-test/ or the histogram that would be great, but i cant get it to happen.
  • tommylight
  • tommylight's Avatar
27 Nov 2024 11:31
Replied by tommylight on topic Frage wegen Spindelencoder an 7i76

Frage wegen Spindelencoder an 7i76

Category: Deutsch

Try:
OA+ A+
OA- A-
OB+ B+
OB- B-
Then open "show hal configuration" from "machine" menu, there on the right side choose "watch" and on the left side choose 7i92>encoder.0>encoder.0.velocity or encoder.0.raw-counts
Do this for all 6 encoders so you can see all at once and turn the spindle by hand.
Does any encoder count?
  • tommylight
  • tommylight's Avatar
27 Nov 2024 11:22

Asrock Q1900M: Unexpected Realtime Delay, but Good Latency Values

Category: General LinuxCNC Questions

Did you disable hyperthreading, TPM, power saving, pci-e power management, turbo, etc in BIOS?
  • rebelx
  • rebelx
27 Nov 2024 11:21 - 27 Nov 2024 11:22
Replied by rebelx on topic LinuxCNC on Intel Clear Linux

LinuxCNC on Intel Clear Linux

Category: Installing LinuxCNC

Thanks for your thorough explanation. Much appreciated! I will certainly give your build a try and I may decide to use it for the new machine that I am working on. I always love to try new things, pushing the boundaries of my comfort zone :)
As for Clear Linux, I have not seen any recent progress on their end to build a bundle for LinuxCNC. They got beyond the point where I got stuck, but it is still a work in progress. I reached out to them two weeks ago, but have not received a reply yet. I know they have a lot on their plate, so it may just be a resource and priority issue. Time will tell.....
  • Abdulkareem
  • Abdulkareem
27 Nov 2024 11:19
Replied by Abdulkareem on topic CAROUSEL ATC

CAROUSEL ATC

Category: HAL

actually i dont have any sensors except tool length sensor , i am using servo motors with absolute encoders
  • tommylight
  • tommylight's Avatar
27 Nov 2024 11:15
Replied by tommylight on topic CAROUSEL ATC

CAROUSEL ATC

Category: HAL

How many sensors does your ATC have?
What do they do?
  • nigelh
  • nigelh's Avatar
27 Nov 2024 11:05
Replied by nigelh on topic Set spindle speed

Set spindle speed

Category: HAL

Yeah got it.
I git cloned the source and as it's C and I've been reading C see since K&R was the hot book to have (like 50 years) it didn't take long.
Track back and discover it's in the NigMill.ini file
but   but  didn't I try that already?
Recheck. There was a section
# [SPINDLE0]
# MAX_FORWARD_VELOCITY = 1500
# INCREMENT = 100
So I just whipped off the # on the first and last line and retried it, got nothing.
Sad. Miserable.
However the dyslexic old coot that I am missed the real section name was SPINDLE_0
[SPINDLE_0]
# MAX_FORWARD_VELOCITY = 1500
INCREMENT = 1
and it works. I can increment and decrement in 1rpm steps.
  • newbynobi
  • newbynobi's Avatar
27 Nov 2024 10:58
Replied by newbynobi on topic Can't use Pendant (7i73) after Homed

Can't use Pendant (7i73) after Homed

Category: Gmoccapy

Your Jog Speed shows Cero
May be that is the problem?

Norbert
  • ceramicoo
  • ceramicoo
27 Nov 2024 10:43

dynamic speed of spindle related to speed of x,y,xy axis speed via pwm

Category: Advanced Configuration

hi.Tks for reply .no i dont know actual desired PWM. its not fixed speed
  • WKS-3D
  • WKS-3D's Avatar
27 Nov 2024 10:16
Replied by WKS-3D on topic Frage wegen Spindelencoder an 7i76

Frage wegen Spindelencoder an 7i76

Category: Deutsch

Danke für deine Antwort Timo 
Der GND und +5VP sind allerdings Ausgänge für Encoder, zB Glasmaßstäbe die selber keine Stromquelle haben.
Der Encoder vom Servo bekommt aber Strom von der Endstufe und benötigt GND und 5VP nicht, allerdings sollte man darauf achten das die angeschlossenen Komponenten das gleiche Potential haben, deswegen habe ich gestern auf Rat eines Elektronikers GND vom 24V und 5V Netzteil zusammengelegt. Gebracht hat es aber auch nichts.

Ich bekomme diesen Encoder nicht ans laufen und habe absolut keinen Dunst, warum nicht.
Der Servoencoder selbst sollte funktionieren weil in der Endstufe die aktuelle Drehzahl angezeigt wird, reagiert auch sofort auf Drehen von Hand.
Seit ihr bitte so freundlich und schaut euch meine Hal und Ini Einträge dafür mal an ob da ein Fehler drin ist?
# Verwendete LinuxCNC version:  Master (2.9)

# Mesa 7i76 LAUFT IN MODE 1 MIT 4 ANALOGEN EINGANGEN (sserial_port_0=1000000x) !!!!!!

loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT unlock_joints_mask=0x8 servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_dio=6 num_aio=3
loadrt hostmot2
loadrt hm2_eth board_ip="10.10.10.10" config="num_encoders=6 num_pwmgens=0 num_stepgens=5 sserial_port_0=1000000x" 
loadrt flipflop count=2
setp   hm2_7i92.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.z

addf hm2_7i92.0.read          servo-thread
addf motion-command-handler   servo-thread
addf motion-controller        servo-thread
addf pid.x.do-pid-calcs       servo-thread
addf pid.z.do-pid-calcs       servo-thread
addf hm2_7i92.0.write         servo-thread
setp hm2_7i92.0.dpll.01.timer-us -50
setp hm2_7i92.0.stepgen.timer-number 1

#*******************
#  SPINDEL
#*******************

setp   hm2_7i92.0.encoder.05.counter-mode 0
setp   hm2_7i92.0.encoder.05.filter 1
setp   hm2_7i92.0.encoder.05.index-invert 0
setp   hm2_7i92.0.encoder.05.index-mask 0
setp   hm2_7i92.0.encoder.05.index-mask-invert 0
setp   hm2_7i92.0.encoder.05.scale          [SPINDLE_0]ENCODER_SCALE
setp   hm2_7i92.0.stepgen.04.dirsetup        [SPINDLE_0]DIRSETUP
setp   hm2_7i92.0.stepgen.04.dirhold         [SPINDLE_0]DIRHOLD
setp   hm2_7i92.0.stepgen.04.steplen         [SPINDLE_0]STEPLEN
setp   hm2_7i92.0.stepgen.04.stepspace       [SPINDLE_0]STEPSPACE
setp   hm2_7i92.0.stepgen.04.position-scale  [SPINDLE_0]OUTPUT_SCALE
setp   hm2_7i92.0.stepgen.04.step_type        0
setp   hm2_7i92.0.stepgen.04.control-type     1
setp   hm2_7i92.0.stepgen.04.maxaccel        [SPINDLE_0]STEPGEN_MAXACCEL
setp   hm2_7i92.0.stepgen.04.maxvel          [SPINDLE_0]STEPGEN_MAXVEL

net spindle-vel-cmd-rpm        => hm2_7i92.0.stepgen.04.velocity-cmd
net spindle-enable             => hm2_7i92.0.stepgen.04.enable  => hm2_7i92.0.7i76.0.0.output-06
net spindle-index-enable       => hm2_7i92.0.encoder.05.index-enable 
net spindle-revs           <= hm2_7i92.0.encoder.05.position
net spindle-vel-fb-rps         <= hm2_7i92.0.encoder.05.velocity
net spindle-rpm               <= hm2_7i92.0.encoder.05.velocity-rpm
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
net spindle-enable             <=  spindle.0.on
net spindle-cw                 <=  spindle.0.forward
net spindle-ccw                <=  spindle.0.reverse
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
Ich habe Teile der Hal ausgelassen die absolut nichts mit der Spindel zu tun haben um die zu kürzen

Hier die INI-Einträge
[EMC]
VERSION = 1.1
MACHINE = Hera
DEBUG = 0

[DISPLAY]
DISPLAY = probe_basic_lathe
LATHE = 1
CONFIRM_EXIT = False
LOG_FILE = sim.log
LOG_LEVEL = DEBUG
PREFERENCE_FILE = sim.pref
CONFIG_FILE = custom_config.yml
CYCLE_TIME =            0.100
POSITION_OFFSET =       RELATIVE
POSITION_FEEDBACK =     ACTUAL
DEFAULT_LINEAR_VELOCITY = 6.00000
MAX_LINEAR_VELOCITY = 166.000000
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
DEFAULT_SPINDLE_SPEED = 300
MAX_SPINDLE_OVERRIDE = 2.000000
MIN_SPINDLE_OVERRIDE = 0.500000
MAX_FEED_OVERRIDE = 2.000000
PROGRAM_PREFIX = ~/linuxcnc/nc_files
OPEN_FILE = ~/linuxcnc/nc_files/pb_examples/blank.ngc
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 1
INCREMENTS = JOG 5mm 1mm .5mm .1mm .05mm .01mm .005mm
GEOMETRY = xz
USER_TABS_PATH = user_tabs/

[SPINDLE_0]

# Stepgeneratoreinstellungen

DIRSETUP   = 1000
DIRHOLD    = 1000
STEPLEN    = 1000
STEPSPACE  = 1000
STEPGEN_MAXVEL   = 3000
STEPGEN_MAXACCEL = 1000

# Encoder
ENCODER_SCALE     = 10000     
    
OUTPUT_SCALE      = 166.0667
# Berechnung: 10000 / 60 = 166.06666667   (Endocer Impulse pro Umdrehung durch 60 = Impulse pro Sekunde Output Scale)

Des weiteren bin ich mir nicht sicher wie viele Encoder-Ausgänge ich wirklich habe, eigentlich hat die 7i76 nur einen und die 7i85 vier, wären also fünf, dann müsste ich meinen Eintrag auf "encoder.04" ändern (habe ich schon gemacht, aber funktioniert trotzdem nicht, liegt aber vielleicht an einer falscher Hal/INI). Ich habe ein paar Ausgaben von Mesaflash angehängt, womit ich ehrlich gesagt, nicht wirklich schlauer wurde:

 
 
 
 

Hier beim letzten, vermute ich, ist die Anzahl der Encoder angegeben, wie gesagt, Vermutung:
 

Ich hoffe das mir jemand bei diesem Problem helfen kann, ich komme selbst einfach nicht drauf.


Danke und Gruß
Olli
  • uvos
  • uvos
27 Nov 2024 10:12

Asrock Q1900M: Unexpected Realtime Delay, but Good Latency Values

Category: General LinuxCNC Questions

So i bought a Asrock Q1900M to replace a failing c2d machine, since i have this board in a nas and it gets good latency values.

Unfortionatly despite the good values, see attachment, running linuxcnc gets an instant Realtime Delay error. I am running a 45us base period and a 1ms servo period.

The test below was run with some glxgears 2 dd's for io and a wget to load network. I cant seam to repoduce any latency excursions with the latency tests.

Any ideas?
  • Aciera
  • Aciera's Avatar
27 Nov 2024 10:03 - 27 Nov 2024 12:44
Replied by Aciera on topic Original Gmoccopy setting all gone

Original Gmoccopy setting all gone

Category: General LinuxCNC Questions

Which version did you upgrade from?
  • Abdulkareem
  • Abdulkareem
27 Nov 2024 09:31
CAROUSEL ATC was created by Abdulkareem

CAROUSEL ATC

Category: HAL

hello guys
i am trying to implement the CARSOUSEL for my ATC , i am using ethercat stepper motor for the carsousel and i found there are multiple types of encoding which actual i dont understand the difference between them. i have 10 pockets and if there is an simillar configuration to mine that i could understand from it would be perfect!
  • NTULINUX
  • NTULINUX's Avatar
27 Nov 2024 09:23
Replied by NTULINUX on topic LinuxCNC on Intel Clear Linux

LinuxCNC on Intel Clear Linux

Category: Installing LinuxCNC

I've noticed that the only difference really with latency is having a trimmed down kernel configuration with ALL of the debugging and security options disabled, but one of the things I'll be making to the kernel is using the -O3 flag as well to maximize the performance of context switching:

www.phoronix.com/review/linux-kernel-o3/5

"Out of all the benchmarks carried out, the Stress-NG context switching benchmark reported the most significant gain out of the -O3 optimized kernel build."

Context switching can impact latency so the -O3 flag to the kernel should help, and I'll be building the kernel with LTO as well.

All of this will be hosted on the `linuxcnc` branch of my Gentoo repo:

github.com/NTULINUX/gentoo_backup/tree/linuxcnc

The release will be posted here:

github.com/NTULINUX/gentoo_backup/releases

And the installer will handle all the work for you. The installer is also designed to be installed to a USB flash drive (as long as you use UEFI, for some reason legacy doesn't work off USB but it could just be my motherboard.)

Installer is here, but it's out-of-date:

github.com/NTULINUX/gentoo_backup/blob/linuxcnc/installer.sh

And here's the wiki for everything:

openlunchbox.com/mw19/index.php/HOWTO:_Gentoo_for_LinuxCNC

The installer works on Debian too but you must be running Bookworm or newer (sid or testing)

And if you're using Debian Bookworm with a PREEMPT_RT kernel but want to use a UEFI installation, you must have `efi=runtime` specified on the kernel command line, or simply use a non PREEMPT_RT kernel when running the installer.

I'll be making a few announcements once it's finished.

One more thing, Debian formats drives in really weird ways so the installer is designed to wipe out and handle partition all by itself (partition sizes are asked during the script as it is interactive) but it uses the whole disk by design, so grab a spare hard drive, NVMe or USB drive that you're happy wiping out and use that for the install. I'll be updating the wiki as well.

I'd be truly surprised if somehow Clear Linux is faster than the image I'll be pushing out the next week or so. Also, the Gentoo installer/image is free of SystemD.
Displaying 17356 - 17370 out of 24055 results.
Time to create page: 0.544 seconds
Powered by Kunena Forum