Build Thread Codesys CNC Controller


Results 1 to 6 of 6

Thread: Codesys CNC Controller

  1. #1
    rettore84's Avatar
    Join Date
    Apr 2019
    Posts
    0
    Downloads
    0
    Uploads
    0

    Default Codesys CNC Controller

    Hello all,

    I have been developing over the past year a CNC controller based on the Codesys platform/PLC Open standard. I have several years of experience in the industrial automation field as an electrical designer and PLC/robot programmer.

    I have put together a BOM, below, of the components to build a panel to control a 3 axis system. No additional PC would be required, just a monitor and a mouse to visualize and control the interface.

    Item Qty
    Panel 24x24X8” x1
    Power Supply 24VDC@10A x1
    Safety E-Stop Relay x1
    1 Pole Circuit Breaker x5
    Industrial Rasperry Pi w/ Codesys x1
    Terminals x30
    12VDC Battery x1
    Power Supply 48VDC@10A x3
    Ethernet Switch x1
    E-stop button x1
    Ducts 2m x1
    RJ45/HDMI/USB panel connection x1
    Rotary disconnect x1
    24VDC electronic cicuit breaker 8 channel x1
    Power contactor x2
    E/IP Bus coupler x1
    8DI/DO module x1
    Panel Motor connectors x3


    The total cost of the items above is around US$2800. No motors included. I have designed the system to control drives primarily over a Fieldbus, e.g. Ethernet/IP, Profinet, Ethercat. Several options are available and in my opinion, an affordable solution are the Applied Motion StepServo integrated motors with Ethernet/IP built-in:

    https://www.applied-motion.com/produ..._value%5B%5D=0

    I have no interest in promoting the motors above. I just think they are a good and affordable option. However, any servo drive/or integrated motor with Fieldbus would work with no issue. If the preference is to use a stepper controller that takes step and direction signals only, then additional modules would have to be added to the Bus coupler rack. Each one costs around $250 and can control 1 axis. The system can accommodate up to 5 axis, with an upgrade of the power supply depending on the motor sizes.

    The interface is very simple so far, it is HTML5 based, and can be accessed from a Web-browser. I have uploaded some images:

    https://ibb.co/LJzwps6

    https://ibb.co/svwVWB6

    NC files can be loaded from a remote folder/server or from a local USB stick. There is a 3D visualization window and a simple G code editor. The interface is under continuous improvement. Generic Fusion360 post-processors, with small modifications, can be used to generate compatible NC files.

    The system is very escalable because it is PLC based. To add and program peripherals, e.g. valve solenoids, spindles, pump control, etc. is very simple, using common ladder logic.

    If anyone is interested on this project please write below or send me a PM. Looking forward to your opinion. I'm based in Ontario, Canada.


    More information about Codesys CNC:

    https://www.codesys.com/products/cod...-robotics.html

    and PLC Open Standard:

    https://plcopen.org

    Similar Threads:


  2. #2
    Member
    Join Date
    Apr 2013
    Location
    poland
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: Codesys CNC Controller

    Hello,

    I would like to build cnc controller based on raspberry pi 4 and codesys and I found your post
    I have heard realy different opinions about raspberry but only in the linuxcnc context, so could you describe how it is works with codesys?
    I have tried sent private message to you but maybe someone else will be interested your opinion in this case.



  3. #3
    Member davewkoenig's Avatar
    Join Date
    Jul 2020
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default Re: Codesys CNC Controller

    Hello, I have a home made CNC machine as well, below is my link to my machine. I have used servo drives I have from my company, I am using Raspberry Pi 4 with Codesys.




    I would love to compare notes!



  4. #4
    Member
    Join Date
    Apr 2013
    Location
    poland
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: Codesys CNC Controller

    It looks great !
    I use Beckhoff in my company, but this solution exceeds the budget for hobby cnc machine and now your machine is an important argument for using raspberry. Is Raspberry connected with servo driver without additional Ethercat cards? Here is info that this card is no needed https://www.raspberrypi.org/forums/v...c.php?t=241750. Which raspberry version are you using? What where a problems with it?

    The GPIO to 24v IO is your product? There are quite a lot of rasberry industrial solutions for example: RailPi, RevPi or 7c80 messacard...but I think it is only for Linuxcnc ...



  5. #5
    Member
    Join Date
    May 2011
    Location
    UK
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default Re: Codesys CNC Controller

    Dear Rettor84,
    Tried to send you a PM but it was not allowed. I was very impressed with your project as I am trying to do something similar for a pipe cutting machine as a hobby project. I have been struggling with listing nc files in a directory and then importing them and also getting an interface as smart as yours with multiple pages. Any hints you could give or code samples would be very appreciated.
    Many thanks, Simon



  6. #6
    Member Cullenary's Avatar
    Join Date
    May 2023
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default Re: Codesys CNC Controller

    HI, I would love to get in contact with you about this project. I too am building a similar machine and would like to share details and such with you ].



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Codesys CNC Controller

Codesys CNC Controller