Advanced Search

Search Results (Searched for: )

  • WKS-3D
  • WKS-3D
25 Apr 2025 09:32
Replied by WKS-3D on topic Umstieg auf LinuxCNC mit RaspberryPi4

Umstieg auf LinuxCNC mit RaspberryPi4

Category: Deutsch

Uhi, das ist ja süß... all in one.

Ja viel können muss das nicht... Es handelt sich um eine Drehmaschine...
 



Willkommen im Forum,

die Aussage finde ich viel zu allgemein, es kommt auf die Drehmaschine an, wie diese ausgestattet ist.
Meine hat zB. nen Werkzeugrevolver mit Überwachung der Position, Glasmaßstäbe in X und Z,
programmierbarer Reitstock/Pinole, Spindelencoder, Bedienpanel, Minimalmengenschmierung.
Weiter geplant, Taster zum automatischen Vermessen der Werkzeuge.
Du siehst, da kommen eine Menge IOs zusammen, "nur" für eine Drehmaschine 

Hier gibt es sehr viele hilfsbereite und schlaue Menschen, man muss nur ordentlich Fragen.


Gruß
Olli
 
  • Hakan
  • Hakan
25 Apr 2025 07:32
Replied by Hakan on topic Stepper motors for a EtherCat system

Stepper motors for a EtherCat system

Category: General LinuxCNC Questions

Have a look at the Rtelligent ECT42 www.rtelligentglobal.com/fieldbus-closed...-ect-series-product/
The motor needs to be a standard stepper motor with two coils.
This drive expects a very common quadrature signal A and B.
The encoder interface needs to be checked so they matches.

In general terms that's how one does it - use a drive that connects to EtherCAT.
Not very common, although the solution exists, to use a separate EtherCAT device
to generate step motor pulses and take encoder input and connect that to a stepper motor drive.
When you go with EtherCAT, use EtherCAT stepper motor drives.
  • dctrytsman
  • dctrytsman
25 Apr 2025 07:25
Replied by dctrytsman on topic Spindle Gear changing

Spindle Gear changing

Category: General LinuxCNC Questions

My spindle has an encoder on and at the moment, regardless of what gear I am in, it will always run at the selected RPM. I tested this, I selected the low gear ratio manually and ran S1000 M3 and it ran 1000RPM. I then did a M5, set the gear to high ratio manually, set S1000 M3 and the spindle ran at 1000RPM.

Unfortunately there is no clutch on the gearbox so I wont be able to change gears while running.

I basically just need a way to change gears automatically when a spindle speed command is given. When a S command is given, the spindle should first stop if it is running, then change to the appropriate gear based on the S command given, then start and run at the commanded speed. If possible, I would like the spindle to stop, then run at a very low rpm , then change gears if needed, then run at the given rpm.

Is there any way to implement this ?
  • Aciera
  • Aciera's Avatar
25 Apr 2025 06:59
Replied by Aciera on topic XHC-HB04 Pendant, Solving Jerky Movement

XHC-HB04 Pendant, Solving Jerky Movement

Category: Basic Configuration

Best way to get code changes for specific hardware into master would be to create a pull request with the description of the issue and the proposed (and tested) changes.
github.com/LinuxCNC/linuxcnc
  • Aciera
  • Aciera's Avatar
25 Apr 2025 06:48
Replied by Aciera on topic Creating Subroutines for ngcgui

Creating Subroutines for ngcgui

Category: O Codes (subroutines) and NGCGUI

@max68

No double posting please.
  • aDm1N
  • aDm1N's Avatar
25 Apr 2025 06:04
Replied by aDm1N on topic ChatGPT LinuxCNC Assistent

ChatGPT LinuxCNC Assistent

Category: Configuration Tools

That's the current status. A few startup errors have gone away, but I think I need to change the entire pin assignment now. Are there any other serious errors you see besides the pin assignments?

 

File Attachment:

File Name: custom_2025-04-25.hal
File Size:3 KB
 

File Attachment:

File Name: my-lathe_2...4-25.ini
File Size:2 KB
  • fery15sty
  • fery15sty
25 Apr 2025 03:46
Replied by fery15sty on topic spindle speed mode to c-axis mode (cnc-lathe)

spindle speed mode to c-axis mode (cnc-lathe)

Category: General LinuxCNC Questions

exactly right. all my logic changed to base-thread.. and the spindle rotation works as expected. spindle speed mode or c-axis mode.

thank you PCW
best regards
  • PCW
  • PCW's Avatar
25 Apr 2025 02:46

spindle speed mode to c-axis mode (cnc-lathe)

Category: General LinuxCNC Questions

I would think Logic should be possible with stepgen signals if
you addf the logic components to the base thread instead of the servo thread.
  • fery15sty
  • fery15sty
25 Apr 2025 02:01

spindle speed mode to c-axis mode (cnc-lathe)

Category: General LinuxCNC Questions

I tried using two modes on the lathe spindle.

I want to be able to change the spindle speed mode to c-axis mode which can be changed by entering Mcode

Here is an example of my code:

#######################

net caxis-cc-step <= stepgen.2.up
net caxis-ccw-step <= stepgen.2.down

net mode-caxis => and2.10.in0 => and2.11.in0
net caxis-cc-step => and2.10.in1
net caxis-ccw-step => and2.11.in1
net caxis-cc-out and2.10.out => or2.6.in0
net caxis-ccw-out and2.11.out => or2.7.in0



net spindle-cw-step <= stepgen.4.up
net spindle-ccw-step <= stepgen.4.down

net mode-spindle => and2.12.in0 => and2.13.in0
net spindle-cw-step => and2.12.in1
net spindle-ccw-step => and2.13.in1
net sp-cc-out and2.12.out => or2.6.in1
net sp-ccw-out and2.13.out => or2.7.in1

net servo-cc or2.6.out => parport.0.pin-08-out
net servo-ccw or2.7.out => parport.0.pin-09-out

#######################

M198 code:
#!/bin/bash
halcmd sets mode-caxis True
halcmd sets mode-spindle False
exit 0


M199 code:
#!/bin/bash
halcmd sets mode-caxis False
halcmd sets mode-spindle True
exit 0

#######################

I have tried all the codes above. M-code works well, it can change the spindle mode to c-axis or c-axis to spindle mode. but the resulting signal is not perfect.

I assume that the stepgen signal cannot use and2 or or2 logic, so that the stepping signal is damaged?
  • Chef_2
  • Chef_2
25 Apr 2025 01:29
Replied by Chef_2 on topic Umstieg auf LinuxCNC mit RaspberryPi4

Umstieg auf LinuxCNC mit RaspberryPi4

Category: Deutsch

Uhi, das ist ja süß... all in one.

Ja viel können muss das nicht... Es handelt sich um eine Drehmaschine...

Ich habe aktuell dieses Interface:

www.sorotec.de/shop/Interface-Advanced-PRO.html

Mir geht es für das erste erst mal darum, mich mit diesem LinuxCNC zu befassen...

Ich hoffe es gibt hier sehr Hilfsbereite und schlaue Menschen in diesem Forum... ich selber kontruiere und baue Maschinen inkl. Elektrik aber bei Software ist es bei mir dann vorbei.
  • PCW
  • PCW's Avatar
24 Apr 2025 22:56
Replied by PCW on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Tried this out but got following errors with large acceleration violations

Running the LinuxCNC logo:

 
  • PCW
  • PCW's Avatar
24 Apr 2025 22:10
Replied by PCW on topic spindle with encoder

spindle with encoder

Category: Basic Configuration

How many degrees of backlash at the spindle?
 With this and the thread pitch, you could determine
the Z axis error caused by the backlash to see how serious it is.

I guess you could even make a hal backlash component for the
encoder position if need be. (create a deadzone on reversals)
  • billru
  • billru
24 Apr 2025 21:57
Replied by billru on topic Stepper motors for a EtherCat system

Stepper motors for a EtherCat system

Category: General LinuxCNC Questions

Thank you for the feedback
  • rodw
  • rodw's Avatar
24 Apr 2025 21:21

WEMAS MT 32 CNC Lathe -> LinuxCNC - Mesa or EtherCAT?

Category: Turning

If you wanted to use handwheels, consider Mesa over Ethercat.encoder/counter. Required Ethercat modules are expensive.
  • rodw
  • rodw's Avatar
24 Apr 2025 21:12
Replied by rodw on topic Stepper motors for a EtherCat system

Stepper motors for a EtherCat system

Category: General LinuxCNC Questions

I have found it is better to use a matched pair motor/drive combo
I have had good luck with Rtelligent ECT drives matched to their closed loop steppers.
I could not get their ECT86 (NEMA34) drives working with NEMA23/24 motors.
Displaying 1651 - 1665 out of 26440 results.
Time to create page: 0.273 seconds
Powered by Kunena Forum