Math Functions: Math functions perform mathematical calculations within macros. They include operations such as addition (+), subtraction (-), multiplication (*), division (/), and modulo (%). Math functions are used for numeric calculations, positioning, offsets, and any other arithmetic operations required within a macro.
G65: Macro Subprogram Call. Passes information onto the subprogram
Example:
G65 P9001 A1.0 B2.0
This line tells the machine to call macro program O9001 and pass the values A=1.0 and B=2.0 to it.
Read the following Chapters of the Peter Smid book, "FANUC CNC Custom Macros: Programming Resources for FANUC Custom Macro B users":
Chapter 8: Assigning Variables
After reading, do the following:
Analyze your understanding of the concepts discussed in the book's chapters and throughout this submodule
Identify your key takeaways from the chapters - what did you learn that you didn't know previously, how does what you learned affect your perspective going forward, etc.