M using fanuc turning post processor
i enabled optional stop still m not getting m01 command in output.
Also i need to add m05 and m09 at the end of every operation.
m using the exact post processor from hsm library.
Solved! Go to Solution.
Solved by boopathi.sivakumar. Go to Solution.
Solved by boopathi.sivakumar. Go to Solution.
Solved by boopathi.sivakumar. Go to Solution.
@Anonymous
optional stop will be only enabled if we you any tool change.
if you want to force the spindle stop, optional stop and start call for each toolpath then you might need to modify the post processor
go and find for this line
var insertToolCall = forceToolAndRetract || isFirstSection() ||
change it to like this
var insertToolCall = forceToolAndRetract || isFirstSection() || true ||
And find for this line and add the line mentioned
if (insertToolCall || newSpindle || newWorkOffset) {
// retract to safe plane
if (!isFirstSection() && insertToolCall) {
onCommand(COMMAND_STOP_SPINDLE); // <<<<<<< Add this line
onCommand(COMMAND_COOLANT_OFF);
}
Save and test the post carefully
Hey boopathi thankyou for your valuable time
it worked but m still having some issues with the output
m still getting g97 before spindle stop i dont want that anywhere in my program and m01 should be before g28
and why am i getting g28 u0 only why not w0
to avoid output the spindle speed
you can block these codes in the section end as mentioned
function onSectionEnd() {
// cancel SFM mode to preserve spindle speed
// if (tool.getSpindleMode() == SPINDLE_CONSTANT_SURFACE_SPEED) {
// startSpindle(false, true, getFramePosition(currentSection.getFinalPosition()));
// }
Calling G97 for the first move while using Constant surface speed is intentional
carefully test the post and let me know the feedback
thankyou it worked
the last two issue m facing is:-
@Anonymous
while post processing you can set the safe retract method to Both
and to output m05 in the last section you need to find this one
onImpliedCommand(COMMAND_STOP_SPINDLE);
Change it to
onCommand(COMMAND_STOP_SPINDLE);
Save the post and test it carefully
that worked for me thankyou!
m facing issues from the first solution my m01 command output is on the start of next operation
m getting g99 in canned cycle i dont want that to display
also i want my coolant to turn on after g96
m really sorry for asking too many questions as m a newbie to cam
%
O1001
N10 G21
N11 G50 S800
N12 G28 U0.
(FACE1)
N13 T0101
N14 M8
N15 G99
N16 G97 S466 M4
N17 G0 X80. Z0.
N18 G96 S117 M4
N19 G0 X60.
N20 G1 X50. F0.15
N21 X-1.6
N22 G0 X80.
N23 M5
N24 M9
N25 G28 U0.
(PROFILE ROUGHING1)
N26 M1
N27 T0101
N28 M8
N29 G99
N30 G97 S532 M4
N31 G0 X70. Z5.
N32 G96 S117 M4
N33 G0 Z0.6
N34 X51.2
N35 G71 U1.2 R1.
N36 G71 P37 Q45 U0.2 W0.1 F0.15
N37 G0 X14.075
N38 G1 Z0.
N39 G18 G3 X21.285 Z-2.598 K-3.8
N40 G1 X29.61 Z-15.085
N41 G3 X30. Z-16.287 I-3.605 K-1.202
N42 G1 Z-50.092
N43 G2 X30.464 Z-51.076 I2.2
N44 G1 X49.198 Z-69.809
N45 X49.343 Z-69.963
N46 G0 X70. Z0.6
N47 Z5.
N48 M5
N49 M9
N50 G28 U0.
(PROFILE FINISHING1)
N51 M1
N52 T0101
N53 M8
N54 G99
N55 G97 S532 M4
N56 G0 X70. Z5.
N57 G96 S117 M4
N58 G0 Z1.414
N59 X19.151
N60 G1 X11.247 F0.15
N61 X14.075 Z0.
N62 G18 G3 X21.285 Z-2.598 K-3.8
N63 G1 X29.61 Z-15.085
N64 G3 X30. Z-16.287 I-3.605 K-1.202
N65 G1 Z-50.092
N66 G2 X30.464 Z-51.076 I2.2
N67 G1 X49.198 Z-69.809
N68 X52.992 Z-70.441
N69 G0 X70.
N70 Z5.
N71 M9
N72 M5
N73 G28 U0. W0.
N74 M30
%
hey i figured out few things
just the m01 output at the start of next operation is bothering
idk if that matters
thanks man
you made my life easy.
hello sorry for the intrusion 🙂
is it possible to update the Okuma post with the directions I wrote below?
%
(1001.MIN)
G50 S1000
G0 X800.
G0 Z150.
(FACCIA1)
.N12.T121212 (you can add * N + tool number * as an example between the dots?)
M8
-->G95 (it is not needded)
-->G97 S241 M3 M41 (it is not needded)
G0 X330. Z3.
-->G50 S1000
-->G96 S250 M3 M41 (this double block is fine but should be placed on top instead of G95-G97)
G0 Z1.7
G1 X320. F0.2
X115.6 F0.35
X119.843 Z3.821 F0.2
G0 X330.
Z0.2
G1 X320. F0.2
X115.6 F0.35
X119.843 Z2.321 F0.2
G0 X330.
Z5
-->G97 S241 M3 M41 (it is not needded/can be deleted)
.
.
*other operation*
thanks
Can't find what you're looking for? Ask the community or share your knowledge.