This course is INACTIVE
Division
Industrial Technology - DNU
Department
Mfg Processes Prod Sys - DNU
Academic Level
Undergraduate
Course Subject
Manufacturing Productivity Sys
Course Number
147
Course Title
Basic Macro Programming for CNC
Credit Hours
1.50
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
MPS 145
Co-requisites
None
Catalog Course Description
This is an introductory course to 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. This course 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.*
Assessment and Requirements
Assessment of Academic Achievement
- LABS = 35%
- TESTS = 35%
- Final Exam = 30%
Effective Term
Fall 2014