Advanced Search

Search Results (Searched for: )

  • 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 .
  • langdons
  • langdons
20 Nov 2024 14:04

Latency of parallel port system on decent hardware.

Category: General LinuxCNC Questions

Running "sudo apt update && sudo apt install linuxcnc" gives an error.

I blacklisted the Ethernet port.

Debian has no internet connection.

BTW, the system is a dual boot of Ubuntu 24.04 (my preferred OS) and Debian (for LinuxCNC)
  • langdons
  • langdons
20 Nov 2024 13:59 - 20 Nov 2024 14:01

Latency of parallel port system on decent hardware.

Category: General LinuxCNC Questions

I also unplugged the front audio and USB ports that I do not use.

(The back of the PC has a plethora of ports)

However, now the BIOS complains every boot :(

Whatever, I'll just press f1 every time I boot up to clear the error.
  • Masa
  • Masa
20 Nov 2024 13:59
Homing trouble was created by Masa

Homing trouble

Category: General LinuxCNC Questions

I'm Japanese and I'm posting using Google Translate. Please forgive me if the text is difficult to read.

In the past, I consulted with LinuxCNC2.8.2 about the phenomenon where the HOME_OFFSET operation starts at full speed for a short time when the homing operation starts. The servo amplifier is torque controlled and uses PID control. The servo amplifier is connected to the servo amplifier using an analog output module via EtherCAT. At that time, I was only connecting the JOINT and Encoder Index-enable in the HAL file, but I was advised to connect it to the PID Index-enable, and the problem was solved.

This time, I am using LinuxCNC2.9,3 to create a machine with a similar configuration, and the homing operation starts at full speed for a short time when the HOME_OFFSET operation starts. In the HAL file, Index-enable is connected to JOINT, PID, and Endoder. And the PID module of this version of LinuxCNC has a pin like the AT-PID version used in between. And there is no AT-PID. I remember that Index-enable didn't work well with the previous version of AT-PID. At the time I thought it couldn't be helped since it was for servo adjustment. Is it possible to fix the behavior when entering this HOME-OFFSET? I've looked through various manuals, but I haven't found anything. Is there some information I don't know? Please let me know.

Thank you.
  • langdons
  • langdons
20 Nov 2024 13:57

Latency of parallel port system on decent hardware.

Category: General LinuxCNC Questions

I managed to lower the latency to about 14000ns max jitter by disabling hardware.

I also set the CPU governor to performance.

I will try to disable more hardware to further reduce latency.

Unfortunately, I am unable to modify and BIOS settings because this is an old scrap computer from my high school.
I tried to get the IT person to change the password, but the BIOS login window is broken :(
Displaying 16831 - 16845 out of 24529 results.
Time to create page: 0.613 seconds
Powered by Kunena Forum