Edward J. Loeffler, 62, executive technical director of the National Machine Tool Builders' Association, died of cancer Tuesday at Fairfax Hospital.

He joined the association's national headquarters here 10 years ago. Earlier he had served on the association's electrical standards committee for 14 years.

Mr. Loeffler was born in Cleveland. He earned a bachelor's degree in electrical engineering in 1938 from Case Institute of Technology there.

During World War II, he was an instructor in ballistics research in the Army Air Corps.

After the war, Mr. Loeffler joined Warner and Swasey Co., machine tool manufacturers, in Cleveland. While holding electrical engineering positions with the firm, he became active in the NMTBA. He also was active in the National Fire Protection Association and the Institute of Electrical and Electronics Engineers.

Mr. Loeffler left Warner and Swasey to work full time with NMTBA. He was editor of standards for the industry's products, produced technical publications and bulletins, assisted with testimony before Congress and was on the technical advisory committee to the Defense Department.

He is survived by his wife, Rosa K., a daughter, Lynn McKenzie, and a son, Carl, all of the home in Annandale.

The family suggests that expressions of sympathy be in the form of contributions to the American Cancer Society.