Advanced Search

Search Results (Searched for: )

  • 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.
  • 7strideR
  • 7strideR's Avatar
  • 7strideR
  • 7strideR's Avatar
27 Nov 2024 09:05
CNC Machine EMI Interference prevention was created by 7strideR

CNC Machine EMI Interference prevention

Category: CNC Machines

 
Hello,

I am busy converting my Bridgeport Series 1 Interact to LinuxCNC over ethercat. I have a Delta VFD11AMS21ANSAA which can be controlled via and ethernet port (Not sure how hard its going to be to get it working on LinuxCNC)

But as this is my first CNC machine build, what can I do to prevent back EMI and cross talk between the VFD and the other components like the PC, Servo drives and Beckhoff IO units.

Should the VFD be in a separate Cabinet?
Do I need special Ethernet cables or will normal ones Cat 5e work?

Any tips are appreciated.
 
  • Hakan
  • Hakan
27 Nov 2024 08:18
Replied by Hakan on topic AX58100

AX58100

Category: EtherCAT

Unfortunately my Herocut plasma gives full arc voltage. I also have a THCAD 300 card to interface with.
It's a possibility what you say. Anyone wishing to give it a go have all the schematics and pcb layouts
as a starter, and all software needed to deliver values over EtherCAT on github.

You know the path isn't always that straight when I develop things. I started with the LAN9252 and it is more or less coincidental that I went with the Ax58100. And you are right, they are used as gateways. In the setup with a MCU I don't really see a difference, can go with any of the two. They are both available on aliexpress and cost about the same. I have gone back to the LAN9252.

For the plasma build, my initial thoughts with EaserCAT-3000 card and the Ax58100 was to use existing stepper motor drivers and have the card do pulse/dir. While that now works, I have skipped that path and are now going to use ECT60 Ethercat stepper motor drives. My own cards will be used for Digital IO (limit switches, float switch, break-away switch, torch on), and for reading the THCAD-300.

Here is the reader for THCAD. A stripped version of the EaserCAT-3000, with LAN9252. The MCU reads PWM frequency on one pin. Could definitely use a smaller MCU, but it is also easy to reuse what I know works.


Digital IO. This card does use the DIO of the LAN9252 directly, no MCU.


I find that the documentation for the Ax58100 is lacking for the special functions, like stepper motor driver. There is a reference application supplied that uses TwinCAT to drive a stepper motor. I guess one could try to understand how all that works, but I haven't. And that is all info I know of.
 
  • raychar
  • raychar
27 Nov 2024 05:27
Replied by raychar on topic Original Gmoccopy setting all gone

Original Gmoccopy setting all gone

Category: General LinuxCNC Questions

Hello,
As shown in previous message...
Recently, I wholly upgrade my Linuxcnc the the lastest version, after putting my orignal config files to the new Linuxcnc system, when Gmoccapy screen opens, all the original settings disappeared, what's the problem, how can it be resoved?
  • raychar
  • raychar
27 Nov 2024 05:26
Original Gmoccopy setting all gone was created by raychar

Original Gmoccopy setting all gone

Category: General LinuxCNC Questions

   

File Attachment:

File Name: my_LinuxCN...1-27.ini
File Size:7 KB

 
Displaying 16426 - 16440 out of 24529 results.
Time to create page: 2.341 seconds
Powered by Kunena Forum