I'm not sure what the rules are on the railroad frequencies, but on some non-railroad bands, the FCC requires transmitting stations to identify themselves, and Morse code has traditionally been an accepted way to do that identification. It may be that defect detectors that are old enough to...