right away, we choose a simpler method that seg ments (or splits) the vari able in put into

right away, we choose a sim pler method that seg ments (or splits) the vari able in put into


smaller portions, and makes it more man age able (and def i nitely much eas ier to read) (The Ex am –


ple 5 shows nested ver sion of the for mula) The next ver sion of the ex am ple shows you this better


way We use vari able #5 for the Z-depth cal cu la tion, and re de fine it sev eral times – all you need is


one cal cu la tion at a time


O0015 (MAIN PROGRAM 4)


#1 = 150


(DRILL DIAMETER – D IN THE FORMULA)


#2 = 130


drilling Machine


(PLATE THICKNESS)


#3 = 1180


(DRILL POINT ANGLE – A IN THE FORMULA)


#4 = 15


(PENETRATION CLEARANCE ADDED)


 


#5 = #3/2


(ONE HALF OF TOTAL DRILL POINT ANGLE)


#5 = 90-#5


(ANGLE TO BE CALCULATED)


#5 = TAN[#5]


(TANGENT OF THE ANGLE TO BE CALCULATED)


#5 = #1/2*#5


(DRILL POINT LENGTH P FOR A GIVEN DRILL DIA)


#5 = #5+#2+#4


(PLATE THICKNESS AND CLEARANCE ADDED)


 


N1 G21


N2 G90 G00 notching machine G54 X1000 Y500 S800 M03


N3 G43 Z50 H01 M08


N4 G99 G81 R25 Z-[ABS[#5]] F1500


(DISTANCE-TO-GO IS Z-215)


N5 G80 Z50 M09


N6 G28 X1000 Y500 Z50 M05


N7 M30


%


This pro gram ming method takes four ar gu ments (in puts) rather than the orig i nal two, but can be


used with any drill di am e ter and with any pen e tra tion clear ance amount By re de fin ing the vari –


able #5, the com puter mem ory is man aged in a more ef fi cient way There is no cnc machining china need for each


state ment (cal cu la tion) to have busbar bending machine its own vari able, be cause there is no real ben e fit


One in ter est ing com ment – the pro gram com ment in block is not true any more – at least not ex –


actly The ex pected dis tance-to-go be cause in stead of us ing a

the calculation uses the complete for mula with trigonometric function

rounded 03 constant, the calculation uses the complete for mula with trigonometric function:


#5 = #3/2


Returns 590


#5 = 90-#5


Returns 310


#5 = TAN[#5]


Returns 0600861


#5 = #1/2*#5


Returns4506455


#5 = #5+#2+#4


CNC Steel Structural Drilling Machine


Returns 19006455


The com ment in block N4 should be changed as well (if necessary):


N4 G99 G81 R25 Z-[ABS[#5]] F1500


Actual distance-to-go will be 21506455


Prac ti cally, this is of lit tle con se quence, but macro pro gram mer should pay angle machine at ten tion to de tails


Copyright 2005, Industrial Press Inc, New York, NY –


FANUC CNC Custom Macros


MACRO FUNCTIONS


133


2 Example 5


The next im prove ment will im prove the pre vi ous ex am ple even more and elim i nate the mul ti ple


def i ni tion of vari cnc equipment able #5 In di vid ual blocks of in ter me di ate cal cu la tions are very use ful to step through the pro gram and per haps make it eas ier for gen eral un der stand ing and even de bug ging


How ever, in most cases, a shorter pro gram is pre ferred Writ ing only a sin gle def i ni tion of vari –


able #5 means com bin ing – nest ing – all in di vid angle shearing machine ual cal cu la tions This ex am ple shows how: O0016 (MAIN PROGRAM 5)


#1 = 150


(DRILL DIAMETER – D IN THE FORMULA)


#2 = 130


(PLATE THICKNESS)


#3 = 1180


(DRILL POINT ANGLE – A IN THE FORMULA)


#4 = 15


(PENETRATION CLEARANCE ADDED)


(鈥斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€旓拷?


#5 = #1/2*TAN[90-#3/2]+#4+#2


(SINGLE FORMULA NESTED IN A BLOCK)


(鈥斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€斺€旓拷?


N1 G21


N2 G90 G00 G54 X1000 Y500 S800 M03


N3 G43 Z50 H01 M08


N4 G99 G81 R25 Z-[ABS[#5]] F1500


(DISTANCE-TO-GO IS Z-215)


N5 G80 Z50 M09


N6 G28 X1000 Y500 Z50 M05


N7 M30


%


2 Example 6


So far, all five ex am ples

used variable assign ments in ternally, in the main program

used variable assign ments in ternally, in the main pro gram This final example Drilling Machine for Plate busbar bending machine will ad vance ahead an other sig nif i cant step, and de fines the Z-depth as a true Fanuc Custom Macro Macro has been de fined as spe cial a pro gram that con tains com mon but vari able data


In this case, the com mon data is the cal cu la tion of the Z-depth it self Both, the main pro gram and


the macro pro gram will be needed The main pro gram, O0017 will be call macro O8005, con –


CNC H-Beam Drilling


tain ing the depth cal cu la tion Be cause the re sult – the re turned value – cal cu lated in the macro


O8005 has to be trans ferred to the main pro gram, where it is ac tu ally used, some stron ger pro –


gram ming tools will be needed These tools in volve the Com mon Vari ables (rather than just Lo cal


Vari ables), and the ex am cnc equipment ple is com pleted in the next sec tion


Using Common Variables


The basic con cept of com mon vari ables has been al ready introduced Based on a dic tio nary def –


i ni tion, the word ‘com mon’ means ‘shared’ Com mon vari ables in a macro are shared by at least


one other pro gram, and usu ally more than one Com mon vari ables cre ate a shared bond be tween


the main pro gram, subprograms, and all mac ros that are to be con nected by an other pro gram


Vari ables de signed as com mon are used to store pro gram data Within the group of com mon


vari ables, and de pend ing on the type of the stored data, there are two mini-groups One cov ers the


Sys tem Vari ables, the other cov ers the I/O (In put/Out put) In ter face


Copyright 2005, Industrial Press Inc, New York, NY – wwwindustrialpresscom


FANUC CNC Custom Macros


134


Chapter 9


Vari ables that are al lowed in the ‘com mon’ group, be long to the vari ables range of #100 to


#149 or, op tion ally, #100 to #199 – this group is called the ‘non-hold ing’ group, and #500 to


#599 or, op


tion


ally, #500 to #999 – this group is called the ‘hold


ing’ group The terms


non-hold ing and hold ing re fer to the abil ity of the con trol sys tem to keep the stored v

nd a positive entry of Z#3 will be used in block N4: O0012 (MAIN PROGRAM 2)

nd a pos i tive en try of Z#3 will be used in block N4: O0012 (MAIN PROGRAM 2)


#1 = 150


(DRILL DIAMETER)


#2 = 130


(PLATE THICKNESS)


 


cnc drilling Machine


#3 = -[#1*03+#2+15] (Z-DEPTH CALCULATION – NEGATIVE VALUE OF -190)


 


N1 G21


N2 G90 G00 G54 X1000 Y500 S800 M03


N3 G43 Z50 H01 M08


N4 G99 G81 R25 Z#3 F1500


(DISTANCE-TO-GO IS Z-215)


N5 G80 Z50 M09


N6 G28 X1000 Y500 Z50 M05


N7 M30


%


Which ver sion is better? In this case, it is not a ques tion of better or worse – it is a ques tion of


per sonal pref Drilling Machine for Plate er ence Many pro gram mers would prob a bly pre cnc machining center fer the Ex am ple 1 (pro gram O0011),


be cause it shows the neg a tive value in block N4, where it log i cally be longs (at least in my opin –


ion) Based on the method of de vel op ing stan dard man ual pro grams, it seems a copper bending machine better choice


2 Example 3


There is yet an other way to get the neg a tive re sult of the depth cal cu la tion – just re de fine the


orig i nal def i ni tion of the #3 vari able Sub sti tu tion (re def i ni tion) will take the old value of a vari –


able and re places it with the new value


Copyright 2005, Industrial Press Inc, New York, NY –


FANUC CNC Custom Macros


MACRO FUNCTIONS


131


O0013 (MAIN PROGRAM 3)


#1 = 150


(DRILL DIAMETER)


#2 = 130


(PLATE THICKNESS)


 


#3 = #1*03+#2+15


(Z-DEPTH CALCULATION – POSITIVE VALUE OF 190)


#3 = -#3


(POSITIVE #3 BECOMES NEGATIVE #3 OF -190)


 

these examples could benefit from the ABS function and guarantee a negative

N1 G21


N2 G90 G00 G54 X1000 Y500 S800 M03


N3 G43 Z50 H01 M08


N4 G99 G81 R25 Z#3 F1500


(DISTANCE-TO-GO IS Z-215)


N5 G80 Z50 M09


N6 G28 X1000 Y500 Z50 M05


N7 M30


%


Even better, these examples could benefit from the ABS function and guarantee a negative


Z-depth in block N4, re gard less of pre vi ous pos i tive or neg a tive in put:


N4 G99 G81 R25 Z-[ABS[#3]] F1500


(DISTANCE-TO-GO IS Z-215)


Drilling Machine Steel Beam


2 Example 4


In the fourth ver sion, a bit more flex i bil ity will be added to the macro pro gram So far, the tool


point length was based only on a 118掳 an gle, and the pen e tra tion clear ance was ar bi trarily as –


signed the value of 15 mm What if the tool an gle is 135掳 or some other an gle? What if the clear –


ance of 15 mm is too small or too large? These val ues can be de fined as vari ables – they will add


flex i machining equipment bil ity to the pro gram, with only a few more vari ables to fill


O0014 (MAIN PROGRAM 4)


#1 = 150


Drill diameter


#2 = 130


Plate thickness


#3 = 1180


Drill point angle


#4 = 15


Penetration clearance added


Once the vari ables have been de fined, they have to be CNC Angle Line used In the ex am ple, the main goal is to


calculate the Z-depth, based on the in put val ues (as sign ments) Since there is a con stant math e mat –


i cal re la tion ship be tween the drill di am e ter and the drill point an gle, it can be press bending machine ex pressed in a well


known and stan dard ma chine shop for mula:


D



A 枚


P =


麓 tan 莽 90 –



2



2 酶


+


where 锟?


P


= Drill point length


D


= Drill diameter


A


= Drill point angle


Copyright 2005, Industrial Press Inc, New York, NY – wwwindustrialpresscom


FANUC CNC Custom Macros


132


Chapter 9


The for mula may be nested in the macro, but nest ing may not be easy to view, in ter pret, or


change, if nec es sary Be cause it may be some what dif fi cult to in clude the whole for mula into the

Common Problems of Hydraulic Pump Noise and Its Solution

Noise common problems and solutions:

(1) There is air in the pump. The fault is generally installed in a new pump when the emergence of a new pump, you should first add oil to the pump, the pump bearing pipe welding machine, piston and cylinder play a role in lubrication. Approach: pump operation in the open fuel pump fuel port, so that the air pump from the fuel port discharge.

high speed drill machine

(2) the fuel tank of the oil level is too low, the oil pump blockage makes the pump suction oil resistance caused by a larger pump into the air or oil high speed drill leakage, the pump inhaled air. Treatment: Add the required oil; cleaning filter, and clear the intake pipe; check and tighten the oil inlet pipe connection screws.

(3) improper installation of the pump and motor, which means the shaft concentricity with the motor shaft is inconsistent, so that the pump bearing radial force by noise. Solution: Check and adjust the concentricity of the pump and the motor.

(4) the viscosity of hydraulic oil is too large, making the pump’s self-absorption busbar shearing machine capacity, the volumetric efficiency decreases. Treatment: Use the appropriate viscosity of the hydraulic oil, if the oil temperature is too low should turn on the heating.

Analysis of common faults of three – phase asynchronous

With the power in the production and life of large-scale use of three-phase asynchronous motor, the main form of the motor for its convenience, maintainability and high cost performance in industrial and agricultural production has been widely used. To protect the normal use of three-phase asynchronous motor need to sum up the long-term use of three-phase asynchronous motor fault characteristics on the basis of good for three-phase asynchronous sawing machine motor maintenance. So that the three-phase asynchronous motor can be used normally to ensure the normal operation of production work.
1. Three-phase asynchronous motor common mechanical failure analysis
Three-phase asynchronous motor fault according to its common characteristics can be divided into two major aspects of mechanical, electrical failure. The three-phase asynchronous motor’s mechanical failure mainly has the following several kinds: The bearing damage, the stator iron core surface damage, the motor temperature rise is too high, the winding burns and so on the question. The bearing wear and tear which is the highest frequency of three-phase asynchronous motor failure.
Three-phase asynchronous motor due to the need for a long time of rotation, and changes in load force on the three-phase asynchronous motor bearings exert a greater impact. Three-phase asynchronous motor bearings in a long time after the use of a variety of problems, it is necessary in the use of three-phase asynchronous motor to strengthen the three-phase asynchronous motor bearing part of the inspection to protect the normal use of three-phase asynchronous motor. In the use of three-phase asynchronous motor to strengthen the observation of the bearing, through the operation of three-phase asynchronous motor in the use of smell, listen to check the way for the three-phase asynchronous motor fault detection and detection. In the course of three-phase asynchronous motor operation found abnormal sound when the motor can be analyzed from the following points, when the three-phase asynchronous motor during cnc table the operation of the bearing part of the Gulu Gulu voice can be identified when the three-phase asynchronous motor bearing oil . And if the three-phase asynchronous motor running when the bearing part of the sound appears discontinuous stems can be identified as three-phase asynchronous motor shaft ring rupture, the need for three-phase asynchronous motor bearing part of the timely replacement to ensure that three-phase The normal use of asynchronous motor. When the bearing part of the three-phase asynchronous motor contains sand or mild wear and tear, the three-phase asynchronous motor in operation will appear as a slight noise.
When it is determined that there is a problem in the bearing part of the three-phase asynchronous motor, it is necessary to check the bearing of the three-phase asynchronous motor and dismantle the bearing gland of the three-phase asynchronous motor. First check the inner and outer rings of the rolling element of the three-phase asynchronous motor Whether the bearing is damaged, corrosion and dent, etc., in the completion of the bearing appearance of the test to determine no significant damage to the situation, the use of cleaning gasoline to clean the bearings to remove the bearings contained in lubricants and other impurities, And then use the hand toggle bearing outer ring, check the bearing operation, such as bearing a good bearing outer ring should be smooth, feel the bearing through the hand during the operation of whether there is vibration and stuck phenomenon, and stop the outer ring When the bearing Plate Notching Machines is not obvious the phenomenon of retrogression, if there is an obvious problem bearing has been not suitable for continued use should be replaced. If one hand stuck the bearing outer ring, one hand pinch the inner ring, forced to promote, if the bearing to promote more easily but bearing wear more serious, then the bearing can not continue to use need to be replaced.
In the three-phase asynchronous motor bearing replacement needs to be removed according to the type of bearing to buy and replace. In the three-phase asynchronous motor bearing assembly, you can use the bearing heater or transformer oil boiling way to heat the bearing, when the bearing heated to 80-100 ℃, the use of similar inner diameter and bearing steel pipe to Bear the inner ring to the bearing ring, until the bearing inner ring of the percussion sound in real time, you can think that the bearing hit in place before the assembly of the motor shaft to be carefully cleaned, and pay attention to bearings and bearings The installation of the oil tank, grease assembly attention to the amount, avoid too much or too little to avoid three-phase asynchronous motor movement bearing overheating.
2. Three-phase asynchronous motor common electrical fault analysis
Three-phase asynchronous motor common electrical faults are: three-phase current imbalance, stator windings phase operation, three-phase asynchronous motor electrical control and other issues, such as three-phase asynchronous motor fuse, contactor In place or other electrical damage will cause three-phase asynchronous motor can not start or suddenly stop running seriously affect the normal use of three-phase asynchronous motor.
2.1 Three-phase asynchronous motor three-phase current imbalance fault analysis and treatment
Three-phase asynchronous motor three-phase current imbalance of the main reasons are: 1) three-phase asynchronous motor rewinding stator three-phase winding turns are not equal. 2) three-phase asynchronous motor stator windings first terminal is wrong. 3) three-phase asynchronous motor power supply voltage three unbalanced. To solve the three-phase asynchronous motor three-phase current imbalance problem, you can rewound the stator windings, check and correct, measure the power supply voltage and other methods to be eliminated.
2.2 Three-phase asynchronous motor phase failure analysis and treatment
Three-phase asynchronous motor caused by the lack of phase running the main reasons are: 1) a fuse fuse. 2) The problem such as breakdown blows. Three-phase asynchronous motor failure in the main reason is due to the motor’s main circuit single-phase grounding or phase short circuit caused by the three-phase induction motor to ensure the normal use of the need to select the appropriate ambient conditions, the motor and the correct low-voltage electrical and Line, to ensure the normal use of three-phase asynchronous motor. In the three-phase asynchronous motor main circuit caused by the lack of phase operation of the main reasons are: 1) to control the three-phase asynchronous motor contactor static and dynamic contact wear serious, resulting in bad contactor. 2) three-phase asynchronous motor operating conditions are more harsh, contact the contact oxidation. 3) control of three-phase asynchronous motor contactor selection is unreasonable, making the three-phase asynchronous motor bimetal burned. 4) the contactor or the motor into the line side of the connector is not tight or loose connectors caused by wire blowing. To deal with this failure can be from the following aspects: 1) do a good job for the three-phase asynchronous motor inspection and maintenance on a regular basis, especially for some of the more harsh conditions of the three-phase asynchronous motor needs of vulnerable components on a regular basis . 2) Select the appropriate thermal relay. 3) In the three-phase asynchronous motor wire and cable construction process to the main line safety, to avoid wires, cables breakage, scratches and other issues.
2.3 Three-phase asynchronous motor in the fuse melt non-fault
In the three-phase asynchronous motor in the installation of fuse-links, fuse-mounted installation of poor contact or fuse installation of excessive force caused by the fuse-body damage, fuse-link selection will result in three-phase asynchronous motor fuses non-fault Of the fuse so that three-phase asynchronous motor can not be used normally. To solve this problem, the need to analyze the capacity of three-phase asynchronous motor based on the size of the rated current of the motor, under normal circumstances, the size of the current capacity of the fuse-link selection of three-phase asynchronous motor rated current 2 times , At the same time in the three-phase asynchronous motor fuses installed to ensure good contact between fuse-links and fuse blocks to avoid short-circuit and other problems. After the installation is complete, use the multimeter to test the electrical installation of the three-phase asynchronous motor to ensure the installation quality of the three-phase asynchronous motor.
3. Do a good job of three-phase asynchronous motor energy-saving transformation
Three-phase asynchronous motor is the most important use of rotating magnetic field to drive the rotor to rotate. In the three-phase asynchronous motor can be connected through the capacitor, the same period compensator and SCR voltage regulator devices such as energy-saving three-phase asynchronous motor through the control end of the three-phase asynchronous motor and the capacitor can save reactive power, So as to improve the three-phase asynchronous motor power factor, and the implementation is relatively simple, but the use of this method may occur oscillation. While the use of synchronous compensator is the most important way to adjust the reactive and active phase angle to achieve the purpose of improving the power factor. The most important thing is the use of thyristor voltage on the motor side with the load to automatically adjust.

How to Prevent Damage Caused by Press Punch injury

How to Prevent Damage Caused by Press Punch injury causes: In this case, The formation of the cause of damage to the punch press is the lack of necessary protective equipment and equipment, not the opponent into the mold area of ​​the risk operation process to implement useful labor protection; the formation of the punch damage incidents of technical reasons is the operation of the initiative and machine tool movement Hydraulic Marking Machines. In this case, Damage to the ice is often attacked in the following conditions: (1) the operator energy exhaustion Angle Marking machine, attention will not be set, showing false work (2) mold layout unreasonable, messy operation, the operator’s arm in the mold area to stay too long. \u0026 Rsquo; (3) the operator arm is not out of the module when the Kai power slider, perhaps in the middle of the slide and reach out into the mold. (4) closed punch when the operation of more than one person to use the foot switch to control the slider control stroke, in the foot cooperation is wrong. (5) closed punch more than work, by the guardian of the slider control the trip, the care of other operators ill.

(6) adjust the mold, the machine motor is not aborted, because the operation of other reasons the slider suddenly start. (7) punch mechanical, electrical problems, slider movement out of control, showing suddenly even the car or suddenly fall. In this case, These are the basis of the formation of punch damage incidents is the lack of necessary protective equipment and equipment, not the opponent into the mold area of ​​risk operations to implement useful labor protection; In this case, The reason for the formation of punch damage incidents is the operation of the technical movement and machine tool fire tone. The following is the formation of punch damage incidents in the management of the main reasons is the safety standards are not perfect pipe welding machine, in the following circumstances prone to trouble: (1) workers without training qualified on the machine operation. (2) illegal operation. (3) there is no safety equipment, safety equipment may not be damaged, not repair. (4) equipment is out of repair.

How to improve the punch [IPM precision punch] utilization

t1. Pendulum shear method instead of straight cut to improve material utilization Punch common direct cut, if the part of the blank size is the shape of the dotted line in the figure, then the dotted line and the line between the material is redundant. The right side of the pendulum shear method, the use of pendulum cut line directly in the broken line position to cut, improve the material utilization. \t2. The Application of Casing Shear size of different plates can be put together angle cutter machine. If the two parts blank size 580mm, 420mm, respectively, roll width of 1200mm, 1000mm coil open-book cut, each producing two parts will produce 40mm drilling machine company, 160mm wide waste. If the two parts in the same amount of bicycles cnc busbar machine, you can use the 1000mm wide coil material, a shear can get two parts, no waste generated. 3. Blanking mold blanking The use of blanking mold or progressive die, you can make full use of more than expected, improve production efficiency and material utilization. 4. Appropriate sharing more than expected For some material specifications, may be used for a variety of parts, usually a material specification is not suitable for each part, there may be more than expected. For more than the remaining material can be used, more than expected shear is necessary, and vice versa is redundant, you can use more than sharing the same way to reduce the shear.

How to Reduce the Noise Generated by Press

How to Reduce the Noise Generated by Press How to Reduce the Noise Generated by Press 1, the workshop reverberation time and the noise source to determine the value of noise: reverberation time is the sound of the room to reach a stable state Drilling and Sawing Line, the sound source to stop sound after the sound of the room in the back and forth reflected by the wall absorption, the average acoustic energy density decreased to the original A millionth of the time. The longer the reverberation time is, the more the noise is reflected in the workshop, the slower the energy decay rate. In the same sound source, the reverberation time is longer than the reverberation time. 2, the choice of sound-absorbing material: a total of five parts sound insulation board, noise through perforated plate holes into the sound-absorbing cotton, a part of the glass wool through the vibration energy into heat energy consumption, the other part of the outer layer of steel isolated, Absorption of the purpose of sharing. 3, sound-absorbing panel sealing treatment: As the entire production line closed processing is a number of small sound-absorbing panels stitched into a closed body, so in order to ensure the noise reduction effect, in the design and manufacturing need to control the sound between the various panels, Generally 1 to 2 mm. In order to minimize the effect of noises passing through these gaps to effect noise reduction steel marking machine, sealants are often used for gap seals. 4, ventilation: the operation of the heat generated by the device itself, coupled with the sound-absorbing material with glass wool insulation properties, the production line within the closed temperature is often higher than the external 3 ~ 5 ℃. In the implementation of noise reduction projects, usually in the noise ceiling installation of exhaust fans, take away the hot air enclosed space, so that the formation of negative pressure inside busbar bending cutting punching machine, the external air can flow into the interior through the noise walls. In the selection of exhaust fan selection of low noise fan so as not to affect the noise reduction effect.

 
Powered by cnc machine tools | drilling machine. Design by CNC punching machine . Edit by drill machine | punching machine