u/BigStation3180

▲ 0 r/CNC

I'm getting PS 5421 ILLEGAL COMMAND IN G43.4/G43.5 in O0999 which had an operation before the concerned block. However I posted the selected operation separately in O0998 and I worked just fine. I'm unable to figure out what the problem is as the codes are similar.

O0999

.....

X-1.6742 Y-1.3325 Z-2.5841
X-1.6757 Y-1.3358 Z-2.5359
G00 Z2.
G05.1 Q0
G49
M09
M05
M528 T1
G91 G28 Z0.
G28 X0. Y0.
M39
M11
G28 A0. C0.
M01
N2
(OPERATION NO - 5)
(OPERATION TYPE - ROUGHING 5AX)
T2 M06(0.1875 BULL ENDMILL)
M07
G54 G17 G90
G00 A-80.323 C114.598
G68.2 X0. Y0. Z0. I114.598 J279.677 K0.
G53.1
X.0006 Y.8295
G69
G94
G05.1 Q1
G43.4 H2
X-1.514 Y-.6925 Z-.5576 S4074 M03 T7
X-.8921 Y-.4078 Z-.6742
S2139
G01 X-.7969 Y-.3642 Z-.6921 F15.
S4074

......

O0998

N1
(OPERATION NO - 5)
(OPERATION TYPE - ROUGHING 5AX)
T2 M06(0.1875 BULL ENDMILL)
M07
G54 G17 G90
G00 A-80.323 C114.598
G68.2 X0. Y0. Z0. I114.598 J279.677 K0.
G53.1
X.0006 Y.8295
G69
G94
G05.1 Q1
G43.4 H2
X-1.514 Y-.6925 Z-.5576 S4074 M03
X-.8921 Y-.4078 Z-.6742
S2139
G01 X-.7969 Y-.3642 Z-.6921 F15.
S4074

......

reddit.com
u/BigStation3180 — 1 day ago

Is there a setting that can be changed to post spindle direction(M03) after every speed(S####) command?

The direction command is only output on the start of the toolpathz(for eg S#### M03), if there's a speed change mid operation mastercam just outputs (S####). How can I have S#### M03 everytime.

reddit.com
u/BigStation3180 — 2 days ago

Fanuc 31i b5 5 axis machine- PS5421 illegal command in G43.4/G43.5 Error

Hi I'm using mastercam for similar kind of 5 axis tool path however the machine is erroring out on g43.4 line. Is it a post issue?

T2 M06(0.1875 BULL ENDMILL)
M07
G54 G17 G90
G00 A-80.323 C114.598
G68.2 X0. Y0. Z0. I114.598 J279.677 K0.
G53.1
X.0006 Y.8295
G69
G43.4 H2
X-1.514 Y-.6925 Z-.5576 S4074 M03
G94
G05 P10000
X-.8921 Y-.4078 Z-.6742
S2139

I have highlighted the line of the error. Is this a post processor issue? how can I make this work?

reddit.com
u/BigStation3180 — 2 days ago
▲ 1 r/CNC

Fanuc 31i b5 5 axis machine- PS5421 illegal command in G43.4/G43.5 Error

T2 M06

M07

G54 G17 G90

G00 A-80.323 C114.598

G68.2 X0. Y0. Z0. I114.598 J279.677 K0.

G53.1

X.0006 Y.8295

G69

G43.4 H2

X-1.514 Y-.6925 Z-.5576 S4074 M03 T7

G94

G05 P10000

X-.8921 Y-.5000

I have highlighted the line of the error. Is this a post processor issue? how can I make this work?

reddit.com
u/BigStation3180 — 2 days ago

I'm trying to create an engraving toolpath using curve 5 axis, curve type is selected as surface edge, tool axis control is surface and tip control is on projected curve. It is able to generate valid tool path for most of the letters however for some letters such as T it is not generating correct toolpath. how can I fix it. I have tried using 3D curve as curve type and it didn't work as well.

u/BigStation3180 — 8 days ago