586,719 active members*
3,110 visitors online*
Register for free
Login
Results 1 to 19 of 19
  1. #1
    Join Date
    Sep 2010
    Posts
    528

    Is networking ok?

    I am in the last stages of building my CNC router. I am using Mach3 for control and I am stripping down the computer to use it exclusively for machine control.

    Will having the CNC computer networked to my design computer cause any problems, such as missed steps, or is it ok to use it to control the router while the network is active? The network will not be connected to the internet. It is simply for transfering files between the two computers.

    I have been using a USB drive to transfer files but it is a bit cumbersome.

    Thanks,
    James

  2. #2
    Join Date
    Jan 2008
    Posts
    241
    I do both... Use the USB, and have the CNC computer networked.
    I have the internet available on it as well and seems to be ok.
    Although, I do NOTHING with the computer while its working.
    (Windows updates and everything else is disabled)

    hth
    Chris

  3. #3
    Join Date
    Mar 2003
    Posts
    35538
    I have my old 1Ghz PIII connected to my home network. I have a folder shared on it, and copy g-code to it from this PC in the house. No problems.
    Back in the early days of mach3 (or Mach1 or 2) it was suggested that the speed setting of the network card be set to a fixed speed, and not "auto", but I don't think it's really an issue anymore, as it's been years since I've heard it mentioned.
    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)

  4. #4
    Join Date
    Mar 2004
    Posts
    761
    James,

    CNC files on my CAD/CAD workstation are transferred to my Mach3 PC through the network shared connection direct to the GCode directory. I also remote connect back to my main CAD/CAM workstation for any program updates.
    Wayne Hill

  5. #5
    Join Date
    Jul 2006
    Posts
    53
    Hi,
    In my experience, a network runs fine with mach.

    However, since you asked, there is one thing, directly related to the use of ethernet network adapters, which I know of that **could** (but probably won't) cause a problem with mach... auto speed negotiation with the ethernet hub.

    For some cheap ethernet adapters, the vendors use "low quality device drivers" (I just call it crappy code) and they turn off interrupts during auto speed negotiation. If you see an issue with mach pulses while using the net, you can change this behavior from "auto" to the highest speed the hub/switch that the adapter is connected to supports. This locks the adapter to a single speed and avoids the possible auto negotiation problem.

    To change this, go into network connections and open the properties for the network adapter. The details will vary by win version and net adapter vendor - so I can't give exact steps.

    in the configuration for the ethernet adapter, look for the advanced tab (or so it's called on XP), and see if there is an entry for "media Type"
    This controls how the adapter handles the different ethernet speeds - usually it is set to auto (so it self selects 10 or 100 or 1000 depending on what it is connected to).

    Most name brand enet adapters these days are pretty good and this does not bite you.

    Wireless LAN adapters can have a similar issue when they scan for Access points and do RF channel scanning. Some of the cheep chips will turn off interrupts while scanning channels- and if they do the brute force "scan all channels at once" approach, this can be several seconds. The name of this control in settings is different by vendor.

    Stick to a wired connection (much better for a cnc control) and you can forget about teh WLAN issue.

    Dave

  6. #6
    Join Date
    Sep 2010
    Posts
    528
    Thanks guys.

    A network will speed up the design process. I find myself having to go through a couple iterations of design/g-code before I get everything right, and using a USB drive has been cumbersome at best.

    I'm going to set up a small network in my shop. It will be just an ethernet switch and 2 computers. I'll configure everything manually, including the speed.

    I'll let you know how it works out.

    J

  7. #7
    Join Date
    May 2007
    Posts
    767
    A simple alternative approach with much reduced risk is to use a switch on the LPT input of your CNC processing machine and to switch the input between your two computers. Use one PC for development, testing, surfing the net, accessing PDF files etc. and the other for production of parts.

    The machine running CNC for production of parts having nothing other than the bare essentials for running Mach3 loaded and the update, hibernation configured to give Mach3 100% use of the processor.

    These switches are available from computer stores and off ebay for less than $20. And were used for switching two or more PCs to a single printer. They have the standard 25 way connector but there are a few that do not connect and switch all 25 pins. The switch in the low cost ones is mechanical and there are some exotic electronic ones. Buy an UPS for the CNC PC and relax as I like the zero risk approach. I also like to drink my tea in peace not hovering over a CNC run not that human intervention will save a part that has been screwed up when Mach3 did not have full use of the processor! It only takes seconds to transfer the code with a USB stick and it also enforces a back up plan as you will have the code on two isolated machines.

    Yes Mach3 will run with a network and you can also do other things on the PC at the same time BUT there is the opportunity for a glitch.

    Application sharing and priority is not well handled by Windows and can cause hiccups in the CNC operation. If you are OK with scrap parts on the odd occasion then by all means use the network - multi task and browse the internet or play music as most of the time you will get away with it as CNC does not require many mips to operate but does require access to the processor without appreciable delays. A small low powered desk top is also cheap even if bought new.

    Good luck - regards - Pat

  8. #8
    Join Date
    Mar 2003
    Posts
    35538
    A simple alternative approach with much reduced risk is to use a switch on the LPT input of your CNC processing machine and to switch the input between your two computers. Use one PC for development, testing, surfing the net, accessing PDF files etc. and the other for production of parts.
    He wants to transfer g-code from one PC to another. I don't understand how using a parallel port switch helps this at all?

    As Dave and I both said, Mach3 typically has no problems with networking, and if it does, it's can be easily remedied by turning off the "auto" setting.
    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)

  9. #9
    Join Date
    May 2007
    Posts
    767
    Hi Gerry

    Sorry but I do not agree that Mach3 can co-exist with networking. It all depends on the acceptance or avoidance of risk.

    The network is able to access the PC that is running the CNC control of the machine making the part and that can certainly cause trouble.

    Yes it is practical to withdraw the network plug to stop unwanted access to the machine running Mach3 and cutting parts.

    There are many people who do all sorts of things with the PC whilst it is running code to cut parts and they get away with it but the risk remains. The higher the processing power of the PC and the faster the disk read write the risk decreases but is not eliminated. Windows is poor at multi tasking and that is what the network connection can cause in response to commands from the network.


    Regards - Pat

  10. #10
    Join Date
    Mar 2003
    Posts
    35538
    That's fine, to each his own. I generally agree with you 100%, that absolutely nothing should be running but Mach3. But I use networking on a "marginal" PC just fine, and I read almost every post on both the Mach3 Yahoo group and web forum, and haven't seen anyone having issues due to networking in several years. So I personally don't think it's an issue. You do, that's OK.

    But can you explain about how you use the LPT switch?
    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)

  11. #11
    Join Date
    Sep 2010
    Posts
    528
    Quote Originally Posted by wildwestpat View Post
    A simple alternative approach with much reduced risk is to use a switch on the LPT input of your CNC processing machine and to switch the input between your two computers. Use one PC for development, testing, surfing the net, accessing PDF files etc. and the other for production of parts.
    I have no idea why I would need an LPT switch? My CNC control computer is connected to the CNC machine with a parallel cable. There is no reason to switch the CNC machine to another computer, or the CNC computer to another device.

    Quote Originally Posted by wildwestpat View Post
    Yes Mach3 will run with a network and you can also do other things on the PC at the same time BUT there is the opportunity for a glitch.

    Application sharing and priority is not well handled by Windows and can cause hiccups in the CNC operation. If you are OK with scrap parts on the odd occasion then by all means use the network - multi task and browse the internet or play music as most of the time you will get away with it as CNC does not require many mips to operate but does require access to the processor without appreciable delays. A small low powered desk top is also cheap even if bought new.
    I never use the comptuer for anything when I am running the CNC machine. That's why I have a second computer for design work.

    I want a network to simplify file transfers.

    J

  12. #12
    Join Date
    Sep 2010
    Posts
    528
    Quote Originally Posted by wildwestpat View Post
    Hi Gerry

    Sorry but I do not agree that Mach3 can co-exist with networking. It all depends on the acceptance or avoidance of risk.

    The network is able to access the PC that is running the CNC control of the machine making the part and that can certainly cause trouble.
    Have you experienced problems caused by a network while running Mach3 or are you just speculating?

    Quote Originally Posted by wildwestpat View Post
    Yes it is practical to withdraw the network plug to stop unwanted access to the machine running Mach3 and cutting parts.
    It seems to me that the better solution would be to simply disable the network connection.

    Quote Originally Posted by wildwestpat View Post
    There are many people who do all sorts of things with the PC whilst it is running code to cut parts and they get away with it but the risk remains. The higher the processing power of the PC and the faster the disk read write the risk decreases but is not eliminated. Windows is poor at multi tasking and that is what the network connection can cause in response to commands from the network.
    Are you sure about this? So far every person that I have talk to has emphasized the importance of not using the computer while Mach3 is running a job.

    Thanks,
    J

  13. #13
    Join Date
    May 2007
    Posts
    767
    Yes I have had to sort out problems caused by networking. Yes you could set and unset the network connection but to my mind that will take longer than a USB or eSATA transfer of the file.

    I have also had to sort out problems caused by unauthorised use of the PC by operators. Ended up removing the CD/DVD drives as well as fitting padlocked plates over the USB front access. The rear of all machines have covers. The padlocks were only necessary as the front USB was used to load code. We had problems with operators using the PC to show their mates things they had on their phones and MP3 players. There was nothing deliberately malicious but an unacceptable number of parts were scrap.

    New and refurbished machines now use a micro size PC mother board built into the control box. The CNC code being loaded by eSATA.

    Yes I have watched a guy who regularly surfs the internet while waiting for parts that re being CNC cut on the same PC. The guy claimed he had had no problems but did admit that game play was not on! He uses a high power gaming machine. All the CNC PCs I have used are modest 1.8GHz clocked processors or less. You will also find others claiming that Mach3 will run well sharing the PC with other active programs on this site.

    Regards - Pat

  14. #14
    Join Date
    Sep 2010
    Posts
    528
    Quote Originally Posted by wildwestpat View Post
    Yes I have had to sort out problems caused by networking. Yes you could set and unset the network connection but to my mind that will take longer than a USB or eSATA transfer of the file.

    I have also had to sort out problems caused by unauthorised use of the PC by operators. Ended up removing the CD/DVD drives as well as fitting padlocked plates over the USB front access. The rear of all machines have covers. The padlocks were only necessary as the front USB was used to load code. We had problems with operators using the PC to show their mates things they had on their phones and MP3 players. There was nothing deliberately malicious but an unacceptable number of parts were scrap.

    New and refurbished machines now use a micro size PC mother board built into the control box. The CNC code being loaded by eSATA.

    Yes I have watched a guy who regularly surfs the internet while waiting for parts that re being CNC cut on the same PC. The guy claimed he had had no problems but did admit that game play was not on! He uses a high power gaming machine. All the CNC PCs I have used are modest 1.8GHz clocked processors or less. You will also find others claiming that Mach3 will run well sharing the PC with other active programs on this site.

    Regards - Pat
    Ok, thanks for the info.

    I plan on a dedicated CNC computer and a dedicated design computer. I'm going to try the networking. If it causes problems I'll find another solution, maybe I'll go with the eSATA, but I am trying to avoid swapping cables etc.

    The CNC computer is fairly robust. I build my own task specific computers and the one for the CNC control is a 2.0 ghz dual core. It has a lot of memory and no extraneous hardware or software.

    I'll let you know how it works out.

  15. #15
    Join Date
    May 2007
    Posts
    767
    With only three components - Mother board complete with RAM - hard drive - power supply - it has advantages if these three are mounted in the control box. Mounting the mother board and the hard drive between a pair of metal sheets with turned down edges provides sufficient screening.

    Regards - Pat

  16. #16
    Join Date
    Oct 2006
    Posts
    340
    Quote Originally Posted by jharvey407 View Post
    I am in the last stages of building my CNC router. I am using Mach3 for control and I am stripping down the computer to use it exclusively for machine control.

    Will having the CNC computer networked to my design computer cause any problems, such as missed steps, or is it ok to use it to control the router while the network is active? The network will not be connected to the internet. It is simply for transfering files between the two computers.

    I have been using a USB drive to transfer files but it is a bit cumbersome.

    Thanks,
    James
    If neither computer is connected to the internet you will have no problems. For just transferring files there should be no problem. I do it all the time, I do not do it while cutting to avoid any possibilty.

  17. #17
    Join Date
    Sep 2010
    Posts
    528
    Quote Originally Posted by br1 View Post
    If neither computer is connected to the internet you will have no problems. For just transferring files there should be no problem. I do it all the time, I do not do it while cutting to avoid any possibilty.
    Thanks for the input. I was thinking the same thing about transfers.

    I really just want to be able to do design work while the machine is running.

  18. #18
    Join Date
    Jun 2008
    Posts
    35
    I leave mine hooked up to the network with internet access all the time, the only time its gotten me is I let it sit overnight during a tool change and MS Update ran and lost my spot in the program. No problems since turning that off.

    I've got a IP cam pointed at the machine so I can watch its progress from inside the air conditioned house and I'll RDP to computer in case I need to hit the stop button.

  19. #19
    Join Date
    Sep 2010
    Posts
    528
    Quote Originally Posted by robertf03 View Post
    I leave mine hooked up to the network with internet access all the time, the only time its gotten me is I let it sit overnight during a tool change and MS Update ran and lost my spot in the program. No problems since turning that off.

    I've got a IP cam pointed at the machine so I can watch its progress from inside the air conditioned house and I'll RDP to computer in case I need to hit the stop button.
    Thanks for the input Robert.

    I have a dedicated network in my shop right now with a single network switch and two cables. One cable is for the CNC controller computer and one is for the laptop that I use for design work.

    So far it has worked out great. I am able to do design and programming while the machine is running and simply drop the G code to the CNC machine over the network.

    I don't transfer files while I have a job running, but that is the only compromise.

    I'm glad to learn that adding internet to the network won't have an adverse effect. I don't have internet in my shop now, but I do plan on adding it eventually. When I do need internet I use my cell phone via USB tether to my laptop.

    I like your idea about the web cam. Unfortunately I have to work in my shop without A/C right now, but we are planning to build out a ceiling and store front so that we can put in some A/C. Ft. Lauderdale has been in the 90's recently and it is brutal to work in the shop during the afternoon.

    I simply see it as a sacrifice I have to make to get this business running, but eventually we'll have a much larger and nicer shop.

Similar Threads

  1. Networking of CNC machines
    By Klaus in forum Uncategorised CAM Discussion
    Replies: 12
    Last Post: 06-22-2011, 06:25 PM
  2. Networking Questions
    By dm855 in forum Fanuc
    Replies: 3
    Last Post: 11-09-2010, 11:13 PM
  3. Networking Fusion640
    By fbergski in forum Mazak, Mitsubishi, Mazatrol
    Replies: 1
    Last Post: 12-24-2009, 12:16 AM
  4. Haas VF3 networking help
    By teal854t in forum Haas Mills
    Replies: 0
    Last Post: 10-30-2009, 06:49 PM
  5. Dnc Networking
    By brtlatjgt in forum DNC Problems and Solutions
    Replies: 4
    Last Post: 08-26-2006, 05:32 AM

Posting Permissions

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