As per FRA rule and NS rule book.
Most engines now automatically activate the bell when you blow the horn .
But for examples ; road crossings , passing thru a tunnel , passing MoW workers , anytime on service tracks and inside service buildings when required and in certain restricted areas of customers we service.