Abstract:According to the roller gear cam high frequency machine’s specific requirement, FANUC-18I was used as the control system, also the I/O interfaces were allocated based on analyzing machine structure and feed coordinates. Finally according to PMC principle, program for the feed movement of B axis of the roller gear cam high frequency quenching machine was designed.