Advanced Search

Search Results (Searched for: )

  • Grotius
  • Grotius's Avatar
17 Apr 2025 08:02
Replied by Grotius on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

@SnowGoer540,

At the moment we have 2 testers who failed to run scurve on their machines. One off the testers
is running the cia402 with ethercat. Somehow linuxcnc has following errors using the tpmod_scurve.
At the moment we are unable to find the reason. Maybe kernel is too slow, mabye it's something else.

The other tester is anonymous and problably has multiple machines running. He pointed out the latency is very bad for
the latest debian 13 rt kernel. So i made a debian 10 and a 4.19 rt kernel wich he is familair with. But this also runs dramatic
on my laptop.

Then on my laptop i got also poor results using ethercat steppers at the moment.
In the past everything worked flawless, but this was on a normal desktop pc running ethercat and steppers.
Therefore maybe the problem is just the laptop, performing poor on the rt kernel.

Then there is the cmake build system wich i use to compile the scurve planner. The linuxcnc makefile is unable to
compile c++ code along with it. And i think the cmake build system for the scurve planner will not be merged to the linuxcnc
github source, because it doesn't align with the current makefile system.

Then there is that extra licence note, that will not be approved, but still has our attention.

So even when the scurve run's nice in a linuxcnc simulator config. There are still other problems that has to be resolved at the moment.
Therefore i think it's too early to do a git push request.

Personally i don't see linuxcnc as a fractured project. Best is too stay positive
  • RushA
  • RushA
17 Apr 2025 07:26

A simple question: How to use EXPORT_SYMBOL()

Category: General LinuxCNC Questions

hi,
I have a question in using linuxcnc 2.9.
I want to call the function defined in the other module. In module A, I export a function using EXPROT_SYMBOL(). In module B, I use "extern" to declare the function and call it. However, it always tells me "undefined symbol". How to solve this problem?
  • timo
  • timo
17 Apr 2025 05:03
Replied by timo on topic ENCODER_RATIO function implementation.

ENCODER_RATIO function implementation.

Category: General LinuxCNC Questions

Thanks for the screen shot.
I think it looks "good enough" (at least for me :-) using it for DIY hobbing of "toy gears" )
Do I understand this right that a G-code file is generated based on the input data to run the process?
Does "shift" button refer to profile shift or is it doing a hob shift? (tangential hobbing :-O )?

Greetings Timo
  • theslawek
  • theslawek
17 Apr 2025 05:00

Need help making rotary axis behave like second spindle

Category: Advanced Configuration

Is this just a typo when you entered test on the forum?

Pin 'spindle.1.speed-ut-rps' does not exist

 ("ut" instead of "out")

Also I think you need:loadrt [EMCMOT](EMCMOT) servo_period_nsec=[EMCMOT](SERVO_PERIOD) num_joints=[KINS](JOINTS) num_spindles=2

 

Yep, it checked my console log again and it looks like I accidently cut out that character.
Appreciate your quick reply Peter. I feel quite accomplished that I managed to figure it out before noticing your message.

All this stuff like this below still makes no sense to me as to what its purpose is.
net spindle1-vel-cmd-rps        <=  spindle.1.speed-out-rps
  • theslawek
  • theslawek
17 Apr 2025 04:56

Need help making rotary axis behave like second spindle

Category: Advanced Configuration

Found two errors (below) since I posted this and Probe Basic now loads and IT WORKS!

M3 S1000 
M3 S1000 $1


My INI and HALs uploaded for future people reading this thread.

INI
GEOMETRY = xyza

HAL
Added num_spindles
loadrt [EMCMOT](EMCMOT) servo_period_nsec=[EMCMOT](SERVO_PERIOD) num_joints=[KINS](JOINTS) num_spindles=[TRAJ](SPINDLES)

A few followup questions if I may
  1. Should I expect M5 to stop all spindles, or do I have to get used to using M5 $-1?
  2. Is it possible to get M4 to work? It doesn't do anything right now.
  • PCW
  • PCW's Avatar
17 Apr 2025 04:40 - 17 Apr 2025 04:45

Need help making rotary axis behave like second spindle

Category: Advanced Configuration

Is this just a typo when you entered test on the forum?

Pin 'spindle.1.speed-ut-rps' does not exist

 ("ut" instead of "out")

Also I think you need:loadrt [EMCMOT](EMCMOT) servo_period_nsec=[EMCMOT](SERVO_PERIOD) num_joints=[KINS](JOINTS) num_spindles=2
  • theslawek
  • theslawek
17 Apr 2025 04:17

Need help making rotary axis behave like second spindle

Category: Advanced Configuration

Hi Spumco, I appreciate your dedication to helping me accomplish this.

I ran into a hurdle immediately with MesaCT 2.1.7. When set to 7i76E, or any other card for that matter, the Spindle -> StepGen tab just has a message of "not functioning yet". I even cloned the lastest master from GitHub and the same message is present.

I was about to press Post on this reply, but then I thought, why don't I try PNCConf in case that's what you meant. PNCConf seems to have what you indicated. I did the changes in the INI, but I'm hung up on the HAL part.

Here are the substitutions I made from the PNCConf HAL into the clone of my good xyza config. (A parts were removed)
  1. pid.s is pid.s1 (including in the loadrt and do-pid-calcs parts)
  2. SPINDLE_0 to SPINDLE_1
  3. changed all ".s" entries to ".s1"
  4. entries such as "net spindle-vel-cmd-rps" changed to "net spindle1-vel-cmd-rps"
I've loaded the config many times and addressed my oversights.

I'm stuck with this error:

twopass: Error in file ./hallib/main.hal:
    Pin 'spindle.1.speed-ut-rps' does not exist


Which I think relates to this block. I'm not sure how to go from here. Are these related to the GUI?

net spindle1-vel-cmd-rps        <=  spindle.1.speed-out-rps
net spindle1-vel-cmd-rps-abs    <=  spindle.1.speed-out-rps-abs
net spindle1-vel-cmd-rpm        <=  spindle.1.speed-out
net spindle1-vel-cmd-rpm-abs    <=  spindle.1.speed-out-abs
net spindle1-enable             <=  spindle.1.on
net spindle1-cw                 <=  spindle.1.forward
net spindle1-ccw                <=  spindle.1.reverse
net spindle1-brake              <=  spindle.1.brake
net spindle1-revs               =>  spindle.1.revs
net spindle1-at-speed           =>  spindle.1.at-speed
net spindle1-vel-fb-rps         =>  spindle.1.speed-in
net spindle1-index-enable      <=>  spindle.1.index-enable

My latest INI and HALs attached.
  • PCW
  • PCW's Avatar
17 Apr 2025 03:28

No funciona salidas de db25 en linuxcnc 2.9.4

Category: Plasmac

You would need to provide more information for someone to be able to help you,
especially your hal/ini files.
 
  • davidron
  • davidron
17 Apr 2025 03:11

No funciona salidas de db25 en linuxcnc 2.9.4

Category: Plasmac

Alguien sabe porque no funciona las salidas ni las entradas del puerto paralelo, sonda no registra nada y la antorcha no enciende si mando en mdi un m3 , m62 p0, m66 p0 la antorcha no enciende, solo los motores si mandan señal
  • snowgoer540
  • snowgoer540's Avatar
17 Apr 2025 02:31
Replied by snowgoer540 on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

@Rodw,

Thank you for your effort, all your input so far.

I have tried to create a .iso for day's, using the lb build system and also by using a chroot environment.
However it failed at some point when the .iso installation was ~60% complete.
Also the linuxcnc live build failed at some point, it had something todo with filmware, but that's no problem.

Then creating .deb packages is also a lot off work. As you have at least 2 types. The normal packages and the -dev packages
wich includes .headers etc.
I think we have to use 3 types, like the normal, the -dev and the -source.

For now i use a Qemu vm. Install debian and the software we need. Then the Qemu .img file can be compressed and
downloaded by others to test in their vm.
For running on real machines, i have to do a extra conversion step from .img to other .img type,
then write the .img to usb, and it will run.



I’m just watching the sidelines from a car driving by the football game … but it seems to me like you’re doing an awful lot of work to avoid making a new git sign in and creating a pull request, etc.

It just seems like it further fractures and obfuscates an already fractured project that is kind of on life support as it is.

Just my $0.02 for what it’s worth. ¯\_(ツ)_/¯
  • wrhammer
  • wrhammer
17 Apr 2025 02:21
Replied by wrhammer on topic Remap M6 in python

Remap M6 in python

Category: General LinuxCNC Questions

Thanks Aciera! Super helpful, I've pretty much just been trying anything including the yields. Makes sense to include the if self.task == 0 bit of code to keep it from executing on load and thanks for the input on read ahead. I think that is my core issue. I will give this a shot asap!
  • daveyr
  • daveyr
17 Apr 2025 00:30
Replied by daveyr on topic Rack Tool Changer

Rack Tool Changer

Category: QtPyVCP

Hay Chris. Not sure if you have seen these for rack tool changers. rapidchangeatc.com/product-category/er20-magazines/ For routers they can make it easy to add rack tool changing but need a slightly interesting macro.

I am not sure i can see how to do a PM but if i remember correctly you are in NZ if so let me know if you are interested in playing as could bring one when i come back down under in a couple of weeks if you have an ER collet machine.
  • tommylight
  • tommylight's Avatar
17 Apr 2025 00:14

What are the chances of getting this setup working?

Category: Pick and Place

I am sure you have also had to deal with the type of people that look at you and go " Oh you look fine,
say can you ( add requested favor here ) for me"? I have had to deal with that a lot. It don't matter how
tired you are, how much you just gut out life's aches and pains. they are utterly convinced you exist
to make other people's whims a reality. 

Yeah that never ended good in my case, as i might have mentioned before, until 2008 i was extremely aggressive, not helped by surviving 2 wars, so i made sure i get no such requests ever again.
-
Ending rant here, sorry to all.
  • tommylight
  • tommylight's Avatar
17 Apr 2025 00:06
Replied by tommylight on topic rotary axis queston

rotary axis queston

Category: General LinuxCNC Questions

If there is no particular and very strong reason for it, i would avoid using the pictured axis designations, it will cause constant headaches with any CAM software you might use.
  • my1987toyota
  • my1987toyota's Avatar
17 Apr 2025 00:04
Replied by my1987toyota on topic What are the chances of getting this setup working?

What are the chances of getting this setup working?

Category: Pick and Place

I am sure you have also had to deal with the type of people that look at you and go " Oh you look fine,
say can you ( add requested favor here ) for me"? I have had to deal with that a lot. It don't matter how
tired you are, how much you just gut out life's aches and pains. they are utterly convinced you exist
to make other people's whims a reality. 
Sorry went on a bit of a rant there. And no it's no one from  the linuxcnc forum.
Displaying 6451 - 6465 out of 24276 results.
Time to create page: 0.421 seconds
Powered by Kunena Forum