Advanced Search

Search Results (Searched for: )

  • JT
  • JT's Avatar
17 Oct 2024 12:05
Replied by JT on topic Read HAL pin in Python

Read HAL pin in Python

Category: Other User Interfaces

Actually I think I've solved it and will update this when I've proven it out. But for now it looks like
import hal
hal.get_value('some-pin-name')

JT
  • Todd Zuercher
  • Todd Zuercher's Avatar
17 Oct 2024 11:56
Replied by Todd Zuercher on topic Make arc in W axis

Make arc in W axis

Category: General LinuxCNC Questions

Are your two parallel axis to be rigidly fixed together like the two ends of a gantry or are they going to be independent parallel motion, that you might not necessarily always want to move together? If it is the latter then you might want to check out my gang router config (it is posted here on the forum.)
forum.linuxcnc.org/show-your-stuff/53675...e-gang-router#308818
  • JT
  • JT's Avatar
17 Oct 2024 11:51
Read HAL pin in Python was created by JT

Read HAL pin in Python

Category: Other User Interfaces

Is it possible to read a HAL pin in Python? I can make and set HAL pins of type HAL_OUT and make a S32 HAL_IN pin but I'm not figuring out how to read the value of that pin. I can also setp in the post gui file and change it's value.

JT
  • rodw
  • rodw's Avatar
17 Oct 2024 11:51
Replied by rodw on topic Age of the website and forum

Age of the website and forum

Category: Forum Questions

And here is another problem, I've never found the database or any attachments in the Kunena interface. I have a few web sites and the database is only in the hosting interface.


The DB will be hosted in a MySQL database and there will be a configuration file on the root folder that also contains the credentials for the SQL user Joomla uses.
The DB is usually managed directly if necessary by logging into phMyAdmin.

It sounds like the images and attachnents are stored in the database. SQL has a data type called a BLOB, a Binary Large Object which is designed for this type of thing.
  • Muecke
  • Muecke's Avatar
17 Oct 2024 11:39

Unterstützung bei der Automatisierung einer Simulation

Category: Deutsch

Sehr gerne habe ich das gemacht.

1) Welcher Button? Der 'Manual Log' button kann eigentlich nicht verschwinden.

Sorry da habe ich mich unglücklich ausgedrückt, ich meinte den motion.digital.pin (sodass ich, mit dem Controller) logen kann.
Diese Einstellung wird auch nicht übernommen uns ist immer wieder weg, musste ich bei jeden Neustart neu setzen den Haken.

 

2) Was meinst du mit ' keine Dateiänderung angegeben'

im Speicherfenster steht zwar unten die Endung .ngc doch die wird nicht automatisch übernommen.
Beispiel (Bilder)

 

 

 
  • ThyerHazard
  • ThyerHazard's Avatar
17 Oct 2024 11:37

Another Idiot attempts to use Probe Basic and begs for help

Category: QtPyVCP

Sorry I don't know what happened to the first post but the format got snipped and most of the post deleted? 

TLDR

Followed both guides 
kcjengr.github.io/probe_basic/machine_config.html
forum.linuxcnc.org/qtpyvcp/48401-py3-pro...version-doc-lcnc-2-9

Both seem slightly different especially in the .ini part so not sure exactly which one is the one we are supposed to use? Either way tried both ways many times, fresh installs, new configs etc, but got nothing but errors. using the forums and the docs tried to figure out issues myself eventually added some of the files the guide tells you to remove back  in I think (Linuxcnc.var) and then boom it seemed to work, would launch straight away into probe basic no errors, seems to work can click through all the menus and screens etc. but I can't take the machine out of E-STOP or power on the machine. when I click the E -stop button the program freezes four about 10 seconds then works again  but the machine stays locked.

please if anyone has the time to take a quick look at the files I linked and hopefully point out what dumb shit I'm doing wrong.
its just a basic config for a metric 3 axis mill nothing fancy.

Thanks guys <3
  • Aciera
  • Aciera's Avatar
17 Oct 2024 11:36

Performance issues after switching from LCNC 2.8.4 Buster to 2.9.3 Bookworm

Category: EtherCAT

Thanks Rod, I find it rather unfortunate that somebody like you does not seem be offered write access to the 'official' install documentation. The pull request process is so sluggish that by the time new install docs might actually make it through they're already outdated.
  • ThyerHazard
  • ThyerHazard's Avatar
17 Oct 2024 11:30

Another Idiot attempts to use Probe Basic and begs for help

Category: QtPyVCP

Hey guys....ok so been up for hours pulling my hair out trying to get this working without wanting to annoy you gods, But I'm at a loss.as a background I followed the tutorials and had Probe_basic working fine in the SIm no issues, and was using QTdragon on my machine for weeks making parts also no issues, but after following the machine config tutorials (I've noticed that there are two or more official guides for how to do this and they both have slight differences different files etc so Im a bit confused of exactly what to do as this;kcjengr.github.io/probe_basic/machine_config.html
  • rodw
  • rodw's Avatar
17 Oct 2024 11:28
Replied by rodw on topic Linux is an RTOS NOW

Linux is an RTOS NOW

Category: Installing LinuxCNC

Linux is now RTOS. It took 20 years but they finally succeeded ! 
www.phoronix.com/news/Linux-6.12-Does-Real-Time

You still need to set the PREEMPT_RT flag and build the Linux kernel. its not RT by default.
  • rodw
  • rodw's Avatar
17 Oct 2024 11:23

Customization of the icon for the LinuxCNC website

Category: Forum Questions

The forum has 2GB of memory and 80GB of disk space. The backup was 14GB and shot our disk usage up to 95% so it has to be deleted.

Just to be clear I am one of the three owners at Digital Ocean for the linuxcnc.org group which hosts the forum. The owner of the linuxcnc.org is someone else.

JT

 

Not sure about how Joomla does it as its years since I have used it, but the standard was to just upload favicon.ico to the website's root folder. No code required.
  • tommylight
  • tommylight's Avatar
17 Oct 2024 11:22

Performance issues after switching from LCNC 2.8.4 Buster to 2.9.3 Bookworm

Category: EtherCAT

For use with Mesa boards, there is no need for base period, so do latency tests with:
latency-histogram --nobase --sbinsize 1000 --show
Some RealTek network cards have issues with 6.x kernels, Rod has some nice documentation on how to fix it.
Some Intel network cards have coalescing enabled, look for PCW's howto for setting it to 0.
If using EtherCAT, see Rod's and some other members wealth of info on this forum.
-
Sorry for the wague answers, but on the phone in a hurry.
  • rodw
  • rodw's Avatar
17 Oct 2024 11:10

Performance issues after switching from LCNC 2.8.4 Buster to 2.9.3 Bookworm

Category: EtherCAT

Your PC should be fine but the mini PC's have some power saving features.

This document of mine covers a lot of this but primarillary for Mesa cards.
docs.google.com/document/d/1jeV_4VKzVmOI...diY/edit?usp=sharing
I am assuming it will be an Intel NIC but please check that out as Realtek needs a different path
Start with #21, #22 #23
If intel you may benefit from #27 (which Mesa needs)
Also the forum scripts for CPU affinity
My theory Is that Ethercat is not as stringent as Mesa because it has its own NIC drivers but you might prove Me wrong!
  • BaxEDM
  • BaxEDM's Avatar
17 Oct 2024 11:09 - 17 Oct 2024 11:09

Performance issues after switching from LCNC 2.8.4 Buster to 2.9.3 Bookworm

Category: EtherCAT

I checked out the latencies:

On LCNC 2.8.4 + Buster:
Servo thread (1ms): Max interval 1024713 ns, Max Jitter 25556 ns
Base thread (25us): Max interval 65792 ns, Max Jitter 40792 ns

On LCNC 2.9.3 + Bookworm
Servo thread (1ms): Max interval 1069862 ns, Max Jitter 69928 ns
Base thread (25us): Max interval 120306 ns, Max Jitter 95306 ns

On LCNC 2.9.3+bookworm, the latencies are indeed more, especially for the base thread where it seems to have almost doubled.
Both machines run the exact same hardware and config. I would like to know more about "tweak some kernel parameters to improve latency to acceptable levels". I'm unfamiliar with that.
  • Kirvesmies
  • Kirvesmies
17 Oct 2024 10:15
Replied by Kirvesmies on topic Getting started with 6i25+7i75+7i85s

Getting started with 6i25+7i75+7i85s

Category: PnCConf Wizard

I connected the correct index and the machine threads beautifully with no problems when restarting a program or running at higher speed.

I still have another complication with the encoder, though. As it has quite a high resolution for the application (I don't know why they used such a high-resolution encoder and made it even higher with the 3:1 transmission), the pulse frequency maxes out at about 2200 rpm, after which no signal is sent. This of course means that linuxcnc stops feeding motions, since it reads the spindle speed at 0.
The problem would be easily solved if I could tell linuxcnc that beyond, say, 2000 prm of commanded spindle speed, it would switch to reading the speed from the index.

But I am also considering removing the encoder and installing an encoder disk directly on the spindle. The belt does not track too well anyway and makes some extra noise. A couple hundred ppr should be plenty for threading, so I'm not really losing anything by lowering the resolution, right? I doubt I would ever be doing indexing on the machine, as there is no spindle brake and it is driven by a pretty flimsy v-belt.
  • marq_torque
  • marq_torque's Avatar
17 Oct 2024 09:40
Replied by marq_torque on topic linuxcnc-dev is missing?

linuxcnc-dev is missing?

Category: Installing LinuxCNC

Hello Benb,

No i'm not using CD-ROM I'm trying to follow PDF steps with internet. Let me know what i'm doing wrong how to correct.

Thank You
Displaying 19936 - 19950 out of 24212 results.
Time to create page: 0.457 seconds
Powered by Kunena Forum