Advanced Search

Search Results (Searched for: )

  • langdons
  • langdons
20 Nov 2024 16:45

Installing LinuxCNC on Ubuntu 24.04 LTS is not possible.

Category: Installing LinuxCNC

I tried to install "linuxcnc-uspace" and I got dependency errors.
The "linuxcnc" package has no installation candidate on both Ubuntu and Debian (even the version of Debian supplied with the LinuxCNC ISO).

The offical ISO image does work, however.
  • langdons
  • langdons
20 Nov 2024 16:41

How to configure pause/resume over pin 10 of parallel port?

Category: HAL

I have no clue of how generate G-Code.
I have never used a cnc machine before.
I'll worry about that once the machine works.

I also need to buy a ton of grease nipples for the linear rail bearings because many of the existing ones are clogged and broken.
Somehow, they are impossible to unclog.
(No clue) :(
  • NTULINUX
  • NTULINUX's Avatar
20 Nov 2024 16:40

Best version for Parport machine and how to install

Category: Installing LinuxCNC

You can put the .deb files on a flash drive and install them as you usually would with `sudo dpkg -i <all .deb files go here>`

For example:

1.) Download all the .debs from this sticky:

forum.linuxcnc.org/9-installing-linuxcnc...ng-rtai-debs-for-2-9 (the 5.4.279 ones)

2.) Put them on a flash drive on one machine that has access to the internet (any machine, doesn't need LinuxCNC)

3.) On the LinuxCNC machine, run:
sudo apt purge linuxcnc*

4.) Now plug the flash drive into your LinuxCNC machine that doesn't have internet access

5.) Make a directory in your home folder (/home/<your user>) called RTAI on the LinuxCNC machine

6.) Use the graphical file manager to copy the files off the flash drive into your newly created RTAI folder

7.) In a terminal, go to that directory:
cd "${HOME}/RTAI"

8.) Run:
for i in *.deb ; do sudo dpkg -i "${i}" ; done

9.) Reboot and select the RTAI kernel via the GRUB menu (this is the menu that has a list of kernels you can choose from at boot. It launches right after the BIOS is done.)

10.) Run the latency test or latency histogram.
  • langdons
  • langdons
20 Nov 2024 16:30

How to configure pause/resume over pin 10 of parallel port?

Category: HAL

I think I'm using Axis as my GUI.
I am using LinuxCNC version 2.9.3.

BTW, right now, the system does not actually work.
I am just testing it.
The old stepper drivers broke (I think).

I am still waiting fir the new one to arrvie from China from Ebay.
  • tommylight
  • tommylight's Avatar
20 Nov 2024 16:04
Replied by tommylight on topic Homing trouble

Homing trouble

Category: General LinuxCNC Questions

HOME_FINAL_VELOCITY = 10
For metric that would be 600mm/m
Set also SEARCH and LATCH values acordingly, in the ini file.
  • royka
  • royka
20 Nov 2024 16:03
Replied by royka on topic Real-Time Kernel with Orange Pi 4 LTS

Real-Time Kernel with Orange Pi 4 LTS

Category: General LinuxCNC Questions

The SPI driver has nothing to do with Armbian, it's in the kernel, it seems to be a known issue with the default (example) driver. Unless their is a proper SPI driver for the rk3399 it won't be different on that sbc. AFAIK there's only made a realtime driver for the RPI.
Unfortunately I don't have a spi board to test with, perhaps it helps to pin the irq of spi to an isolated core?

I've seen that there has been a rt patch for one board for a quite old kernel, I can try to find that one and if I'm able to apply that on the newer kernel.
  • gardenweazel
  • gardenweazel's Avatar
20 Nov 2024 16:01
Replied by gardenweazel on topic Inconsistent values from Versaprobe

Inconsistent values from Versaprobe

Category: Qtvcp

Hi,
Thanks for your feedback! Based on what I am seeing this appears as if its an issue with the G43 and G49 entries in the gcode.
Which is why I included a copy of my gcode in one of the posts in this thread. There are both G43 and G49 code changes in the qt_auto_probe_tool.ngc script.
I suspect that there may be some quirks that might be disabling/enabling these two codes.

Strange enough is the value of #5070 probe fail/succeed passes each time with a one(1) succeed.

I have not even tried(recently) to do a tool change in mid code(other than the initial beginning tool change) for fear of crashing, etc...

Its also worth noting that the post processor for Fusion 360, EMC2 in my case doesn't inhibit the call to G43 despite having the following two lines in my PP script:
outputToolLengthCompensation: false,
outputToolLengthOffset: false

To further complicate things, I've also noted that using tool number zero as my probe doesn't seem to work very well. I've moved my probe to tool number 99 as of now.

It would be nice to hear from some of the seniors as to their take on this issue.
  • tommylight
  • tommylight's Avatar
20 Nov 2024 15:57
Replied by tommylight on topic LinuxCNC for lathe questions

LinuxCNC for lathe questions

Category: General LinuxCNC Questions

1.
2. ....
I see PCW beat me to it.
  • tommylight
  • tommylight's Avatar
20 Nov 2024 15:53

How to configure pause/resume over pin 10 of parallel port?

Category: HAL

Spindle.n.on
That should be the hal pin controlling the spindle (on phone can not check).
If using later versikn of LinuxCNC, the spindle on gcode is
M3 S24000 $0
S24000 is the RPM
$0 is spindle 0 of the first installed spindle as there can be several spindles.
One thing to keep in mind, if you set just the spindle on pin, it should just turn the spindle on, but if you do have a spindle pwm pin, then the spindle will not trun on from gcode without the speed value included.
! Means active low in 3d printers :)
Active low is whatever signal sign or name with the dash above.
What GUI are you using?
  • PCW
  • PCW's Avatar
20 Nov 2024 15:46
Replied by PCW on topic LinuxCNC for lathe questions

LinuxCNC for lathe questions

Category: General LinuxCNC Questions

I can answer some of the hardware questions:

2: 600 PPR is fine (LinuxCNC is not counting the pulses, the 7I96S hardware is)
3: Yes Z is the 1 PPR signal (assuming the encoder is geared 1:1 with the spindle)
4. The 7I96S has 4 MPG encoders available on its isolated inputs so if you have enough
    free inputs for limit/home/probe/etc you should not need a 7I73 (each MPG uses 2 pins)
  • sk_linuxcnc
  • sk_linuxcnc
20 Nov 2024 15:39

Help: configure a Servo motor with (PUL/DIR) as a Spindle by Par-port stepconfig

Category: StepConf Wizard

how should i attain the maximum possible rotational speed on my spindle?

my current settings are:
[SPINDLE_0]
SCALE = 6400
MAX_VELOCITY = 20000.0
MAX_ACCELERATION = 40000
STEPGEN_MAXVEL = 25000.00
STEPGEN_MAXACCEL = 40000
DIRSETUP = 10000
DIRHOLD = 10000
STEPLEN = 5000
STEPSPACE = 5000
STEP_SCALE = 6400

the spindle motor is set to 800 Pulses/rev

when i configure the motor as the axis, the fastest possible speed is apparently a bit higher than i can achieve when configured as a spindle

#*** AXIS_A *******************************
[AXIS_A]
MAX_VELOCITY = 971.590909090909
MAX_ACCELERATION = 36000.0
MIN_LIMIT = -99999999999999.0
MAX_LIMIT = 99999999999999.0

[JOINT_3]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -99999999999999.0
MAX_LIMIT = 99999999999999.0
MAX_VELOCITY = 971.590909090909
MAX_ACCELERATION = 36000.0
STEPGEN_MAXACCEL = 45000.0
SCALE = 17.77777777777778
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.0
#******************************************

Thankyou in advance. looking forward
  • nigelh
  • nigelh's Avatar
20 Nov 2024 15:36
Replied by nigelh on topic Configuring hardware jog buttons

Configuring hardware jog buttons

Category: HAL

Thanks to all
Final working version attached including debounce mods suggested because I hate googling for a fix that ends 'thank you' but keeps the fix secret.
Quite what is different I'm not sure but it works before you home stuff which is what I wanted.
Now I can get on with making the Pendant actually move things rather than move and then jump back to the start position
but that would be another thread I guess.
##  Jog Switches
##  ============

# NB this only works PRIOR to homing. After that use the MPG
setp halui.joint.jog-speed 100

# Use the Mesa driver built in debounce (25mS rather than 25uS)
setp hm2_7i95.0.inmux.00.input-08-slow true
setp hm2_7i95.0.inmux.00.input-09-slow true
setp hm2_7i95.0.inmux.00.input-11-slow true
setp hm2_7i95.0.inmux.00.input-12-slow true
setp hm2_7i95.0.inmux.00.input-14-slow true
setp hm2_7i95.0.inmux.00.input-15-slow true

# Copy the switches to the joint inputs
net jsw-xp hm2_7i95.0.inmux.00.input-08 => halui.joint.0.plus
net jsw-xm hm2_7i95.0.inmux.00.input-09 => halui.joint.0.minus
net jsw-yp hm2_7i95.0.inmux.00.input-11 => halui.joint.1.plus
net jsw-ym hm2_7i95.0.inmux.00.input-12 => halui.joint.1.minus
net jsw-zp hm2_7i95.0.inmux.00.input-14 => halui.joint.2.plus
net jsw-zm hm2_7i95.0.inmux.00.input-15 => halui.joint.2.minus
 
  • spumco
  • spumco
20 Nov 2024 15:30
Replied by spumco on topic Simple lathe question

Simple lathe question

Category: Turning

Yes - with that encoder & index signal LCNC will adjust feed while threading to compensate for spindle speed variations.
  • JT
  • JT's Avatar
20 Nov 2024 14:48
Replied by JT on topic Flex GUI Tutorials

Flex GUI Tutorials

Category: Other User Interfaces

Tutorial 21



JT
  • warwickben
  • warwickben
20 Nov 2024 14:23
Replied by warwickben on topic Simple lathe question

Simple lathe question

Category: Turning

It’s a gear driven lathe and I just don’t want to deal with variable speed , and frying the motor controller etc . Already destroyed a mini lathe motor control board lol. I had made an encoder for the mini with two wheels and two optical sensors. One had like 60 slits and the other had 1 so I under stand that .

For me just turning the spindle on manual and hitting cycle start Is fine for the needs.

I wasn’t sure if I would be able todo threading and Linux CNC would just adjust the feed to compensate for the spindle load etc .
Displaying 17746 - 17760 out of 24085 results.
Time to create page: 0.488 seconds
Powered by Kunena Forum