Haas NGC: Difference between revisions

From Knowledge Base
(Created page with "==Part counting== OnTakt reads M30 counter #1. {{#ev:youtube|lhFVuxLl__A|description=Video by Haas Automation, Inc.}} ===Counting with M99=== 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: #Go to the SETTING page. #Enter 118 on the number pad and press the down arrow to jump to setting #118, "M99 BUMPS M30 CNTRS". #Change the value to ON to en...")
 
No edit summary
Line 18: Line 18:


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.
[[Category:OnTakt User Guide]]

Revision as of 16:42, 21 May 2024

Part counting

OnTakt reads M30 counter #1.

Video by Haas Automation, Inc.

Counting with M99

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. Go to the SETTING page.
  2. Enter 118 on the number pad and press the down arrow 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.

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.