Hello.
I have a Doosan DNM400 with a Fanuc oi-M Model D control.
Just put a rotary indexer on (A axis). Having some issues with it running correctly.
Sample Code:
%
O0246
N5 G00 G17 G20 G40 G80 G90
N10 G91 G28 Z0.
N15 T1 M06
N30 M08
N35 G00 G90 G54 A0. X.109 Y-.5917 S4000 M03
N40 G43 H1 Z1.
N45 G94
N50 G98 G81 Z-.635 R-.2 F1.
N55 G80
N60 G91 G28 Z0.
N62 G91 G28 X0. Y0. A0.
N65 G00 G90 G54 A120. X.109 Y-.5917
N70 G43 H1 Z1.
N75 G98 G81 Z-.635 R-.2 F1.
N80 G80

When the program reached line N60 it went to Z home position then gave a PS0224 Zero Return Not Finished alarm. I added line N62 and then it went to all axis home positions and sat there for a minute (spindle running) then on to next move (line N65. It was supposed to rotate to A120. but went to A280.800 Is there a parameter setting for the A axis I need to change for this to work correctly? I don't understand why I need to send it to machine reference position for it to even run without alarming out? When I run 3 axis programs, it runs fine without all the reference return moves. Thanks for any and all help.