Haas Machines in a Network

Introduction

This document tells you how to configure Haas machines in a network. It tells you about:
  • Network functions supported by Haas machines
  • Network types supported by the Haas ethernet (Enet) option.
  • Enet option setup for all supported networks.
  • Options for troubleshooting Enet.

Network Functions Supported by Haas Machines

Hard Drive Mapping

 

At the computer: lets you copy or move files to and from the CNC machine.

 

Net Share

 

At the CNC machine: lets you copy or move files to and from the computer.

Haas Machines do not Support:

  • FTP: file transfer protocol, a standard for exchanging files across a network.
  • Telnet: a network protocol that allows a user on one computer to log on to another computer within the same network.

Network Types that Support the Haas Enet Option

Network Requirements:the customer's network must have the following features.

  • Windows operating system
  • Linux operating system (only with PC104 and FV 11.001-11.004)
  • TCP/IP protocol
  • NetBIOS

Unacceptable Networks: the customer's network must not have the following features.

  • Mac operating system
  • UNIX operative system
  • IPX/SPX protocol
  • NetBIOS disabled

NetBIOS must be enabled.

NetBIOS (Network Basic In/Out System) is an application programming interface for file and printer sharing across a network. NetBIOS names the computers on a network and uses the names as identifiers to manage file and printer resources. These names appear in My Network Places and Network Neighborhood.

To enable the NetBIOS in Windows:

  • Open the Network Connections folder.
  • Right click on the local area network connection and click Properties.
  • Double-click Internet Protocol (TCP/IP).
  • Click Advanced.
  • Click on the WINS tab.
  • Click Default. The default setting will enable NetBIOS over TCP/IP when necessary.

How to Identify the Haas Enet Hardware

The illustration shows the FV 11.001-11.004 (Linux Samba 3.0, PC104 Interface) PCB.

To see the interface on the control, press PARAM/DGNOS.

Use the Down cursor arrow to go to FV.

The arrow in the illustration points to the LAN cable on the PC104 PCB inside the control cabinet.

This was the last PC104/LCD video PCB that supported the floppy drive. Haas no longer sells this PCB because the PC104 Linux OS is not compatible with some Windows server software.

ServerAllowed Communications
Windows NT 4.0Hard Drive Mapping/ Net Share
Windows 2000Hard Drive Mapping/ Net Share
Windows Server 2003Hard Drive Mapping
Windows Server 2008Hard Drive Mapping/ Net Share
Windows Server 2008 R2Hard Drive Mapping/ Net Share
Linux OSHard Drive Mapping/ Net Share
MACNot supported

The illustration shows the FV 12.001-12.002 (Windows CE 5.0, PC104 Interface) PCB.

ServerAllowed Communications
Windows NT 4.0Hard Drive Mapping/ Net Share
Windows 2000Hard Drive Mapping/ Net Share
Windows Server 2003Hard Drive Mapping/ Net Share
Windows Server 2008Hard Drive Mapping/ Net Share
Windows Server 2008 R2Hard Drive Mapping/ Net Share
Linux OSNot Supported
MACNot Supported
UNIXNot Supported

The illustration shows the FV 13.001-13.009 (Windows CE 6.0, PC104 Interface) PCB.

ServerAllowed Communications
Windows NT 4.0Hard Drive Mapping/ Net Share
Windows 2000Hard Drive Mapping/ Net Share
Windows Server 2003Hard Drive Mapping/ Net Share
Windows Server 2008Hard Drive Mapping/ Net Share
Windows Server 2008 R2Hard Drive Mapping/ Net Share
Linux OSNot Supported
MACNot Supported
UNIXNot Supported

The illustration shows the FV 14.001-14.011 (Windows CE 6.0, Maincon/ATMEL) PCB.

The arrow in the illustration points to the LAN cable on the Maincon PCB in the control.

ServerAllowed Communications
Windows NT 4.0Hard Drive Mapping/ Net Share
Windows 2000Hard Drive Mapping/ Net Share
Windows Server 2003Hard Drive Mapping/ Net Share
Windows Server 2008Hard Drive Mapping/ Net Share
Windows Server 2008 R2Hard Drive Mapping/ Net Share
Linux OSNot Supported
MACNot Supported
UNIXNot Supported

Acceptable Network Configurations

 

This is the most basic form of networking. This configuration uses a straight cable or a cross-over cable, depending on the computer hardware (NIC).

To determine if a cable is straight or cross-over, compare the (2) ends. If they are different, it is a straight cable. If they are the same, it is a cross-over cable.

To determine if the computer will accept a straight cable, plug the cable into the NIC port. Use the operating system's network configuration software to see if it shows a cable is plugged in. If the software does not show a cable plugged in, the computer will only accept a cross-over cable.

 

 

If the previous setup does not work (either you have the wrong cable, or the distance from the computer to the CNC machine is too great), add a network hub (also called a network “switch”).

Perform a "ping" test to find if the CNC machine is connected to the computer.

How to "Ping" a Computer

 

  • Click on Windows START.
  • Type CMD and press ENTER.
  • Type ping xxx.xx.xx.xx where xxx.xx.xx.xx is the IP address of the computer or CNC machine you want to communicate with.
  • Press ENTER.
  • Close the command dialog box to get back to Windows.

 

If the "ping" test fails, refer to the TROUBLESHOOTING section, below.

 

 

Example of a hub with an Up-LINK. You can use this hub to connect to other hubs and join more computers.

 

 

This configuration replaces the hub with a router.

The router functions the same as a hub, but also allows direct connection to the Internet.

 

 

An example of a router.

Routers can function as firewalls, assign IP addresses to devices, and can also function to limit communication between machines in the network and the Internet.

 

 

In this configuration, the hub has been replaced by a wireless router.

Connection between the CNC machine and the router is with a cable. The computer can connect either with a cable or wirelessly.

 

 

Example of a wireless router.

The router has a wired uplink to the server, but can communicate with other computers wirelessly.

 

 

This configuration shows a CNC machine and a workstation connected through hubs, routers, or wireless routers, to a server system.

The network could have any number of CNC machines and computers.

 

 

This configuration shows a CNC machine and a workstation connected through hubs, routers, or wireless routers, to a server system protected by a firewall.

The network system could have many CNC machines and workstations.

A firewall is a software system designed to prevent unauthorized access to or from a private network. Firewalls can be used in both hardware and software.

A firewall blocks uncontrolled access to other computers and the Internet at the communications ports (Internet browsers, for example, use Port 80). Depending upon the application, a computer network can have thousands of ports.

Many personal computer operating systems include software-based firewalls to protect against threats from the public Internet. Many routers that pass data between networks contain firewall components and many firewalls can perform basic routing functions.

 

 

This configuration is an example of a number of computers communicating through a single router and a server to a number of CNC machines connected to a single router.

Dynamic Host Configuration Protocol

Dynamic Host Configuration Protocol (DHCP) is a computer or router that automatically assigns an internet protocol (IP) address to computers or devices.

To enable DHCP on a CNC machine, change Setting 901 Obtain Address Automatically, to On.

Each time the CNC machine is powered on, the router or computer connected to it automatically assigns an IP address to the machine. The gateway address (176.21.16 in the example below) is the same for the CNC machine and the computer.

 

 

Each element in the network is given a unique IP address when it is powered up.

 

A CNC Machine Connected to a DHCP Network.

 

 

A CNC Machine that is NOT Connected to a DHCP Network.

How to Map a Hard Drive with DHCP

  • At the CNC Machine:
    • Connect the network cable.
    • Change the machine name in Setting 900, CNC NETWORK NAME, to a unique name.
    • Change Setting 901, OBTAIN ADDRESS AUTOMATICALLY, to ON.
    • Cycle power.
    • Make sure that the machine gets an IP address.
  • At the computer:
    • "Ping" the CNC machine.
    • Click on Windows Start.
    • Click on Computer. Scroll down to the unique CNC machine name and double-click on it.
    • Scroll down to the folder called Data.
    • Right click on the folder and select "Map Network Drive".
    • Drag the program files from the computer's hard drive and drop them into the Data folder.
    • Make sure that the moved files appear in the Data folder.

Using Net Share in a Domain Network Environment

Domain Controller (DCO)

A domain controller (DCO) is a server that responds to security authentication requests. For example, the DCO checks your User ID and password when you log onto a Windows domain and determines whether you are a normal user or have system administration authority.

 

 

The DCO authenticates and authorizes all users and computers in a Windows Domain type of network.

When a user enters a User Name and Password, the DCO:

  • Makes sure that the User Name exists on the DCO users database.
  • Makes sure that the Password matches the entry associated with the User Name.
  • Opens the appropriate network resources based on the user's assigned rights.
  • Allows access to the network resources based on the user's assigned read/write authority.

 

 

The Remote Share Path settings in the control.

When a user powers on a CNC machine connected to a DCO system, the DCO:

  • Makes sure the User Name (Setting 909, USER NAME) exists on the DCO user database.
  • Makes sure the Password (Setting 910, PASSWORD) matches the entry associated with the User Name.
  • Makes sure the user has rights to the remote share path (Setting 908, REMOTE SHARE PATH).
  • Allows access to network resources based on the user's read/write authority in the remote share path.

 

 

This CNC is correctly set up to allow the user rights to the view the REMOTE SHARE PATH folder.

How to Set Up a CNC Machine to do Net Share:

  1. Make sure that the CNC machine is set up for DHCP.
  2. Give each user a different value for Setting 907, REMOTE SERVER NAME, and Setting 908, REMOTE SHARE NAME.
  3. Add each user to Setting 909, USER NAME, and passwords to Setting 910, PASSWORD.
  4. Cycle power on the CNC.
  5. View the contents of the Net Share tab. These are the files that are stored on the computer.
  6. Make sure you can copy program files between the Net Share tab and the Hard Drive tab.

Troubleshooting

The Customer's Network does not Support the Haas Enet Option:

  • Make sure their network meets the Enet system requirements.
  • Move files to a computer that does meet the Enet system requirements.
  • For Net Share:
    • Change the user permissions on the DCO computer, or active directory.
    • Change the permissions on the folder to which you are trying to connect.

Firewalls are Limiting Communication

 

You may be able to remove a hardware or software local firewall to enable networking with the CNC machine, while leaving larger firewalls in place.

  • Change the hardware or software firewall settings that might be preventing communication.
  • Remove the hardware or software firewall.

Unable to "Ping" the CNC machine

  • The cable may not be correctly connected: make sure that the network cable is correctly routed and plugged in.
  • The cable may be broken: use an RJ45 cable tester to make sure the cable works. If not, replace the cable.
  • The cable may be too long: attenuation in the cable may be limiting communication.
    • Reduce the cable length to half of the CAT5/6 standard.
    • Place a self-powered hub in the cable route to reduce cable distance.
  • The computer NIC card may be defective.
    • Replace the software drivers for the card.
    • Replace the NIC card.
  • The hub or router is not working.
    • Cycle the power on the hub or router.
    • Try the cable on a different hub or router port.
    • Replace the hub or router.
    • Wireless router: try using a cable instead of the wireless option.
  • The CNC network hardware might not function correctly.
    • Check the connection between the Maincon port and the external port. To do this:
      • Cycle machine power.
      • Connect the LAN cable directly to the Maincon port.
      • Enter DEBUG mode and type UPDATE and press F3 to restore the default network settings.
      • Reinstall the floppy version.

Run a 10-minute "ping" test to make sure the problem has been solved.

Unable to Access the Remote Share Path Folder

  • The computer may be turned off.
  • The computer operating system may not be compatible with Net Share. Move the program files to a computer that meets the requirements listed at the beginning of this course.
  • The CNC machine network settings may not be correct.
    • Special Character Entry: the control may not recognize a symbol you are trying to use.
      • Press LIST PROG.
      • Press the RIGHT cursor arrow to the USB tab.
      • Press HELP/CALC.
      • Press the DOWN cursor arrow to Special Symbols.
      • Press the DOWN cursor arrow to the correct symbol.
      • Press WRITE/ENTER.
      • Press SETNG/GRAPH to continue typing characters.
  • Settings 907-910 may be in the wrong format.
    • Setting 907, REMOTE SERVER NAME:
      • Incorrect format: 192.168.310.
      • Correct format: computer name. Type the name of the computer, not its IP address.
    • Setting 908, REMOTE SHARE PATH:
      • Incorrect format: \\server name\folder name
      • Correct format: folder name. Do not include the server name.
    • Setting 909, USER NAME:
      • Incorrect format: \\computer name\user name
      • Correct format: user name. Do not include the name of the computer in the USER NAME field.
    • Setting 910, PASSWORD
      • Incorrect format: \user name\password
      • Correct format: password. Do not include the user name in the PASSWORD field. The password is case sensitive.
      • Incorrect format: blank
      • Correct format: password. The PASSWORD field must not be left blank.
  • The user sign-on does not have sufficient rights or permissions at the DCO. Test communications with an administrator-level user name and password.
  • NetBIOS Over TCP/IP on the computer is not enabled. Make sure that NetBIOS Over TCP/IP is enabled.
  • A firewall may be blocking communication.
    • Allow the MAC Address (press DGNOS and look in the Network Information box) in the router or antivirus firewall settings.
    • Disable software firewalls.
    • Disable antivirus firewalls.
    • Remove physical firewall devices.
  • The IP address may be set to Static on the CNC machine or the computer. Make sure the IP address is set as dynamic (DHCP) on the machine and on the computer.
  • The network settings on the CNC machine may not be correct. For example, make sure the REMOTE SHARE PATH does not point to a server in a different country.
  • The machine name may not be recognized by the DNS server. Have the network administrator add the CNC machine's unique name (found under Setting 900, NETWORK NAME) to the DNS server's database of valid names.

The REMOTE SHARE PATH Connection is Intermittent

  • The router may be causing the failure.
    • Wireless router: try using a LAN cable to the CNC machine instead.
    • The router may have a time-out feature that terminates idle devices on the network.
      • Disable the time-out feature.
      • Replace the router with one that does not have a time-out feature.
      • Replace the router with a hub.
  • The cable may be broken or defective. Use an RJ45 cable tester and replace the cable if necessary.
  • The cable may be incorrectly routed. Make sure the cable is correctly routed.

It Takes a Long Time for a File to Write to the Control

  • The computer's operating system may have issues. Try using a computer that does not have Windows 7, as this operating system has known speed issues.
  • The network may be suffering from too much traffic. Suggest a network analyzer tool, such as "Wire Shark", to the network administrator.

The Control Locks up while on the NET SHARE Tab

  • The cable may be too long. Attenuation can slow down communication speed.
    • Reduce the cable length to half of the CAT5/6 standard.
    • Place a self-powered hub in the cable run to reduce the individual cable length.
  • The control file structure may be disorganized. The control can slow down if you rapidly browse through a large number of files. Create more folders and place the files in those to reduce the number of files per folder.

Be aware: Many service and repair procedures should be done only by authorized personnel. The service technicians at your Haas Factory Outlet (HFO) have the training, experience, and are certified to do these tasks safely and correctly. You should not do machine repair or service procedures unless you are qualified and knowledgeable about the processes.

Danger: Some service procedures can be dangerous or life-threatening. DO NOT attempt a procedure that you do not completely understand. Contact your Haas Factory Outlet (HFO) and schedule a service technician visit if you have any doubts about doing a procedure.

Feedback