Post Processor Engineering

How Post Processors Handle Mill-Turn Synchronisation

When two channels cut the same part, timing is everything. Synchronisation in the post makes sure each channel waits for the other at exactly the right moment.

Two kinds of synchronisation

TypePurposeExamples
Program (channel) syncChannels wait for each other at sync pointsNumbered wait M-codes (FANUC multi-path), WAITM (SINUMERIK)
Spindle syncMain and sub-spindle rotate together for transfere.g. G114.1 on some FANUC lathes, COUPON on SINUMERIK

Exact codes and whether they are available depend on the controller model, options and machine builder.

From CAM sync points to NC

  1. The programmer assigns operations to channels and adds sync points in CAM.
  2. The post writes one program per channel.
  3. At each sync point, the post outputs the matching wait code in every involved channel.
  4. Wait numbers are unique and increase through the program.

Example: SINUMERIK two-channel wait

; CHANNEL 1                ; CHANNEL 2
G0 X60 Z2                   G0 X80 Z-50
WAITM(1,1,2)                WAITM(1,1,2)
G1 Z-30 F0.2                G1 X40 F0.1
WAITM(2,1,2)                WAITM(2,1,2)

Pitfalls the post must avoid

  • Deadlock: one channel waits for a code the other never reaches.
  • Mismatched numbering: wait codes out of order between channels.
  • Collisions: channels allowed to move into the same zone at the same time.
  • Transfer timing: cut-off before the sub-spindle has clamped.

Verification

Multi-channel simulation with the real machine model is the only reliable way to check timing and interference before cutting.

In multi-channel machining, a missing wait code is a collision waiting to happen.

Mill-turn synchronisation

See our CNC post processor development service and multi-turret posts.

EM
ENGIMANDI CNC Team

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