The basic application of FATEK Yonghong PLC in the automation of grinding machines

After a certain period of service life, the conventional grinding machine will suffer a great degree of damage to the positioning system, which will affect the precision of machining. Based on this problem, the selection of positioning control device becomes particularly important when it is reformed. Macro PLC's NC positioning function is more accurate than other PLCs (in this case, the accuracy can reach 0.01mm), and the design and debugging of the program is quite convenient. Therefore, our company chooses Yonghong PLC as the positioning control part of the automatic transformation of the grinder.

2 Introduction to the control system The block diagram of the system is shown in Fig. 1. The whole system consists of three parts: (1) Operation part (human-machine interface): used for operation, setting of grinding parameters, display of grinding machine operating conditions, and fault alarm; ( 2) Control part (Yonghong PLC): mainly control the positioning of grinding machine; (3) Execution part (servo motor and servo drive).

3 System diagram The specific functions and actions are as follows:
(1) Initial (power on momentary): When the servo amplifier main power is turned on for 2ms, the servo amplifier feeds back a signal to the PLC (X4) [S-RDY Servo Ready], and if not: Servo ALM (X5), Super When LS1 (X10) or LS2 (X11) is overtravel, the PLC delay 1s outputs a signal [SRV-ON (Y4)] to the servo amplifier. That is to say, the servo system can do the following actions only when there is no: servo alarm ALM (X5), over-travel LS1 (X10) or under-travel LS2 (X11).

(2) Click-in and point-out: The speed of point-in and point-out (120.000mm/min to 180.mm/min), stroke (0.001mm-500.000mm) are set by the man-machine interface; when in LS3 to LS1 During the trip, as shown in Figure 2. The point-in and point-out can only be performed at a speed of 0.120mm/min. When the point retreats to LS3, the point retreats at a speed of 0.100mm/min. The Z-phase pulse is used for high-speed counting, counting to, and retreat; When tapping forward, slow down positively, use A-phase pulse high-speed counting, counting to, point-in stop; at this moment, the deviation counter can be cleared by the clear key on the man-machine interface, and the position is set to the origin at this time.

(3) Home point (effective when SB4 is turned to manual [MAN]): The home point speed is set on the man-machine interface. When the home point is returned to LS3, the grinding head spindle continues to perform slow reverse upward movement. Pulse, count to, process interrupt subroutine: Slow down positively, count A phase pulse at the same time, count up, stop pulse output; send clear signal at the same time, the CL of the servo is valid.

(4) Automatic (effective when SB4 hits the auto): Press the start button on the man-machine interface, the grinding head spindle moves forward at the set fast forward speed and fast forward direction. After completing the fast journey, it will change to slow forward. At this time, the LS4 will send one pulse at a time. The grinding head will feed at the set slow speed and slow progress. If you press the pause on the display unit at this time Press the key to stop outputting the pulse. Press the pause key again to resume the output pulse. When the work stroke is completed, the output pulse is stopped. Press the return key on the display unit (or when the auto return setting is ON), the grinding head will be quickly returned to the origin, and the process is similar to the manual return to origin. Http://?id=53&action=topic&forumid=1&repage=1&fn=0