Advanced Search

Search Results (Searched for: )

  • 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?
Displaying 16966 - 16971 out of 16971 results.
Time to create page: 1.103 seconds
Powered by Kunena Forum