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
- 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
- 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
Student Interview and Portfolio Review