Advanced Search

Search Results (Searched for: )

  • HogWild
  • HogWild
21 Oct 2024 19:45
Installation Error was created by HogWild

Installation Error

Category: Installing LinuxCNC

I downloaded the “LinuxCNC 2.9.3  Debian 12 Bookworm PREEMPT-RT ISO ” from the downloads page on this site on a Windows laptop and used Rufus to create a bootable USB flash drive (using a new USB drive).

I put this USB in my industrial PC (IPC) and booted.  Chose the option to boot from the USB iso image and Debian loaded and I was able to run the Linux CNC software.

I then powered off the IPC and rebooted.  This time I chose the “Install” option to install Dorian and LinuxCNC on my SSD.  In this step: “Detect & Mount Installation Media”, I get this error (no matter how many times I retry):

”Your installation media couldn’t be mounted.” (see attached screenshot)

A question about this error:

- is this saying it can’t mount my USB drive? … or can’t mount my SSD?

And a couple of general install questions from a Linux newbie:

- how much space is needed on my SSD for installation of Dorian and LinuxCNC combined?  Note what I’m trying to install listed in previous paragraph).

- any recommendations on how my SSD should be partitioned for best performance?

Thanks for your help.
  • btvpimill
  • btvpimill
21 Oct 2024 19:44

Machine moves when you stop program in the middle

Category: General LinuxCNC Questions

Ok, I have no idea what is going on here. The program attached above just bores a series of holes. I removed holes from the CAM and tested until it didn't drift after pressing stop. When it did I thought I found the issue, but then adding back another hole brought the issue back again. So then I thought it was a program size issue. So I made a program much bigger and it worked just fine. So then I split my original program into 2 and tested each. Both seemed fine.
Until just now. I had a part that was a little too deep, so I pressed stop and guess what? It plowed through my part before stopping. So that was a $2000 part before we machine it. Turned to trash because something is not right.

Does anybody have any thoughts?
I will point out again, this is both servos and stepper, so can't be an encoder issue. It does not loose its position - it knows where it is when it stops.
It mostly makes the same move every time if I stop in the same place in the program. But stopping in a different place will have a different move.

I am at my wits end here. I can't imagine this is a bug, but it really feels like it.Could it be a RAM issue somehow?
  • NTULINUX
  • NTULINUX's Avatar
21 Oct 2024 18:47
Replied by NTULINUX on topic New and Working RTAI debs for 2.9

New and Working RTAI debs for 2.9

Category: Installing LinuxCNC

Hey Philip, someone had issues with the 5.4.279 kernel, which RTAI kernel did you decide to go with?

If you don't remember or not sure, run:
uname -r
  • TheProcessTechnician
  • TheProcessTechnician
21 Oct 2024 18:08
Replied by TheProcessTechnician on topic Homing switches dont react, CNC goes on.

Homing switches dont react, CNC goes on.

Category: Basic Configuration

Arrrrgs, im an idiot. forgot to add read to the base thread...

addf hal_gpio.read base-thread
  • deltafox24
  • deltafox24
21 Oct 2024 17:57 - 21 Oct 2024 18:04

Problem with Huanyang VFD communication via RS485 in LinuxCNC

Category: General LinuxCNC Questions

Hello everyone!. please help me to customize the inverter under linuxcnc. i've been struggling for 2 weeks. I’m facing an issue with connecting my Huanyang VFD to LinuxCNC via RS485. It works perfectly in Windows, but I’m having trouble in Linux. I’m using an RS485-RS232 converter through the COM port, and despite configuring everything, the spindle does not respond, and the program either hangs or there’s no communication with the VFD.System:
  • LinuxCNC  2.9.3(Debian 12)
  • RS485-RS232 converter
  • Huanyang VFD configured for Modbus RTU
  • What I’ve done so far:
  • VFD Settings:
    • The following settings are configured on the VFD:
      • PD001 = 2 — control via Modbus.
      • PD002 = 2 — frequency via Modbus.
      • PD163 = 1 — device address.
      • PD164 = 9600 — baud rate.
      • PD165 = 3 — 8 data bits, no parity, 1 stop bit (8N1).
  • Using
    hy_vfd
    : I tried running
    hy_vfd
    , but the program hangs when opening the port. Here’s the command:
     bash
    Копировать код
    hy_vfd -d /dev/ttyS0 --rate 9600 --parity none --stopbits 1 --target 1 -g
    Log output:
     bash
    Копировать код
    hy_vfd: device='/dev/ttyS0', baud=9600, bits=8, parity='none', stopbits=1, address=1, debug=1, PID=1586 Opening /dev/ttyS0 at 9600 bauds (none)
    The program hangs at the stage of opening the port.
  • Checking the port via
    minicom
    : I connected to the port via
    minicom
    :
     bash
    Копировать код
    sudo minicom -D /dev/ttyS0
    The port settings are 9600 8N1, but in the terminal, commands do not send and there’s no response from the VFD. The port is not occupied:
     bash
    Копировать код
    lsof /dev/ttyS0
    The output is empty, meaning nothing is occupying the port.
  • Testing with
    mbpoll
    : I also tried using
    mbpoll
    to send Modbus messages:
     bash
    Копировать код
    mbpoll -a 1 -b 9600 -P none -d 8 -s 1 -t 3 /dev/ttyS0
    I get the following error:
     objectivec
    Копировать код
    Read input register failed: Connection timed out
  • What I’ve tried so far:
  • Double-checked all wiring (Data+ and Data-).
  • Tried changing the baud rate to 19200, but the result was the same.
  • Tried different ports, including
    /dev/ttyUSB0
    (if using a USB-RS485 converter).
  • Added my user to the
    dialout
    group:
     bash
    Копировать код
    sudo usermod -aG dialout $USER
  • Attempted to reload HAL with
    halrun
    and manually load
    hy_vfd
    :
     bash
    Копировать код
    halrun loadusr -W hy_vfd -d /dev/ttyS0 --rate 9600 --parity none --stopbits 1 --target 1 -g
  • Questions:
  • What else can I do to debug the connection with the VFD?
  • Could my RS485-RS232 converter be the problem? Could you recommend any converters that are known to work well with Linux?
  • Are there any special settings for serial ports or Modbus in LinuxCNC that might be causing this issue?
  • Thanks for your help! I’d appreciate any advice or recommendations.Additional Info:
  • RS485-RS232 converter: Works perfectly in Windows Mach3.
  • Linux: Debian 12 running LinuxCNC.
  • kbec
  • kbec
21 Oct 2024 17:52

Help with probe/tool setter in qtdragon

Category: Other User Interfaces

I have a Mesa 7i96 card, my ground is set to pin 10 I think, pin 8 is the touch probe, pin 9 is the tool height sensor. I don't think I can set each differently, so I have to have either port 8 or 9 trigger the probe. 

When I tried to put an or in my HAL, it gave me a pin not defined error.

What is the best way to implement this? I know the probe and touch plate work because the leds on the Mesa card show when they are triggered.

Thanks
  • martin2day
  • martin2day
21 Oct 2024 17:46

Knuth Mark Super CNC Retrofit - need some help with my first LinuxCNC

Category: Milling Machines

Hello together.

i am Martin form Germany. I have bought a Knuth Mark Super CNC with a fault Controller (GPlus450) and I will not try to fix this old Controller.
The machine has servos with feedback and Maxsine EP100 AC Servo Driver so I think it is not a big deal to change the Controller to LinuxCNC.
I also have the electrical drawings of the machine.

This browser does not support PDFs. Please download the PDF to view it: Download PDF



I would use TCP/IP for connection so I think the Mesa 7i76e is fine for me, but this card is not available. So one alternative is the 7i96.
But this card has less in and output and I think I need a lot... :-)

Spindel: CW + CCW + Analog
every Axis 3 switches (end, end, rev)
Lub level
Start/Stop
Drive X, Y, Z on
Cooling Pump
and much more....

So what do you think of this project.
How to start and what hardware I have to use?

Have a nice day
Martin
  • gardenweazel
  • gardenweazel's Avatar
21 Oct 2024 17:19
Replied by gardenweazel on topic Inconsistent values from Versaprobe

Inconsistent values from Versaprobe

Category: Qtvcp

Image was foobarred on above submit.....

 
  • gardenweazel
  • gardenweazel's Avatar
21 Oct 2024 17:17
Replied by gardenweazel on topic Inconsistent values from Versaprobe

Inconsistent values from Versaprobe

Category: Qtvcp

Adding some additional relevant logging info:


[QTvcp.QTVCP.WIDGETS.DIALOG_WIDGET][ERROR] No callback or STATUS message specified for: toolDialog_ (dialog_widget.py:317)
[QTvcp.QTVCP.WIDGETS.DIALOG_WIDGET][DEBUG] Button pressed is: &OK (dialog_widget.py:561)
USRMOT: ERROR: invalid command
Linear move on line 231 would exceed Z's positive limit
[QTvcp.QTVCP.WIDGETS.GCODE_EDITOR][VERBOSE] editor: highlight line 226 (logger.py:38)
[QTvcp.QTVCP.WIDGETS.GCODE_EDITOR][DEBUG] should reload the display (gcode_editor.py:713)
[QTvcp.QTVCP.WIDGETS.GCODE_EDITOR][VERBOSE] Line changed: 0 (logger.py:38)
Linear move on line 231 would exceed joint 3's positive limit
invalid params in linear command

 

Attachment not found


 
  • Grotius
  • Grotius's Avatar
21 Oct 2024 17:14
Replied by Grotius on topic c++ compiling error

c++ compiling error

Category: Advanced Configuration

Hi Bkt,

Attached file compiles ok.
It sets the component name, adds a dot, adds the pin name. This total string is valid for sending.
Did not test it. But should work. -- more info click here --

Good luck BKT.

 
  • Grotius
  • Grotius's Avatar
21 Oct 2024 16:49
Replied by Grotius on topic linuxcnc trajectory planner

linuxcnc trajectory planner

Category: General LinuxCNC Questions

Hi Arciera,

Yes once you pressed the run button it optimizes in the background.
Once you see terminal output: file created, you are ready to load the result file "validation_xx.ngc".
If you have the validation file loaded and press run again, it optimzes the validation file.
In theory this should not fail. But i have seen it can fail. So why it should fail i don't know yet.
Have to figur out this.

The pointer is not valid, is a message that the memory is released for the entire operation. This is good.

Looks cool.
Yeah. looks cool. You can write down any bug's related to the algo. For example lines over lines. Are there exceptions to make?
Testing is welcome.

So are you thinking of moving on to the planner now or are you still thinking about representing the clothoid fillets in a more concise form rather than a bunch of G1 line segments? 
Before moving to the planner, testing the scurve algo is now in progress for 2 day's. I had some problems today. So it can take a while.

When we have ready :
1. Filletizer
2. Scurve

Then we move to the trajectory planner itself. In this planner clothoid's are represented by only 2 points and 4 double values.
So the clothoid linestrips as you see now, are just for representation, validation. In the planner you won't see them anymore.

 
  • PCW
  • PCW's Avatar
21 Oct 2024 16:47

7i95T spindle control via Modbus RS485 and SPINX1A

Category: Driver Boards

That sounds like either the SPINX1A is damaged or perhaps the wiring is incorrect.

I would verify SPINX1 operation by running SPV+ and SPV- from 5V and GND from the
7I95 to verify its operation independent of the VFD

Also SPINX1A PWM frequency should be 20 KHz (though this should just affect ripple)
  • vmihalca
  • vmihalca
21 Oct 2024 16:23

7i95T spindle control via Modbus RS485 and SPINX1A

Category: Driver Boards

Yes its SPINX1A, the 10.75 voltage comes from the VFD, I have a delta VFD,and I have wired this way:
+10v -> spinx SP+
ACM -> spinx SP-
AVI -> spinx SPV

Between SP+ and SP-, I measure 10.75

If I reduce the RPM at 100 rpm, the pwmgen value is correct, but the voltage between SPV and SP- is still 5.45
  • Macwolf
  • Macwolf
21 Oct 2024 16:15
Replied by Macwolf on topic Beckhoff components crasht Linuxcnc

Beckhoff components crasht Linuxcnc

Category: EtherCAT

 Hallo thanks for the suggestions, it didn't help, I'll approach the matter the other way round, from the servo side. I'll stay here in the post and not open a new one.the sevo is connected and has a connection to the Raspberry, the display shows 28rd, when I start Linuxcnc the emergency stop is activated and cannot be changed? the display then shows 48rd. I read the memory on the console with siitool and it worked without any problems. the 3 files are in the zip. can someone help me?
thanks Markus



 


 

File Attachment:

File Name: inihal.zip
File Size:4 KB
  • Plasmanfm
  • Plasmanfm
21 Oct 2024 16:10

G-Code Verarbeitung: Kurze Pausen zwischen Bewegungen - Wie beschleunigen?

Category: Deutsch

Ich erstelle die Zeichnung mit Freecad und erportiere die als svg das übernehme ich mit Sheetcam bei kleinen Zeichnungen kommt man mit Demo aus ansonsten Voll-Version etwa ab 129,00 €


Gruß
Juergen
Displaying 19591 - 19605 out of 24144 results.
Time to create page: 0.462 seconds
Powered by Kunena Forum