If you intend to integrate with MachineMetrics by connecting ethernet cables to each of your machines, please review this article in detail before attempting your integration. If you plan to integrate your machines via a wireless or cellular network, please instead review the articles available for those specific network options. You can find all of our available network articles here.
This article provides detailed instructions for a successful MachineMetrics integration through a wired network, including an overview of the required hardware and the necessary prep work for your network and machines.
Preparing Your Network:
In order to properly prepare your network, please first ensure you have IT administrative access to your network settings. You will need the ability to change your network settings as well as ping your machines. For security best practices, it is recommended you use a dedicated switch for your machines, and that your wired machine network is separate from your internal corporate network. This can be accomplished with an unmanaged switch.
Someone within your organization who is familiar with your machine controls should provide the following information for each machine you wish to integrate into your network:
- Static IP Address
- Subnet Mask
- Default Gateway
- (if applicable), DNS Servers.
Make sure that your network's firewall has outbound access to
Outbound access should be over ports 443, 123, and 53.
Preparing Your Machines
In order to successfully connect to MachineMetrics through a wired network, you must first make sure that your machines are wired into your network. If your machines already have ethernet cables running from their ports to a dedicated switch, you can skip this section.
If your machines are not already wired, locate the ethernet port on each of the machines you intend to connect to MachineMetrics. Run either a Cat 5 or Cat 6a cable from those ports. Ethernet ports are typically located either within the HMI or the electrical cabinet of a machine. The exact location of ethernet ports can differ greatly between machine tool brand, make, and model.
If you cannot locate an ethernet port on your machine, you may need to source a PCMCIA-to-Ethernet Adapter Card from your machine’s vendor; this adapter will allow you to have an ethernet port for your integration.
Make certain there are static IP Addresses available for each machine that is to be connected.
Once you have ethernet cables running from your machines' ethernet ports, run the cables back towards your network cabinet or IT Room: wherever your network is stored. Plug the opposite ends of the cables into a switch. Again, it is highly recommended that you have a dedicated switch for your machines.
Your Machine Network Switch
For security best practices, it is recommended that you use a dedicated switch for your machines, and that your machine wired network is separate from your internal corporate network. This can be accomplished with an unmanaged switch.
When connecting your machines to your network, it is important to compare and contrast managed switches against unmanaged switches to determine which is more appropriate for your needs. Managed switches allow for complete control and tightly manage the flow of information across your network, while an unmanaged switch allows for more automated communication.
Managed switches are an excellent choice for users who need to have access to connection statuses, network error statistics, traffic throughput, and port statuses. However, a networking engineer or software administrator is usually needed to implement and take full advantage of a managed switch; in addition it is far more expensive and takes more time to set up compared to an unmanaged switch.
Unmanaged switches are generally more 'plug-and-play', and are relatively affordable. Many companies will have their primary network switch be a managed one, and have their secondary switches be unmanaged. MachineMetrics recommends you use a secondary, unmanaged switch for your machine networks, which is then run back into your primary network.
Once your machines have an ethernet connection to your network switch, it's time to connect the MachineMetrics Gateway device.
MachineMetrics Gateway Hardware
A single MachineMetrics IoT Gateway Device serves as a gateway between machines and the public internet when the machines are connected via ethernet. A single IoT Gateway can connect to up to 50 machines per network.
MachineMetrics Gateway Software
This device hosts our proprietary software which allows for machine data collection, buffering, and cloud migration. The MachineMetrics Gateway also runs an IoT device management service called Balena. This allows MachineMetrics to remotely keep Gateway devices up to date and monitor their status. A VPN is configured from the Gateway to balena (outbound only) that MachineMetrics manages in order to troubleshoot issues and send updates automatically. The operating system is a lightweight version of Linux.
Note: Mitsubishi M70(other than M700 that operate Citizen machines) and Heidenhain TNC640 controls require installation on a separate Windows PC that has access to the Machine’s control.
Connecting the MachineMetrics Gateway
Upon finalizing your contract with MachineMetrics, a Gateway Device was shipped to your location. Remove it from the box, and choose a location for the Gateway that is close to both your Machine Network Switch as well as your Primary Network Switch; you will need to run ethernet cables to both switches from the Gateway device. The Gateway should not be left in an unprotected environment, like the shop floor. Instead, the Gateway should be somewhere that it can have surge protection, and battery backup. Once you connect the Gateway to a power source, ensure that the power light is on.
On the bottom of the Gateway you will find its serial number. It’s important to write down or take a picture of this number; you will need this number once it is time to register and configure your Gateway.
Connect the Gateway into your company’s Primary Network Switch via ethernet using the outermost ethernet port (ETHERNET 2); once this is done, make sure the ethernet port light is on before proceeding.
Once you have connected the Gateway successfully to your Primary Network Switch, take your machine's Dedicated Network Switch and run an ethernet connection to the Gateway through the inner ethernet port (ETHERNET 1).
At this point the MachineMetrics Gateway should be acting as a bridge; connecting your Machine Network to your Primary Network.
Turn on the Gateway; the button with the MachineMetrics logo on it is the power button.
Gateway Registration and Configuration
Before your Gateway can connect your machines to MachineMetrics, you will need to register the Gateway to your company and configure its network settings.
To make this quick and easy for our clients, a mobile app is available on the Apple App Store and Google Play Store called “MachineMetrics Edge Setup”. It uses Bluetooth to recognize and configure devices when in close range. An authorized MachineMetrics Account Holder can configure the Edge Device using the mobile app.
The video below provides an overview on how to register and configure your Gateway Device through the MachineMetrics Mobile App.
Note: This video makes references to the 'MachineMetrics Edge Device.' The Edge Device is the same piece of hardware as the MachineMetrics Gateway. When an edge device is used to connect more than one machine, as in a wired network integration, it is referred to as the 'Gateway Device', since it is acting as a 'gateway' for those machines.
As a first step, you will need to download the MachineMetrics Edge Setup Application from the App Store. This requires an iOS device, such as an iPhone or an iPad. Android devices will be supported in the near future.
Download the MachineMetrics Mobile Application:
1.) The app can be found by typing “MachineMetrics” or “Edge Devices Setup” in the search field.
2.) Once you have located it, tap the ‘get button’ to download and install the application.
3.) Once the app has fully downloaded, click on the icon to open it.
4.) Login to the mobile application using your MachineMetrics credentials.
The Edge Device Setup app scans for Gateway devices using bluetooth, so be sure that bluetooth capabilities are turned on before scanning for devices.
Locate your Gateway Device:
1.) Tap "Start Scanning" to find any provisioned Gateway Devices in range.
2.) If the scan does not discover any device, double check that your Gateway Device is turned on. If the mobile app is still not locating your Gateway, please contact machinemetrics support.
3.) Once the app discovers any Gateway Devices within range, it will display the device’s serial number. The number displayed on the app is identical to the serial number printed on the underside of the Gateway Device.
4.) Tap the serial number on the screen to proceed with the configuration.
Gateway Device Registration
After selecting your Gateway Device, the next screen gives you the option to set the name of the edge device as it will display on the MachineMetrics Browser Application. We recommend that the name be set to the serial number printed on the underside of the device.
1.) Enter the name of your edge device as you would prefer it to be displayed.
2.) Tap on Choose a Company.
3.) Your company name will appear on the next screen.
4.) Click on your company name to complete your registration.
Once both the device’s name and company have been set, tap on “Continue.” The next screen will have options to configure using the two ethernet ports or the wireless settings.
Configuring Ethernet 1 via a Managed Network
MachineMetrics edge devices all ship with DHCP set as their default. 'DHCP' (Dynamic Host Configuration Protocol) is another term for a 'Managed' Network. If your Primary Network Switch is set to DHCP at your location, Ethernet 1 will automatically configure the moment it is connected.
If your IT department prefers that you use static IPs however, please follow the instructions below.
Configuring Ethernet 1 Manually
1.) Tap on Configure IP Manually
2.) Tap on IP Address and specify the desired static IP provided by your IT department.
3.) The onsite IP range, subnet mask, and router must be determined before attempting to configure any of the following settings. Your IT department will be able to provide you with this information.
4.) Once you’ve gathered this information, manually enter your subnet mask and router. The MAC address will already be filled in. The MAC Address is useful when communicating to the onsite IT department, it allows the network to identify the Gateway Device when it connects, and grants it access. Each port will have a unique MAC Address.
5.) Once completed, hit ‘apply’.
Once you have registered and configured your Gateway Device, you have concluded all of the necessary steps in preparing your wired network.
Now that MachineMetrics is able to connect to your network, you will need to set up each of your machines to be capable of communicating with MachineMetrics. This is accomplished by activating the data collection protocol available for each machine's control. You won't be able to successfully add a machine to your MachineMetrics account without first activating their respective data collection protocols.
If you are reading this article, you are likely doing so because your company qualified to manage network setup and machine integration in-house. Managing one's own integration is only available for companies whose machines are equipped with FANUC FOCAS or MTConnect available on their controls, or for Citizen-Cincom Machines with Mitsubishi Controls.
Click on the appropriate article listed below for detailed instructions on activating your machines. If you aren't certain which protocol applies to which machine, please reach out to your customer success manager for clarification.