nightsky84
Aluminum
- Joined
- Nov 26, 2019
I am running a Hyundai Kia SKT21 lathe with a Fanuc Oi-TC controller.
Everytime it gets to the M05 code in tool T0909 it stops and the spindle keeps spinning and it eventually alarms out with an AL15 Error something about it timing out I don't remember. The thing is the M05 code should stop the spindle it works up until this point. I have another program that is almost identical to this one that works just fine all the way through so I'm confused to why this one will not read the M05 code. Any suggestions? I have tried to just leave out the code for it to stop and let it run through the last 2 tools and then let it start over but it stops on the G50 code for the first tool when it gets to it. I have tried M2 instead of M5 and no luck there either. If I run just those 2 tools it works fine so I think it has to do with something beforehand, but I can't figure out what! Any help would be greatly appreciated!!
%
O0002
G00G20G40G97G99
/G00G28U0.
/G00G28W0.
/T0808
/G00Z.015
/G00X0.0
/M00
/G00Z1.0
G00G28U0.
G00G28W0.
T1111
G50S3500
G96S625M03
M08
G00Z0
G00X.600
G01X-0.025F0.006
G00Z.1X.36
G01X.5Z-.05F.006
G00X.625
M05
M09
G00G28U0.
G00G28W0.
T0505
G97S1500M03
M08
G00Z.5
G00X0.
G01Z0.050F0.050
G01Z-.55F0.005
G00Z1.0
M05
M09
G00G28U0.
G00G28W0.
T0606
G97S1500M03
M08
G00Z.5
G00X0.
G01Z0.050F0.050
G01Z-.115F0.005
G00Z1.0
M05
M09
G00G28U0.
G00G28W0.
T0404
M66
G97S300M03
M08
G00Z.5
G00X0.
G84G99X0.Z-.5F.05R.5
G80
M05
M09
G00G28U0.
G00G28W0.
T0303
G00Z.5
G00X0.0
G98
G01Z-.45F25.
M69
G01W1.5F50.
M68
G00Z3.
G00G28U0.
G00G28W0.
G00G20G40G97G99
T0909
G50S3500
G96S620M04
M08
G00Z.12
G00X.6
G01X.5F0.012
G01X.43Z.06
G00X1.
M05
M09
G00G28U0.
G00G28W0.
T0101
G50S3500
G96S430M04
M08
G00Z.13
G00X.650
G01X0.525F0.010
G01X0.250F.003
G01X0.200
G01X-0.025F.002
G00X5.0
M05
M09
G00G28U0.
G00G28W0.
/M30
M12
M99
%
Everytime it gets to the M05 code in tool T0909 it stops and the spindle keeps spinning and it eventually alarms out with an AL15 Error something about it timing out I don't remember. The thing is the M05 code should stop the spindle it works up until this point. I have another program that is almost identical to this one that works just fine all the way through so I'm confused to why this one will not read the M05 code. Any suggestions? I have tried to just leave out the code for it to stop and let it run through the last 2 tools and then let it start over but it stops on the G50 code for the first tool when it gets to it. I have tried M2 instead of M5 and no luck there either. If I run just those 2 tools it works fine so I think it has to do with something beforehand, but I can't figure out what! Any help would be greatly appreciated!!
%
O0002
G00G20G40G97G99
/G00G28U0.
/G00G28W0.
/T0808
/G00Z.015
/G00X0.0
/M00
/G00Z1.0
G00G28U0.
G00G28W0.
T1111
G50S3500
G96S625M03
M08
G00Z0
G00X.600
G01X-0.025F0.006
G00Z.1X.36
G01X.5Z-.05F.006
G00X.625
M05
M09
G00G28U0.
G00G28W0.
T0505
G97S1500M03
M08
G00Z.5
G00X0.
G01Z0.050F0.050
G01Z-.55F0.005
G00Z1.0
M05
M09
G00G28U0.
G00G28W0.
T0606
G97S1500M03
M08
G00Z.5
G00X0.
G01Z0.050F0.050
G01Z-.115F0.005
G00Z1.0
M05
M09
G00G28U0.
G00G28W0.
T0404
M66
G97S300M03
M08
G00Z.5
G00X0.
G84G99X0.Z-.5F.05R.5
G80
M05
M09
G00G28U0.
G00G28W0.
T0303
G00Z.5
G00X0.0
G98
G01Z-.45F25.
M69
G01W1.5F50.
M68
G00Z3.
G00G28U0.
G00G28W0.
G00G20G40G97G99
T0909
G50S3500
G96S620M04
M08
G00Z.12
G00X.6
G01X.5F0.012
G01X.43Z.06
G00X1.
M05
M09
G00G28U0.
G00G28W0.
T0101
G50S3500
G96S430M04
M08
G00Z.13
G00X.650
G01X0.525F0.010
G01X0.250F.003
G01X0.200
G01X-0.025F.002
G00X5.0
M05
M09
G00G28U0.
G00G28W0.
/M30
M12
M99
%