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
Cross-Referenced Course
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
- Macros and Macro Variables
- Macro Lock Edit
- Variable Data Tables
- Entering Data via a Macro Statement
- Calling a Macro
- Control Statements
- Address Constant Substitution
- Programmable Messages
- Introduce a Programmable Message to the Above Program
- Arithmetic, Logical, Boolean Operators
- Programmable Timers
- System Overrides
- DPRNT Statements
- Program Structure
- Debugging a Macro
- Enter, Test, and Debug Macro
- Writing a Macro - Concept - Goals - Limits
- Flowcharting Macro - Flowcharting Symbols
- Prove Out Input Testing of Macro
- Variable Setting and Verification
- Macro Interrupt (non-Haas)
- Modal Macro Calls (non-Haas)
- Writing Macros for Other Controls
Core Course Learning Objectives (Separated)
- Identify a macro program and find the macro data table.
- Employ a macro program using G65 or an alias.
- Describe the difference among a local, common, global, and system variables.
- Apply passing variable macro arguments.
- Apply a control statement within a macro.
- Apply arithmetic, logical, and Boolean operators.
- Utilize system timers and programmable messages.
- Apply the DPRNT statement.
- Write and debug a macro program.*
Credit for Prior College-Level Learning
Other Details
Student Interview and Portfolio Review
Effective Term
Summer 2014