Advanced Search

Search Results (Searched for: )

  • timo
  • timo
30 Nov 2024 05:27
Tip on how to plan a machine was created by timo

Tip on how to plan a machine

Category: General LinuxCNC Questions

Hello,

i was quite fed up with undocumented components on my 2nd hand machine.
That is why I ripped it apart and decided to re-do the complete electric syste.

Now I was thinking it is a good idea to make some sort of wiring diagram, before starting the actual work.
This is to help adding more functions in the future, helps with repair. ( I want to avoid to have to reverse engineer my own installation )
From another thread I learned that this kind of plan might become also helpful to create a structured .hal and .ini file

Just to give an idea what I am up to.

A simple x-y-z mill, optional rotary axis a or c, (maybe rigid tapping, given the low torque spindle probably useless), MPG

Components that I have so far:
  • PC
  • Mesa Card
  • 3 open loop stepper drivers
  • 3 stepper motors from old system
  • 1 closed loop stepper with integrated driver (for rotary axis)
  • Power supply 80V DC
  • MPG (wires single switches, "no brain")
  • BLDC spindle with driver (from old system) 0-10V speed control (can be pluged to MESA card)
  • x-y-z proximity switches
  • Temp switch for spindle overheat
  • (optional) coolant pump
  • (optional) spindle encoder
I am not so much looking for a wiring instruction, more for some advise how to document a system like this. (pen and paper, some free software?)

Greetings Timo


 
  • timo
  • timo
30 Nov 2024 04:51
Replied by timo on topic Tips for making some sort of plan.

Tips for making some sort of plan.

Category: General LinuxCNC Questions

Common issue I would say.
  • Some of the BOB have slow (budged) Optocouplers, (you could check datasheets) 
  • the parallel port is not particular fast
  • linux cnc servo thread can limit speed if set high
  • Encoders usually also have a speed limit, (becomes an issue for high speed spindles)
Some people try to use an encoder with less counts which works to some extend.
My system was hopeless; even with a 100 ppr encoder @600rpm.
Loosing the ocasional signal gave me a lot of trouble.  
After I spent the money on one of the typical FPGA cards, the issue disappeared entirely.

Greetings Timo
 
  • vre
  • vre
30 Nov 2024 04:44
Replied by vre on topic New laser components

New laser components

Category: Plasma & Laser

Any news about mesa hardware and raster engraving?
Instead of mesa can use an orange pi 5 that has low jitter and IOs for raster engraving?
  • dileepa.ruwanpathirana@gmail.com
  • dileepa.ruwanpathirana@gmail.com
30 Nov 2024 04:26
Tips for making some sort of plan. was created by dileepa.ruwanpathirana@gmail.com

Tips for making some sort of plan.

Category: General LinuxCNC Questions

Hi Everyone,I’m new to LinuxCNC but have prior experience with Mach3. I’ve set up a lathe using a cheap Chinese breakout board (BOB), and while everything works, I’m facing an issue with the rotary encoder.As the spindle speed increases, the encoder’s position stops updating at higher speeds. I’ve checked this using the HAL meter, and it shows no response beyond a certain speed. However, when the spindle slows down, the encoder starts responding again.I’ve ruled out magnetic interference from the VFD because the same behavior occurs when I spin the encoder using an electric hand drill.Could this be due to:1. The encoder type (I believe it’s incremental)?2. A limitation of the breakout board (even though I’ve seen others successfully use the same board for threading, e.g., on the “GWBM” YouTube channel)?I’d really appreciate any insights or advice on troubleshooting this issue.Thank you!
  • PCW
  • PCW's Avatar
30 Nov 2024 04:15
Replied by PCW on topic Installation after new computer

Installation after new computer

Category: Installing LinuxCNC

I would update to the latest normal release (2.9.3)
I don't think there are any major hal/ini file changes
between 2.8 and 2.9
  • isaac
  • isaac's Avatar
30 Nov 2024 02:49

OKUMA LB15ii-M Retrofit Turret Clamp questions???

Category: Turning

Thanks Scott for yor replay.

In this case it is not a curvic coupling.... The servo moves the plate to the corret tool and it is a Hydraulic clamp.....

Today i checked and my problem was that the Hydraulics hoses were connected wrong...... I fixed the hoses and now it is working as i expected...

I will continue with the retrofit....

Thanks
  • DeckelCNC
  • DeckelCNC
30 Nov 2024 01:38
Replied by DeckelCNC on topic Leadshine EL8 Servo Drives - EtherCAT

Leadshine EL8 Servo Drives - EtherCAT

Category: Advanced Configuration

When i try and link a cia402.hal file (below). i am unable to start linuxcnc. (i get lots of errors)
i go through the process of trying to remove the lines that create problems.
but its actually a backwards step from the files i uploaded above. ie everything goes to pre operational (Beckhoff and leadshine drive) by the time i can get linuxcnc to start up.

I have the feeling i am missing a big obvious step, but its not jumping out at me.

###########################################################
#
# CIA 402 example snippet Hal
#
###########################################################

###########################################################
# Setup
###########################################################

#loadrt [KINS]KINEMATICS
#loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS

loadusr -W lcec_conf /home/edmuser/linuxcnc/configs/sim.axis-1/ethercat-conf.xml
loadrt lcec
loadrt cia402 count=1
loadrt pid names=x-pid
#,y-pid,z-pid


###########################################################
# Functions servo-thread
###########################################################

addf lcec.read-all servo-thread
addf cia402.0.read-all servo-thread
#addf cia402.1.read-all servo-thread
#addf cia402.2.read-all servo-thread

#addf motion-command-handler servo-thread
#addf motion-controller servo-thread

addf x-pid.do-pid-calcs servo-thread
#addf y-pid.do-pid-calcs servo-thread
#addf z-pid.do-pid-calcs servo-thread

addf cia402.0.write-all servo-thread
#addf cia402.1.write-all servo-thread
#addf cia402.2.write-all servo-thread
#addf lcec.write-all servo-thread

#########################################
#nets
#########################################
net emc-enable => iocontrol.0.emc-enable-in
sets emc-enable 1

#config
setp cia402.0.csp-mode 1
setp cia402.0.pos-scale 3600

#from servo(ethercat) to cia402
net x-statusword      lcec.0.4.cia-statusword => cia402.0.statusword
net x-opmode-display  lcec.0.4.opmode-display => cia402.0.opmode-display
net x-drv-act-pos     lcec.0.4.actual-position => cia402.0.drv-actual-position
net x-drv-act-velo    lcec.0.4.actual-velocity => cia402.0.drv-actual-velocity

#from cia402 to servo(ethercat)
net x-controlword         cia402.0.controlword => lcec.0.4.cia-controlword
net x-modes-of-operation  cia402.0.opmode => lcec.0.4.opmode
net x-drv-target-pos      cia402.0.drv-target-position => lcec.0.4.target-position
#net x-drv-target-velo     cia402.0.drv-target-velocity => lcec.0.4.target-velocity

#from motion to cia
net x-enable    <= joint.0.amp-enable-out => cia402.0.enable
net x-amp-fault => joint.0.amp-fault-in   <= cia402.0.drv-fault
#net x-pos-cmd   <= joint.0.motor-pos-cmd  => cia402.0.pos-cmd
#net x-pos-fb    => joint.0.motor-pos-fb   <= cia402.0.pos-fb

#homing
net x-home-index <= joint.0.index-enable  => cia402.0.home


  • B.Reilly01
  • B.Reilly01
30 Nov 2024 01:38 - 30 Nov 2024 01:50
Replied by B.Reilly01 on topic Probe basic install error

Probe basic install error

Category: QtPyVCP

How did you update custom_config.yml ?

I recently upgraded Probe Basic and got the same errors.
Traceback (most recent call last):File "/usr/bin/probe_basic", line 8, in <module>sys.exit(main())^^^^^^File
"/usr/lib/python3/dist-packages/probe_basic/__init__.py", line 20, in mainqtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)File
"/usr/lib/python3/dist-packages/qtpyvcp/__init__.py", line 26, in run_vcprun(*args, **kwargs)File
"/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 129, in runlaunch_application(opts, config)File
"/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 78, in
launch_applicationloadWindows(config['windows'])File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line
230, in loadWindowswindow = _initialize_object_from_dict(window_dict)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File
"/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 210, in _initialize_object_from_dictreturn obj(*args,
**kwargs)^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/probe_basic/probe_basic.py", line 33, in
__init__super(ProbeBasic, self).__init__(*args, **kwargs)File "/usr/lib/python3/dist-
packages/qtpyvcp/widgets/form_widgets/main_window.py", line 56, in __init__self.loadUi(ui_file)File
"/usr/lib/python3/dist-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 115, in loadUiuic.loadUi(ui_file,
self)File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 241, in loadUireturn
DynamicUILoader(package).loadUi(uifile, baseinstance,
resource_suffix)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-
packages/PyQt5/uic/Loader/loader.py", line 66, in loadUireturn self.parse(filename,
resource_suffix)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py",
line 1037, in parseactor(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 828, in
createUserInterfaceself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line
806, in traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273,
in createWidgetself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in
createLayoutself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in
handleItemself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in
createLayoutself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in
handleItemself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in
createLayoutself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in
handleItemself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in
createWidgetself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in
createWidgetself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in
createLayoutself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in
handleItemself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in
createWidgetself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in
createLayoutself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in
handleItemself.traverseWidgetTree(elem)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in
traverseWidgetTreehandler(self, child)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 264, in
createWidgetself.stack.push(self.setupObject(widget_class, parent,
elem))^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line
228, in setupObjectobj = self.factory.createQObject(clsname, name, args,
is_attribute)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-
packages/PyQt5/uic/objcreator.py", line 118, in createQObjectreturn self._cpolicy.instantiate(factory, *args,
**kwargs)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-
packages/PyQt5/uic/Loader/qobjectcreator.py", line 137, in instantiatereturn
clsObject(*ctor_args)^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-
packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 218, in __init__self.default_view =
view_options[view_default_setting]~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^

TypeError: list indices must be integers or
slices, not str
  • MarkoPolo
  • MarkoPolo
30 Nov 2024 00:42
Replied by MarkoPolo on topic Error in tool_offsetview.py

Error in tool_offsetview.py

Category: Qtvcp

As for the feedrate, I made a test script in python that calculates the feedrate.
It adds the "vel XYZ" velocity to the linear velocity of the A axis, taking into account the distance of the cutter from the A axis rotation axis.
Currently, it adds the angular velocity to the "velXYZ" velocity, which completely falsifies the "feedrate override" value.

Maybe it would be worth adding a pin with the velXYZA value?
  • rodw
  • rodw's Avatar
29 Nov 2024 23:23

Ethercat installation from repositories - how to step by step

Category: EtherCAT

don't forget to specify the driver in /etc/ethercat.conf
  • rodw
  • rodw's Avatar
29 Nov 2024 23:18

Simple one.... how to eleminate "Do you really want to close LinuxCNC?"

Category: General LinuxCNC Questions

A file starting with a period denotes a hidden file.
You can tell thunar browser to show them.
The tilde ~ is shorthand for your home folder,
  • rodw
  • rodw's Avatar
29 Nov 2024 22:51
Replied by rodw on topic Plasma and Ethercat?

Plasma and Ethercat?

Category: Plasma & Laser

The AMAX-4817 might be a better choice than beckhoff as its a seperate analog Input module with stronger isolation. Add an AMAX I/O module and its all you would need
www.advantech.com/en-au/products/cf678dc...63-97e4-27475418e86f
  • slowpoke
  • slowpoke
29 Nov 2024 22:29

Simple one.... how to eleminate "Do you really want to close LinuxCNC?"

Category: General LinuxCNC Questions

put that stuff into a python file and add it to your ini, or in the axisrc file for it to work globally. no need to compile

linuxcnc.org/docs/stable/html/gui/axis.html#sub:axis-axisrc
 

~/.axisrc   ???

where is .axisrc?  or do I need to create it?  and does it need a file name before the extension?
What does  "
~/"
mean?
I'm guessing here.... there might be a file ending with
".axisrc"  possibly in the folder associated with the particular GUI I'm using, but I don't see one, so perhaps I need to create one?

I'm a little lost here guys?
  • Lik2waterski
  • Lik2waterski
29 Nov 2024 22:20
Installation after new computer was created by Lik2waterski

Installation after new computer

Category: Installing LinuxCNC

Hello, my router table is currently running Linux Mint 19.3 Tricia and Linuxcnc  2.8.0.  The table is wired to Mesa cards 7i76-7i92M.

I am going to try to hook up the tool changer using the Carousel config.  I decided it would be a good time to install my new computer
prior to working on the tool changer. On my computer I just installed Linux Mint 22 _wilma. Can someone help me choose the right version of linuxcnc to install so that I can copy my configs over and (hopefully) work seamlessly?

Thanks for any help,
Travis
 
Displaying 16156 - 16170 out of 24577 results.
Time to create page: 0.526 seconds
Powered by Kunena Forum