tas99
04-15-2013, 10:08 PM
Does anyone have an idea what may be causing this problem?
I’m using Aspire to generate the tool pats to cut a piece using the indexer; something I’ve done a number of times before with other cutting files. The attached picture shows what happened right after the program started to run. The bit took a rapid Y and Z move down and into the piece while it began rotating –breaking the bit - then rapidly withdrew and cut ok until the end. Even though the bit was broken I let the program run to the end to see if there were any more unexpected movements.
I was able to isolate the problem line of code – see below – and when I commented it out the program ran just fine, start to finish. This was not a noise spike or an errant signal because I can duplicate the problem every time. The code sure looks ok to me and it’s followed by a move command to the same coordinates on the next line so I felt ok in not running the problem line of code.
I’ve attached the entire program if it might help but I have the section with the problem code below.
As a note, my indexer is on the “B” axis.
Any help would be appreciated.
Tom
'3D Roughing 1-4 EM
'File created: Monday, April 15, 2013 - 09:24 AM
'For ShopBot Control: SB3 Alpha from Vectric
'
'UNITS:Inches
'
'Set router RPM to 12000
PAUSE
'
'
'Turning router ON
SO,1,1
PAUSE,2
'
VD,,5
&Diameter=5.1780
&FeedRate=3.0
&RotationalFeedRate=&Feedrate/(&Diameter*3.14159/360)
MS,3.0,1.0
VS,,,,&RotationalFeedRate
JZ,4.0000
J5,,0.0000,,,0.0000
J5,,0.8124,2.7890,,360.0000 ******** BAD LINE OFCODE
M5,,0.8124,2.3890,,360.0000
M5,,0.8124,2.3890,,0.0000
M5,,0.9124,2.3890,,0.0000
M5,,0.9124,2.3890,,360.0000
M5,,1.0124,2.3890,,360.0000
M5,,1.0124,2.3890,,0.0000
M5,,1.1124,2.3890,,0.0000
M5,,1.1124,2.3890,,360.0000
I’m using Aspire to generate the tool pats to cut a piece using the indexer; something I’ve done a number of times before with other cutting files. The attached picture shows what happened right after the program started to run. The bit took a rapid Y and Z move down and into the piece while it began rotating –breaking the bit - then rapidly withdrew and cut ok until the end. Even though the bit was broken I let the program run to the end to see if there were any more unexpected movements.
I was able to isolate the problem line of code – see below – and when I commented it out the program ran just fine, start to finish. This was not a noise spike or an errant signal because I can duplicate the problem every time. The code sure looks ok to me and it’s followed by a move command to the same coordinates on the next line so I felt ok in not running the problem line of code.
I’ve attached the entire program if it might help but I have the section with the problem code below.
As a note, my indexer is on the “B” axis.
Any help would be appreciated.
Tom
'3D Roughing 1-4 EM
'File created: Monday, April 15, 2013 - 09:24 AM
'For ShopBot Control: SB3 Alpha from Vectric
'
'UNITS:Inches
'
'Set router RPM to 12000
PAUSE
'
'
'Turning router ON
SO,1,1
PAUSE,2
'
VD,,5
&Diameter=5.1780
&FeedRate=3.0
&RotationalFeedRate=&Feedrate/(&Diameter*3.14159/360)
MS,3.0,1.0
VS,,,,&RotationalFeedRate
JZ,4.0000
J5,,0.0000,,,0.0000
J5,,0.8124,2.7890,,360.0000 ******** BAD LINE OFCODE
M5,,0.8124,2.3890,,360.0000
M5,,0.8124,2.3890,,0.0000
M5,,0.9124,2.3890,,0.0000
M5,,0.9124,2.3890,,360.0000
M5,,1.0124,2.3890,,360.0000
M5,,1.0124,2.3890,,0.0000
M5,,1.1124,2.3890,,0.0000
M5,,1.1124,2.3890,,360.0000