Advanced Search

Search Results (Searched for: )

  • Project_Hopeless
  • Project_Hopeless's Avatar
15 Sep 2024 14:37
Replied by Project_Hopeless on topic Convert LinuxCNC Sim to Real Machine

Convert LinuxCNC Sim to Real Machine

Category: General LinuxCNC Questions

Thx! Don't know how I missed that. :(
  • Aciera
  • Aciera's Avatar
15 Sep 2024 12:20
Replied by Aciera on topic getting spindle speed in python

getting spindle speed in python

Category: General LinuxCNC Questions

So you are running 2.8.x:
linuxcnc.org/docs/2.8/html/config/python...e-spindle-dictionary

The code I posted above should work.
  • Aciera
  • Aciera's Avatar
15 Sep 2024 12:16 - 15 Sep 2024 13:30
Replied by Aciera on topic getting spindle speed in python

getting spindle speed in python

Category: General LinuxCNC Questions

but whenever I add spindle_speed(returns float)


Not sure what version of linuxcnc you are running but you may be referring to old docs as the current attribute is 'speed' inside the 'spindle' dictionary
linuxcnc.org/docs/stable/html/config/pyt...e-spindle-dictionary

So to access the speed of spindle 0:
s = linuxcnc.stat()
s.poll()
spindle_speed = s.spindle[0]['speed']
  • rockcnc
  • rockcnc
15 Sep 2024 12:09
Replied by rockcnc on topic getting spindle speed in python

getting spindle speed in python

Category: General LinuxCNC Questions

 
import linuxcnc s = linuxcnc.stat() s.poll() sp_speed = s.spindle_speed
Am i writing the wrong command?
  • tommylight
  • tommylight's Avatar
15 Sep 2024 12:05
Replied by tommylight on topic scorbot-er-3

scorbot-er-3

Category: Installing LinuxCNC

It is also looking for a serial port from Python...
  • phillc54
  • phillc54's Avatar
15 Sep 2024 12:03
Replied by phillc54 on topic Showstopper Plasma Cutter retrofit

Showstopper Plasma Cutter retrofit

Category: Show Your Stuff

That seems a bit odd as default plasmac configs don't use the LinuxNC internal probing, they usually use external offsets.

But isn't plasmac.ohmic-enable only enabled when ohmic probing? We monitor that too.

Yes, but probing is enabled from the beginning of the down motion before probe height is reached because fast probing is valid.
  • Aciera
  • Aciera's Avatar
15 Sep 2024 12:02
Replied by Aciera on topic scorbot-er-3

scorbot-er-3

Category: Installing LinuxCNC

Indeed, the error does not appear running this on a machine with real time kernel.
Note that you may have to add the user account to the group 'dialout' to be able to access the serial port.
  • Aciera
  • Aciera's Avatar
15 Sep 2024 11:54 - 15 Sep 2024 11:56
Replied by Aciera on topic getting spindle speed in python

getting spindle speed in python

Category: General LinuxCNC Questions

it's giving me some errors


so what errors do you get?


[edit]
Sharing your python code might also be helpful.
  • rodw
  • rodw's Avatar
15 Sep 2024 11:39
Replied by rodw on topic Showstopper Plasma Cutter retrofit

Showstopper Plasma Cutter retrofit

Category: Show Your Stuff

That seems a bit odd as default plasmac configs don't use the LinuxNC internal probing, they usually use external offsets.

But isn't plasmac.ohmic-enable only enabled when ohmic probing? We monitor that too.
  • phillc54
  • phillc54's Avatar
15 Sep 2024 11:30
Replied by phillc54 on topic Showstopper Plasma Cutter retrofit

Showstopper Plasma Cutter retrofit

Category: Show Your Stuff

Deleting the var file was a placebo. When you receive that error, it's because the ohmic probe tripped prior to reaching probe height. 

This cannot happen. Ohmic sensing monitors motion.motion-type and can only activate when linuxcnc is actually probing, If its triggering, it has to be the breakaway or float switch.

That seems a bit odd as default plasmac configs don't use the LinuxNC internal probing, they usually use external offsets.
  • rockcnc
  • rockcnc
15 Sep 2024 11:12
getting spindle speed in python was created by rockcnc

getting spindle speed in python

Category: General LinuxCNC Questions

Hello everyone
I want to read spindle speed in Python, but it's giving me some errors and not lunching linuxcnc
I tried it as the documentary said but don't know why it isn't working 
I'm reading some other states at the same time, but whenever I add  spindle_speed(returns float) - spindle speed value, rpm, > 0: clockwise, < 0: counterclockwise. its giving me errors
  • hmnijp
  • hmnijp
15 Sep 2024 11:07
Replied by hmnijp on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

A few things left to do is to set a "homed" flag for the axes when enabling the machine, so I don't need to do the button press manually. If someone has an idea how to correctly set this up, any help is much appreciated.
 


you can do it like this
loadrt flipflop names=flip-is-on
addf flip-is-on servo-thread

net is-on       halui.machine.is-on  =>  flip-is-on.set
net is-on-reset motion.is-all-homed  =>  flip-is-on.reset
net go-home     flip-is-on.out       =>  halui.home-all
  • rodw
  • rodw's Avatar
15 Sep 2024 11:04
Replied by rodw on topic Showstopper Plasma Cutter retrofit

Showstopper Plasma Cutter retrofit

Category: Show Your Stuff

Deleting the var file was a placebo. When you receive that error, it's because the ohmic probe tripped prior to reaching probe height. 

This cannot happen. Ohmic sensing monitors motion.motion-type and can only activate when linuxcnc is actually probing, If its triggering, it has to be the breakaway or float switch.
  • JT
  • JT's Avatar
15 Sep 2024 10:59
Replied by JT on topic scorbot-er-3

scorbot-er-3

Category: Installing LinuxCNC

You will need a real time kernel to run LinuxCNC.

Note: Using POSIX non-realtime
This means you're using a non-realtime kernel.

JT
Displaying 23371 - 23384 out of 23384 results.
Time to create page: 0.534 seconds
Powered by Kunena Forum