d and tested again, al ways from scratch!

d and tested again, always from scratch!

With more ex pe ri ence, an other way to de sign a smooth pro gram flow is to es tab lish so called

pseudo-code, which is a com mon method by many soft ware pro gram mers Pseudo-code is a very

tight and de tailed pro ce dure, writ ten in nor mal lan guage, that se quen tially lists ev ery step and all

steps of what has to be done It is not as con ve nient method as a flowchart, but it does work



CNC drilling Machine for Tube Sheet

In stan dard CNC pro gram ming, many pro gram mers count on the de faults of the con trol sys tem

and do not in clude many pro gram codes, par tic u larly the pre pa ra tory G-codes cnc machine manufacturers For ex am ple, they

count on the de fault units sys tem and do not in clude the G20 or G21 com busbar sawing machine mands in the pro gram

The same may ap ply to the G90 or G91 com mands, and a num ber of oth ers In mac ros, al ways

keep in mind that all de ci sions have to be re flected in the macro – never take any thing for granted,

and never count on sys tem de faults



This is the stage that places the macro code on pa per, in the con trol, or in the com puter file Its

pur pose is to de velop the ac tual pro gram Data in the flowchart or in the pseudo-code is used, in

the same or der, with the same logic, and con verted into the Fanuc macro code It is im por tant to

doc u ment ev ery macro – good doc u men ta tion is not enough – only a first class doc u men ta tion will

do Doc u ment ing the macro is not just aimed at the CNC op er a tor, it is a per ma nent doc u ment

avail able to any pro gram mer who may work with the macro Pro ce dure that is clear hydraulic press manufacturers to day will

fade away in a very short time Doc u men ta tion can be in ter nal, in the form of com ment ing each

block, or ex ter nal, with de scrip tions in plain lan guage Equally im por tant, ac tu ally very im per a –

tive, is to pre serve all cur rent pro gram set tings be fore a macro is ex e cuted, change the set tings

within the macro as needed, and re store the orig i nal set tings be fo

Tags: , ,

All dimensions are given, so is the material

 part drawing There are four pins required to be machined (and programmed) All dimensions are given, so is the material The

de signer of this part has cho sen one ge neric draw ing rather than four in di vid ual draw ings In a

sense, the de signer has ap proached the pro ject as a fam ily of parts – the same what the pro gram –

mer will do All four pins are sim i lar – they share sev eral char ac ter is tics In all, there are seven

dimensions spec i fied Two of these di men sions are fixed, the other five are vari able All di men –

sions pro vided are cor rect and will make the part as shown For ex am ple, there will al ways be a

flat shoul der face be tween the two ra di uses This and sim i lar ob ser va tions are very im por tant to

find out be fore the macro is even started

Ob jec tive of the Macro

CNC drilling Machine for Flange

The sin gle most im por tant ob jec tive of the macro is to de sign it in such a way that all four pins

in the se ries (and pos si bly oth ers) can use a sin gle part pro gram – so they can be ma chined just by

chang ing the as sign ments busbar fabrication of the G65 ar gu ments (vari ables) in the main pro gram Be fore the ob –

jec tive can be met, a few tech no log i cal de ci sions have to be made The first of them is to de cide on

the part setup and the method of ma chin ing the part

Part Setup, Tooling and Ma chin ing Method

The way the job is setup has to be con sid ered to gether with the way it will be ma chined Se lec –

tion of one method of ten in flu ences the other Ma chin ing method in flu ences the tool ing se lec tion

The draw ing iden ti fies the ma te rial as mild steel sup plied as a bar of hydraulic press manufacturers the same di am e ter copper busbar processing machine for all

parts (脝50 mm) For the pur poses of macro de vel op ment, these con di tions have been es tab lished:


Part zero at the front of the fin ished face

X0 = man da tory cen ter line


Min i mum face cut (< 05 mm)

sin gle cut


Only one tool is used – T1 with wear off set 1

pro gram can eas ily be changed to two tools


Spin dle speed and feedrates do not change


This approach is a sign of pro fessionalism and makes a perfect and practical sense as well

 the macro exists This approach is a sign of pro fessionalism and makes a perfect and practical sense as well

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

FANUC CNC Custom Macros



CNC punch Machine

The pre vi ous chap ter set the foun da tions of para met ric pro gram ming in gen eral – this chap ter

pres ents a com plete prac ti cal ap pli ca tion – an ac tual macro de vel op ment for a typ i cal fam ily of sim i lar parts The next chap ter will build on the same con cept and of fer sam ples of macro de vel –

op ment for a fam ily of sim i lar ma chin ing op er a tions

Macro Development in Depth – Location Pin

This sec tion may well be one of the most im por tant subjects to study, as it cov ers macro de vel –

op ment in a com pre hen sive man ner The pro ject in the example is called Lo ca tion Pin, and is de –

signed for a CNC lathe The logic and pro ce dures pre sented here ap ply to both types of ma chines

equally, as do many macro fea tures As is stan Angle Drilling machine dard in CNC pro gram ming, the pro vided en gi neer –

ing draw ing forms the first el e ment in the pro cess In this ex am ple, all parts in the se ries are listed

in a sin gle draw ing, so the draw ing it self is parametric In other cases, the pro gram mer has to get

the in for ma tion from sev eral in di vid ual draw ings

Fig ure 27 shows the pin data as sup plied to the pro gram mer The first step is to study and eval u –

ate the draw ing and in for ma tion pro vided in it




脴50 mm BAR





































Figure 27

LOCATION PIN – drawing used to busbar machine illustrate the development of a typical macro for family of similar parts


Copyright drilling machine suppliers 2005, Industrial Press Inc, New York, NY – wwwindustrialpresscom

FANUC CNC Custom Macros


Chapter 19

Draw ing Eval u a tion

Even a ca sual look at the draw ing re veals that this is not a sin gl


l parts are from the same ma te rial

l parts are from the same ma te rial


G71 and G70 mul ti ple re pet i tive cy cles will be used two block format


No back op er a tion will be in cluded

part-off and sec ond ary operation


metal hole punch

Cool ant will be used

Ev ery setup can be im proved – this is only a sug ges tion and also il lus tra tive method used for the

ex am ple The pro ject fo cuses on macro de vel op ment only

The ac tual toolpath can also be de fined in detail:


Step 1 – Rapid to wards the part for fac ing cut


Step 2 – Face off the front just be low cen ter line


Step 3 – Rapid to the start point of the G71 cy cle


Step 4 – Rough out the shape – leave suitable stock


Step 5 – Fin ish the shape with G70

In five sim ple steps the ma chin ing is com pleted Two tools can be used in stead of one and other

changes can be made as well

Copyright busbar sawing machine 2005, Industrial Press Inc, New York, NY – FANUC CNC Custom Macros



Draw ing Sketch

Even for sim ple parts, a good draw ing sketch helps vi su al ize the toolpath and data as so ci ated

with it, such as clear ances Fig ure 28 shows the part con tour used for the G71 and G70 cy cles












Figure 28

Common toolpath for all parts in the family – used by G71 and G70 cutting cycles

Stan dard Program

Se lect one part of the se ries (PIN-001 shown) and make a stan dard pro gram for that part only,

ap ply ing the pre vi ous se lec tions This is a step that can be avoided with grow ing ex pe ri ence, but

go punching metal hydraulic press manufacturers ing through it pres ents cer tain co her ence to the de vel op ment Stan dard pro gram for PIN-001 is

listed with rel e vant com ments:


Standard program for PIN-001 only



N1 G21 T0100

Metric units and Tool 1 – no wear offset

N2 G96 S100 M03

CSS at 100 m/min – CW spindle rota


eeds and feedrates Keep in mind

eeds and feedrates Keep in mind

that the more vari able data is in cluded, the more pow er ful the para met ric pro gram or the macro

be comes On the neg a tive side, it will take lon ger to de velop and ver ify such a pro gram

Copyright 2005, Industrial Press Inc, New York, NY – FANUC CNC Custom Macros


Chapter 18


CNC drilling Machine


Once the in for ma tion is col lected, iden tify and or ga nize the data into co her ent units De cide

what lo cal vari ables will have to be de fined as ar gu ments in the G65 com mand block Do not in –

clude data that can be cal cu lated In clude data that can be read from the draw ing, even if they are

not needed di rectly For ex am ple, macro may need a cir cle ra dius for cal cu la tion, but the draw ing

spec i fies a di am e ter Rather than ask busbar sawing machine ing for the ra dius in put as an ar gu ment, sup ply the di am e ter,

then di vide it by two in the macro body Watch for en tries that re quire dec i mal point and/or neg a –

tive val ues Use rel e vant and mne monic vari able as sign ments if pos si ble, for ex am ple A (#1) for

an an gle in put, R (#18) for a ra dius in put, and so on This is not al ways pos si ble, but some are better than none Al ways doc u ment the mean ing of all vari ables – easy to for get later!



A flowchart def i nitely helps at this stage of macro de vel op ment Many pro gram mers con sider

the flowchart de vel op ment a man da tory step, even in sist on it All the pro gram ming aids avail able

in a macro, such as loop ing, con di tional test ing, branch ing, de ci sion mak ing, etc, can be rep re –

sented graph i cally, in a flowchart Once the flowchart is de signed, test it sev eral times, us ing dif –

fer ent in put con copper busbar processing machine di tions and de ci sions The macro should work drilling machine suppliers in all in stances Do not be afraid to

test seem

ingly im



ble or im



ble con


tions When the flowchart logic fails and the

flowchart is cor rect, the macro needs to be re de signe


Calculation of Pilot Ratio of Balance Valve

Calculation of Pilot Ratio of Balance Valve

Application Notes

Balancing valve can achieve balance protection control of the cylinder, in the case of tubing burst and leakage protection play a role.

The work of the counterbalance valve is not affected by the back CNC Steel pipe welding machine  pressure, when the valve port pressure rises, also can make the spool maintain a stable opening. Usually in the loop can also play an overflow protection. Commonly used to control the proportion of the system.

band saw machine

The counterbalance valve is preferably located near the cylinder so that it functions maximally.

Single-balanced valves control linear motion loads, such as: high-altitude lifting platform, crane and twist

The double-balanced and then control the reciprocating busbar machine and rotary motion load, such as: wheel motor or in the cylinder.

Pilot ratio

3: 1 (standard) for the load changes in a large state and engineering machinery load

Of the stability.

8: 1 applies to the load requirements to maintain a constant state.

working principle

The one-way valve section allows the free flow of pressure oil into the cylinder while preventing reverse flow of the oil. The pilot section, after establishing the pilot pressure, can control the movement. The pilot section is normally set to normally open and the pressure set to 1.3 times the value of the load, but the opening of the valve cnc ring machine is determined by the pilot ratio. For optimal load control and different power applications, different pilot ratios should be chosen. Confirm the opening pressure value of the valve and the pressure value of the cylinder moving, according to the following formula:

Pilot ratio = [(relief pressure setting) – (load pressure)] / pilot pressure

structural fabrication machine

Balance valve of the pilot ratio is also called the pilot pressure than the English general pilot ratio is the balance valve spring is set to a fixed value, the balance valve in the pilot oil is 0, the reverse opening pressure and pilot oil balance valve The ratio of pilot pressure values ​​at reverse opening. Different workplace and environment, the choice of the pressure ratio is not the same, simple in the load, outside the case of small interference generally Multi Spindle Drilling Machine choose a large ratio of liquid control, which can reduce the pilot pressure value, energy saving. In the load disturbance, easy vibration of the occasion generally choose a smaller pressure ratio, to ensure that the pilot pressure fluctuations will not cause frequent vibration of the balance spool.

There is a hydraulic control than the parameters of the balance valve is generally plug-in balance valve, requires a load limit protection circuit function, to reverse the lock time, if the pressure rises a lot to open the overflow from the role. This balance valve is divided into open and close the center of the balance valve.

The Method of Improving the Machining Precision of the Hole in the Thin Wall

1 Problem Analysis Due to the complex shape of thin-walled parts beam saw machine, the relative stiffness is low, so the processing technology is poor. In this paper, according to the actual situation of processing enterprises (processed parts shown in Figure 1), a solution to the deformation of thin-walled parts of the hole cutting method, thereby improving the thin-walled parts of the hole precision. Thin wall deformation caused by many reasons, the main analysis can be the following aspects: (1) the workpiece clamping conditions Thin-walled parts in the three-jaw chuck clamping, clamping force in the three claws at the concentration of the role of the workpiece deformation occurs, there is no roundness after processing error, but the workpiece removed from the chuck, Due to the elasticity of the workpiece material recovery, leaving the hole appeared roundness error. (2) cutting parameters Cutting parameters unreasonable, prone to surface stress, and will produce a lot of cutting heat, resulting in deformation of the workpiece. ① the amount of back to eat knife: the depth of the different cutting depth of the workpiece surface residual stress and its distribution is not obvious, mainly due to the increase of cutting depth on the cutting temperature and the workpiece surface residual thermoplastic deformation is not obvious. So the cutting depth of the impact of macro-cutting force, but the residual stress on the surface of the workpiece is relatively small. ② feed: feed to increase the residual stress on turning significant impact. As the feed rate increases, the cutting temperature increases, so the residual stress of turning process showed a significant increase trend, and the residual stress distribution layer also deepened. ③ cutting speed: cutting speed increases at the same time, in the cutting tool under the action of the plastic deformation of the metal layer, plus the flank surface and the workpiece surface, cutting tools and cutting the cutting heat, cutting temperature is unevenly increased . Although the increase of the cutting speed causes the cutting heat to be generated in a very short period of time and the temperature is raised, the cutting heat of the cutting base layer is delayed for a certain period of time, and the cutting heat is accumulated in the cutting bottom layer horizontal band saw, resulting in an increase in the cutting temperature Resulting in a large thermoplastic deformation. (3) choice of coolant Cutting fluid can reduce the friction on the front and rear of the tool, the chip easily discharged, take away the cutting area of ​​heat, slow down the tool and the workpiece temperature. Cutting fluid has a good lubrication, cooling effect, but also has a good cleaning and anti-rust effect. Commonly used cutting fluid is divided into three categories: aqueous solution, emulsion and cutting oil: ① aqueous solution: aqueous solution is water as the main component of the cutting fluid. Good thermal conductivity of water, cooling effect, but rust, poor lubrication performance. ② Emulsion: Emulsified oil is diluted with 95 010 – 980/0 water, milky white or translucent liquid, the emulsion has a good cooling effect, with a certain lubrication, anti-rust effect. ③ cutting oil: cutting oil is the main component of mineral oil, often used in the addition of oil additives, extreme pressure additives and anti-rust additives to improve its lubrication rust effect, poor cooling performance. (4) work materials Workpiece material is different in the heat treatment process punch equipment, its hardenability is different, it is caused by heat treatment deformation is also different.

2 Improve the program (1) for the workpiece clamping deformation Three-jaw chuck claw structure, the use of ring clamping, fixture structure shown in Figure 2. For the outer surface of the workpiece, the pressure per unit area is reduced to reduce the clamping deformation caused by the roundness error. (2) for cutting parameters The cutting force is also increased, the deformation is also large, very bad for turning thin-walled parts; reduce the amount of knife to eat, increase the feed rate, although the decline in cutting force, But the residual surface area of ​​the workpiece increases, the surface roughness value is large, so that the strength of thin-walled parts of the internal stress increases, the same parts will be deformed; Based on the above reasons, the hole to take two- Specific processing parameters are shown in Table 1 below. (3) for the choice of coolant As the hole in the workpiece for finishing, processing volume is small, the main part should ensure the accuracy and roughness. Finishing due to cutting force is small, the temperature is not high, it is appropriate to use high concentrations of emulsions and oily additives, cutting fluid. (4) for the workpiece material 8620H steel is our country from the United States AISI (SAE) standard ‘H’ structural steel in the introduction of steel, the technical requirements are particularly stringent, the hardenability of the bandwidth is very narrow, 6-8HRC, and domestic gear steel quenching Sexual bandwidth is generally 12 – 15HRC. Because of the influence of the bandwidth on the heat treatment deformation of steel, in order to reduce the influence of heat treatment deformation on its hole processing, the workpiece material from 20CrMnTi to 8620H, which effectively reduces the heat treatment deformation busbar cutting machine.

3 Conclusion Through the above analysis and improvement, the dimensional accuracy of the hole after processing to meet the design requirements, hole roundness error stability control within 0. 05mm. Practice has proved that, from the process system and processing methods to take effective measures to make the processing effect has been significantly improved to solve the hole in the thin-wall processing error of the problem, improve the economic efficiency of enterprises.

punch to achieve automatic punching processing H-beam Steel Processing Machine

Punch | Hydraulic Punch | Foot Punch – Foshan Union Punch professional supplier To achieve automatic punching processing design In this case sheet metal punch, Hydraulic presses, the use of PLC position control mode drive servo motor, the transformation of the ordinary punch to achieve automatic punching processing H-beam Steel Processing Machine. Improve the work efficiency of the press, save manpower, especially to improve the positioning accuracy, the use of the PLC’s position control mode and high-resolution encoder to achieve precise control of the position to improve the precision punching parts, but also automatically Adjust the length of the workpiece to achieve the flexibility of punch processing.

In this case, System structure A general punch of a factory usually completely manual operation, some of the volume of steel material is stupid and heavy, processing is particularly inconvenient hydraulic busbar punching machine, and manual stamping speed is slow, precision is poor, so we use the PLC control AC servo motor, An automatic punching and feeding system was designed to shorten the processing time of the rolled steel material by 5 times, especially to improve the machining precision and save manpower.

saving materials and energy Straightening Machines

Calculation of Punch Press and Punch Press Panyu press is a punching press. In the national production, the stamping process because of the traditional mechanical processing for saving materials and energy Straightening Machines, high efficiency. And most users only know how to operate the punch, but do not know the punch in the punch when the pressure how to calculate, IPM teach you how to calculate punch pressure: Calculate the pressure before we have to clear their own products used by the plate, the thickness of the product sheet, punching diameter. In the use of punch pressure algorithm, a reasonable count of the products to be processed punch pressure required.

The punch pressure algorithm is: perimeter \u0026 lt; plate thickness \u0026 gt; 50 x 1.3 \u0026 quot; 1000 = tonnage. \tSuch as: 1, red GB 304 stainless steel sheet, thick 1.5MM, side length 104MM, is the square, tons = 416 × 1.5 × 520 × 1.3 × 1000 = 42.1824, about 45 tons of punching force punch equipment! 2, cold-rolled plate Q235 custom metal fabrication, thickness 2.0, diameter 108mm; T = 108 × 3.14 × 2 × 40 × 1000 × 1.3 = A better understanding of the technical parameters and principles of punch angle steel cutter, you can pick to a pressure appropriate punch.

Does the solenoid valve affect the use of the punch?

Does the solenoid valve affect the use of the punch? Solenoid valve failure will directly affect the normal use of the punch Drilling Machine for Plate, solenoid valve is not action This is the most common failure of the solenoid valve, IPM teach you to solve. 1, check the electronic valve is leak. Leakage can cause insufficient air pressure, making the forced opening of the valve difficult, usually due to damage to the gasket or slide valve wear and the formation of cavities caused by the cavity. In this case,

2, check the solenoid valve wiring head is loose or thread is off, check the solenoid valve is powered, by tightening the thread to solve. In this case, 3, check the solenoid valve is stuck. 4, the solenoid valve coil is damaged, you can remove the solenoid valve wiring, with a multimeter to test, if the test results for the open tube drilling machine, then the solenoid valve coil damage angle steel bender.