Introduction
Once your Edge Device has been installed and the signals connected to an I/O device, the signals must then be properly configured in MachineMetrics. This can be done right within the MachineMetrics web application itself. You will need an active MachineMetrics account. If you do not already have one, please request one from your MachineMetrics CSM. Visit this article for our Hardware Kit and Connection Schematics.
- If you are not already on the Machines List page: Click on the Machines drop down menu and select Machines List
- Select Add Machine
You will be taken to the form that is required to add a new machine. To learn more about the Add Machine Form, visit the Machine Setting article.
After you Add your Machine, you will be presented with the option to Connect your Machine. Select Connect Now to connect your Edge Device and Configure Data Collection.
Adding the Data Collection Method:
Within the Add Machine Form, in the Data Collection section, select from the “Digital IO” options as shown below:
Once you make a Digital I/O selection, you will have the option to Configure your adapter. Paste the YAML script that will configure each of the inputs. Instructions are as follows:
If you are using a LabJack T4, you will need to specify the IP address of the LabJack in the "What is the Connection Address?" field.
Regardless of if you are using a LabJack T4 (Ethernet Connected to Network) or LabJack U3 (USB connected to MM Edge), use the following configuration script (keep in mind the indentation is important, and if lines are not indented accordingly, the script will not save):
version: 2
variables:
exec-in:
- source: pin-0
- threshold: 2.5
parts-in:
- source: pin-1
- threshold: 2.5
- rising-edge
- count
data-items:
execution:
value:
ACTIVE: exec-in
READY: true
part_count:
value: parts-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.
Below is what the script will look like in the Machine form:
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.