CNC Machine programs often store important information in macro variables, sometimes referred to as common variables. The part count macro can be a useful method of incrementing the MachineMetrics part counter. There are thousands of registers for these variables, and MachineMetrics can extract these variables from our connector. To do so requires a configuration in the connector using the "macro" setting. To add this data item, edit the machine and select "Data Collection".
Edit the data collection method.
Enter the following into the configuration where the macro variable is register 510.
{ "macros": { "variable_name": 510 } }
Now go into data mapping and select the new data item. Map that data item to the proper type. In this example, we'll see Part Count as the Type, and Target subtype.
Now the data item will be mapped and you can use this information to trigger workflows, classify downtime, or for a dashboard display.
If you have any questions, feel free to reach out to our Technical Services Team at support@machinemetrics.com
Comments
0 comments
Please sign in to leave a comment.