Automatic Operation and Safety Device of Pneumatic Machinery