This article provides a step-by-step guide to collect data from your OPC-UA enabled machine.
Configurations for collecting data from your OPC-UA enabled Machine
- Understand your server’s location on your network and how/if it can be reached by outside sources.
- Identify the endpoint URL and port information that provides access to browse the OPC-UA server (ex. opc.tcp://10.10.10.10:56000). Be sure that this can be changed, as you’ll want this endpoint address to have an IP address that is on the same subnet as your machine network/Edge Device.
- Browse your server using the tools provided by the manufacturer, or alternatively, we recommend UA-Expert or open-source opcua-commander command-line tool (note: this requires node.js to be installed on your system), which can be used to browse any OPC-UA server reachable from your computer.
a) You’ll need to browse for tag (nodeID) information that you want to monitor in MachineMetrics. Use this template to record necessary information regarding the tags and their details.
b) The tags chosen should provide necessary information about the machine’s state and actions. These include execution (whether the machine is running or not), part count, emergency stops, speed and feed rates, axis positions, etc.
version: 2
tags:
machine-state: #<---- This is a naming mechinism for configuration
path: ns=2;s=MachineStates #<---- This is the NodeID
active-exec:
path: ns=2;s=MachineStates.ProcessActive
part-count:
path: ns=2;s=MachineInfo.PartCount
- Match these tags with MachineMetrics data-items that will be mapped to its diagnostics, as shown below.
version: 2
tags:
machine-state:
path: ns=2;s=MachineStates
active-exec:
path: ns=2;s=MachineStates.ProcessActive
part-count:
path: ns=2;s=MachineInfo.PartCount
data-items:
pmode: #<---- This delineates the diagnostic item in MachineMetrics
value: machine-state #<---- This should be equal to the naming mechinism from the tag section
execution:
value:
ACTIVE: active-exec
READY: true
part_count:
value: part-count
- Add these tags to the Machine's adapter script through the Machine Settings form for the individual machine as shown below.
Please note, you will need to add the Machine to your company in MachineMetrics before you can configure the data collection method. Learn more about adding Machines and accessing and updating your Machine Settings in this Knowledge Base article.
- After you successfully add your adapter script to your Machine in the Machine Settings form and complete the review and connect process, you will receive this notification that your Machine is connected successfully and reporting data.
Need more help?
If you have trouble connecting, reach out to your Customer Success Manager, or contact support@machinemetrics.com.
Comments
0 comments
Please sign in to leave a comment.