Hi
I am meddling with a post for an 4 axis Maho 800C, and have a little issue figuring out how to output an feed-rate for the rotary table.
Code:
# Tool change
if prv_t$ <= mach, n$,"M5", e$
n$, psg00, [ if prv_t$ > mach | t$ > mach, "Z100" ] , "M5", e$
n$, t$, [ if t$ > mach, "M66", else, "M6" ], ss$*, e$
n$, *b$, fr$,e$
if coolant$ <> 0, n$, smcool,e$
prv_x$ = xh$
prv_y$ = yh$
fr$ is the tool feed rate, so that is not a good way to do it,
Generated code:
%PM9000
N9000 ( T )
N10 G17 T1 M6
N20 G52
N30 B0. F300.
N40 G81 Y35. Z59. F300. S3000 M3
N50 G79 X0. Y103. Z35.
N60 M5
N70 G0 M5
N80 T8 M6
N90 B0. F120.
N100 M8
N110 G83 Y35. Z-35. K25.5 F120. S850 M3
N120 G79 X0. Y103. Z35.
N130 M5
N140 G0 M5
N150 T12 M6
N160 B0. F40.
N170 M8
N180 G83 Y35. Z-35. K66. F40. S250 M3
N190 G79 X0. Y103. Z35.
N200 M5
N210 G0 M5
N220 T1 M6
N230 B90. F300.
N240 M8
N250 G81 Y65. Z59. F300. S3000 M3
N260 G79 X-13. Y130.988 Z65.
N270 M5
N280 G0 M5
N290 T10 M6
N300 B90. F100.
N310 M8
N320 G83 Y65. Z-34. K31.2 F100. S650 M3
N330 G79 X-13. Y130.988 Z65.
N340 M9
N350 M5
N360 T0 M6
N370 G74 Y1
N380 G74 X1
N390 B0 F300
N400 M30
The two last drill cycles is on another plane:-) I got it working, sort of... still need the feedrate:-)
any suggestions?
I hobe to get the substitute axis working at some point also:-)
The post is attached.
Cheers, Daniel