I'm relatively new to 5 axis just to get that out of the way. The machine is a Variaxis 3+2(not simultaneous) with a fusion 640m control. I'm trying to understand how to set my Z for g54.2p_. We bought this machine and no one in my shop knows anything about 5 axis anything. I have the main program set up as a mazatrol program and each of my cam programs set up as their own units. My WPC is set using G56. If i just run the program as G56 solely it makes a move in Z that looks like its going to cut correctly, but then Z retracts and i hit my Z soft limit. It leads me to believe it has something to do with fixture offset. So then if i try to us g54.2p_ , it will index A and C correctly but then alarms out with a 959 alarm "0 Point Mismatch". Which the manual states that my WPC does not match my center of rotation. Im pretty lost at this point and could really use some help. I'm including some of the program for reference.

O4016 (5/8" BALL SEMI FIN +12 DEG)
(BILLET INJECTOR BODY LH)


G00 G17 G40 G80 G90 G94 G98
(MACHINE SETUP - 1-5/8" BALL SEMI FIN +12 DEG-ADVANCED PLANAR)
(TOOL #0.625 5/8" 3 FLUTE BALL 5 AXIS)
T14 M06
C90.
A12.
G00 G54.2P2 G90 X4.9871 Y2.0801
S8500 M03
G43 H14 Z9. M08
Z13.8539
X-4.9871 Y-2.0801
Z11.9008
Z11.8008
G94 G01 Z11.7008 F35.7