OnTakt: Processes: Difference between revisions

From Knowledge Base
(Created page with "Processes allow you to connect machines and programs to tools and inventory tracking. A process is the combination of a machine, a set of program from that machine, a set of tool assemblies that are used for the process, and settings that define the behavior of OnTakt while that process is running. == Creating a process == *Go to the Processes page *Click Create Process *Enter a name for the new process and click Create. == Adding programs to a process == *Right-click...")
 
No edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Processes allow you to connect machines and programs to tools and inventory tracking. A process is the combination of a machine, a set of program from that machine, a set of tool assemblies that are used for the process, and settings that define the behavior of OnTakt while that process is running.
Part of the [[OnTakt User Guide]].
 
== What is a process? ==
<onlyinclude>
 
A process is the combination of a machine, a set of programs from that machine, a set of tool assemblies that are used for the process, and settings that define the behavior of OnTakt while that process is running.
 
</onlyinclude>
 
<html>
<div style="position: relative; padding-bottom: 64.86486486486486%; height: 0;"><iframe src="https://www.loom.com/embed/f3f9240223304447ae969ccbe3340dc0?sid=9d99e115-b336-4a78-b09b-089490938df8" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>
</html>


== Creating a process ==
== Creating a process ==
Line 10: Line 21:
*Choose the process to add the program to from the Processes menu
*Choose the process to add the program to from the Processes menu
*Click Save Changes
*Click Save Changes
== Adding tools to a process ==
Tools must be added to a [[OnTakt: Tools#Tool Assemblies|Tool Assembly]], which can then be added to a process. Generally, there will be one tool assembly for each tool location in a machine, and it will contain all of the tracked components of that tool.
To add existing tool assemblies to a process:
# Go to the Tools page.
# Click the Tool Assemblies button at the top.
# Select the tool assemblies to add to the process.
# Select the new process from the sidebar that opens, or choose "(Remove from process)".
# Click Move.
To create new tools in assemblies and add them to the process in bulk, see [[Importing OnTakt Tools]].


== Aggregating data ==
== Aggregating data ==
Line 19: Line 43:
To use this mode, set the part count variable option of the program in OnTakt to the number of the variable on the control that you will be writing to.
To use this mode, set the part count variable option of the program in OnTakt to the number of the variable on the control that you will be writing to.


'''A note about common variables on FANUC controls:''' only variables #500 through #549 are read by OnTakt. Attempting to use a variable outside that range for part counting or value reporting will not work. This is because these are the only common variables that persist across machine restarts on FANUC Series 30i/31i/32i, 0i-D/F, and PMi-A controls.
For control-specific information, see the following pages:
 
* [[Okuma OSP#Part counting|Okuma OSP]]
* [[FANUC#Part counting|FANUC]]
* [[Haas NGC#Part counting|Haas NGC]]
* [[Siemens SINUMERIK#Part counting|Siemens SINUMERIK]]
 
'''A note about common variables on FANUC controls:''' only variables #500 through #549 are read by OnTakt Proxy versions older than 2.4.1. Attempting to use a variable outside that range for part counting or value reporting will not work. Upgrading to OnTakt Proxy 2.4.1 or newer will remove this limitation.
 
<html>
<div style="position: relative; padding-bottom: 64.86486486486486%; height: 0;"><iframe src="https://www.loom.com/embed/279d4c20cd7f44f0a0410dab197f9e8c?sid=0a5016f9-c041-46c7-88d8-cee59b5aeba0" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>
</html>


== Variables ==
== Variables ==
Line 36: Line 71:


If a machine does not report a named variable when the part is created, a warning will appear on the dashboard until it shows up for a future part.
If a machine does not report a named variable when the part is created, a warning will appear on the dashboard until it shows up for a future part.
<html>
<div style="position: relative; padding-bottom: 64.86486486486486%; height: 0;"><iframe src="https://www.loom.com/embed/d13c6d6b1b424923b59a6a1fc8044d9b?sid=28c69d03-51c8-4f5c-bbf6-0a7e19c58698" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>
</html>


=== Serial numbers ===
=== Serial numbers ===
Line 41: Line 80:


'''Example use case:''' When running parts from bar stock of a known length, a common variable can count the number of parts made from the current bar. When it is a couple parts away from the number of parts you know you can make from one bar, send a notification to prepare to replace it soon instead of waiting for a machine alarm to reduce downtime.
'''Example use case:''' When running parts from bar stock of a known length, a common variable can count the number of parts made from the current bar. When it is a couple parts away from the number of parts you know you can make from one bar, send a notification to prepare to replace it soon instead of waiting for a machine alarm to reduce downtime.
== Cycle time ==
<html>
<div style="position: relative; padding-bottom: 64.90384615384616%; height: 0;"><iframe src="https://www.loom.com/embed/48d627303e044c05b1dace764c6f813c?sid=b512861f-93f3-4dc3-a8e2-beb4506f3b7f" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>
</html>
[[Category:OnTakt User Guide]]
{{DEFAULTSORT:Processes}}

Latest revision as of 15:38, 2 July 2024

Part of the OnTakt User Guide.

What is a process?

A process is the combination of a machine, a set of programs from that machine, a set of tool assemblies that are used for the process, and settings that define the behavior of OnTakt while that process is running.


Creating a process

  • Go to the Processes page
  • Click Create Process
  • Enter a name for the new process and click Create.

Adding programs to a process

  • Right-click the program in the list and click Edit
  • Choose the process to add the program to from the Processes menu
  • Click Save Changes

Adding tools to a process

Tools must be added to a Tool Assembly, which can then be added to a process. Generally, there will be one tool assembly for each tool location in a machine, and it will contain all of the tracked components of that tool.

To add existing tool assemblies to a process:

  1. Go to the Tools page.
  2. Click the Tool Assemblies button at the top.
  3. Select the tool assemblies to add to the process.
  4. Select the new process from the sidebar that opens, or choose "(Remove from process)".
  5. Click Move.

To create new tools in assemblies and add them to the process in bulk, see Importing OnTakt Tools.

Aggregating data

To view all the parts produced by a process on any given day, click the group's name in the list of program groups in the Groups section of the Programs page. This chart can then be navigated like an individual machine chart. Note that goals and events are not shown because they can vary between machines.

Part counting

Some looping programs do not enter a completed state, so they can't increment the part count reported by the control. In these cases, it is possible for OnTakt to read the part count from a common variable (also known as a macro variable) that the program can increment each time it loops, producing an accurate part count in OnTakt.

To use this mode, set the part count variable option of the program in OnTakt to the number of the variable on the control that you will be writing to.

For control-specific information, see the following pages:

A note about common variables on FANUC controls: only variables #500 through #549 are read by OnTakt Proxy versions older than 2.4.1. Attempting to use a variable outside that range for part counting or value reporting will not work. Upgrading to OnTakt Proxy 2.4.1 or newer will remove this limitation.

Variables

OnTakt can read the values of common variables (also called macro variables) from the machine control when it saves a part and add these values to the part record. You can also set up notifications to be alerted as soon as the machine reports a variable that is above, below, or at a threshold you set.

Because the indices of these variable may change between programs, OnTakt allows you to assign names to variable numbers on a per-program basis. This process is called variable mapping:

  1. Go to the Programs page
  2. Right-click on the program you want to assign variables for
  3. Click Edit
  4. To add a variable mapping, click Add Row in the "Variable mapping" section of the program editor
  5. In the text fields that appear, enter the name of the variable and the index that this program uses to store it. When entering the name, all of the names that are already used appear as suggestions. This allows you to click one and use it so that names can be consistent between users and programs.
  6. For notifications, choose a comparison and a threshold. For example, to be notified when a variable is greater than 5, choose ">" for the comparison and enter 5 for the threshold. To turn off notifications, choose "Never" for the comparison (and the threshold will be saved, but ignored).
  7. Add as many mappings as you need. You can remove a mapping by clicking Delete Row in the row of the mapping you want to remove.
  8. When you are done, click Save

The next time a cycle running this program completes, the part record will contain the values of these variables under the names you specified. To view this information, you can open the part editor from a machine chart page, or go to the Parts page, right-click on the part, and then click Edit.

If a machine does not report a named variable when the part is created, a warning will appear on the dashboard until it shows up for a future part.

Serial numbers

OnTakt has a special mapped variable name for serial numbers. If you enter SERIAL as the data name, OnTakt will treat this variable as containing the serial number of the part. This will appear as a suggested name even if you have not used it before.

Example use case: When running parts from bar stock of a known length, a common variable can count the number of parts made from the current bar. When it is a couple parts away from the number of parts you know you can make from one bar, send a notification to prepare to replace it soon instead of waiting for a machine alarm to reduce downtime.

Cycle time