The function of a steam trap is to automatically eliminate non-condensable gases such as steam condensate and air in the heating equipment or steam pipes, and prevent steam leakage. Since the steam trap has the function of blocking steam and drainage, the steam heating device can be uniformly heated, and the latent heat of steam can be fully utilized to prevent water hammer from occurring in the steam pipe.