MTT-147: Basic Macro Programming for CNC

School
Business, Entrepreneurship, and Professional Development
Division
Adv Manufacturing/Fabrication
Department
Machine Tool
Academic Level
Undergraduate
Course Subject
Machine Tool Technology
Course Number
147
Course Title
Basic Macro Programming for CNC
Credit Hours
1.00
Instructor Contact Hours Per Semester
24.00 (for 15-week classes)
Student Contact Hours Per Semester
24.00 (for 15-week classes)
Grading Method
A-E
Pre-requisites
MTT-145
Catalog Course Description

Introduces macro programming as applied to CNC machine tools. Basic elements of this type of programming include defining a macro, defined variables vs. undefined variables, and the use and application of arithmetic, logical and Boolean operators. Includes both classroom and application-based activities in the CNC laboratory.

Goals, Topics, and Objectives

Core Course Topics
  1. Macros and Macro Variables
  2. Macro Lock Edit
  3. Variable Data Tables
  4. Entering Data via a Macro Statement
  5. Calling a Macro
  6. Control Statements
  7. Address Constant Substitution
  8. Programmable Messages
  9. Introduce a Programmable Message to the Above Program
  10. Arithmetic, Logical, Boolean Operators
  11. Programmable Timers
  12. System Overrides
  13. DPRNT Statements
  14. Program Structure
  15. Debugging a Macro
  16. Enter, Test, and Debug Macro
  17. Writing a Macro - Concept - Goals - Limits
  18. Flowcharting Macro - Flowcharting Symbols
  19. Prove Out Input Testing of Macro
  20. Variable Setting and Verification
  21. Macro Interrupt (non-Haas)
  22. Modal Macro Calls (non-Haas)
  23. Writing Macros for Other Controls
Core Course Learning Objectives (Separated)
  1. Identify a macro program and find the macro data table.
  2. Employ a macro program using G65 or an alias.
  3. Describe the difference among a local, common, global, and system variables.
  4. Apply passing variable macro arguments.
  5. Apply a control statement within a macro.
  6. Apply arithmetic, logical, and Boolean operators.
  7. Utilize system timers and programmable messages.
  8. Apply the DPRNT statement.
  9. Write and debug a macro program.*

Credit for Prior College-Level Learning

Options for Credit for Prior College-Level Learning
Other
Other Details

Student Interview and Portfolio Review

Effective Term
Summer 2014