Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

COMBINE ROTARY HELP

Hello,

 

I use this cool thing but I have two questions abut this commands:

 

1. Is there possibility to avoid splitting bigger rotations to strange numbers?

(full circle with rotating A)

24 L A+0 FMAX 
.
34 L Y+3.721 Z+24.195
35 L Y+2.538 Z+23.669
36 L Y+1.288 Z+23.335
37 L Y+0 Z+23.2
*38 L A-177.062 why these values?
*39 L A-353.974
40 L A-360
41 L Y-1.288 Z+23.335 FQ107
42 L Y-2.538 Z+23.669
.

2. Is there any sense to have some extra values outputed?

Drilling 4 holes/ by 90deg:

19 L A+0 FMAX 
20 L X+30 Y+0 R0 FMAX M3
21 L Z+350 FMAX
22 L X+30 Y+0 R0 FMAX
23 CYCL CALL
24 L Z+350 A+1.5 FMAX ??
25 L A+90 FMAX
26 L X+30 Y+0 R0 FMAX
27 CYCL CALL
28 L Z+350 A+91.5 FMAX ??
29 L A+180 FMAX
30 L X+30 Y+0 R0 FMAX
31 CYCL CALL
32 L Z+350 A+181.5 FMAX ??
33 L A+270 FMAX
34 L X+30 Y+0 R0 FMAX
35 CYCL CALL
36 L Z+590 FMAX M92
37 L X+900 Y+601 FMAX M92
38 M30

 

Thank you for your help or explanations

 

jb

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #
7 REPLIES

Re: COMBINE ROTARY HELP

Hi Juraj

If you shared your post and sample part we can help you understand why you are getting the results.

Regards

Paul

Re: COMBINE ROTARY HELP

Hi,
To avoid extra values in rotations, use the procedures from custom library of Postbuilder.
See them in pb_cmd_combine_rotary.tcl.

Re: COMBINE ROTARY HELP

[ Edited ]

@Paul_Hartrick

see attachment

in drill there is some extra A:

%
.
N0040 G00 G90 X5. Y0.0 A0.0 S0 M03
N0050 G43 Z35. H00
N0060 G81 X5. Y0.0 Z8.599 R15.5 F250.
N0070 G80
N0080 G00 A-4.737 ***
N0090 A-90.
N0100 G81 X5. Y0.0 Z8.599 R15.5
.

milling looks better:

N0040 G00 G90 X0.0 Y1.44 A-180. S0 M03
.
N0080 Y.569 Z12.637
N0090 Y0.0 Z12.5
N0100 A0.0
N0110 A180.
N0120 Y-.569 Z12.637
N0130 Y-1.043 Z12.981

in other postprocessors it is worse, I dont know n what it depends

@FROBI

this behaviour is with combine rotary

 

thanks

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: COMBINE ROTARY HELP

See your toolpath and the cycle with extra move GOTO (why???):

toolpath.jpg

So you have

G00 A-4.737

As for milling, the lines are good, according the logic of the procedure PB_CMD__combine_rotary_check. The rotary combination is limited by 180 degrees there. So you have A-180, A0, A180.
If you want to move from -180 to 180 at once, modify this logic.

Re: COMBINE ROTARY HELP

[ Edited ]

try test the same operations, or just variable contour,  by this another PP in attachment

there is no 180 deg logic :

N0040 A-180.
N0050 G00 G90 X0.0 Y1.44 S0 M03
N0060 G43 Z14.058 H00
N0070 G01 Y1.348 Z13.48 F250. M08
N0080 Y1.043 Z12.981
N0090 Y.569 Z12.637
N0100 Y0.0 Z12.5
N0110 A-355.5
N0120 A-531.
N0130 A-540.
N0140 Y-.569 Z12.637
N0150 Y-1.043 Z12.981
N0160 Y-1.348 Z13.48
N0170 Y-1.44 Z14.058
N0180 M02
%

 

 

 

I dont understand this you wrote, in drilling:

goto 5,0,12.5 caused this:

G00 A-4.737

?

Could you please clearify it better to me?

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #
Solution
Solution
Accepted by topic author Juraj
‎04-20-2017 10:28 AM

Re: COMBINE ROTARY HELP

Have you looked into the source of the the procedure PB_CMD__combine_rotary_check?
There is the flag mom_sys_skip_move here with values YES or NO. The extra moves are added when it is NO.
The conditions of skipping depend on comparizon of mom_prev_pos and mom_pos.

After your cycle of drilling: Zprevious=12.5 is not equal Zcurrent=35., so flag of skipping is NO, and then output G0 A-4.737. For milling another condition works here, comparing current angle with last_4th_output.

Re: COMBINE ROTARY HELP

Nice, thank you! I dont realized there is Z in the cycle in variables Smiley Happy

 

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Learn online





Solution Information