Advanced Search

Search Results (Searched for: )

  • Dragonick
  • Dragonick
10 Aug 2024 13:56

2 seperate MPG handwheels for each axis - CNC Lathe build

Category: General LinuxCNC Questions

Hi @denhen89
did you manage to close the topic to the end?

Could you share the final hal file?

I started my lathe and a great option would be to add 2 mpg
  • travis036
  • travis036's Avatar
10 Aug 2024 13:07

about my 48" X 48" X 5" Techno/ISEL woodworking router build

Category: Show Your Stuff

received shipment of one of these: www.ebay.com/itm/235593572193
it is a Modbus K-type thermo-couple device, with read-type 04, address 1, for temp C in format "270" for value "27.0C".
my plan is to attach the thermo-couple to the spindle to monitor its temperature.

i also plan on getting some spools of waxed string so i can do some old-fashioned wire-lacing on the machine to bundle wires and air-lines. it just looks neat, and i rarely change the on-machine wires now.
  • zmrdko
  • zmrdko's Avatar
10 Aug 2024 12:54
Replied by zmrdko on topic refclockSyncCycle question

refclockSyncCycle question

Category: EtherCAT

5 should mean that clock is synced every 5 cycles. But its better to have first slave with refclock and -1 will let the first slave manage the clock referencing.
  • endian
  • endian's Avatar
10 Aug 2024 10:38
Replied by endian on topic ethercat master service

ethercat master service

Category: EtherCAT

@Endian,

Can you implement a cycle counting component that counts up  4.
Then read in the canopen values, in other words, open the gate to the canopen every 4 cycles?

@ Rod,
I installed the linuxcnc iso. But udev rules are not working when set, also reload rules.
So bus is not starting after reboot.
I now have to start the bus invoking sudo after reboot.
I don't get it, where it's goes wrong.






 

Yes for sure it is solution and typing custom component should be necessary.. but in thia sitution you have to know a actual timing setup of el6751 canopen master and mirror it in to to component input aetup by the user... But no every user are able to know everything and for this reason I want to did something poka oke stuff for elimination timing setup from user directly...

I have to dig lower in this rabbit hole ... It has to be able to cutomize it over SDOs because there are mapping and custom timing setup in the twincat3

If there will be 1ms period synchro at canopen master as servo thread of the lcec... complication with custom timing is done by hardware itself i think
  • 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.
 
Displaying 24151 - 24165 out of 24494 results.
Time to create page: 0.960 seconds
Powered by Kunena Forum