Telephone - 01926 438363

Fanuc Custom Macro B – Milling

Course duration is 2 days

To ensure a positive learning experience course size is limited to 6 attendees.

Cost of course is £600.00 + VAT per attendee.

Call the Academy for availability or complete the form below

Course information

CNC Programming with the use of Fanuc Custom Macro B, enables you to design and implement powerful, advanced CNC macro programming techniques that result in unparalleled accuracy, repeatability, and enhanced productivity (ideal for a family of parts). The course begins with step-by-step instructions and then gradually proceeds in complexity.

Programming examples will follow Fanuc's Custom Macro B language, and by the end of the course, you will be able to develop highly-efficient programs that exploit the full potential of your CNC machining centres.

Applicants must already be well versed in Fanuc or Similar Programming and a good understanding of Mathematics would be advisable.

  • Specific course content includes:
  • M98~M99 Sub Program Call & Use
  • Macro call statements G65, G66 & G67
  • Variables, Local, Common & System Variables
  • Tool Offsets, Work Offsets, Alarm Generation
  • Clock Timers, Modal & Positional information
  • Arithmetic and Trigonometric Functions
  • Definition, Addition, Subtraction, Multiplication, Division
  • Sine, Co-Sine, Tangent, Arctangent, Square-root, Absolute Values
  • Conversion BCN to BIN, & BIN to BCN
  • Discard Fractions, Raising Up Fractions (Rounding Off), Combination of Arithmetic calculations, Modification of Arithmetic sequences
  • Control Commands & Branching
  • Conditional expressions, Conditional & Unconditional Diversions, Iteration
  • Making your own canned cycles using G Codes, M Codes & T Codes
  • System Alarms & Parameters related to the Use of Custom Macro Alarms
  • Output of Data through RS232
  • Using Dprint , Bprint statements

This course is run at the Mills Mills CNC Training Academy's facility in Leamington or can be held at a customer's facility. (Charges will be different to above).

This course is theoretical and classroom-based using Touch Screen Computers with Fanuc Control Simulation Software. Time can also be spent  training on a Fanuc-controlled machine depending on availability.

If training is required at a customer's facility, it is important that attendees have a room with a projector & whiteboard available & unrestricted access to a Fanuc-controlled machine if required.

To find out more about this course call the Mills Mills CNC Training Academy on 01926 438363.

Safety shoes and other P.P.E. Equipment is not required.

Custom Macro courses run at the Mills Mills CNC Training Academy last for 2 days:

  • Day 1: Start: 9.30am - Finish: 5.00pm
  • Day 2: Start: 9.00am - Finish: 4.00pm


Machine availability will be decided on the day.

Light lunch and soft drinks are provided. For special dietary requirements please contact the Mills Mills CNC Training Academy on 01926 438363 or email

Do you have a question about this course?

Where to find us

Mills CNC Limited
The Mills CNC Technology Campus,
Tachbrook Link,
Tachbrook Park Drive
Leamington Spa, Warwickshire, CV34 6SN

©2022 Mills CNC Training Academy | Privacy | Terms and Conditions | Contact Us