The rule
Carbonated drink machines pump carbon dioxide gas into water, and the gas can push back toward the supply. They need an air gap or a vented backflow preventer built to ASSE 1022: two independent check valves with a vent to atmosphere.
The pipe on the dispenser side of that preventer has to be a material that carbon dioxide doesn't damage. The code puts that on the installer.
Non-carbonated machines like ice makers and coffee machines have a lower hazard. They take an air gap or a dual check backflow preventer that meets ASSE 1032 or ASSE 1024.
On the job
- Check the specific machine. Soda systems usually come with the backflow preventer packaged with the gas supply connection, and the spec sheet says what to install.
- Confirm the pipe material downstream of the preventer is one the machine's manufacturer allows for carbonated water. Don't tie it in with whatever was on the truck.
- Ice machines and coffee brewers get a dual check or air gap. Use the right one for the machine, and leave room for access.
- A single backflow preventer feeding several different machines is a common spot for a correction. Check that each type is protected for its hazard.
The inspector and your city's adopted edition have the final word.