CNC Controllers

FANUC CNC Post Processor Development

FANUC is the most common CNC controller in the world. But "FANUC" covers many series, options and machine-builder customisations, so one FANUC post rarely fits every FANUC machine.

Why FANUC posts vary

  • Different series: 0i-F, 0i-F Plus, 30i/31i/32i-B and older models.
  • Different options: TCP, tilted plane, AI contour control, macro B, extended offsets.
  • Machine-builder M-codes and ladder customisations.
  • Parameter settings such as decimal point input and arc behaviour.

FANUC features a post should use

FeatureCode
Tool length compensationG43 H.. / cancel G49
Tool centre point controlG43.4 (type 1) / G43.5 (type 2, vectors)
Tilted working planeG68.2 + G53.1 / cancel G69
AI contour control (look-ahead)G05.1 Q1 / G05.1 Q0
Extended work offsetsG54.1 P1–P48 (more with option)
Programmable offsetsG10 L2 (work), G10 L10/L11 (tool)
Subprograms / macrosM98 P.., M99, G65 P..
Inverse time feedG93 / G94

Example: 3+2 on a FANUC 5-axis

T5 M06
G90 G54.1 P2
G68.2 X0. Y0. Z0. I0. J-45. K0.
G53.1
G00 X20. Y15.
G43 H05 Z50. S6000 M03
G05.1 Q1
(... 3-axis toolpath ...)
G05.1 Q0
G49
G69

Macro B and probing

FANUC Custom Macro B allows variables (#100, #500), logic and calls (G65). Posts use it for probing cycles, tool life checks and parametric subprograms.

FANUC lathes

Lathe controls use different G-code systems (A, B or C), diameter programming and turning cycles such as G71, G70 and G76. The post must know which G-code system the machine uses.

Always ask: which FANUC, which options, and what does the machine builder add?

FANUC post development

See our CNC post processor development service and G43, G43.4 and TCP explained.

EM
ENGIMANDI CNC Team

We develop, customise and commission CNC post processors for Fusion, NX CAM, Mastercam, SolidCAM and other CAM systems.