Advanced Search

Search Results (Searched for: )

  • 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
Displaying 21661 - 21666 out of 21666 results.
Time to create page: 0.423 seconds
Powered by Kunena Forum