Advanced Search

Search Results (Searched for: )

  • truyentu
  • truyentu
22 Dec 2024 17:51
Flexible GUI Import Table was created by truyentu

Flexible GUI Import Table

Category: Flex GUI

Flex has added a FSC.
 
JT
hello JT,i want to let the user input some data via a table
then send the data into a python script
The python script will convert that data to Gcode
Could you please help me which function i should use with flexGUI 
Thank you
 

  • karnalta
  • karnalta
22 Dec 2024 17:03

Minimal setup for touch probe and tool setter ?

Category: General LinuxCNC Questions

Hi all,

I have an 3 axis CNC than I used rarely which is at the moment using LinuxCNC with QtDragon, but honestly, each time I try to use it, I spend the day having errors, crashes, ... It was working a few month ago and now each time the machine is about to start working (after all probing), it stop with a error like "Parameter is [3.000]".

I would like to know what is the minimal requirement to use a 3D touch probe and a tool height sensor with LinuxCNC ?

I will be glad to stick with the basic Axis UI and the minimal dependencies. All I need is :

- Touch X/Y zero with the probe.
- Touch the Z zero of my vise.
- Touch tool sensor at each tool change to adapt Z.

What is the easiest path for that ?

Thank you.
  • infou
  • infou
22 Dec 2024 16:55

Compiling scarakins.c under version 2.9.3 does not work.

Category: Advanced Configuration

Under version 2.8 it works. I have a Scara Robot with different dimensions, so I have changed D1-D5 (but it does not compile with the original file).
with the original file). So far I have not found a way to compile this file in the forum and also with Google.
Then I tried to compile the Scarakins.c from 2.8 into 2.9.3, which did compile. However, when using the 2.8 Scarakins.so
Linuxcnc aborted with an error message at startup.
I assume that in the 2.9.3 version switchkins are a change to the 2.8 version.
Is there a possibility to compile the original and the modified scarakins.c from 2.9.3 ?
What about unserkins.comp ? I don't know how to create it.


Here is the error message when compiling:
cnc@cnc:~/linuxcnc/linuxcnc-dev/src/emc/kinematics$ halcompile --compile scarakins.c
Compiling realtime scarakins.c
Linking scarakins.so
/usr/bin/ld:scarakins.ver:2: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make: *** [/usr/share/linuxcnc/Makefile.modinc:125: scarakins.so] Fehler 1
 
  • csurimilan
  • csurimilan
22 Dec 2024 16:54
Versaprobe was created by csurimilan

Versaprobe

Category: Qtvcp

Hello,
im using qtdragon and i have trouble when trying to measure the tool height after i manually change the tool.

this is my process:
i start the machine and after i insert a tool (i zero the tool (G54) on the top of my workpiece) and i enter in the MDI field "T6 M6" so its moving to my individual tool change position and after i have to hit "ok" when i changed the new tool. So after this step the machine is moving to the automatic tool measure position what i configure. Its going down and hit the switch then coming up a bit and then with a slower speed going down again to measure.
After this i get a message about my "probe height", "block height", and "touch result". Usually i get 78mm for touch result.(same tool)

So after this when i try to zero my machine in MDI G54 g0 x0 y0 z0 its not going completly down. In G54 its everthying 0 but if i check the absolute coordinate, showing -78, so still 78mm missing what is the same value like the touch result.

I dont know how to solve this problem. I tried and i read a lot but i didnt find anything yet.

Ah and in the versa probe menu im struggeling to set the right "probe hit" and "block hit" hight.
I always measured with my tool inside. I read i have to calculate from down (from the table) so for example i measure with absolute coordinate and i touch the top and i read the abs coordinate (z -->  -140). My maximum z travel is 240. So basically i made 240-140 and the result i gave in versa probe "block hit". then with the "probe hight" i made the same but with different result.

thank you if you read all and i hope someone can light me up.
 
  • Zayoo
  • Zayoo
22 Dec 2024 16:47 - 22 Dec 2024 18:20

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

Category: Computers and Hardware

Create a bitout plugin, name it estop, add a pin number, and turn the onerror modifier on for that pin. This pin will control your additional safety relay, whose N.O. contact will be in series with the machine's safety line.
In rio.hal, add the following line:
setp rio.estop.bit TRUE
If everything is configured correctly, bord is energized and LinuxCNC started, relay should remain OFF until you unlatch estop.
The machine shuld only be able to turn on while LinuxCNC is running and communication between the board and LinuxCNC is functional.
  • HPW
  • HPW
22 Dec 2024 16:07 - 22 Dec 2024 16:11
Replied by HPW on topic 3 Achs Fräse mit MESA 7C80 und Raspi 4

3 Achs Fräse mit MESA 7C80 und Raspi 4

Category: Deutsch

Hallo zusammen.

Ich habe meine Fräse bereits mit dem Raspi 4 am laufen. Jetzt habe ich auf den Raspi 5 umgerüstet. Linuxcnc startet nicht mehr. Dürfte an den Treibern liegen. Ich habe mit MESA Kontakt aufgenommen. Und dort wurde mir bestätigt, dass die Mesa 7c80 mit dem Raspi 5 läuft, nur müsste man die neueste Version von Linuxcnc und den hm2_spix Treiber verwenden. Die neueste Version (2.9.3) habe ich installiert. Nur wo finde ich den hm2_spix Treiber?

Hat da jemand einen Tip für mich

Liebe Grüße

Hans Peter

Hello everyone.

I already have my milling machine running with the Raspi 4. Now I have upgraded to the Raspi 5. Linuxcnc no longer starts. This may be due to the drivers. I have contacted MESA. And they confirmed that the Mesa 7c80 runs with the Raspi 5, but you have to use the latest version of Linuxcnc and the hm2_spix driver. I have installed the latest version (2.9.3). But where can I find the hm2_spix driver?

Does anyone have a tip for me?

Kind regards

Hans Peter
  • andypugh
  • andypugh's Avatar
22 Dec 2024 14:39
Replied by andypugh on topic New VFD comms timeout -12

New VFD comms timeout -12

Category: Basic Configuration

I found the problem with my setup (I don't think it helps you)

I had to set "-p none" to indicate that there is no parity in the serial comms. The hy_vfd driver claims to default to odd parity. I think that I have a vague recollection that this didn't work, and so it was setting no parity. So I had my VFD set up no-parity to suit the broken driver.
  • Trihwangyudi1990
  • Trihwangyudi1990
22 Dec 2024 12:40

ESP32/S2/S3 LinuxCNC Controller (6 axis hardware step gen), USB plug-and-play

Category: Computers and Hardware

have problem install with platformio the message is :
 *  Executing task in folder ESP32_LinuxCNC_MotionController_RealTime-main: platformio run --environment esp32-rmii-ethernet

Processing esp32-rmii-ethernet (platform: espressif32@6.5.0; board: esp32dev; framework: arduino)
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.5.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 @ 2.0.14+sha.44da992
 - tool-esptoolpy @ 1.40501.0 (4.5.1)
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 42 compatible libraries
Scanning dependencies...
Dependency Graph
|-- FastAccelStepper @ 0.30.15
|-- ESP32Ping @ 1.7.0
|-- AsyncTCP @ 1.1.1
|-- ESP32Encoder @ 0.11.7
|-- WiFi @ 2.0.0
|-- ArduinoNvs @ 2.8.0
|-- ESP32Console @ 1.2.2
|-- ArduinoOTA @ 2.0.0
|-- Ethernet @ 2.0.0
|-- Ticker @ 2.0.0
|-- ESP32 Async UDP @ 2.0.0
Building in release mode
Compiling .pio/build/esp32-rmii-ethernet/src/ClientMode.cpp.o
Compiling .pio/build/esp32-rmii-ethernet/src/ConfigManager.cpp.o
Compiling .pio/build/esp32-rmii-ethernet/src/ConsoleMenus.cpp.o
Compiling .pio/build/esp32-rmii-ethernet/src/ControllerMode.cpp.o
In file included from src/Types.hpp:7,
                 from src/ClientMode.h:3,
                 from src/ClientMode.cpp:4:
src/Config.h:11:12: fatal error: Eth.h: No such file or directory

*************************************************************
* Looking for Eth.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Eth.h"
* Web  > registry.platformio.org/search?q=header:Eth.h
*
*************************************************************

   #include "Eth.h"
            ^~~~~~~
compilation terminated.
*** [.pio/build/esp32-rmii-ethernet/src/ClientMode.cpp.o] Error 1
In file included from src/Types.hpp:7,
                 from src/ControllerMode.h:6,
                 from src/ControllerMode.cpp:4:
src/Config.h:11:12: fatal error: Eth.h: No such file or directory

*************************************************************
* Looking for Eth.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Eth.h"
* Web  > registry.platformio.org/search?q=header:Eth.h
*
*************************************************************

   #include "Eth.h"
            ^~~~~~~
compilation terminated.
*** [.pio/build/esp32-rmii-ethernet/src/ControllerMode.cpp.o] Error 1
In file included from src/Types.hpp:7,
                 from src/ConsoleMenus.h:10,
                 from src/ConsoleMenus.cpp:3:
src/Config.h:11:12: fatal error: Eth.h: No such file or directory

*************************************************************
* Looking for Eth.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Eth.h"
* Web  > registry.platformio.org/search?q=header:Eth.h
*
*************************************************************

   #include "Eth.h"
            ^~~~~~~
compilation terminated.
*** [.pio/build/esp32-rmii-ethernet/src/ConsoleMenus.cpp.o] Error 1
In file included from src/Types.hpp:7,
                 from src/ConfigManager.h:9,
                 from src/ConfigManager.cpp:4:
src/Config.h:11:12: fatal error: Eth.h: No such file or directory

*************************************************************
* Looking for Eth.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Eth.h"
* Web  > registry.platformio.org/search?q=header:Eth.h
*
*************************************************************

   #include "Eth.h"
            ^~~~~~~
compilation terminated.
*** [.pio/build/esp32-rmii-ethernet/src/ConfigManager.cpp.o] Error 1
========================================== [FAILED] Took 2.89 seconds ==========================================

Environment          Status    Duration
 
 
esp32-rmii-ethernet  FAILED    00:00:02.890
===================================== 1 failed, 0 succeeded in 00:00:02.890 =====================================

 *  The terminal process "platformio 'run', '--environment', 'esp32-rmii-ethernet'" terminated with exit code: 1.
 *  Terminal will be reused by tasks, press any key to close it.


i searching eth.h file but does not found any
  • resmond
  • resmond
22 Dec 2024 12:18
Replied by resmond on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I finally feel like my basic Pi5 (NVME boot) / Mesa 7i95T system is basically functional.

I used Rob's link to what I think is his Google Drive to get what I believe is a LinuxCNC 2.9.3 / Kernel 6.6 RT ISO.

Because of being new or very rusty on virtually every level, I wound up stumbling my way through that process relying on the gracious help from the community.

I will attach a number of files for anyone to glance at or comment on if they wish.

Since I know now that there are many choices I should do differently I ordered an inventory of NVME and SD cards to start over clean and also try out other combinations of options without abandoning what I have.

I have a few questions before I start over 'clean':

1) Is the Pi5 2.9.3 ISO that I downloaded (or a newer one) now attached to the link on the Downloads page or is the one I downloaded still the latest?

2) I installed NetworkManager because I was struggling getting my WiFi working for internet access while dedicating the cable Ethernet to the Mesa board. Would it be better for me to avoid NetworkManager this time around?

3) I installed the Raspberry KVM because I thought that it might be useful sometimes, but I have never really used it so far. I'm wondering if there might be some latency implications to its presence or use?

I also included a screen capture for the latency histogram if anyone is curious.

Thanks
  • cromlin
  • cromlin
22 Dec 2024 12:14 - 22 Dec 2024 13:30

[SOLVED] get to work an old stepper_mm machine

Category: Basic Configuration

Hello. I've been using linuxcnc from emc2 until 2019. now I have to restore my old machine. I cut foam. I installed 2.7.4 old distro but cannot get it to work. I saved old config files, try to use them but cannot get to work.
as far as I remember I only changed standart_pinout and that's all. Motors are connected and I cannot rotate them by hand, but cannot remember what should I do more.
from default
net Xstep => parport.0.pin-03-out
net Xdir  => parport.0.pin-02-out
net Ystep => parport.0.pin-05-out
net Ydir  => parport.0.pin-04-out
to
net Xstep => parport.0.pin-02-out
net Xdir  => parport.0.pin-03-out
net Ystep => parport.0.pin-04-out
net Ydir  => parport.0.pin-05-out.
I remember I inverted them with
setp parport.0.pin-03-out-invert 1
but it doesn't help also.
machine is very simple stepper_mm with parport.
it seems something simple but I cannot remember. please help if possible.

edit: I started Stepper Configuration Wizard and remembered that machine is based on L297.
then I tried cat /proc/ioports and lspci -v but haven't found anything 0378-037a or 278: is it possible my parallel port is dead or maybe wheezy didn't install driver for it? maybe try buster.
edit: BIOS says parport is 378, irq7.
EDIT: holy moses! i lurked linuxcnc forums and somehow from other topics found something "holds" or uses parport. then after
sudo rmmod ppdev sudo rmmod lp
parport "freed" and motors began to move. thanks to linuxcnc.
I leave this thread in case if someone will be also googling similar problem.
  • Hossein74Majidi
  • Hossein74Majidi
22 Dec 2024 12:05
Replied by Hossein74Majidi on topic G Code Syntax Check (Python + Qt Designer)

G Code Syntax Check (Python + Qt Designer)

Category: Qtvcp

If you use a graphic display , the file is checked each time it is loaded.
Look here how that is actually done:
github.com/LinuxCNC/linuxcnc/blob/master...qt5_graphics.py#L350
 

Thanks for your reply, I dont wanna use graphic display. I simply just want to know if I select a file from a file browser for example, or even a list of gcode files, it returns me an error with some details about the gcode syntax error in that file
I studied the link you've provided but it was so complicated. I didnt get it well
  • zieluch
  • zieluch
22 Dec 2024 11:42
Replied by zieluch on topic Inconsistent values from Versaprobe

Inconsistent values from Versaprobe

Category: Qtvcp

Can you share your ini file and tool change macro ? 

 
  • resmond
  • resmond
22 Dec 2024 11:33
Replied by resmond on topic Choosing AC vs. DC for stepper motor drivers

Choosing AC vs. DC for stepper motor drivers

Category: General LinuxCNC Questions

What 'driver' config should be used for the Rtelligent ECT86?

I just set it to one of the Gekko's until I could figure out something better, but obviously you likely already have.

Thanks
  • CaspianCmonster
  • CaspianCmonster
22 Dec 2024 11:14
help with tool setter was created by CaspianCmonster

help with tool setter

Category: General LinuxCNC Questions

I am trying to get a tool length sensor setup and as I have not worked with LinuxCNC in a long time, getting this figured out is going to a be a bit slow.  I would much rather spend my time making stuff than fighting with software. 

This may sound strange but are any of you interested in being paid for a few hours of consulting to help me get things running?

I am in France at the moment (I am am American mechanical engineer who lives in Norway but has a workshop in France just to make things interesting :) 

I have this setter  www.sorotec.de/shop/Z-Finder-inductiv-PN...865.html?language=en 
and am running a Mesa 7I76-5I25 cards on a small CNC router ( cncwerk.de/forum/viewtopic.php?f=2&t=21) with a ER spindle motor.

Thanks 
Luke 
Displaying 21406 - 21420 out of 21849 results.
Time to create page: 0.437 seconds
Powered by Kunena Forum