Advanced Search

Search Results (Searched for: )

  • Dougal9887
  • Dougal9887
25 Oct 2024 12:03
Replied by Dougal9887 on topic Getting Gnome desktop.

Getting Gnome desktop.

Category: Installing LinuxCNC

Thanks for that, do I type exactly as is, two dashes, 3 ls and one m, or are those just typos?
  • tommylight
  • tommylight's Avatar
25 Oct 2024 11:58
Replied by tommylight on topic Getting Gnome desktop.

Getting Gnome desktop.

Category: Installing LinuxCNC

This should install the minimal GNOME stuff
sudo apt install --no-installl-recomends gnome-core
  • Lcvette
  • Lcvette's Avatar
25 Oct 2024 11:54

Russian machine tool company that uses LinuxCNC with Probe Basic

Category: QtPyVCP

ph i thought i heard them say linuxcnc and they put it on the website also for the machine that uses it which is the mini i believe... however they didn't mention probe basic :(
  • tommylight
  • tommylight's Avatar
25 Oct 2024 11:53

LinuxCNC putting out double steps instead of single steps

Category: General LinuxCNC Questions

Had the same issue a while back, turned out the DIP switches on the drive were bad and caused changing microstepping during machine motion from vibrations. Soldered them or cut them as needed, no issues since.
  • rebelx
  • rebelx
25 Oct 2024 11:49
LinuxCNC on Intel Clear Linux was created by rebelx

LinuxCNC on Intel Clear Linux

Category: Installing LinuxCNC

I have been playing with the "Clear Linux" distro for a while, and I am truly impressed by its blazing fast performance. Clear Linux is an open source project from Intel, and it is highly optimized for Intel platforms, although most of these optimizations also apply to AMD platforms.
From its website clearlinux.org : "Clear Linux OS is an open source, rolling release Linux distribution optimized for performance and security, from the Cloud to the Edge, designed for customization, and manageability."

Clear Linux (CL) works with software packages that are called Bundles. A Bundle is in a way similar to a Flatpak, as it includes all the dependencies and the bundle is thoroughly tested to work on any Clear Linux system. When a package is not available yet as a Bundle, it is also possible to compile software from source, but the recommended way to install a new application is by submitting a package-request, after which the request will be reviewed by the CL team and eventually assigned to a CL resource for creating and maintaining a new bundle for that application.

I have been trying to compile LinuxCNC on Clear Linux, but ran into too many dependency issues that could not easily be resolved as many libraries are not available on Clear Linux yet, and compiling them all one by one is a very time consuming job. As I think that it would be a very interesting case to have a dedicated LinuxCNC bundle created for CL that will allow a "one click" installation of LinuxCNC on Clear Linux, I submitted a package-request to the CL team earlier this week and I am very happy to see that it has already been assigned to an experienced Intel developer who is also active in several CNC communities. I hope this may result in an easy way to install LinuxCNC on Clear Linux and I am very curious to see if any of their performance optimizations may be beneficial to LinuxCNC. I think it could provide a secure and stable way to run LinuxCNC on modern hardware platforms moving forward.

My CL package-request can be found here:  github.com/clearlinux/distribution/issues/3197

Please share your thoughts on this.
  • tommylight
  • tommylight's Avatar
25 Oct 2024 11:45

Russian machine tool company that uses LinuxCNC with Probe Basic

Category: QtPyVCP


I'm not bashing the machine, just the fact that they're obscuring the fact that the software is LCNC.

Yeah that is shameful, and pretty sure it is illegal. Did anyone check our license?
I respect Tormach for mentioning LinuxCNC, and their software was 35$ including the USB.
  • Macwolf
  • Macwolf
25 Oct 2024 11:24 - 26 Oct 2024 15:22
Replied by Macwolf on topic Beckhoff components crasht Linuxcnc

Beckhoff components crasht Linuxcnc

Category: EtherCAT

hello
Finally the servo is in 88rn mode, but it rotates very slowly. The next problem is that after Lcnc is closed the servo goes into error ERC11, let's see what that means.
What did I do, pdo idx=1600 as out, and in 1a00

Update:
the axis now runs as it should after the pitch has been set.
setp cia402.1.pos-scale XXXXX. XXX for position mode
  • meister
  • meister
25 Oct 2024 11:15

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Hi,
1) its a jumper to set pullUP/pullDown resistors to the signal-lines
2) yes, but, if you meen the cheap China BOB's, 12/24V is needed for the Opto's
3) you can freely use the pins on the board, but on the BOB, there are Opto's and Darlington-Arrays that works only in one direction.
4) i think up to 10 LED's are ok, if you need more, then i would use en extra 5V supply
PS) as you prefer / but i need you config file with the P8 error, it looks like there is one space too many in the config ('P8 ')
  • PeteTech
  • PeteTech
25 Oct 2024 11:12 - 25 Oct 2024 11:13

LinuxCNC putting out double steps instead of single steps

Category: General LinuxCNC Questions

Hello all, 

First time poster so I hope I give all the necessary information. I do work with Linux systems but only have a basic understanding.

We have a relatively simple 2 axis system running with LinuxCNC and our own front end that communicates with LinuxCNC in the background. We have been making these systems for years but have recently discovered a new issue. 

It has happened twice now, (with a week or 2 in between) that once the machine has been started it runs with a clear and steady double speed / double distance. We have not yet been able to scope the machine yet, but it would seem we are getting two steps for each one that is expected. On second occurence, shutting down linuxcnc ( not shutting the OS though) resolved the issue.  The installation is a direct clone from another machine that has not displayed this issue.  
  • The system is setup on a standard PC using a MSI A520M Pro motherboard with a AMD Ryzen Socket AM4 processor
  • "uname -a" command gives us:  5.10.0-0.deb10.22-rt-amd64 #1 SMP PREEMPT_RT Debian 5.10.17 8-3~deb10u1 (2023-04-25) x86_64 GNU/Linux
  • Debian version is Buster, release 10
  • We connect via parallel port to a DB25-1205 board.
  • We run the motor(5.6A Wantai Servo motor) with a Wantai DQ860HA Servo Drive
  • "top" command shows that the "rtapi_a+" command is using about 22% of the CPU when LinuxCnc is running, and drops to about 3% when LinuxCNC is closed. 
  • No unsteadiness in the motion. Accuracy still consistent but twice the distance instructed. Motor obviously stalls once the max drive/motor speed is exceeded.

    I am wondering along the lines of whether the real time kernel could for some reason throw a servo thread at twice expected rate?  
    I have not been able to recreate it again to test further. Are there any suggestions as to what might be a cause or which direction to  look in when we do recreate the condition?
  • gitano
  • gitano
25 Oct 2024 11:01 - 25 Oct 2024 11:09

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Hello,

after diving a bit more deeply into LinuxCNC-RIO and having a closer look at the Tangbob and riocore, a few questions have come up:
1) almost every connector on the board makes sense to me, except J5 + J6 (Down/ Up) -> what are these connectors for?  

2) as i get it, i can use 2 BOB's simultanously with this board, correct? Do these boards still need the 12-24V input on the right side, or is the 5V input only sufficient to drive all Inputs and Outputs correctly? Except for the PWM Output (Spindle Control) on the right side, i bet.

3) do i have to use the BOB's Inputs / Outputs (left and lower Side) as such, or can i map them freely in riocore, f.e. use the - usually stepdir output - pins P2-P5 as Encoder input pins? 

4) can i power a LED strip directly via wled1 with the onboard 5V supply, or would an external supply be better?

Secondly i played around with the Tangbob configuration in riocore and as it seems i must be doing something completely wrong or there must be something messed up with the bitin/ bitout defintions for the Tangbob board somewhere:

Board: Tangbob
Toolchain: icestorm
Protocol: UDP

LinuxCNC:
3 Axis
mill
manual toolchange
axis gui

Modules:
china bob left -> split

Plugins added:
ads111514 on i2c             -> all ok
wled bar on wled             -> all ok
modbus1 on modbus             -> all ok
stepdir on RIGHT: P2 + P2         -> all ok
stepper17 on RIGHT: P3 to P6        -> all ok
quadencoder on RIGHT: P10 - P12     -> all ok
bitout on RIGHT: P8            -> compiles well 

but the latter gives a long error message when firing up LinuxCNC:

riocomp.c:185:28: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘OUT_BIT’
  185 |     hal_bit_t   *SIGOUT_P8 OUT_BIT;
      |                            ^~~~~~~

[...and TONS of similar/ follow up errors]

looking at riocomp.c:185 reveals:

"hal_bit_t   *SIGOUT_P8 OUT_BIT" <- looks like a missing underscore between P8 and OUT, with added underscore i just get:

   
linuxcnc rio.ini 
LINUXCNC - 2.10.0~pre0
Machine configuration directory is '/media/gitano/Alhambra/Software/Linux/CAD+CAM/LinuxCNC-RIO/riocore/Output/Tangbob/LinuxCNC'
Machine configuration file is 'rio.ini'
Starting LinuxCNC...
linuxcncsvr (563355) emcsvr: machine 'Rio - mill'  version '1.1'
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX non-realtime
milltask (563384) task: machine 'Rio - mill'  version '1.1'
halui (563390) halui: machine 'Rio - mill'  version '1.1'
twopass:invoked with <> options
twopass:found ./rio.hal
twopass:found ./pregui_call_list.hal
twopass:pass0: loadusr -W hal_manualtoolchange
riocomp.c: In function ‘register_signals’:
riocomp.c:541:51: error: ‘data_t’ has no member named ‘SIGOUT_P8’
  541 |     if (retval = hal_pin_bit_newf  (HAL_IN, &;(data->SIGOUT_P8 OUT_BIT), comp_id, "%s.P8 OUT.bit", prefix) != 0) error_handler(retval);
      |                                                   ^~
riocomp.c:541:62: error: expected ‘)’ before ‘OUT_BIT’
  541 |     if (retval = hal_pin_bit_newf  (HAL_IN, &;(data->SIGOUT_P8 OUT_BIT), comp_id, "%s.P8 OUT.bit", prefix) != 0) error_handler(retval);
      |                                              ~               ^~~~~~~~
      |                                                              )
riocomp.c:542:10: error: ‘data_t’ has no member named ‘SIGOUT_P8’
  542 |     *data->SIGOUT_P8 OUT_BIT = 0;
      |          ^~
riocomp.c:542:21: error: expected ‘;’ before ‘OUT_BIT’
  542 |     *data->SIGOUT_P8 OUT_BIT = 0;
      |                     ^~~~~~~~
      |                     ;
riocomp.c: In function ‘convert_varout1_bitout19_bit’:
riocomp.c:1013:23: error: ‘data_t’ has no member named ‘OUT_BIT’
 1013 |     bool value = *data->OUT_BIT;
      |                       ^~
make: *** [/usr/share/linuxcnc/Makefile.modinc:117: riocomp.o] Error 1
# compiling and loading rio component...failed

adding the same fix in line 541, 542 and adding SIGOUT_P8_ before OUT_BIT in line 1013 as well as uncommenting OUT_BIT in rio.hal and custom_postgui_hal, axis GUI fires up. The defined button for P8 shows up fine in GUI, i guess it won't work with hardware, though.

I tried adding bitins and outs for other boards (iceshield and octobot) and there they work fine.

All in virtuality, i still have no hardware around, but that will change soon

Cheers,
-lgitano

P.S.: Dont know if it is correct to post such userspace/ configurations issues here as this thread perhaps gets quite huge, or if it would be better to open new board specific threads? If You think so, i will do the latter :)
  • Grotius
  • Grotius's Avatar
25 Oct 2024 10:46 - 25 Oct 2024 10:48
Replied by Grotius on topic linuxcnc trajectory planner

linuxcnc trajectory planner

Category: General LinuxCNC Questions

Hi Arciera,

Thanks for trying this out.
Maybe i have an idea.

I can check the regular make process --verbose output.
Remove one lib from the rtlib that uses liblinuxcnchal.
Then invoke a make --verbose command and check the output.
In this output we can see compile flags. Then maybe we miss a compile flag.

If we miss a compile flag, we add it to the edited motmod.so or tpmod.so (cmake projects)

Let you know soon!
  • meister
  • meister
25 Oct 2024 10:25

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

 

do you already have your layout on github ? then i would create a new board in rio so that you have the pins in the right place.
  • Stran_ge
  • Stran_ge
25 Oct 2024 09:44 - 25 Oct 2024 09:47
Replied by Stran_ge on topic Spindle servo step/dir Problems

Spindle servo step/dir Problems

Category: Advanced Configuration

okay i did some more testing today.

I tried turning the spindle by hand and looked at the rawcounts.
I did 10 rotations and everytime the result was 4096 (or some single digits off, user error).
Which tells me that my encoder scale of 4096 should be correct.

Now i also tested the command M19 R0 or M19 R90......180....270....360....
and those commands all worked and were repeatable and correct.

The rpm however is still wrong and the spindle-at-speed never reaches true.

Also when i command 100 rpm via linuxcnc and check in the display of my servo drive it says 82 rpm which means my output scale is wrong i guess ?
  • Aciera
  • Aciera's Avatar
25 Oct 2024 08:46
Replied by Aciera on topic linuxcnc trajectory planner

linuxcnc trajectory planner

Category: General LinuxCNC Questions

Just reinstalled the OS (LMDE 6) and while my regular linuxcnc rip install works I still have to copy copying 'liblinuxcnchal.so.0' to 'root/lib' to get it to start from your repo.
  • Dougal9887
  • Dougal9887
25 Oct 2024 07:48 - 25 Oct 2024 07:50
Getting Gnome desktop. was created by Dougal9887

Getting Gnome desktop.

Category: Installing LinuxCNC

A bit of a newbie question I'm afraid.I've just done a fresh install of the latest version and hoped to get the Gnome desktop, but have managed to end up with xcfe.I have searched for and tried all sorts of ways, each attempt has failed. Example screenshot attached.Maybe I have to install again?Some help would be much appreciated.
Dougal.
 

Attachment not found

Displaying 19246 - 19260 out of 24144 results.
Time to create page: 0.676 seconds
Powered by Kunena Forum