Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
10 Aug 2024 10:23
Replied by tommylight on topic Second LPT port - SOLVED!

Second LPT port - SOLVED!

Category: Advanced Configuration

In the future if you do need to use lspci, also use sudo in front as it also shows the loaded kernel modules , in your case it says access denied where the module name should be.
  • Shemmers
  • Shemmers's Avatar
10 Aug 2024 10:15 - 10 Aug 2024 10:15

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Hi Rodw, Thanks for all the incredible work so far on EtherCAT. I'm diving into both LinuxCNC and EtherCAT right now and excited by the possibilities. 

I ran into the same issues as discussed.  I tried your script on the Rpi 5 and it seemed to connect to their servers but it only seems to have grabbed 733 bytes. I may try some of the other methods mentioned previously.

 

___
System: Raspberry pi 5 + Leadshine EL8 EtherCAT drives
LinuxCNC level: first timer
Linux level: noob noob
  • Aciera
  • Aciera's Avatar
10 Aug 2024 09:32 - 10 Aug 2024 09:35

Can you get me started on using LinuxCNC on a non-traditional kinematic mechanis

Category: General LinuxCNC Questions

I think there is actually a way to run linuxcnc using only forward or inverse kinematics using the 'kinstype=' parameter but I have not experimented with that at all:

See 'trivkins - generalized trivial kinematics' section:
linuxcnc.org/docs/stable/html/man/man9/kins.9.html

I'm not even sure if this would have any meaning in a non-trivial kinematic.
  • Moutomation
  • Moutomation
10 Aug 2024 08:46 - 10 Aug 2024 08:48
Replied by Moutomation on topic gmoccapy pins

gmoccapy pins

Category: Gmoccapy

 thank you very much.
  • rodw
  • rodw's Avatar
10 Aug 2024 08:31

Plasmac Breakaway roadblock (mental one anyway)

Category: Plasmac

If you show the signal plasmac:breakaway in HalShow does it confirm that the connected pins are correct.
 

No, that is the confusing bit. The signal does not change state.
  • Aciera
  • Aciera's Avatar
10 Aug 2024 08:18
Replied by Aciera on topic gmoccapy pins

gmoccapy pins

Category: Gmoccapy

This will delete the file on startup:
#!/usr/bin/env python3
import os
import time
import hal
import linuxcnc

h = hal.component("file-check")
h.newpin("file-changed", hal.HAL_BIT, hal.HAL_OUT)
h.ready()
# create a connection to the status channel
s = linuxcnc.stat() 
# this is the file being checked for updates (example looks for 'file.txt' in the config folder)
file_path = 'file.txt' 
# wait time in milliseconds between file checks 
check_interval = 5000
# length of output puls in milliseconds 
pulse_length = 1000 


last_modified = os.path.getmtime(file_path)
check_timer_start = round(time.time()*1000)
h['file-changed'] = False

# delete the file if it already exists
if os.path.exists(file_path):
   print("The file exists, deleting it.")
   os.remove(file_path)
else:
  print("The file does not exist") 


try:
    while 1:
        s.poll()
        if round(time.time()*1000) >= check_timer_start +check_interval:
            # we don't want to reload when program is running
            if s.task_mode == 2 and s.state == 1: # ie AUTO-mode and 'RCS_DONE'
                current_modified = os.path.getmtime(file_path)
                if current_modified != last_modified:
                    print("File has changed!")
                    h['file-changed'] = True
                    pulse_timer_start = round(time.time()*1000)
                    last_modified = current_modified
                if h['file-changed'] and pulse_timer_start + pulse_length <= round(time.time()*1000):
                    h['file-changed'] = False
            
            check_timer_start = round(time.time()*1000)
except KeyboardInterrupt:
    raise SystemExit
  • Aciera
  • Aciera's Avatar
10 Aug 2024 07:56
Replied by Aciera on topic Cylindrical mapping

Cylindrical mapping

Category: Show Your Stuff

Cylindrical mapping in linuxcnc: you program a part with X Y and Z in a lathe and it is mapped in a rotary axis (using spindle a C axis)

Looks interesting.
So are you saying you have implemented this in linuxcnc and if yes are you going to show us how you did it?
  • Moutomation
  • Moutomation
10 Aug 2024 06:49
Replied by Moutomation on topic gmoccapy pins

gmoccapy pins

Category: Gmoccapy

I think I found a solution. When Linuxcnc first opens, we must wait for a while and delete the file.txt file with Python. Then we must constantly check whether the file exists. Once the file is in the folder, we must activate the change button.
  • dreynolds
  • dreynolds
10 Aug 2024 06:43
step/dir spindle control was created by dreynolds

step/dir spindle control

Category: PathPilot

Hi there,

I've spent several days trying to understand how to make the spindle control work without success. I know PathPilot will need several changes but I couldn't get it to work with LinuxCNC using Pncconf either.

I have a C6 spindle control board that should output a 0-10v signal to my VFD. This particular version requires step/dir. The manual says requires a 25 KHz input signal to deliver 10v. I have a 7i92T connected to a C10 BOB. I think I need to change the step_type to 0 for step/dir but I have zero idea what to change after that for my specific setup. Seems everything I change results in an output of 10v regardless of the commanded speed in PathPilot.

I have a single speed belt drive. An output of 10v should command 120Hz at the VFD. 120Hz will be approximately 5400 rpm at the spindle and 3490 rpm at the motor.

Where do I start to get a 25 KHz output when I command max rpm? What do I need to change to get the correct ratio and/or scaling for the rest of the rpm range? Is the PathPilot hal file missing components that need to be added?

Thanks in advance.
 
  • cmorley
  • cmorley
10 Aug 2024 06:03
Replied by cmorley on topic qtdragonhd / probing

qtdragonhd / probing

Category: Qtvcp

I did some work on this in master. It now lowers/raises the tool 2x z_clearance.
  • phillc54
  • phillc54's Avatar
10 Aug 2024 04:20

Plasmac Breakaway roadblock (mental one anyway)

Category: Plasmac

If you show the signal plasmac:breakaway in HalShow does it confirm that the connected pins are correct.
 
  • Jindy
  • Jindy
10 Aug 2024 03:10 - 10 Aug 2024 03:10
Replied by Jindy on topic Second LPT port - SOLVED!

Second LPT port - SOLVED!

Category: Advanced Configuration

I tried the first address from lspci -vv  again, and it worked - I ignored the warning from dmesg and can now get the port working in output mode
  • Henk
  • Henk
10 Aug 2024 02:46

Spindle.0.at-speed False not inhibiting motion

Category: HAL

I can confirm that it is not due to that. 2 of our deckels use 5i25s and it happens with them as well. Motion.feed-inhibit takes care of the issue. 

It has been this way since I started using linuxcnc in 2014 on version 2.6

Henk
  • rodw
  • rodw's Avatar
10 Aug 2024 02:17

Plasmac Breakaway roadblock (mental one anyway)

Category: Plasmac

Is this right?
# --- PLASMAC:BREAKAWAY ---
net plasmac:breakaway  <= hm2_7i76e.0.7i76.0.0.input-20
net plasmac:breakaway  => db_breakaway.in

I'm confused here. Ihm2_7i76e.0.7i76.0.0.input-20 lights up in halshow
but plasmac:breakaway does not change state so neither does the pin
Any ideas?
  • cmorley
  • cmorley
10 Aug 2024 01:43
Replied by cmorley on topic Can I embeded Vismach into Qtvcp ?

Can I embeded Vismach into Qtvcp ?

Category: Qtvcp

Sorry for late reply:
I typically add the screen options widget to the 'centralwidget' of the MainWindow.

Then you can set properties in the screenOption widget to turn on optional behavior such as:

Preference file loading/saving
Common dialog widgets
User Color properties for use in stylesheets
play sounds on events
catch the close window event to add a close dialog
embedding external programs

Most of these properties are true/false
Displaying 24181 - 24195 out of 24484 results.
Time to create page: 1.385 seconds
Powered by Kunena Forum