You have no items in your shopping cart.

Fanuc CNC Custom Macros: Programming Resources for Fanuc Custom Macro B Users

Fanuc CNC Custom Macros: Programming Resources for Fanuc Custom Macro B Users

Peter Smid


Looking for the eBook version? Click here.



Fanuc CNC Custom Macros: Programming Resources for Fanuc Custom Macro B Users is an invaluable companion to the author’s best selling CNC Programming Handbook. These programming resources provide a general introduction to the subject of macros (known as Custom Macros or User Macros). Users learn what macros are, how to develop them, and how to use them effectively. Fanuc CNC Custom Macros also explores important related subjects and identifies several other helpful topics in this increasingly important and exciting field of CNC programming.



  • Offers many practical do’s and don’ts while covering all the popular Fanuc control systems
  • Provides the basis for exploring in great depth the extremely wide and rich 
    field of macro programming tools
  • Well-illustrated in the Smid style, numerous examples and sample programs throughout serve as practical applications of the techniques presented and as the basis of ready-to-run macro programs.
  • This book originally came with with a CD containing sample files mentioned in the text. Those without a CD-ROM drive or purchasers of more recent printings of this title can download a zip file containing these downloads by clicking here.

Peter Smid is a professional consultant, educator and speaker, with many years of practical, hands-on experience, in the industrial and educational fields. During his career, he has gathered an extensive experience with CNC and CAD/CAM applications on all levels. He consults to manufacturing industry and educational institutions on practical use of Computerized Numerical Control technology, part programming, Autocad®, Mastercam® and other CAD/CAM software, as well as advanced machining, tooling, setup, and many other related fields. His comprehensive industrial background in CNC programming, machining and company-oriented training has assisted several hundred companies to benefit from his wide-ranging knowledge.

Mr. Smid’s long time association with advanced manufacturing companies and CNC machinery vendors, as well as his affiliation with a number of Community and Technical College industrial technology programs and machine shop skills training, have enabled him to broaden his professional and consulting skills in the areas of CNC and CAD/CAM training, computer applications and needs analysis, software evaluation, system benchmarking, programming, hardware selection, software customizing, and operations management.


Over the years, Mr. Smid has developed and delivered hundreds of customized educational programs to thousands of instructors and students at colleges and universities across United States, Canada and Europe, as well as to a large number of manufacturing companies and private sector organizations and individuals. He has actively participated in many industrial trade shows, conferences, workshops and various seminars, including submission of papers, delivering presentations and a number of speaking engagements to professional organizations. He is also the author of articles and many in-house publications on the subject of CNC and CAD/CAM. For six years he had a monthly column in the ShopTalk Magazine related to CNC programming. During his many years as a highly respected professional in the CNC industrial and educational field, he has developed tens of thousands of pages of high quality training materials.

The author welcomes comments, suggestions and other input from educators, students and industrial users. You may contact him at



Fanuc CNC Custom Macros: Programming Resources for Fanuc Custom Macro B Users

Click here to view a complete 10-page Table of Contents in PDF format for this best-selling book.


The following is an abbreviated Table of Contents for Fanuc CNC Customer Macros. A comprehensive 10-page Table of Contents (PDF) is located here.

  • Fanuc Macros
  • Basic Program Codes
  • Review of Subprograms
  • System Parameters
  • Data Setting
  • Macro Structure
  • Concept of Variables
  • Assigning Variables
  • Macro Functions
  • System Variables
  • Tool Offset Variables
  • Modal Data
  • Branches and Loops
  • Alarms and Timers
  • Axis Position Data
  • Auto Mode Operations
  • Editing Macros
  • Parametric Programming
  • Family of Similar Parts
  • Macros for Machining
  • Custom Cycles
  • External Output
  • Probing with Macros
  • Additional Resources
  • Macro Course Outline
  • Index
  • What's on the CD?