- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am currently using generic turning Fanuc post. I would like to change it so when it does a M01 optional stop it does it at the end of the operation after the G28 U0 W0, not at the beginning (like below). I have tried changing location of M01, but I can only make it stop posting the M01 when I comment it out the
if (!isFirstSection() && properties.optionalStop) { onCommand(COMMAND_OPTIONAL_STOP);
So how can I go about doing this?
How it is currently posting:
N1
(TURNING FACE)
T0101
G54
M8
G98
G97 S4000 M3
G0 X3.1496 Z0.
G0 Z0.0557
Z0.
M9
G28 U0. W0.
N2
(TURNING SINGLE GROOVE)
M1
T0202
G54
M8
G98
G97 S2000 M3
G0 X3.1496 Z0.
X3.1496
G0 Z0.
M9
G28 U0. W0.
M30
%
What I want it to look like:
N1
(TURNING FACE)
T0101
G54
M8
G98
G97 S4000 M3
G0 X3.1496 Z0.
G0 Z0.0557
Z0.
M9
G28 U0. W0.
M01
N2
(TURNING SINGLE GROOVE)
T0202
G54
M8
G98
G97 S2000 M3
G0 X3.1496 Z0.
X3.1496
G0 Z0.
M9
G28 U0. W0.
M30
%
Solved! Go to Solution.