MPS-147: Basic Macro Programming for CNC

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
  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)
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
  1. LABS = 35%
  2. TESTS = 35%
  3. Final Exam = 30%
Effective Term
Fall 2014