Advanced Search

Search Results (Searched for: )

  • JT
  • JT's Avatar
12 Feb 2025 20:06
Replied by JT on topic Flashing mesa firmware

Flashing mesa firmware

Category: General LinuxCNC Questions

Where did you place the file?

Did you install Mesa CT?

JT
  • scotta
  • scotta's Avatar
12 Feb 2025 19:54

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

If not using the Flexi-HAL board, I'd recommend to use the standard remora-spi component. First step is to get a basic 3 axis configuration up and running and then add in the additional axes.

There are various config examples here:
github.com/scottalford75/Remora/tree/mai...nuxCNC/ConfigSamples
  • cakeslob
  • cakeslob
12 Feb 2025 19:53

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

dont use the flexihal configs for this, download the sample configurations from the remora github and try with those
  • cakeslob
  • cakeslob
12 Feb 2025 19:51

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I think I misread that first error,
[HAL]
HALFILE = NVEM.hal
HALFILE = qtplasmac_comp.hal
HALFILE = xhc-whb04b-6.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal.

remove the xhc-whb04b-6.hal
  • schorsch
  • schorsch
12 Feb 2025 19:51

Using A axis as second spindle with stepper motor

Category: Advanced Configuration

Hi,
I'm using linuxcnc since a while. I upgraded a few weeks ago: Now I'm using a Rpi and a MESA 7C81. I'm having 3 axis and a fixed vertical spindle motor and a separated a-axis. All 4 axes are running with stepper motors.

I'm using inventor-hsm for creating G-code which works pretty good. Unfortunately, it is very limited, when using it in connection with the A-axis. Although the software is able to unwrap a geometry I can only run it to mill out closed pocked (also when it is wrapped). Very frequently I need to reduce a diameter and there is no operation available for this. I can only do this in indexed mode (several phi-angles and slicing in z). 

Luckily the software can also produce code for turning machines, so I could create code for such a machine. The only thing I need to do is to turn on a horizontal spindle, you see my idea?

So my question: 
Is there a possibility to configure linuxcnc in such a way that I can use my A-stepper axis for running as horizontal spindle?

What I need is a G-command turning the horizontal spindle on in a certain speed and a G-command for turning it of, during the turn-on the stepper needs to run continuously. I know its a bit absurd

Georg  
  • jimmyrig
  • jimmyrig
12 Feb 2025 19:05
Replied by jimmyrig on topic Autoloading Vise - custom coding and Hal help

Autoloading Vise - custom coding and Hal help

Category: Advanced Configuration

Thanks!

I took a stab at making a hal component but was having issues getting it to compile with comp. Seems like comp isnt installed ("which comp" returns nothing) running the 2.9.3 iso. I also tried installing from git but was having the same issue. Anything special that needs to be done?

Was able to get it working by directly controlling the pins on the 7i96s with a custom M code for now but would like to get it going with a custom hal component.
#!/bin/bash

# Define HAL pins
MotorRun_PIN="hm2_7i96s.0.ssr.00.out-01"
MotorDirection_PIN="hm2_7i96s.0.ssr.00.out-02"
INPUT_PIN="hm2_7i96s.0.inm.00.input-09"

# Set the output pin high
halcmd setp $MotorDirection_PIN 1
sleep 0.5

halcmd setp $MotorRun_PIN 1
echo "Set $MotorRun_PIN On."

# Wait for the input pin to go high (true) with a timeout of 5 seconds
TIMEOUT=5
END_TIME=$((SECONDS + TIMEOUT))

while [ $SECONDS -lt $END_TIME ]; do
    INPUT_VALUE=$(halcmd getp $INPUT_PIN)
    if [ "$INPUT_VALUE" -eq 1 ]; then
        echo "Input $INPUT_PIN is true. Returning to main program."
        halcmd setp $MotorRun_PIN 0
        halcmd setp $MotorDirection_PIN 0
        exit 0
    fi
    sleep 0.05  # Small delay to avoid busy-waiting
done

# If the loop ends, the timeout was reached
halcmd setp $MotorRun_PIN 0
halcmd setp $MotorDirection_PIN 0
echo "ERROR: Input $INPUT_PIN did not go high within $TIMEOUT seconds."
exit 1  # Return non-zero to indicate an error


 
  • Millimetergott
  • Millimetergott
12 Feb 2025 19:01
Replied by Millimetergott on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

oh mein fehler, wenn man den Wald vor lauter Bäumen nicht mehr sieht
dank dir! Was muss ich in der Endstufe für Parameter ändern das diese mit dem Master kommuniziert?
 
  • beauxnez
  • beauxnez
12 Feb 2025 18:56 - 12 Feb 2025 19:07

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I installed the nvmpg component but I still have the same error with the command
sudo halcompile --install nvmpg.c.

I have a Linux Mint LMDE 6 Faye version, it may be too old?

 
  • sajurcaju
  • sajurcaju
12 Feb 2025 18:54

Kernel 6.12 with PREEMPT_RT patches enabled - yet POSIX non-realtime (LM22.1)

Category: Installing LinuxCNC

I'm trying to put LinuxCNC on Mint 22.1. I followed Beef's directions here:
iamtherealbeef.com/content/linuxcnc-on-linuxmint-22/
It all went great (much thanks), but I have an error when I run linuxcnc. Debug file info:
Missing rtapi.conf. Check your installation.
49550

Help will be greatly appreciated!
Steve
  • Esz2
  • Esz2
12 Feb 2025 18:46 - 12 Feb 2025 18:47
Replied by Esz2 on topic From Grbl to linuxcnc

From Grbl to linuxcnc

Category: General LinuxCNC Questions

So i've been tinkering a little and getting to learn the new enviroment.I have made my basic configuration of a .HAL file for linuxCNC, don't mind that the I/O pins are not defined correct in relation to my hardware.When defining the outputs i stumpled upon the .CFG file that defines for example RS-485 spindle control over modbus.I have linked the 2 files as .txt could anyone please give feedback and advice.TIA.
  • Aciera
  • Aciera's Avatar
12 Feb 2025 18:38

Autoloading Vise - custom coding and Hal help

Category: Advanced Configuration

So how would I create a pin?


Pins are created by hal components.
  • Aciera
  • Aciera's Avatar
12 Feb 2025 18:35

Autoloading Vise - custom coding and Hal help

Category: Advanced Configuration

net dout-01    => hm2_7i96s.0.ssr.00.out-01

in the line above 'dout-01' is a signal name
'hm2_7i96s.0.ssr.00.out-01' is a pin name

hence you get an error using the 'setp' command on the signal name
setp dout-01 True

Try using (note sets instead of setp)
sets dout-01 True
  • klamos
  • klamos's Avatar
12 Feb 2025 18:30
Replied by klamos on topic Handrad WHB04B-4

Handrad WHB04B-4

Category: General LinuxCNC Questions

Danke für den Hinweis. leider ohne Erfolg
  • jairobbo
  • jairobbo
12 Feb 2025 18:24 - 12 Feb 2025 18:26

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

Hi all,

I’m quite new here and still have a lot to learn, thanks all for your patience. I have been trying my best to get good print results with an Ender3 with a 100mm round build plate on two rotational axes. I wrote a blender addon that does ‘indexed’ 5 axis printing.
My setup with the pi 5 and gpio was not a suitable solution. I am hoping to get my octopus v1.1 working with remora. 

1) I successfully flashed the mcu
2) my wiring is correct
3) I get no read response from spi connection
4) when I start Linux cnc with my config, it says that joint.5.scale is not found ( extruder)

I will attach my hal and ini files in a bit. 
  • fziepiela
  • fziepiela
12 Feb 2025 18:12
Replied by fziepiela on topic SOLVED Cant run created stepwizard file

SOLVED Cant run created stepwizard file

Category: General LinuxCNC Questions

Thanks again, im reading away. Also I did know that RPI needs the parallel hat by byte to bot. When looking at the hal file form them it doesn't show the GPIO code in it like yours does thanks again.
Displaying 16906 - 16920 out of 20876 results.
Time to create page: 0.499 seconds
Powered by Kunena Forum