The invention relates to a
programming method of a
forging process. A heavy
forging hydraulic press is decomposed into a plurality of modules according to the function, wherein the modules include a sliding block, a centering module, a
workbench, a die
signal, an auxiliary oil path, an auxiliary gas path, an automatic interface and the like. In the PLC, discrete
programming of technological actions of the hydraulic
forging press is completed according to modular objects, a single object can be driven to complete the actions, and then
programming of technological free calling is completed in the PLC. Whether the action condition of each object is finished or not is checked, and parameters are distributed automatically to the sliding block, the centering part, the
workbench, the die
signal,the auxiliary oil path, the auxiliary gas path and the automatic part of the forging press; modularized and digitized parameters in the PLC are displayed on the HMI in a visualized mode, an operator can carry out freely programing according to the requirements for the technology, mold signals and
automation, so that the requirement for the technology of the operator is lowered, the flexibility ofequipment is improved, and the time for equipment upgrading and technology improvement is saved.