I am making basic post for fanuc.
i have issue with Spindle Speed setting in nx post builder.
N12 G98 G81 X-13.7795 Y-.3937 Z-.05 R.1 F10.
N17 G00 X12.7953 Y6.2205
N18 S1000 M03
N19 G98 G81 X12.7953 Y6.2205 Z-.05 R.1 F10.
N28 G00 X11.8898 Y4.9213
N29 S1000 M03
N30 G98 G81 X11.8898 Y4.9213 Z-.05 R.1 F10.
N32 X0.0 Y-4.4094
N34 X-11.8898 Y4.9213
N37 G00 X13.7795 Y-9.7638
N38 S0 M03
N39 G98 G81 X13.7795 Y-9.7638 Z-.05 R.1 F10.
is there any way to control if i have same rpm (in same operation only) then i dont want to repeat a line with Sxx M03 ??
Solved! Go to Solution.
there should be MOM force once .... of addresses in start of operation (or initial/first move), in custom command.
So even if S and M_spindle addresses are modal they will be outputed in every operation.
So remove S and M_spindle from line MOM force once ............
As I wrote it is in custom command and this custom command (dont know a specific name) is in some section - start of operation, initial/first move, ....etc
You have to find it.
Each postprocesssor has different logic so keep searching.
In particular, generic postprocessor has it here:
Because it is modal, if S is changing = output S....
M_spindle - is the same - you will get output only if there is a change - M3/M4
If you want output M_spindle if S is changing - you have to create custom command before it, or create condition command on your S M block.
It should has this logic:
IF previous S NOT EQUAL TO current S
MOM_force once M_spindle
i am new in post biulding
so can you help me to make custom command mean can you write for me so i can copy and paste if works..
thanks for helping...
so.... first of all watch these videos here:
Watch it carefully.
Videos in this series: