GE FANUC Macro Program Usage Example(1)

  • 2021-07-11
The single-axis external cylindrical CNC grinder is controlled by a CNC axis (X-axis) in the radial direction, and the axial direction is still driven by a hydraulic cylinder, so the grinding cycle function provided by the CNC system of the two-axis grinder cannot be used. In practice, you can use the user macro program provided by the FANUC system to program the single-axis grinding cycle function. According to the specific structure of the machine tool, the control functions of manual dressing of the grinding wheel, automatic compensation, manual workpiece measurement, and automatic compensation have been compiled. The CA8311B journal lathe grinder produced by Qinghai Heavy Machine Tool Factory has proved to be practical after more than a year of production and use. The content of the software is introduced separately below.
1. function introduction
Since there is only a radial control axis (X-axis), continuous feed grinding cannot be realized, and only an axial grinding cycle with feed at both ends can be realized. Therefore, an axial travel identification switch is provided at each of the left and right ends (as shown in Figure 1).When the grinding wheel moves to the left end of the workpiece, the left end travel switch is closed and an in-position signal is sent out, which is indicated by the interface input variable #1005=1 in the program. After the control system receives the signal, it sends out the X-axis feed movement command, and the sand wheel 〖LL〗 advances by a value of A; in the same way, when the system receives the in-position signal sent by the right end limit switch, the program uses the interface to input the variable #1006= 1 means that the grinding wheel advances by a value of B. Cycle in turn until it reaches the position of the instruction.

To realize the grinding processing of a given grinding amount, the two values A and B can be added together to form a cycle, and the grinding amount will be divided equally. The grinding wheel quickly moves to point R, after n times (A+B) grinding, the remaining amount is he. If the grinding wheel is at the left end of the workpiece, and h'<A, press feed, otherwise press A to feed. If it is at the right end of the workpiece, and <B value, press to feed, otherwise press B value to feed. The software must ensure that only the two ends of the workpiece are fed, and no feeding is allowed in the middle. When the grinding amount becomes zero, the grinding wheel must be ground to the other end. The whole grinding process is divided into rough grinding, fine grinding, and smooth grinding. In actual use, a pause is set at point R, and the operator can insert manual grinding to facilitate repair and use, or it can be converted to automatic grinding. The initial grinding value is taken by the current position variable #5041.

MVI56-DFCM 3006 FC302312-03 FBM242 P0916TA
MVI94-MCM 3708E CRS22.P8 FBM201 P0914SQ
MVI56-GSC 4118 IS210AEAAH1BHB FCM2F10 P0916TQ
MVI56-MCM 4329 QC5204MS IPM2-P0904HA
MVI69-ADM 3101 FC200022-01 P0913UU-OA/P0913UTR
MVI56E-MNETCR 4107 IC693CPU360 P0914M8B/P0913CX-OD
MVI69-ADMNET 3002 IC693CMM321 P0913UG-OA/P0913UFA
MVI56E-MNETC 8110 IC693MDL753 P0913UTC/P0913UU-OA
MVI56E-MCM 9662 IC693PWR321 P0914KJE/P0914KP-OA
MVI46-MCM 2652 IC693ALG392 P0913UU-OB/P0913UTD
MVI69E-MBTCP 3703E IC693ACC310 P0914RCE
MVI69L-MBS 3614E IC693ALG223 P0913YN-OA
MVI46-MBP 4409 IC693BEM331 P0914HJB
MVI69-MCM 3664 IC693MDL645 P0913XZF/P0913YA-OA
MVI56E-GSC 3624 IC200ALG264 P0914RD-OC
MVI69E-MBS 2451 IC200ALG326 030340D/SY-0303440

Honeywell DCS
GE Fanuc PLC
Foxboro Module
Yokogawa Electric
Ovation DCS
Schneider PLC
Siemens PLC
Emerson Module
Hima DCS Modules
Allen Bradley PLC
Bently Nevada PLC
ABB PLC
Phoenix PLC

© Copyright: Jak PLC All Rights Reserved.

Jak PLC is not owner of the brands/manufacturers featured on this website. Brand names and trademarks featured are the property of their respective 

top

Leave A Message

Leave A Message

    If you are interested in our products and want to know more details,please leave a message here,we will reply you as soon as we can.