Haas NGC: Difference between revisions

From Knowledge Base
No edit summary
No edit summary
 
Line 5: Line 5:
OnTakt reads M30 counter #1.
OnTakt reads M30 counter #1.


{{#ev:youtube|lhFVuxLl__A|description=Video by Haas Automation, Inc.}}
<youtube description="Video by Haas Automation, Inc.">lhFVuxLl__A</youtube>


===Counting with M99===
===Counting with M99===
Line 11: Line 11:
By default, Haas controls only count parts when a program calls M30, but they can be configured to also count parts when a program calls M99 using the following procedure:
By default, Haas controls only count parts when a program calls M30, but they can be configured to also count parts when a program calls M99 using the following procedure:


#Press the SETTING button.
# Press the SETTING button.
#Type 118 on the keypad and then press [[File:Haas F1.png]] to jump to setting #118, "M99 Bumps M30 Cntrs".
#Type 118 on the keypad and then press [[File:Haas F1.png]] to jump to setting #118, "M99 Bumps M30 Cntrs".
#Change the value to '''On''' to enable counting with M99 or '''Off''' to only count with M30. To change the value:
#Change the value to '''On''' to enable counting with M99 or '''Off''' to only count with M30. To change the value:
##Highlight the row.
##Highlight the row.
##Press [[File:Haas RIGHT.png]] to open the dropdown.
## Press [[File:Haas RIGHT.png]] to open the dropdown.
##Use [[File:Haas UP.png]] or [[File:Haas DOWN.png]] to change the selection.
##Use [[File:Haas UP.png]] or [[File:Haas DOWN.png]] to change the selection.
##Press [[File:Haas ENTER.png]] to apply it.
## Press [[File:Haas ENTER.png]] to apply it.


===Manually setting the part counter===
===Manually setting the part counter===
Line 25: Line 25:
MDI input or part programs can manually adjust the part count by writing to macro variables #3901 (M30 counter #1) and #3902 (M30 counter #2). It is possible to set a specific value (<code>#3901=42</code>) or increment the value (<code>#3901=#3901+1</code>). This is useful for programs that do not call M30 or M99.
MDI input or part programs can manually adjust the part count by writing to macro variables #3901 (M30 counter #1) and #3902 (M30 counter #2). It is possible to set a specific value (<code>#3901=42</code>) or increment the value (<code>#3901=#3901+1</code>). This is useful for programs that do not call M30 or M99.


=== Counting with a macro variable ===
===Counting with a macro variable===
Instead of using the built-in part counters, OnTakt can also read a macro variable and interpret it as a part counter. This way, the part program can increment the part counter by incrementing a macro variable. For example, the statement <code>#500=#500+1</code> increments macro variable number 500.
Instead of using the built-in part counters, OnTakt can also read a macro variable and interpret it as a part counter. This way, the part program can increment the part counter by incrementing a macro variable. For example, the statement <code>#500=#500+1</code> increments macro variable number 500.


== Machine data collection ==
==Machine data collection==
Machines with Haas NGC support two MDC (machine data collection) protocols: MTConnect and Q Commands.
Machines with Haas NGC support two MDC (machine data collection) protocols: MTConnect and Q Commands.


Line 35: Line 35:
For more details on the differences, see OnTakt's [[OnTakt Machine Setup#Supported features|supported machine features]] matrix.
For more details on the differences, see OnTakt's [[OnTakt Machine Setup#Supported features|supported machine features]] matrix.


=== MTConnect ===
===MTConnect===
MTConnect is always enabled at port 8082 on Haas NGCs.
MTConnect is always enabled at port 8082 on Haas NGCs.


For more information, see [https://www.haascnc.com/service/troubleshooting-and-how-to/how-to/machine-data-collection---ngc.html#MT-Connect Haas's documentation].
For more information, see [https://www.haascnc.com/service/troubleshooting-and-how-to/how-to/machine-data-collection---ngc.html#MT-Connect Haas's documentation].


==== Control software version ====
====Control software version ====
[[File:Haas control software version.png|thumb|This control will not offer full MTConnect functionality.]]
[[File:Haas control software version.png|thumb|This control will not offer full MTConnect functionality.]]
Controls with software versions before '''100.20.000.1200''' will not report alarms or variables.
Controls with software versions before '''100.20.000.1200''' will not report alarms or variables.
Line 46: Line 46:
To check your control's software version:
To check your control's software version:


# Press the DIAGNOSTIC button.
#Press the DIAGNOSTIC button.
# Starting from the Diagnostics/Gauges tab, press [[File:Haas DOWN.png]] and then [[File:Haas RIGHT.png]] on the arrow pad to select the Diagnostics/System tab.
#Starting from the Diagnostics/Gauges tab, press [[File:Haas DOWN.png]] and then [[File:Haas RIGHT.png]] on the arrow pad to select the Diagnostics/System tab.
# The version number is displayed in the "Versions" section as "Release".
#The version number is displayed in the "Versions" section as "Release".


=== Q Commands ===
===Q Commands===
[[File:Haas setting 143.png|thumb]]
[[File:Haas setting 143.png|thumb]]
Before use, Q Commands must be enabled in the control settings by performing the following steps:
Before use, Q Commands must be enabled in the control settings by performing the following steps:


# Press the SETTING button.
#Press the SETTING button.
# Type 143 on the keypad and then press [[File:Haas F1.png]] to jump to setting #143, "Machine Data Collect".
# Type 143 on the keypad and then press [[File:Haas F1.png]] to jump to setting #143, "Machine Data Collect".
# Change the value to a valid port number (we suggest 5051) by typing it and then pressing [[File:Haas ENTER.png]].
#Change the value to a valid port number (we suggest 5051) by typing it and then pressing [[File:Haas ENTER.png]].


For more information, see [https://www.haascnc.com/service/troubleshooting-and-how-to/how-to/machine-data-collection---ngc.html#MDC---Ethernet-Q-Commands Haas's documentation].
For more information, see [https://www.haascnc.com/service/troubleshooting-and-how-to/how-to/machine-data-collection---ngc.html#MDC---Ethernet-Q-Commands Haas's documentation].
==== Active tool reporting ====
====Active tool reporting ====
Haas NGC does not report the active tool number via MTConnect, so OnTakt can read it using Q Commands each time it reads data from a machine configured with MTConnect. This requires OnTakt proxy version 2.7.8 or newer.
Haas NGC does not report the active tool number via MTConnect, so OnTakt can read it using Q Commands each time it reads data from a machine configured with MTConnect. This requires OnTakt proxy version 2.7.8 or newer.


To enable this behavior, first enable Q Commands on the control using the steps above, then enter the selected port into the machine settings in OnTakt. If a control using MTConnect does not have Q Commands enabled, leave the Q Commands port setting empty in OnTakt so it doesn't attempt to connect.
To enable this behavior, first enable Q Commands on the control using the steps above, then enter the selected port into the machine settings in OnTakt. If a control using MTConnect does not have Q Commands enabled, leave the Q Commands port setting empty in OnTakt so it doesn't attempt to connect.
[[Category:OnTakt User Guide]]
[[Category:OnTakt User Guide]]

Latest revision as of 13:05, 31 May 2024

This page provides information about Haas's Next Generation Control.

Part counting

OnTakt reads M30 counter #1.

Video by Haas Automation, Inc.

Counting with M99

Haas setting 118.png

By default, Haas controls only count parts when a program calls M30, but they can be configured to also count parts when a program calls M99 using the following procedure:

  1. Press the SETTING button.
  2. Type 118 on the keypad and then press Haas F1.png to jump to setting #118, "M99 Bumps M30 Cntrs".
  3. Change the value to On to enable counting with M99 or Off to only count with M30. To change the value:
    1. Highlight the row.
    2. Press Haas RIGHT.png to open the dropdown.
    3. Use Haas UP.png or Haas DOWN.png to change the selection.
    4. Press Haas ENTER.png to apply it.

Manually setting the part counter

Requires parameter 22 (ENABLE MACRO) to be available on the control.

MDI input or part programs can manually adjust the part count by writing to macro variables #3901 (M30 counter #1) and #3902 (M30 counter #2). It is possible to set a specific value (#3901=42) or increment the value (#3901=#3901+1). This is useful for programs that do not call M30 or M99.

Counting with a macro variable

Instead of using the built-in part counters, OnTakt can also read a macro variable and interpret it as a part counter. This way, the part program can increment the part counter by incrementing a macro variable. For example, the statement #500=#500+1 increments macro variable number 500.

Machine data collection

Machines with Haas NGC support two MDC (machine data collection) protocols: MTConnect and Q Commands.

MTConnect is the preferred communication method because it provides the emergency stop state, alarms, and variables, while Q Commands do not. However, Q Commands use a lower-level protocol that is more likely to be available on older controls.

For more details on the differences, see OnTakt's supported machine features matrix.

MTConnect

MTConnect is always enabled at port 8082 on Haas NGCs.

For more information, see Haas's documentation.

Control software version

This control will not offer full MTConnect functionality.

Controls with software versions before 100.20.000.1200 will not report alarms or variables.

To check your control's software version:

  1. Press the DIAGNOSTIC button.
  2. Starting from the Diagnostics/Gauges tab, press Haas DOWN.png and then Haas RIGHT.png on the arrow pad to select the Diagnostics/System tab.
  3. The version number is displayed in the "Versions" section as "Release".

Q Commands

Haas setting 143.png

Before use, Q Commands must be enabled in the control settings by performing the following steps:

  1. Press the SETTING button.
  2. Type 143 on the keypad and then press Haas F1.png to jump to setting #143, "Machine Data Collect".
  3. Change the value to a valid port number (we suggest 5051) by typing it and then pressing Haas ENTER.png.

For more information, see Haas's documentation.

Active tool reporting

Haas NGC does not report the active tool number via MTConnect, so OnTakt can read it using Q Commands each time it reads data from a machine configured with MTConnect. This requires OnTakt proxy version 2.7.8 or newer.

To enable this behavior, first enable Q Commands on the control using the steps above, then enter the selected port into the machine settings in OnTakt. If a control using MTConnect does not have Q Commands enabled, leave the Q Commands port setting empty in OnTakt so it doesn't attempt to connect.