Some machines may require additional hardware in order for MachineMetrics to successfully collect data. This largely depends on the age and brand of the equipment, and their compliance with existing standards for data collection (Such as MTConnect, or FANUC FOCAS.)
Article Topics
This article contains the following topics:
- When Does MachineMetrics Recommend an I/O for Data Collection?
- How To Determine if Your Machine Requires an I/O for Data Collection
- I/O Installation
- Installing an I/O Module to an Edge Device
- Networking the I/O Module
- Connecting Your Signals
- Adding an I/0-enabled Machine to Your Account
When Does MachineMetrics Recommend I/O for Data Collection?
When data cannot be collected from a PLC through any native or add-on software adapters, a manual integration with digital input/output devices and sensors is required. Typically, most necessary hardware can be purchased directly from MachineMetrics, and will be factored into any quote upon review of your equipment.
How to Determine if Your Machine Requires an I/O for Data Collection
The easiest way to determine whether or not your machine will require a digital I/O integration is through consultation with your Customer Success Manager. If you can provide them with the make and model of your Machine and its accompanying PLC, they will be able to determine the preferred method for machine connectivity.
If you aren't a MachineMetrics customer but have questions about your machine's capabilities regarding data collection, please contact sales@machinemetrics.com.
I/O Installation
MachineMetrics can be configured to read data from machines using digital outputs from machines. If data is not available directly from the PLC, or if additional sensor data is requested, then the MachineMetrics I/O module will be required for installation.
The two necessary outputs for MachineMetrics Production are in-cycle and part count. Many more input options are available, such as spindle (or any other motor) power, scrap/bad parts, or any other machine condition you would like to monitor with either a sensor or discrete output from the machine.
We gather this information into our software using The MachineMetrics I/O module. This device is available in standalone Ethernet and USB models. The standalone Ethernet module can be used if you are connecting your machine to a hard-wired network. The USB version is meant to be used with our MachineMetrics Edge Device at each machine, enabling Wifi.
Powering the Device
How to connect the I/O device to a power source will depend on whether you are installing an I/O via USB or via Ethernet
USB (Labjack U3)
Plug the USB cable into any USB port on the edge device that has been previously activated. If the edge device has not been configure, follow the instruction in whichever article applies to your network connection:
Installing an I/O Module to an Edge Device
The below video takes you through installing a LabJack U3 to an Edge Device within a machine's electrical cabinet.
Ethernet (Labjack T4)
- The first step will be to configure the network on the T4. Important! The T4 is equipped with a Labjack as well as a USB plug. Note that the USB plug is for power and configuration only.
- Plug the USB into any USB power source that provides over 2 watts of charging capacity. A 24v machine power to USB power supply is available from MachineMetrics.
- To install this power supply connect the negative terminal to a 0V terminal on the machine and the positive terminal to a +24V terminal. Important! Be sure you are using 0V and 24V from the same power supply if your machine has multiple 24v rails. If you are unsure about what terminals to use, you may want to call your machine service resource. If your machine has no 24V power available you can purchase a 110v to 24v power supply from any industrial supplier or from MachineMetrics.
Networking the Device
USB (Labjack U3)
MachineMetrics will communicate with the device over USB; no further networking is needed.
If Ethernet (Labjack T4)
Plug an ethernet cable into the port on the device. Important! Note that the USB plug is for power and configuration only.
Connecting your signals
Our I/O device can accept 0-24V wet signals, dry signals, or any voltage or amperage scaled output from a sensor or PLC. At a minimum, you will need a signal that represents that the machine is active. This is required for machine utilization. To track production, you will also need a signal that indicates that the machine has completed a cycle.
For digital outputs that are greater than 5V, you must connect the signals to the analog pins. The configuration script will convert the signals to digital using software.
For the purposes of this tutorial, and to keep implementations consistent, please use the following Pin configuration:
- For In-Cycle use Pin AIN0
- For Part Cycle use Pin AIN1
Wet Connections
A wet signal is a DC signal coming straight from the device or component you want to monitor. In most cases, this is a 12-24V signal that turns on when the device is on. If you are connecting a wet signal to the I/O device (not to exceed 24V DC) use the AIN terminals.
Dry Connections
A dry connection is a switch that is opening and closing, usually on a relay. The VS terminal on the I/O device provides 5V that can be switched by a relay. Connect VS to either a normally open (NO) or normally closed (NC) terminal of the relay. The COIL terminals on your relay will be connected to the load or signal to be monitored.
Important Note On Connecting Signals
If your signals are coming from circuits on the machine that may have different power supplies or voltages, you want to make sure to protect the machine from voltages back-feeding across circuits or power rails. In these cases be sure to add a relay to protect the machine and I/O device.
Adding an I/0-enabled Machine to Your Account
Once the device has been installed and the signals connected to the I/O device, the signals must be properly configured in MachineMetrics. This can be done right within the web app. You will need an active MachineMetrics account. If you do not already have one, please request one from your MachineMetrics CSM.
- Go to app.machinemetrics.com/settings/machines
- Click the Add Machine Button at the bottom of the list.
The next form is required to add a new machine.
Name - The name you wish to call this device
Category - The type of machine
Benchmarking (optional)
Make - The machine make
Model - The machine model
Model Year - The machine model year
Serial Number - The machine serial number
Edge Device - Choose the Edge device that you have activated for this machine
Adding the Data Source
Integration Type - Select “Digital IO”
Edge Device - Select the edge device that you previously activated for this machine.
Address - Type in “USB” if this is a USB device, or the IP Address if it's an Ethernet device.
Config - This is the YAML script that will configure each of the inputs. Instructions as follows:
Paste in the following configuration for the Labjack U3 (USB connected to MM Edge).
device: labjack-u3
input:
digital:
exec-in:
pin: 0
v-threshold: 3
counter:
part-in:
pin: 1
v-threshold: 3
trigger-edge: rising
data-items:
execution:
value:
ACTIVE: exec-in
READY: true
part_count:
value: part-in
This code tells our system that Pin 0 is execution (InCycle) and Pin 1 is part count (end of Cycle). You can also see that there are values to change the threshold voltage (the voltage needed to trigger the state) that can be adjusted in case there is noise in the signal. If you have a noisy signal, filters can also be added to the signal. Speak to a MachineMetrics support agent for more advanced configurations.
Note, For the Labjack T4 (Ethernet connected to Network), change the device to “labjack-t4” and add the “host” field with the devices' IP Address.
device: labjack-t4
host: 10.0.0.4
input:
digital:
exec-in:
pin: 0
v-threshold: 3
counter:
part-in:
pin: 1
v-threshold: 3
trigger-edge: rising
data-items:
execution:
value:
ACTIVE: exec-in
READY: true
part_count:
value: part-in
Once this is complete, save the form. It will take up to 5 minutes before the machine starts reporting.
If you have any questions, please reach out to us at support@machinemetrics.com or by phone at +1.413.341.5747x120.
Comments
0 comments
Please sign in to leave a comment.