Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
14 Apr 2025 20:38

tormach 1500mx modifications, 4th axis, fast I/O expansion, auxilary spindle.

Category: PathPilot

No specific recommendations except to say that there are EtherCAT digital I/O interfaces
with fast response, (servo thread rate so ~ 1 ms precision), so you don't need to add more
servo drives to get more digital I/O that's fast.
  • Rockwood
  • Rockwood
14 Apr 2025 20:09

tormach 1500mx modifications, 4th axis, fast I/O expansion, auxilary spindle.

Category: PathPilot

Hello all! 
I have a project. I need to build a machine to make small wooden parts. They are simple parts, but they have tight tolerances for wood, and I need to be able to dial in changes in dimensions with software. 

I've made two machines in the past that make these parts. The last one used 2 axis coordinated motion with a Yaskawa mp2300 controller (basically a PLC with coordinated motion) and servo motors. The coordinated motion is to cut one simple (but easily changeable)  profile with a custom cutter. It cuts a short profile on the end of a long piece of wood, then I advance the wood forward and cut the part off with a separate spindle that has a cut-off saw on it. Then the cycle repeats. the parts are 15-17mm long, we get 100 or so out of each length of wood. A sensor watches for end of material, stops the cycle, and runs a drop scrap material routine. After tuning everything, I got to 1.8 second cycle times on my last machine. 

I built those machines more than 10 years ago, and they ran production since then until we recently lost both of them in an act of god type scenario. They took me a year each to build since i did it from scratch and we had the time.
Now we'd like to get back into production ASAP, so I'm looking at buying a CNC mill to have a base to start with. Then I build a bunch of tooling/work holding on and above the table.
My worst-case scenario is I buy a mill and strip off its control, put on overpowered Yaskawa servos, and use the same MP2300. I am pretty confident I can make that project work, and the build time will be slightly faster than building from scratch. But it will still be a lot of work and seems pretty wasteful.

I would much prefer to buy a mill with a flexible enough control so that I can modify it for my application. it could be less work, and we get the benefit of an actual CNC mill to help us make our own tooling faster. But I'm unsure if the control will be fast and flexible enough for me. My program will look something like:
  • Check input from the limit switch that the material is clamped, 
  • if so, move about 20mm at max feed rate to cut the profile along X and Y axes. 
  • Once move is complete and I know i am a certain distance away from the profile cutter, send output to unclamp material.
  • about 100 ms later, we get a confirmation from limit switches that the material is unclamped
  • feed part forward about 15mm using a custom-made feeder that is powered by a servomotor (4th axis) 
  • clamp material, wait for confirmation from the limit switch.
  • Move 20-30 mm to cut off station, parts are cut off during the move.
  • Rapid back to the start of the profile cut.
  • Repeat.
I want each iteration to be less than 2.5 seconds. So if there is 50ms or so extra lag in the control for each check, that's fine. If it's more than 100ms each time that could start to stack up and be a problem.

Tormach was helpful enough to run some speed tests for axis motion, but couldn't give any specific info on I/O timing. They said the USB add-on I/O might exceed 100ms of lag between receiving a signal and starting motion. They said the I/O they use through the ethernet axis drives is faster, but there is only 1 output and 1 input left available. Ultimately they said they don't recommend the machine for my application. I doubt any mill manufacturer will though. Haas hasn't been willing to give me any info at all. Titans of CNC hasn't gotten back to me. I'm assuming manufacturers don't want the liability or to have to support some weird project like this.

It looks like the 1500mx uses ethercat drives for spindle and axes. So I think I will see their model and try to buy another matching drive and motor for the 4th axis feed unit . The-cut off spindle could be anything, but I'm considering making it a servo drive also. Maybe those two extra drives on the ethercat network will give me enough fast I/O for my clamps and stuff. 

Resources and limitations:
  • I have 20 years of experience as an industrial technician. Mostly repairing machines, old or weird stuff that my customers can't get support from a manufacturer. Cincinnati milacron, fanuc, custom machines, PLC retrofits, etc. I am very comfortable with ladder logic.
  • My Gcode is weak. I mostly just use MDI to test out equipment and leave the part programing to my customers.
  • I have never used LinuxCNC except a week or two ago when I installed it on an old PC just to poke around. I've installed and used Linux desktops a handful of times over the years, but it never stuck as my primary OS, so I am somewhat literate but mostly a Linux noob. But I am excited to learn LinuxCNC for future projects. I feel like I will be comfortable editing INI and HAL files once I've gotten more familiar with them. I'm fine with writing some simple Python scripts or whatever. Something like writing a custom hardware driver is probably beyond my capabilities. However, subbing out to a better software engineer is an option.
  • For this project, I will have around $50k left to spend on parts after I buy a mill. Im estimating 300-400 hours of labor for me setting this all up. That includes building and testing all the clamps and workholding stuff. I should have plenty of budget for replacing axis servos if they aren't fast enough, building an auxiliary electrical cabinet, installing an auxiliary PLC if necessary, etc., whatever it takes. 

My fear is that I will get too far down the road of modifying the existing control before I find some insurmountable limitations and have to start all over with the custom Yaskawa control option. 

My questions for any pathpilot/linuxCNC experts out there:
  • How doable do you think this would be on the pathpilot control that will come on a 1500mx?
  • Are these controls as open as the linuxCNC that I downloaded (from linuxcnc.org/downloads)? Will I be able to easily get to a console prompt? Root access? is there a desktop environment, or can I install one? I've read some parts of Pathpilot are proprietary or obfuscated. Am I locked out of anything that will hinder me from these kinds of modifications?
  • For this kind of fast, back and forth I/O stuff, would people suggest doing it all in Gcode? Like, just Mcodes assigned to outputs with  inputs as finish signals? or should I try to use classic ladder? or M codes assigned to python scrpts? or an auxilary PLC that just gets a few timing signals from the CNC? any better ideas?

Thanks for reading.
 
  • tommylight
  • tommylight's Avatar
14 Apr 2025 19:54
Replied by tommylight on topic Linux_Mint_22.1_LinuxCNC_2.10.iso

Linux_Mint_22.1_LinuxCNC_2.10.iso

Category: Installing LinuxCNC

Have you tried the r8168-dkms driver?

No, never needed it.
Do a latency test with
latency-histogram --nobase --sbinsize 1000 -- show
leave it for at least half hour while running some glxgears and youtube videos, especially changing the video to full screen several times.
Also what ping times do you get with 6.13 ?
  • scotth
  • scotth
14 Apr 2025 19:36
Replied by scotth on topic Linux_Mint_22.1_LinuxCNC_2.10.iso

Linux_Mint_22.1_LinuxCNC_2.10.iso

Category: Installing LinuxCNC

Tommy
Have you tried the r8168-dkms driver? I installed it and lost my Ethernet connection to the Mesa board. It could be me or the 6.13 kernel.
It works with the original driver, but I get the Read error problem.
  • dinodf
  • dinodf
14 Apr 2025 19:26
Replied by dinodf on topic How to pass parameters .comp file

How to pass parameters .comp file

Category: HAL

I know it, thanks, my problem is upstream  I can't find where it is explained how to pass the parameters 
 
  • langdons
  • langdons
14 Apr 2025 18:25 - 14 Apr 2025 18:30
Replied by langdons on topic Determining Angular Scale - Help w/ Microsteps

Determining Angular Scale - Help w/ Microsteps

Category: Configuration Tools

Short the ENA terminals together.

Voltage across the enable terminals disables the driver.

Shorting them ensures the driver is not disabled.

Try changing the position of SW6.

The wires connecting the driver and motor should be at least 22AWG; thicker is better.
  • langdons
  • langdons
14 Apr 2025 18:23
Replied by langdons on topic Determining Angular Scale - Help w/ Microsteps

Determining Angular Scale - Help w/ Microsteps

Category: Configuration Tools

Settings on driver:

SW1-4 all set to "ON"

Rotating Switch set to C, D, E, or F (try them all)

600 steps/rev is correct.

Maybe Amazon sucks!
  • langdons
  • langdons
14 Apr 2025 18:16
Replied by langdons on topic Determining Angular Scale - Help w/ Microsteps

Determining Angular Scale - Help w/ Microsteps

Category: Configuration Tools

Dividing the number of pulley teeth will yield the reduction ratio.

So 3:1 is right.

The motor is 600 full steps/revolution.
  • tcbmetalworks
  • tcbmetalworks
14 Apr 2025 18:00
Replied by tcbmetalworks on topic 10.5 x 25 cnc plasma table retrofit

10.5 x 25 cnc plasma table retrofit

Category: Computers and Hardware

Okay so here is what I'm thinking of buying.

www.aliexpress.us/item/3256808075045002....798396400003024786_1

For a set of 3 1000w motors it came out to being around $1000 usd shipped with gear reducers. I think 1000w might be a little large and I may go down to 750w. Do you think it's worth it to go absolute vs increment? They also asked about communication step dir vs "communication" I think they mean some sort of ethercat sort of deal. Waiting to here back from the salesman to clarify

I did alot of research last night and found the gear rack i have is 16 pitch with i belive a 20 dp I will still have the deal of a metric shaft to a imperial pinion size. But I'm not too concerned I can machine it out and proably hand file or even broach the keyway out. 
  • langdons
  • langdons
14 Apr 2025 17:47
Replied by langdons on topic Determining Angular Scale - Help w/ Microsteps

Determining Angular Scale - Help w/ Microsteps

Category: Configuration Tools

Yeah, the cap(s) are/is to smooth the input power.

Maybe your bench supply has minimal filtering caps.

Yes, modify the 'steps per revolution' in the arduino code to 600 (for full step or perhaps half-step).
  • spumco
  • spumco
14 Apr 2025 17:46

Need help making rotary axis behave like second spindle

Category: Advanced Configuration

Caxis.comp is not in the official LCNC distribution, so there isn't going to be any documentation beyond forum posts.  

It was authored by Andy Pugh a few years ago while he was working with another forum member who was trying to get his DIY lathe sorted out.  The lathe was configured to use the same motor for spindle work as well as c-axis positioning for a live tool.

I wound up in the same boat when I started my lathe project and stumbled across Andy's post where he uploaded caxis.comp. I shamelessly grabbed it and spent quite a bit of time trying to use it and get things sorted out.  The forum is littered with my ramblings & whining over the past year or so.

If you don't mind re-starting LCNC for spindle-mode, then creating two configurations should be pretty easy.

Do you need two spindles at the same time?  Like a router bit spinning in main spindle, and 4th axis-spindle turning as well?

Is the config you attached in the original post working well for you now and you just want some help creating a 2nd config for spindle work?
  • PCW
  • PCW's Avatar
14 Apr 2025 17:36
Replied by PCW on topic Problem with THC

Problem with THC

Category: Plasmac

The THCAD2 is scaled the same as a THCAD-10 when jumpered
for 10V full scale and scaled the same as a THCAD-5 when jumpered
for 5V full scale.
  • claytoncramer
  • claytoncramer
14 Apr 2025 17:27
Replied by claytoncramer on topic Engraving Fonts

Engraving Fonts

Category: Milling Machines

I am unable to figure out how to use the engraver-1 python program. If I try python engraver-1.py I get:
File "engraver-1.py", line 1
>
^
SyntaxError: invalid syntax

I am running it as downloaded:
python engrave-1,py
  • langdons
  • langdons
14 Apr 2025 16:38

Converting a working mill configuration to an equivalent sim

Category: General LinuxCNC Questions

Can you run the drivers with the motors disconnected (turn the power off before disconnecting the motor)?

Don't make a separate simulation, you might end up with slight differences, which will wreak havoc!
  • notJamesLee
  • notJamesLee
14 Apr 2025 16:37
Replied by notJamesLee on topic Determining Angular Scale - Help w/ Microsteps

Determining Angular Scale - Help w/ Microsteps

Category: Configuration Tools

before i do this, should i modify the 'steps per revolution' in the arduino code?

For the capacitor, are we just trying to smooth the input?
Displaying 2581 - 2595 out of 26419 results.
Time to create page: 0.285 seconds
Powered by Kunena Forum