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.
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.
Solved by seth.madore. Go to Solution.
Do you have "Optional Stop" turned on at the post dialog?
This is the code I get from that:
(DRILL3)
N16 T0909
N17 G54
N18 M88
N19 G98
N20 G97 S900 M3
N21 G0 X0. Z1.
N22 G0 Z0.125
N23 G83 X0. Z-2.3825 R0.125 Q0.8 F1.8
N24 G80
N25 Z1.
N26 M89
N27 G28 W0.
N28 G28 U0.
(PROFILE ROUGHING4 2)
N29 M1
Do you have "Optional Stop" turned on at the post dialog?
This is the code I get from that:
(DRILL3)
N16 T0909
N17 G54
N18 M88
N19 G98
N20 G97 S900 M3
N21 G0 X0. Z1.
N22 G0 Z0.125
N23 G83 X0. Z-2.3825 R0.125 Q0.8 F1.8
N24 G80
N25 Z1.
N26 M89
N27 G28 W0.
N28 G28 U0.
(PROFILE ROUGHING4 2)
N29 M1
Yes I have it turned on but I want it at the very end of each operation instead of the beginning of a operation before a tool change.
Yes I have it turned on but I want it at the very end of each operation instead of the beginning of a operation before a tool change.
We can agree that this is purely cosmetic right?
But see the attached post. Does that work like you want?
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
We can agree that this is purely cosmetic right?
But see the attached post. Does that work like you want?
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
Not gonna lie, I had to read that a few times... The end of an operation IS the beginning of the next 😉
It's a quick and simple fix. Do you have Visual Studio Code? Autodesk made an add-in that works slick as.....well, it's slick.
Not gonna lie, I had to read that a few times... The end of an operation IS the beginning of the next 😉
It's a quick and simple fix. Do you have Visual Studio Code? Autodesk made an add-in that works slick as.....well, it's slick.
No problem @seth.madore you did the better explanation. I did the better post-editing.
#Dreamteam?
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
No problem @seth.madore you did the better explanation. I did the better post-editing.
#Dreamteam?
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
I don't doubt for a bit! My post edits are more....hack and slash and a bit of "eh, it works"
I don't doubt for a bit! My post edits are more....hack and slash and a bit of "eh, it works"
This worked just fine. Thanks for all the help.
This worked just fine. Thanks for all the help.
Can't find what you're looking for? Ask the community or share your knowledge.