A pipe ram is a ram used to seal the annular space between the pipe string and the wellbore. Each set of rams can seal only around pipe of the size it matches; common sizes include 60, 73, 89, 114, 127, 140, 177.8, and 244.5 mm. Before casing is run, the rams must be changed out for rams matching the casing size.
Pipe rams can keep a well shut in for a long time; while the well is shut in on them, the drill string should not be moved up or down, and it must certainly not be rotated, otherwise the ram rubber is liable to wash out and leak. As to the sequence relative to the annular BOP, one hard shut-in procedure for tripping drill pipe closes the annular first and the rams afterward. The pipe rams fit only the drill pipe size, so they cannot be used when drill collars are at the ram position, and a kick while tripping drill collars can at first be controlled only with the annular BOP. If the flow is not strong and time allows, a joint of drill pipe fitted with an inside blowout prevention tool should be quickly made up, so that drill pipe rather than collars is at the rams and the pipe rams can serve as a second means of shutting in the well; how much drill pipe has to be made up depends on the height of the rams. If the flow is strong and there is no time for this, the well is shut in directly with the annular BOP. For other rams, such as blind rams and shear rams, see ram BOP.