586,068 active members*
4,515 visitors online*
Register for free
Login
Results 1 to 12 of 12
  1. #1
    Join Date
    Jan 2008
    Posts
    106

    Desktop pc instead of plc

    Hi ,

    Can a desktop pc be used in place (instead) of a programable logic controller for a cnc 3 axis mill ?

  2. #2
    Join Date
    Dec 2003
    Posts
    24221
    Usually only when it is used in conjunction with PC based CNC control or PC with CNC motion controller card such as Galil, e.g. Mach for PC based and Camsoft for PC motion card system.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Jan 2008
    Posts
    106
    so what restricts the axis travel (distance) of a cnc machine?....is it the plc or something else?.

    thanks!

  4. #4
    Join Date
    Dec 2003
    Posts
    24221
    The PLC is usually a separate controller than the CNC controller, although it can be a processor on the same BUS, they both have to communicate with each other.
    The CNC controller is the one that controls servo's, the PLC is used for miscellaneous I/O.
    Apart from any mechanical restriction, electronically the limit is probabally the mathematical limit of the CNC processor.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  5. #5
    Join Date
    Jan 2008
    Posts
    106
    Quote Originally Posted by Al_The_Man View Post
    The PLC is usually a separate controller than the CNC controller, although it can be a processor on the same BUS, they both have to communicate with each other.
    The CNC controller is the one that controls servo's, the PLC is used for miscellaneous I/O.
    Apart from any mechanical restriction, electronically the limit is probabally the mathematical limit of the CNC processor.
    Al.
    so does it mean that a 3 axis desktop machine can be controlled with the following combinations :-

    1] computer + cnc controller = a complete cnc machine (here the computer does the work of a plc & sends signals to the cnc controller unit to operate the servos )

    2] plc + cnc controller = a complete cnc machine (here once the plc is feeded with data from the computer, the computer can be either switched off & the plc can handle the work further.)

    am i right ?..just asking as i am not still sure about .

  6. #6
    Join Date
    Mar 2003
    Posts
    35538
    1) Correct. The software control can either send signals directly to the drives, or to a motion control card like a Galil as Al mentioned.

    2) Not entirely sure, but I don't think so. Perhaps for simple repetitive jobs. As Al said, typically the PLC is included to handle all the I/O needs of the machine.

    3) normally what you would have, is - PC running control software which controls the motion and also uses the PLC for Inputs/Outputs.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  7. #7
    Join Date
    Jan 2008
    Posts
    106
    Quote Originally Posted by ger21 View Post
    1) Correct. The software control can either send signals directly to the drives, or to a motion control card like a Galil as Al mentioned.

    2) Not entirely sure, but I don't think so. Perhaps for simple repetitive jobs. As Al said, typically the PLC is included to handle all the I/O needs of the machine.

    3) normally what you would have, is - PC running control software which controls the motion and also uses the PLC for Inputs/Outputs.
    Thanks for replying....

    1] why to use a motion control card when the control software running on the computer can directly operate the drives? ( if i have mis-understood the work of a motion card) ..or ......does the motion control card take inputs from the computer running control software & amplify the current to the motors simulating the control software program since a pc can,t do that. (so i should guess that there r three main electronic components in a desktop cnc 1] pc 2] motion control card 3] motors)

    what basically i want to understand is .....can a cnc 3 axis desktop mill be made using the least amount of electronics?..just to keep the cost down.

  8. #8
    Join Date
    Dec 2003
    Posts
    24221
    There are mainly two types of PC controlled CNC, the software based system such as Mach, where the servo loop is closed externally, this is not a closed loop system, as per the likes of Galil motion card type.
    Galil closes the loop via firmware in the card via encoder feedback direct to the card.
    Mach requires semi-inteligent drives to close the loop.
    With a motion card, the drives can be passive style, i.e. just condition the command signal and provide amplification, there is seldom position feedback to the drive.
    Mach provides the CNC/PLC system in software in the PC.
    Galil offer some internal PLC or an external PLC can be utilised.
    Once the servo position command is downloaded to the Galil, it does not require the PC per se to operate as can be demonstrated by the stand alone version that has communication to the PC through the serial port, once the command is sent, the serial connection can be removed and the card will continue to operate the servo loop positioning.
    If you look at the Mach site and Galil Motion site, there are examples of both.
    The cheapest system is probabally going to be Mach based.
    The above relates to PC based and not commercial CNC systems.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  9. #9
    Join Date
    Jan 2008
    Posts
    106
    Quote Originally Posted by Al_The_Man View Post
    There are mainly two types of PC controlled CNC, the software based system such as Mach, where the servo loop is closed externally, this is not a closed loop system, as per the likes of Galil motion card type.

    Galil closes the loop via firmware in the card via encoder feedback direct to the card.

    Mach requires semi-inteligent drives to close the loop.
    With a motion card, the drives can be passive style, i.e. just condition the command signal and provide amplification, there is seldom position feedback to the drive.

    Mach provides the CNC/PLC system in software in the PC.

    Galil offer some internal PLC or an external PLC can be utilised.
    Once the servo position command is downloaded to the Galil, it does not require the PC per se to operate as can be demonstrated by the stand alone version that has communication to the PC through the serial port, once the command is sent, the serial connection can be removed and the card will continue to operate the servo loop positioning.

    Al.
    sorry to reply late..i was a bit busy

    ok..i think i have started understanding cnc a bit better than when i had joined this forum:rainfro:

    i am not into electronics & hence i have to google to search the meaning of words to properly understand ur whole reply.lol! but that is getting all my doubts cleared...i like it.

    ok...talking about Mach & Galil

    1] Mach is a pc based controller software ...now what about the hardware part? Once mach is installed on the pc & the g code generated, through what media(electronic components) does the command reach the motors?(are any more electronics used between the pc & motors?).....

    2] Galil is a motion controller card which fits into the PCI slot of the pc or external card is available.
    Is a motion controller card also reffered to as a plc? i think this has been confusing me a lot
    In a controller card like Galil .....r the motors directly connected to this card(galil) without any electronic component between these two ?

    I hope my questions r not silly as i am confused due to reading about cnc from different sources & i think mostly there r two terms used for the same component & may be thts why i misunderstand it when both sources r refering to the same component.

    Thank you for ur reply!...cheers!:rainfro:

  10. #10
    Join Date
    Jan 2008
    Posts
    106
    i think i should get the basic knowlege about cnc first by going through the build threads & then ask questions that r more specific...

  11. #11
    Join Date
    Dec 2003
    Posts
    24221
    Although PLC have advanced functions, they can generally only offer separate servo control positioning for each axis, IOW they normally cannot do interpolated (another good word) moves.
    CNC servo control offers interpolated moves over multi axis.
    Because a PLC is not generally a 'real time' process, it is relegated to the Miscellaneous control functions of a CNC machine.
    Spindle, Tool changing, Coolant. Although not fast enough for servo update, it is considerably faster that mechanical operating devices such as Contactors and relays etc. Also some systems do offer PLC servo control, but have the draw backs listed above, so they are relegated to simple axis control tasks such as tool changers etc.
    Both Mach and Galil, and most other CNC systems, require a Servo drive, or amplifier between the control and the motor.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  12. #12
    Join Date
    Jan 2008
    Posts
    106
    Thank you Al & ger21 for ur help. I sincerely appreciate it

    for now, i am gonna do some research to get familiar to cnc`s.

    Have a nice day..cheers !..

    regards,
    Pradeep

Similar Threads

  1. My Old Desktop CNC
    By CLaNZeR in forum European Club House
    Replies: 2
    Last Post: 06-20-2008, 05:12 PM
  2. what do you want in your desktop mill
    By heilcnc in forum Benchtop Machines
    Replies: 1
    Last Post: 04-29-2006, 10:06 PM
  3. Desktop CNC Machine
    By CLaNZeR in forum News Announcements
    Replies: 2
    Last Post: 08-05-2005, 02:11 AM
  4. help with mechanicle desktop
    By Mechanical d in forum Autodesk
    Replies: 3
    Last Post: 03-02-2005, 12:45 PM
  5. Pro/Desktop
    By Blackhawk in forum PTC Pro/Manufacture
    Replies: 2
    Last Post: 03-01-2004, 02:32 PM

Posting Permissions

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