Advanced Search

Search Results (Searched for: )

  • Murphy
  • Murphy
21 Jan 2025 19:42 - 21 Jan 2025 20:48

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I m not sure, I haven't gotten as far as an index yet, I'm trying to get the A and B working right first. That uses the PRUencoder. The encoder only supports quadratic at the moment. I have the A and B pulses going to the WHA and WHB inputs from the MPG(by passing the opticouplers). I'm not sure if the index pin will have to be bypassed also.
  • Joco
  • Joco's Avatar
21 Jan 2025 18:54
Replied by Joco on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Don’t make that assumption re feedhold. And tapping. The planner is taking things direct from the Hal pin. Not from the lcnc motmod module.

it needs to be explicitly tested. Unless someone has done so already and can confirm what the behaviour is. 
  • Stanislavz
  • Stanislavz
21 Jan 2025 17:58
Replied by Stanislavz on topic LinuxCNC on Linux Mint Debian Edition 6

LinuxCNC on Linux Mint Debian Edition 6

Category: Installing LinuxCNC

And my lmde was dead after adding dev version for halcompile. Which is easy to understood.

But - after reinstall all - first it does not need to manually add python ? It was not working at all. Some updated libraries. No official rtai kernal with mint yet ? 
  • Aciera
  • Aciera's Avatar
21 Jan 2025 17:46
Replied by Aciera on topic Spindle location on the opposite side

Spindle location on the opposite side

Category: AXIS

Looks ok to me, the base of the pawn (ie the wider part) is on the left.
The green/blue X/Z indicator shows your current work offset origin.
X+ should move the tool away from the center line.
Z+ should move the tool away from the spindle.
  • spumco
  • spumco
21 Jan 2025 17:23

caxis.comp - How to freewheel axis/spindle?

Category: HAL

I'm using a component authored by Andy Pugh to control my lathe's main spindle as both a C-axis and spindle.  Comp attached, and I believe this was the last version Andy and NoJo worked out via the forum a few years ago.

NOTE - this component treats the spindle as an axis until a spindle command is issued.  This means absent a spindle command, the C-axis is active and trying to maintain a position.  Once the spindle command is done, C-axis re-engages and will return to the last position (within one turn) prior to the spindle command.

I want the ability to disconnect the spindle/axis so I can manually turn it (indicating part/chuck).  Because the spindle motor is a servo, if the drive is enabled and machine is on, the spindle is locked in position when the machine is at rest.

Right now I have a simple enable toggle in HAL that disables the drive directly.  This allows me to turn the spindle by hand for indicating or tightening the chuck.  I can jog the C-axis, but I find being able to manually move the spindle more convenient.

Unfortunately, because I haven't disconnected anything else in HAL, if I rotate the spindle more than about a turn I get a following error and LCNC turns the machine off.  I've had to set the ferror higher than I'd like just to be able to turn it a bit, and I'd really like to tighten it up.

I could use some help figuring out how to disable the motor in such a way that:
  • No following error while disabled, regardless of turns
  • No caxis.comp errors or accumulation of following error upon re-enable (which would result in a potentially violent attempt by the C-axis PID to eliminate the following error)

Is this something I could accomplish in HAL, or does caxis.comp need to be modified/edited in some way?
  • blazini36
  • blazini36
21 Jan 2025 17:22
Replied by blazini36 on topic Problem with toogle2nist component

Problem with toogle2nist component

Category: HAL

This should have been fixed now:
github.com/LinuxCNC/linuxcnc/commit/0bc9...000f4da3e4ba393b65c3

The new version is only in the development version of LinuxCNC at the moment.

You can install it on your own installation with:
1) Install LinuxCNC dev to get the "halcompile" tool.
sudo apt-get install linuxcnc-uspace-dev

2) Download this file and save it to your PC
https://raw.githubusercontent.com/LinuxCNC/linuxcnc/refs/heads/master/src/hal/components/toggle2nist.comp

3) Install it
[code]sudo halcompile --install toggle2nist.comp
[/code]
 

Problem with toggle2nist is the name of the is-on pin. Halui uses the is-on name as an output for lots of pins so it tripped me up expecting that to be an output pin. It's an input pin that absolutely must be connected to the is-on output or the component can't transition to the next state. They should have named it "on-state" or something.
  • Clive S
  • Clive S
21 Jan 2025 17:06
Replied by Clive S on topic Homing an axis moves away from home switch!

Homing an axis moves away from home switch!

Category: StepConf Wizard

Why is LinuxCNC so stupid?

You are not helping yourself with comments like this.

As said already. Post the ini and hal files
  • langdons
  • langdons's Avatar
21 Jan 2025 16:39
Replied by langdons on topic Homing an axis moves away from home switch!

Homing an axis moves away from home switch!

Category: StepConf Wizard

I don't understand why it does not work with just the stepconf config.

Why is LinuxCNC so stupid?

I have the axis travel set to 20 inches in stepconf.

I have the home switch location set to 0.

Why does it move away from zero and toward 20 while homing????!!!
  • tommylight
  • tommylight's Avatar
21 Jan 2025 16:28
Replied by tommylight on topic kollmorgen AKD2G driver

kollmorgen AKD2G driver

Category: EtherCAT

Moved to "EtherCAT" section.
  • mat1370
  • mat1370
21 Jan 2025 15:45 - 21 Jan 2025 15:47
kollmorgen AKD2G driver was created by mat1370

kollmorgen AKD2G driver

Category: EtherCAT

Hello everyone, 
Has anybody worked with kollmorgen drivers with linuxcnc?

I have this error: Ethercat synchronisation error when i run linuxcnc. 

I attached my xml, hal, and ini file. slave 0 is a moons driver which works correctly with this config. 
slave 1 is the kollmorgen driver akd2g singel axis, which is not working.

 

File Attachment:

File Name: ethercat-conf.xml
File Size:3 KB

 

File Attachment:

File Name: lathehal.hal
File Size:3 KB

 

File Attachment:

File Name: latheini.ini
File Size:2 KB

 
  • senatorperkins
  • senatorperkins
21 Jan 2025 15:45 - 21 Jan 2025 15:52
5th Axis: PathPilot or Regular LinuxCNC was created by senatorperkins

5th Axis: PathPilot or Regular LinuxCNC

Category: PathPilot

Hi folks,

First, apologies as I know this has been discussed before several times, but I can't seem to find enough recent information about what I'm hoping to do. I have a 2024 model Tormach PCNC 440, currently running Pathpilot 2.12, and has a Mesa 7i92tf as controller and Leadshine MX3660 as 3-axis driver. I added a Xoomspeed USB I/O box to enable spindle reversing (mostly for tension/compression tapping) and it works nicely (thanks David Loomes)! I have configured a 4th axis with a 4-wire Nema32 stepper (plus 100:1 harmonic reduction), using a Leadshine DMA860H as a driver. It works nicely too! 

What I'm hoping to do next is add a 5th axis, and I already have another DMA860H and 5th axis (one nema23 mounted on another, both with 50:1 harmonic reductions. I talked with someone at Mesa and I believe I understand the wiring and controller firmware updates I need to make (I have a Sainsmart 5-axis breakout board to connect as daughter card to the 7i92tf, Mesa is writing me firmware for this). I also believe I have what I need to program CAM, using Fusion 360 with the manufacturing extension. What I will need help with is configuring Pathpilot to work with a 5th (C) axis, as well as modifying the post processor (ideally David Loomes' Xoomspeed Pathpilot with Probing post since I use in-program probing and prefer that one, especially angle probing for coordinate rotation!).

Now, I know that Tormach apparently removed the 5th axis functionality from Pathpilot. My first question to the forum is: would you recommend adding it back into Pathpilot? Or should I switch to a regular LinuxCNC install? I do like the Pathpilot interface and post processors for Fusion 360 I'm using, plus I'm not very familiar with Linux in general (even though my "Pathpilot computer" is of course running Linux and I have worked with it to add a VistaCNC pendant and the Xoomspeed I/O box, 4th axis, and Samba LAN filesharing. And I'm comfortable modifying ini/hal files and running terminal commands as long as I know what they should be), so I would prefer to stay with Pathpilot. Having a DRO for the C axis in the GUI is a nice-to-have but I think I could live without it, at least for now, so I won't necessarily need to modify the Pathpilot GUI. But if LinuxCNC is the way to go, my second question is: would it be possible to dual-boot on my linux box ("Pathpilot Computer") so that I can use Pathpilot for 3 or 4-axis jobs and switch to LinuxCNC for 5-axis jobs? I like the idea of having a separate partition for LinuxCNC, especially because I'm worried about messing something up and not getting it to work at all, and having to do a full Pathpilot re-install (plus redo all the modifications I've made) just to get back to a usable 3/4axis setup.

For the modify Pathpilot route, my next question is: how exactly do I go about adding the 5th axis (simultaneous 5th, not just indexing of course.. with or without TCP, I still need to figure out exactly what TCP is and if I want/need it.. or if it's even relevant here)? I can't seem to find a tutorial or much documentation about this, can anyone here point me towards a resource, or possibly give me a list of what files I'll need to modify (I might be able to figure out what the modifications are from the LinuxCNC documentation, but it's hard to be sure that I know the full list of what needs to be modified)? I learned that Pathpilot will overwrite any firmware changes to the controller on each startup, but I think I found how to disable that too so that I can use the firmware modified to work with the breakout board. I'll also need to know what to modify (if anything) in either Tormach's post or, preferably David's post, though for testing I'm happy to write the NC code by hand or use MDI. I'm a little familiar with modifying posts from analyzing sections of David's post that were giving me weird g-code (rapid move during expanded tapping?! turned out it was intentional and a clever hack for tension/compression heads) and to add back the code to apply coordinate rotation after angle probing, which David had removed apparently due to some random errors with axes limits he ran into during testing. Anyway, bonus points if you can tell me exactly what the mods would be or give me modified files.. actually, I'd happily pay someone a few hundred dollars for this service if it results in a working 5-axis system (seriously, let me know if you're interested)!

For the LinuxCNC path, other than dual-booting/partitioning I think I can find the documentation I need to configure the 5th axis, and hopefully make the SW connections to my hardware. Actually I can probably figure out the dual booting too, just want to know if it's possible and advisable. But if anyone wants to give any advice on this path here (a list of steps or files to modify, gotchas, workarounds, links to tutorials/helpful documentation/etc.) I would also be very grateful. And a question, maybe for a later time - how easy (or possible) is it to put the Pathpilot GUI onto a generic LinuxCNC install? I don't necessarily need the conversational functionality, but I do really like how probing and ETS works in Pathpilot.

Anyway, thanks for reading and in advance for any replies! Apologies again if people are tired of talking about 5th axes in Pathpilot. I'm a resourceful guy and usually pretty good with research (and retired so I have a lot of time on my hands) so I don't necessarily need step-by-step instructions but I can sense that there are some gaps in what I can find and understand here. Any hints to fill those gaps would be super helpful and very much appreciated!
-Ryan in Mexico 
  • spumco
  • spumco
21 Jan 2025 15:07
Replied by spumco on topic Rando hal component collections

Rando hal component collections

Category: HAL

It doesn't really require an unofficial repo to store them, maybe just a place where people can look at it, maybe test it themselves then submit it. They shouldn't just live in some out-of-repo place if they actually do something useful.

My thoughts exactly.  I was thinking of this sub-folder as a temp holding place for folks to post up components and maybe prove them out or work out the bugs before they - or someone else - submitted a pull request.  "User Component Sandbox"

And possibly there are components that are so edge-case that the LCNC devs aren't interested in adding it/them to mainline.  For those cases a components sub-folder keeps them from disappearing (as much) in the forum if someone later on has the same situation.
  • PCW
  • PCW's Avatar
21 Jan 2025 14:45 - 29 Jan 2025 16:00
Replied by PCW on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

I guess its possible, You could add a stiff pulldown (say 470 ohm) on TXEN to test
are you sure its not parity related?

Maybe I can get one to try.
(Edit 2 ordered will try to get them running when they arrive is about 10 days)

Does seem that function 2 would make more sense on inputs and 15 on outputs
  • vpomerleau
  • vpomerleau
21 Jan 2025 14:35
Replied by vpomerleau on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Thanks Murphy for your answer. I read the entire forum many times without finding what I was looking for.I used marked spindle index pin on the controller. From EC500 V5 documentation:

INDEX can be connected to ordinary NPN type 2 wire Hall switch  

So I tought maybe they didn't put or put better optocoupler on this one since this pin is intended for this use, if needed i'm gonna bypass it. So do think I should use te remora PRUencoder or use the linuxCNC encoder module ? And to do so , do I need to modify my config.txt file to include encoder and upload it again ? I really want this to work 
  • blazini36
  • blazini36
21 Jan 2025 14:19
Replied by blazini36 on topic Rando hal component collections

Rando hal component collections

Category: HAL

Probably here, as far as i can tell, everything else will inevitably lead to here, and google still seems to find the forum easily.
What do you think about a new subfolder?
  • Configuring LinuxCNC
    • HAL
      • HAL Examples
      • User-written HAL Components



        Maybe with a sticky at the top explaining what the deal is - i.e. non-mainstream HAL components that may or may not do what you want.

        ​​​​​​​If we just have a single thread called 'HAL User Components' it will instantly get polluted with random comments, tangents, and questions on how to use the component(s).

        A sub-folder might help keep it clean(ish) for a little while.

Well anyone can just submit a component via pull request to the linuxcnc repo. Not sure if the maintainers test them at all other than making sure they compile. If it's a good an useful component, there's really no reason not to just submit it via pull request.

I suppose some people just post components they aren't really 100% sure about or haven't fully tested. It doesn't really require an unofficial repo to store them, maybe just a place where people can look at it, maybe test it themselves then submit it. They shouldn't just live in some out-of-repo place if they actually do something useful.
Displaying 19291 - 19305 out of 21693 results.
Time to create page: 0.377 seconds
Powered by Kunena Forum