. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I'm new to CNC and still getting to grips with converting an old NC machine to run on Mach3 (well, that's what I'm using at present).

    Just when I think I know what various boards and components are for I find that I have a gap in my knowledge which I can't get my head round.

    My machine seems to work fine with an old PC and a BOB. So what advantage is there to using a motion controller board? What does it do that a BOB won't do?

    David

  2. #2
    a motion controller will generate all the step and direction signals itself in realtime in stead of the pc doing it. the advantage is that a pc might decide to go and check this other thing its doing and take resources away from generating step and direction signals causing problems

  3. #3
    Quote Originally Posted by johngoodrich View Post
    a motion controller will generate all the step and direction signals itself in realtime in stead of the pc doing it. the advantage is that a pc might decide to go and check this other thing its doing and take resources away from generating step and direction signals causing problems
    Ah right, I get it now. So when my steppers make a noise like they're losing steps (but actually are not) it's down to the computer running other stuff. I noticed it was much worse the other day when I had another bit of control software open.

    So, how does a programme like Mach3 or LCNC work with the motion controller? Does Mach3 have a sub-programme to generate the pulses? I suppose that this is bypassed and the G-code sent straight to the motion controller - or is it more complicated?

    Oh, and what about ports and pins and limit stops etc?
    Last edited by Agathon; 09-08-2017 at 11:10 PM.

  4. #4
    Neale's Avatar
    Lives in Plymouth, United Kingdom. Last Activity: 28 Minutes Ago Has been a member for 9-10 years. Has a total post count of 1,726. Received thanks 295 times, giving thanks to others 11 times.
    As said, a motion controller takes the pulse generation task away from the PC. Mach3 and LCNC both have to go to considerable lengths to try to persuade an operating system that is used to doing its own thing to produce a regularly spaced pulse train to drive, particularly, the step signal. The pulse rates needed can get close to limits of the PC and sometimes beyond, as you have seen. The MC takes on the pulse generation role and by using dedicated hardware will outperform a PC. The PC and parallel port are OK up to a point but have their limits. Of course, an increasing problem these days is that most new PCs don't even have a parallel port so a motion controller that connects via USB (good) or Ethernet (better) is almost essential. Add the fact that Mach3 needs a 32-bit version of Windows to use the parallel port and again a new PC will come with 64-bit Windows 10 and you are stuck.

    A parallel port limits you to 5 inputs for limit switches and so on. This is a physical limit of the parallel port - that's how many pins will accept input signals. There is also a limit to the number of output pins. A MC can have many more input and output pins to get past these limits. Generally you will specify these using the ports and pins page in Mach3 - my CSMIO/IP-M uses port 10, for example.

    Mach3 works just as it usually does but passes movement instructions to the MC to turn into step signals so it has a lot less to do. It will send a buffer-full of data, so if it gets distracted by some internal housekeeping task, the MC will still have data to get on with until the PC catches up again.

    There are motion controllers that will work with LCNC but as far as I know, there are no MCs that will work with both.

    There can be other benefits - some motion controllers will use 24V signalling for better noise rejection (more reliable), and differential signalling (for the same reason). Ethernet is generally a bit more reliable than USB - better ground isolation and differential signalling. Again, this is for noise rejection - a CNC control box is electrically quite a noisy place.
    Last edited by Neale; 10-08-2017 at 07:15 AM.

  5. The Following User Says Thank You to Neale For This Useful Post:


  6. #5
    Use your control Pc only for CNC. not browsing internet, running other progs and so on...No energy savings, screen saving and usb and ethernet switch off after certain time.
    project 1 , 2, Dust Shoe ...

  7. #6
    Guy's,

    I was just about to ask a similar question so thanks for the information. Could I go a step further (no pun intended!) and ask for a recommendation for a MC. There are so many option Ive spent 2 day on eBay and am still confused.


    I have a lathe/Mill so I want X,Y and Z stepper motors for sure and I wouldn't mind 1 spare channel for my rotary table.

    I guess I will need some limit / home switch inputs.

    I have a variable speed drive on the machine already so I need an output to that.

    I would line to maintain the ability to thread so I think I need a couple of inputs for tacho position sensors.

    Im just getting to grips with Autodesk Inventor, but haven't got a preference on Mach3 or LinuxCNC as a controller so open to suggestions / recommedations on that also.

    Thanks in advance,

    Ian.

  8. #7
    Quote Originally Posted by Neale View Post
    As said, a motion controller takes the pulse generation task away from the PC. Mach3 and LCNC both have to go to considerable lengths to try to persuade an operating system that is used to doing its own thing to produce a regularly spaced pulse train to drive, particularly, the step signal. The pulse rates needed can get close to limits of the PC and sometimes beyond, as you have seen. The MC takes on the pulse generation role and by using dedicated hardware will outperform a PC. The PC and parallel port are OK up to a point but have their limits. Of course, an increasing problem these days is that most new PCs don't even have a parallel port so a motion controller that connects via USB (good) or Ethernet (better) is almost essential. Add the fact that Mach3 needs a 32-bit version of Windows to use the parallel port and again a new PC will come with 64-bit Windows 10 and you are stuck.

    A parallel port limits you to 5 inputs for limit switches and so on. This is a physical limit of the parallel port - that's how many pins will accept input signals. There is also a limit to the number of output pins. A MC can have many more input and output pins to get past these limits. Generally you will specify these using the ports and pins page in Mach3 - my CSMIO/IP-M uses port 10, for example.

    Mach3 works just as it usually does but passes movement instructions to the MC to turn into step signals so it has a lot less to do. It will send a buffer-full of data, so if it gets distracted by some internal housekeeping task, the MC will still have data to get on with until the PC catches up again.

    There are motion controllers that will work with LCNC but as far as I know, there are no MCs that will work with both.

    There can be other benefits - some motion controllers will use 24V signalling for better noise rejection (more reliable), and differential signalling (for the same reason). Ethernet is generally a bit more reliable than USB - better ground isolation and differential signalling. Again, this is for noise rejection - a CNC control box is electrically quite a noisy place.
    Many thanks for the comprehensive reply Neale - I think that it might be well worth me thinking about a motion controller.

    This learning curve can be quite expensive by the time you've understood what's needed and why. A friend has a lot of experience with Mach3 and builds small machines for clockmaking - he's a very competent and experienced engineer with a great deal of knowledge in this area. He advised fitting a couple of parallel ports to the PC, cleared off all the old software and helped with the initial (re)motorising of my machine. Pretty early on he realised that the approach he'd taken on his little machines wasn't going to be up to the sort of thing I have.

    Abandoning the parallel ports and moving to a ethernet MC sounds like a sound move.

    Quote Originally Posted by Boyan Silyavski View Post
    Use your control Pc only for CNC. not browsing internet, running other progs and so on...No energy savings, screen saving and usb and ethernet switch off after certain time.
    Thanks again Boyan for your very sensible suggestions. We have already dumped lots of domestic software "sludge" that was slowing the machine down. I'll take a look at the energy saving settings etc.

    Just as I've concluded that I need servos rather than steppers, I've slowly arrived at the conclusion that a motion controller would be a good idea - buying the wrong sort of servo drivers may have inadvertently done me a favour.

    I am already thinking that the Fehlmann mill that I'm working on is going to be a compromise compared to something like a Deckel FP2NC or some other quality first generation NC machine from the 80s. As I understand it most of these old machines used analogue servos so getting some experience with them now will be an advantage.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. DDSCV1.1 3 and 4 axis offline motion controller
    By Boyan Silyavski in forum Chinese Stand-alone
    Replies: 267
    Last Post: 14-05-2018, 06:57 PM
  2. Uc300 motion controller problems
    By Hellfire in forum CNCdrive (UCCNC)
    Replies: 2
    Last Post: 07-11-2016, 07:21 PM
  3. FOR SALE: Galil Motion Controller - PCI DMC 1842 - four axes
    By lateAtNight in forum Items For Sale
    Replies: 1
    Last Post: 24-06-2014, 03:41 PM
  4. FOR SALE: Galil 1880 8 axis PCI motion controller
    By Boyan Silyavski in forum Items For Sale
    Replies: 1
    Last Post: 03-06-2014, 07:39 PM
  5. Advice please! JAF Motion Controller issues!
    By Mark Chard in forum Machine Control Software
    Replies: 0
    Last Post: 31-01-2014, 05:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •