BB 1.4 update - Unable to stop spindle rotation unless pressing Estop

Hello All,

When I hit the stop button in the controller it doesn’t stop the spindle. Are any of you experiencing this?

A little background:

  • I just upgraded to a spindle (80mm 220 from PwnCNC)
  • I just upgraded to 1.4 (from 1.09, yes I know…)

Since I now have control of the spindle I assumed stop would stop everything read in a post from last year (with no responses) that stop may only stop movement not spindle rotation. If this is the case, Estop (in the GUI, not the physical button) worked to stop the movement and the second press allowed to restart.

A little more context. I was running a spindle warm up program that I grabbed from PwnCNC and it has no movement of the OF only spindle rotation. So this may be the reason it feels like a bug. I’ll test it with other programs when I’m ready to start cutting.

Here’s the program:
M3; spindle rotate CW
S6000; speed 6k rpm
g4 p600000; pause 10 minutes (10x 60,000 milliseconds)
S12000
g4 p420000; pause 7 minutes
S18000
g4 p180000; pause 3 minutes
M5; spindle stop

So I’m checking to see if this is an issue or a new quirk of my new setup.

Hope all is well,
_Mike

Hey Mike,

the G-code that the Buildbotics Controller uses…

where with G4 (Dwell), P is measured in seconds, not in milliseconds. That means your code lets the spindle pause for one and a half month.

Stop does not work during the execution of a command, so stop would work in one and a half month :slight_smile:

Better try this one:

Buildbotics’ software-based estopped mode stops any stepper motors, pwm spindles and routers connected via a relay on pin 15 (‘tool-enable’), and spindles on VFDs attached to RS-485 serial communications Modbus interface on pins 13 and 14.

Software-based estopped mode is available either on the red/yellow icon on the top right corner of the User Interface Display, or by attaching a button to pin 23 on the 25-pin I/O port. It is NOT triggered with the mushroom-shaped button on top of the CNC controller case.

2 Likes

@Aiph5u thank you for your reply! And for the new file.

Does P60 = 60 seconds?

So if I want to follow their recommendations for speed (6000 rpm, 12000 rpm, and 18000 rpm) and time (10 min, 7 min, and 3min) would these be correct

S6000 M3
G4 P600; (10 minutes)
S12000
G4 P420; (7 minutes)
S18000
G4 P180; (3 minutes)
S0
M5
M2

If so I’ll modify their break in program as well since the P values are just as high.

Thanks again!
_Mike

@Aiph5u I wrote a short version and confirmed timing. I’ll update the two programs I have. Thank you!

_Mike

2 Likes

Hey Mike,

it is P[seconds] in the official NIST RS-274/NGC standard. The NIST EMC (Enhanced Machine Controller) later evolved to LinuxCNC, and the Buildbotics took their g-code dialect as model. But the…

See also

1 Like