Results 1 to 4 of 4

Thread: Can EMC update its internal X,Y,Z according to an external reading?

  1. #1
    Registered
    Join Date
    Oct 2006
    Location
    UK
    Posts
    68
    Downloads
    0
    Uploads
    0

    Can EMC update its internal X,Y,Z according to an external reading?

    Hi,

    I'm thinking to use EMC for my next project. However, I do not have any experience with it.

    The idea is to have an MPG connected to an exernal simple controller. This controller can generate the pulses to control the motors by the MPG input, which means you can move the machine without a PC. The controller also has an interface connected to a PC running EMC. So you can use G-code to control the machine when the PC is power-on.

    The question is: when the MPG and the PC are both connected, if the MPG moves the machine (e.g. edge finding), is there a way that the EMC can "see" this movement and update its internal position and the display on the screen?

    Note that the MPG is connected to the external controller not to the PC. If the external controller present a mapping of the MPG to the PC parallel port, would EMC be able to pick that input?

    Many thanks
    David


  2. #2
    Registered
    Join Date
    Jul 2003
    Location
    Holmen, WI
    Posts
    1200
    Downloads
    0
    Uploads
    0
    I think you need to explain what your trying to do a bit better.

    This controller that your mpg is hooked into - what is it going to do? What happens if you spin the mpg too fast - will it know that the motors cannot keep up?

    you can hook mpg directly into emc2. You can use them as jog pendons or whatever. Emc2 is the motion controller - I would rather use it instead of re-inventing the wheel. (just my opinion)

    maybe I am missing what you are trying to do. Anything that moves trajectory control outside of emc - really isn't a good match.

    sam


  3. #3
    Registered
    Join Date
    Oct 2006
    Location
    UK
    Posts
    68
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by samco View Post
    I think you need to explain what your trying to do a bit better.

    This controller that your mpg is hooked into - what is it going to do? What happens if you spin the mpg too fast - will it know that the motors cannot keep up?

    you can hook mpg directly into emc2. You can use them as jog pendons or whatever. Emc2 is the motion controller - I would rather use it instead of re-inventing the wheel. (just my opinion)

    maybe I am missing what you are trying to do. Anything that moves trajectory control outside of emc - really isn't a good match.

    sam
    Sam, thanks for your input.

    I hate to boot up a computer for a simple job, like drilling a few holes, split block, etc. So I want to be able to operate the mill semi-auto without the PC.

    So here comes this external control sitting at the T junction of PC, machine, and MPG. I want this controller being able to take the input from the MPG and controls the machine. So the MPG works like a power steering of the machine. Moreover, when the PC is on and EMC is running, I want this controller able to talk to EMC so that the movement caused by the MPG can be update to the EMC.

    I feel I need to design something like the Pluto board and take the advantage of the EPP mode. The MPG input will be read and stored in a global structure when each time the motor driving is updated. A virtual jog driver will read this data instead of from a game port.

    Let me know if I'm wrong or there is better way to do it.

    Cheers
    David


  4. #4
    Registered
    Join Date
    Jun 2003
    Location
    Boalsburg PA
    Posts
    840
    Downloads
    0
    Uploads
    0
    I'd boot the computer and use emc to jog using the mpg. I saw the machinist at work milling that way the other day using a Haas. Otherwise, I don't see why they need to exchange position info when you turn on the computer. Treat them as seperate systems.


Similar Threads

  1. Method to internal/external thread ?
    By PeteGallo in forum General CAM Discussion
    Replies: 6
    Last Post: 04-03-2007, 10:50 AM
  2. problem with cnc reading bob/cad OR something
    By jr2840 in forum Bridgeport and Hardinge Mills
    Replies: 4
    Last Post: 09-08-2006, 12:28 PM
  3. Reading only new posts
    By PEU in forum Forum Questions or Problems
    Replies: 1
    Last Post: 06-04-2005, 11:22 PM
  4. CNC recommended reading?
    By margni74 in forum General Metal Working Machines
    Replies: 7
    Last Post: 12-29-2003, 10:28 PM

Posting Permissions



About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.