Advanced Search

Search Results (Searched for: )

  • langdons
  • langdons's Avatar
14 Oct 2025 21:37 - 14 Oct 2025 21:39
Replied by langdons on topic control spindle motor using modbus

control spindle motor using modbus

Category: General LinuxCNC Questions

If your setup is parallel port, please keep in mind you almost certainly have enough output pins to control the spindle via the existing parallel port interface.

12 output pins is quite a lot.
(Enough for 6 step/dir axes!)

Your post is slightly reminiscent of this one:

linuxcnc.langdonstaab.ca/10-advanced-con...from-within-axis-mdi
  • unknown
  • unknown
14 Oct 2025 21:12

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

Hostmot2 firmware is there. Running Axis in a VM using the sample code, apart from the latency error, runs ok.

Now this is something I found rater curious.
Both were builds had the target as Debian Bookworm.

Building on a system running Debian Trixie raspi-firmware IS NOT installed. (built twice on 2 different machines)
Building on a system running Debian Bookworm raspi-firmware IS installed. (single build only attempted)

I will try a build on my Bookworm machine with the live-build package from Trixie and see what the results are.

The firmware "blacklist" is created here
salsa.debian.org/live-team/live-build/-/...h?ref_type=heads#L92

So I will need to see what the difference is between the Bookworm live-bulid package and Trixie.
Simple enough Bookworm doesn't have the firmware blacklist code.
  • PCW
  • PCW's Avatar
14 Oct 2025 21:06

M19 for Indexing a Spindle using Stepper Motors

Category: General LinuxCNC Questions

www.linuxcnc.org/docs/html/gcode/m-code.html#mcode:m19

Says:

Spindle orientation requires a quadrature encoder with an index to sense the spindle shaft position and direction of rotation.

The need for an encoder can be worked around by using a StepGen with the index feature but that would still require
a once per turn signal for initial alignment.
  • Doc_emmet
  • Doc_emmet
14 Oct 2025 20:53 - 14 Oct 2025 20:56
6th axis for ATC was created by Doc_emmet

6th axis for ATC

Category: General LinuxCNC Questions

Hello, I use QtDragon with 5 axes (X, Y, Z, B, C) and have expanded and flashed my Mesa 7i76EU with a 7I85s. The additional 4 axes are also displayed with sudo mesaflash --device 7i76eu --addr 192.168.1.121 --readhmid. As far as I know, QtDragon can only handle 5 axes. I need an additional axis for the ATC that doesn't need to be displayed in QtDragon. Can I control it via G-code, e.g., G0 W100, or if G-code isn't possible, via HAL commands?

I read that you can customize the xyzbc-trt-kins file, but I can't find it?
  • richcolvin
  • richcolvin's Avatar
14 Oct 2025 20:13

M19 for Indexing a Spindle using Stepper Motors

Category: General LinuxCNC Questions

I am trying to use the M19 command:

m19 r90 q10 p1 $0

The m3 & m4 commands work as expected, but m19 does not.  Any guidance would be greatly appreciated.

My HAL and INI files are attached (Spindle0.inc renamed to be Spindle.inc.ini so that it could be attached).
  • JT
  • JT's Avatar
14 Oct 2025 19:39 - 14 Oct 2025 19:41
Replied by JT on topic FlexGui custom buttons

FlexGui custom buttons

Category: Flex GUI

If you use partial and pass the parent then you have access to everything.

There is a #flex-dev channel on the Libera.Chat which I monitor usually.

JT
  • DerKlotz
  • DerKlotz
14 Oct 2025 19:13
Replied by DerKlotz on topic Glade Hal Meter Spindle Speed -> postgui

Glade Hal Meter Spindle Speed -> postgui

Category: GladeVCP

Unfortunately, I'm still stuck, even with the additional link.
My thoughts:
Where can I get the spindle speed (float)? Would that be the value “spindle.0.speed-out,” for example, which can be seen in the attachment?
How do I transfer the float value to gladevcp.Spindel?

My favorite code doesn't work. 
net Spindelrpm =>  gladevcp.Spindel <= spindle.0.speed-out
Error "custom_postgui.hal:9: Pin 'spindle.0.speed-out' was already linked to signal 'spindle.0.speed-out'"
 
  • jmp97
  • jmp97
14 Oct 2025 18:50
Replied by jmp97 on topic LinuxCNC installation + 7I96S

LinuxCNC installation + 7I96S

Category: Installing LinuxCNC

OK, I've managed to get the motor moving. The two +/- buttons now move the motor, although I'd like to have an interface with arrows. (More user-friendly)

I'm using the default LinuxCNC configuration for my 7I96S card. I need to modify the parameters for my CNC machine. How can I do this to ensure that the changes are correct?



Thank you.
  • PCW
  • PCW's Avatar
14 Oct 2025 18:27
Replied by PCW on topic LinuxCNC installation + 7I96S

LinuxCNC installation + 7I96S

Category: Installing LinuxCNC

Can you post the complete hal  file so that cause of the issue can be determined?
  • abs32
  • abs32
14 Oct 2025 18:16 - 01 Nov 2025 10:37
  • tommylight
  • tommylight's Avatar
14 Oct 2025 18:13
Replied by tommylight on topic Secondary PWM Output for LASER

Secondary PWM Output for LASER

Category: Advanced Configuration

Pretty sure mine does not use M68, but M67.
The included dmap2gcode can open an image and output gcode you can test with, it creates a depth map of the image so it also varies the laser PWM as needed.
You can use my config as is, but:
-you have to edit the hal file parallel port pins for your hardware
-maybe also edit the ini file velocities and accelerations for your machine as mine are set very high on acceleration and slow for velocity
-it also has a PyVCP panel that shows the PWM/laser power
-my config is alos limited to roughly 80% of max PWM to prevent pressure servo motor from triggering protection, you do not need that so you can push 100%.
  • jmp97
  • jmp97
14 Oct 2025 18:04
Replied by jmp97 on topic LinuxCNC installation + 7I96S

LinuxCNC installation + 7I96S

Category: Installing LinuxCNC

With the LinuxCNC test configuration, when I select the 7I96S table option, the interface allows me to exit emergency mode. However, I cannot find a way to move the motors (there are no jogs).
  • Dave3891
  • Dave3891
14 Oct 2025 17:42 - 14 Oct 2025 17:43
Replied by Dave3891 on topic FlexGui custom buttons

FlexGui custom buttons

Category: Flex GUI

For anyone else with this question, this seems to work
parent.command passes the connection to emc
from functools import partial
import hal

def startup(parent):
    parent.JetOnBtn.clicked.connect(jet_on)
    parent.JetOffBtn.clicked.connect(partial(jet_off, parent))

def jet_on():
    hal.set_p("lcec.0.4.out-01", "True")
    print('Jet On')
    
def jet_off(parent):
    hal.set_p("lcec.0.4.out-01", "False")
    parent.command.abort()
    print('Jet Off')
  • Ul
  • Ul
14 Oct 2025 17:17
Replied by Ul on topic Probleme WIFI Rasperry Pi5 mit 2.9.6

Probleme WIFI Rasperry Pi5 mit 2.9.6

Category: Deutsch

Falsches Tastaturlayout, somit falsches WLAN-Passwort?
  • abs32
  • abs32
14 Oct 2025 17:15 - 14 Oct 2025 17:56
Replied by abs32 on topic Secondary PWM Output for LASER

Secondary PWM Output for LASER

Category: Advanced Configuration

Download the archive file. I see lines there in the pwm part -
loadrt pwmgen output_type=1
addf pwmgen.make-pulses base-thread 
addf pwmgen.update servo-thread
net pwmdhez motion.teleop-mode => not.0.in
setp pwmgen.0.pwm-freq 1000.0
setp pwmgen.0.scale 6.0
setp pwmgen.0.offset 0.1

specific, not for me -

setp pwmgen.0.dither-pwm true
net jasht logic.0.and pwmgen.0.enable
net dout-00 <= pwmgen.0.pwm
net dout-00 => parport.0.pin-02-out

Doesn't work. I checked the electrician. With command M68 E0 Q 0.0 voltage per pin 14 = -0.4v, M68 E0 Q 1 voltage 4.7. I won't tell you the frequency.
Displaying 2821 - 2835 out of 22280 results.
Time to create page: 0.234 seconds
Powered by Kunena Forum