In the metric system of units, the small est unit in crement is 0001 of a millimeter

glish mode


#101 = 19/64


Returns 0296875 (English units)


G91 G01 X[ROUND[#101]] F100


Uses X02969 motion


In the metric system of units, the small est unit in crement is 0001 of a millimeter (one mi cron),


so the copper busbar bending machine round ing will be to the three dec i mal place ac cu racy (to the least in cre ment) In a CNC


state ment, the round ing will be ac cu rate to 3-dec i mal places:


G21


Metric mode


#101 = 19/64


Returns 0296875 (Metric units)


G91 G01 X[ROUND[#101]] F2500


Uses X0297 motion


As a sim pli fied ex am ple of a pos si ble ap pli ca tion, sev eral sim u lated mo tions will be pro –


grammed us ing a pre de fined Busway Press Clamp Machine frac tional di men sions The tool will move in three stages – rapid out


from the start po si tion, feed out a lit tle fur ther, and rapid back in to the start po si tion (only one


axis custom processing machine is used in the demonstration) In or der to test the us age of the ROUND func tion on the ma chine


con trol, first en ter the fol low ing pro gram into the con trol sys tem, then reg is ter the cur rent XY co –


or di nate of the tool po si tion at the start of pro cess ing:


N1 G20


English units input


N2 #100 = 3 + 19/64


Input value of 3296875


(motion A)


N3 #101 = 2 + 5/64


Input value of 2078125


(motion B)


N4 G91 G00 X-#100


Incremental motion A to the left X-32969


N5 G01 X-#101 F200


Incremental motion B to the left X-20781


N6 G00 X[#100+#101]


Incremental motion A+B to the right may not be rounded


N7 M00


End of example


Com pare the tool po si tion at the be gin ning of the test, be fore run ning the pro gram, and com –


pare it with the tool po si tion af ter the pro gram has been ex e cuted The tool po si tion co or di nates


XY may or may not be the same The start po si tion and the end po si tion of the tool may be off, de –


pend ing on the type of value to be rounded This prob lem is com pounded by the fact that the er ror


is ac cu mu la tive – the more parts are ma chined, the more se vere the de vi a tion er ror will be This is


due to the round ing ef fect of the con trol sys tem

The second step requires using the ROUND function on the returned value

xample)


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


120


Chapter 9


STEP 2 – The second step requires using the ROUND function on the returned value:


#2 = ROUND[#2]


Returns 16390


(based on the result of Step 1)


#3 = ROUND[#3]


Returns 163870


(based on the result of Step 1)


STEP 3 – The third step will di vide the rounded value by the same mul ti ply ing fac tor as be fore:


#2 = #2/1000


Returns 1639


(based on the result of Step 2)


#3 = #3/10000


Returns 16387


(based on the result of Step 2)


In the macro pro gram, the three steps can be used as de scribed, Busway Press Clamp Machine but a more com mon method is


to pro cess all three func tions in a sin gle nested state ment:


#1 = 1638719


Value to be rounded to a specific number of decimal places


#2 = ROUND[#1*1000]/1000


Returns 1639


#3 = ROUND[#1*10000]/10000


Returns 16387


Improper rounding may cause a cumulative error in calculations !


2 Example 2 – custom processing machine Given fractional value is under 05 :


#4 = 1397528


Value to be rounded to a specific number of decimal places


If the ROUND func tion is ap plied to this given value, it will re turn the last whole num ber:


ROUND[#4]


Returns 10


In or der to round the given value to a cer tain num ber of dec i mal places, the to tal of three steps


will be nec es sary


STEP 1 – The first step re quires the given value to be mul ti plied by the fac tor of:


10


to round off to one decimal place


100


to round off to two decimal places


1000


to round off to three decimal places


typical for metric system


10000


to round off to four decimal places


typical for English system


锟?and so on


For ex am ple:


#5 = #4 * 1000


Returns 1397528 (Metric example)


#6 = #4 * 10000


Returns 1397528 (English best mill drill example)


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


FANUC CNC Custom Macros


MACRO FUNCTIONS


121


STEP 2 – The sec ond step re quires using the ROUND func tion on the re turned value:


#5 = ROUND[#5]


Returns 13980


(based on the result of Step 1)

ASIN and ACOS functions are not available on 0/16/18/21 model controls !

#5 = ATAN[025]/[05]


265650512 (note the position of the slash !!!)


ASIN and ACOS functions are not available on 0/16/18/21 model controls !


Rounding Functions


Cal cu la tions of ten re sult in a value with too many dec i mal places In CNC work, only three dec –


i mal places can be used for met ric units, or four dec i mal places for Eng lish units in the pro steel punch gram or


a macro Some round ing is nec es sary and should be ex pected There are three func tions avail able


in mac ros that con trol the rounded value of a given num ber – they are sim i lar to each other, but


def i nitely not the same:


ROUND FIX FUP


The ROUND func tion is de signed to round off the sup plied value to a whole num ber (round off


frac tions un der 10) The func tion dis re gards frac tions that are less than 05 For frac tions that are


equal to or greater than 05, the next whole num ber is the rounded value:


ROUND[000001]


Returns 00


ROUND[05]


Returns 10


ROUND[099999]


Returns 10


ROUND[10]


Returns 10


A value that had been stored hole punching machine pre vi ously into a vari able, can be rounded in the same way as a di –


rectly input value:


#1 = 13


Returns 13


#2 = 16


Returns 16


ROUND[#1]


Returns 10


ROUND[#2]


Returns 20


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


FANUC CNC Custom Macros


118


Chapter 9


There are small dif fer ences in us age of the ROUND func tion, de pend ing on ap pli ca tion If the


ROUND func tion is used in a def i ni tion of a vari able, the round ing ef fect will al ways be to the


near est in te ger value For ex am ple:


#101 = 19/64


Returns 0296875


#102 = ROUND[#101]


Returns 00


The ROUND func tion may also be used in a CNC state ment First, store a value:


#101 = 19/64


Returns 0296875


In the Eng lish sys tem of units, the small est unit in cre ment is 00001 of an inch, so the round ing


will be to the four dec i mal place ac cu racy (also known as drilling tools round ing to the least in cre ment) In a


CNC state ment, the round ing will be ac cu rate to 4-dec i mal places:

The third step will di vide the rounded value by the same multiplying factor

#6 = ROUND[#6]


Returns 139750


(based on the result of Step 1)


STEP 3 – The third step will di vide the rounded value by the same multiplying factor as be fore:


#5 = #5/1000


Returns 1398


(based on the result of Step 2)


#6 = #6/10000


Returns 13975


(based on the result of Step 2)


In the macro pro gram, the three steps can be used as de scribed, but a more com mon method is


to pro cess cnc cutter all three func tions in one nested state ment:


#4 = 1397528


Value to be rounded to a specific number of decimal places


#5 = ROUND[#4*1000]/1000


Returns 1398


#6 = ROUND[#4*10000]/10000


Returns 13975


Ac cu racy in round ing is ex Busway Press Clamp Machine tremely im por tant, not only for the fi nal di men sions of the ma chined


part, but also for track ing er rors in the macro pro gram Inaccuracies hole punching machine caused by cu mu la tive round –


ing er ror are not al ways easy to find


Al ways use care in pro gram ming rounded val ues


FUP and FIX Functions


The re main ing two round ing func tions are used to round a given value up or down only, re gard –


less of whether the dec i mal por tion is over or un der 05


The FUP func tion is de signed to round up the given value (raise frac tions less than 10)


FUP[000001]


Returns 10


FUP[05]


Returns 10


FUP[099999]


Returns 10


FUP[10]


Returns 10


The FIX func tion is de signed to round down the given value (dis card frac tions less than 10) –


ie, strip all val ues af ter dec i mal point


FIX[000001]


Returns 00


FIX[05]


Returns 00


FIX[099999]


Returns 00


FIX[10]


Returns 10


The FUP and FIX func tion are commonly used in es tab lish ing the num ber of it er a tions (count –


ing loops) and for other count ing (rather than cal cu lat ing) pur poses


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


FANUC CNC Custom Macros


122


Chapter 9


Miscellaneous Functions


Five macro ori ented mis cel la neous func tions are avail able for programming macro expressions


The fol low ing five func tions are avail able:


SQRT ABS LN EXP ADP


Do not con fuse these macro func tions with C

To correct the accumulative error, or if you want to be ab so lutely certain

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


FANUC CNC Custom Macros


MACRO FUNCTIONS


119


To correct the accumulative error, or if you want to be ab so lutely certain, you have to round copper busbar bending machine the


mo tion in one di rec tion to equal to the mo tion in the op po site di rec tion:


N1 G20


English units input


N2 #100 = 3 + 19/64


Input value of 3296875


(motion A)


N3 #101 = 2 + 5/64


Input value of 2078125


(motion B)


N4 G91 G00 X-#100


Incremental motion A to the left X-32969


N5 G01 X-#101 F200


Incremental motion B to the left X-20781


N6 G00 X[ROUND[#100]+ROUND[#101]] Incremental motion A+B Busway Press Clamp Machine to the right will be rounded


N7 M00


End of drilling steel example


Rounding to a Fixed Number of Decimal Places


There are times when a frac tional value has to be rounded to a spe cific (fixed) num ber of dec i –


mal places Typ i cally, three dec i mal places are re quired for the met ric sys tem, four dec i mal


places are re quired for the Eng lish sys tem, and per haps one dec i mal place is re quired for cut ting


feedrate, re gard less of the units se lected


In the fol low ing two ex am ples, two given val ues will use a few techniques, pro vid ing the re sults


of dif fer ent round ing meth ods:


2 Example 1 – Given fractional value is over 05 :


#1 = 1638719


Value to be rounded to a specific number of decimal places


If the ROUND func tion is ap plied to this defined value, it will re turn the next whole num ber:


ROUND[#1]


Returns 20


In or der to round the given value to a cer tain num ber of dec i mal places, the to tal of three steps


will be nec es sary


STEP 1 – The first step re quires the given value to be mul ti plied by the fac tor of:


10


to round off to one decimal place


100


to round off to two decimal places


1000


to round off to three decimal places


typical for metric system


10000


to round off to four decimal places


typical for English system

Variable pump control of the sub-power, full power control, cross-power control

Power control

Separate power variable system in the two hydraulic pumps have a separate constant power regulator, each hydraulic pump flow only by the pump where the load pressure of the circuit, as shown in Figure 1a, Figure 1b for the dual pump characteristic curve. Split power system simply combines two constant power hydraulic pumps together, each hydraulic pump up to absorb 50% of the rated power of the diesel  iron punching machine engine. And only when each hydraulic pump in the pressure adjustment range P0 ≤ P ≤ Pmax work in order to use the full power. As the load pressure in each circuit is generally not equal, so the output of the hydraulic pump flow is not equal. The advantage of this system is that the flow rates of the two hydraulic pumps can be individually varied according to the load of the respective circuit, and the adaptability to the load is superior to the full power system. The main drawback is that: because each hydraulic pump can only absorb 50% of the power of the diesel engine, and when one of the hydraulic pump work under the starting pressure, the other a hydraulic pump can not absorb the diesel engine spare power, the diesel engine Power is not fully utilized, thus limiting the excavator’s ability to work, so this system in foreign large and medium-sized excavator was basically eliminated.

Figure 1 sub-power variable system

Figure 1 sub-power variable system

Full power control

Figure 2 full-power variable system

Figure 2 full-power variable system

In the full power variable system, the hydraulic pump power regulation in two forms. One is the two hydraulic pumps share a power regulator, such as Rexroth A8VO pump (the working principle shown in Figure 2a), the pressure of the two hydraulic pump pressure pump PA1, PA2 half of the sum of the role of the regulator On the realization of the two pump common variables; the other is the two hydraulic pump configuration of a regulator, such as the K3V Kawasaki pump (working principle shown in Figure 2b shown), the two regulators by hydraulic linkage, two hydraulic pumps Of the pressure oil into the pump regulator ring cavity and the other side of the hydraulic pump regulator small face cavity, the realization of hydraulic linkage, the small end face cavity area hydraulic hole punch and the ring cavity area equal to the pump pressure changes on the regulator Push the effect of equal, so that the two hydraulic pump swashplate swing angle equal to the output flow equal to the two specifications of the same and at the same time the action of the implementing agencies to maintain synchronization relationship. Determine the pressure of the hydraulic pump flow change is the sum of the two hydraulic pump working pressure P = P1 + P2, as long as the meet 2P0 ≤ P ≤ 2Pmax, the sum of the two hydraulic pump power always remains constant, not exceeding the diesel power. But the power of each hydraulic pump is proportional to its working pressure, in which a hydraulic pump may sometimes run under overload, the system features shown in Figure 3. The advantages are: first, under certain conditions to take full advantage of diesel engine power; second, two hydraulic pumps each can absorb all the power of the diesel engine to improve the operational capacity of the work device; third, simple structure. As a result of the above characteristics, full power variable pump hydraulic drilling machine manufacturers system in the excavator has been a large number of applications. The full-power variable system, its performance is not ideal, the single pump characteristic curve shown in Figure 4. The operating point of the hydraulic pump is always automatically adjusted along the abcde polyline, the actual maximum power, maximum flow and maximum pressure in three extreme working conditions. Excavator work is not always required maximum power, maximum flow and maximum pressure. If the diesel engine is in no-load operation, or the operating load is light and the working device is in a strong resistance to micro-movement, if the above characteristics will inevitably lead to energy waste, but can not control the operation of the hydraulic pump, the full power system can not Avoiding the presence of power loss. Current open center system is not a separate full-power control function, but with other control together, such as negative flow control, positive flow control, power change control. Most domestic excavator hydraulic system with full power control and negative flow control of the combination of the output power of the hydraulic pump to control, in order to reduce extreme conditions of power loss.

Figure 3 full-power variable system characteristics

Figure 3 full-power variable system characteristics

Figure 4 constant power variable single pump characteristics

Figure 4 constant power variable single pump characteristics

112042aokc86vhy6kvkh3q

Cross power control

As the sub-power variable system is only a simple combination of two hydraulic pumps, each pump up to absorb 50% of the power of the diesel engine, when a hydraulic pump work under the starting pressure, the other a hydraulic pump can not absorb the diesel free spare power. In view of this drawback, in the sub-power system, based on the emergence of cross-power control. Cross-power control in principle is a full-power regulation, and the full power control is different from the two hydraulic pump displacement can be different. Through the cross-linked configuration, the working pressure of the two hydraulic pumps interact with each other’s regulators hole punching machine. The output flow of each hydraulic pump depends not only on its own outlet pressure but also on the outlet pressure of the other hydraulic pump. If a hydraulic pump does not operate or operates at less than 50% of the total drive power, the second hydraulic pump automatically utilizes the remaining power, in extreme cases up to 100% of the total drive power. Crossover power control not only has the ability to adjust the output of the hydraulic pump according to the load of each hydraulic pump, but also make full use of the power of the diesel engine. However, the operating point of the cross-power control hydraulic pump is limited to the abcde fold line as shown in Fig. 4 and can not be changed in the plane condition under the fold line. At present, cross-power control is not a separate work, but with other control methods combine to limit the sum of the two-pump power, shown in Figure 5 is the cross-power control and pressure cut off the combination of control.

Drilling Machine for ring

When the system pressure is higher than the set pressure, the pressure cut-off valve will act, the system pressure enters the power. When the system pressure is lower than the set pressure, The variable regulator cylinder chamber, so that the displacement of the hydraulic pump smaller.

 

Product use conditions of mold chamber

1, the installation site In this case, The ground is flat and well ventilated In this case, There is no strong vibration around the device In this case, There is no strong electromagnetic field around the device In this case angle straightener, No flammable, explosive, corrosive substances and dust around the equipment In this case, Leave appropriate space around the equipment for use and maintenance, In this case, 2, power supply conditions In this case, Power requirements: AC380V ± 10% 50 ± 0.5Hz three-phase five-wire system In this case, Pre-installed power: total power + 2.0KW In this case, The user is required to configure the air or power switch of the corresponding capacity on the installation site, and this switch must be used independently for this equipment (recommended power switch capacity: 32A) In this case, 3, environmental conditions In this case, Ambient temperature: 5 ℃ ~ +30 ℃ (within 24 hours the average temperature ≤ 30 ℃) In this case, Environmental humidity: ≤ 85% RH In this case, 4, water supply conditions (only hot and humid type and the need for water equipment) In this case, Using pure water, distilled water, deionized water. Resistivity ≥ 500Ω.m In this case, 5, other considerations In this case, Opening the door of the test chamber during the test will cause fluctuations in the temperature and humidity inside the box. If the door is opened several times during the test or when the door is opened for a long time or the test sample emits moisture vapor, the heat exchanger may freeze in the refrigeration system And can not work properly In this case drilling tapping machine, Mold test chamber Angle Straightening Machine, as artificial speed up the breeding of mold use, assessment of electrical and electronic products, the ability of mold and mildew.

In this case, Mold chamber cabinet with CNC machine tool processing molding, nice shape, and the use of non-reactive handle, easy to operate. Box liner imported high-grade stainless steel mirror panel, box outside the gallbladder with A3 steel spray, an increase of the appearance of texture and cleanliness. Replenishment tank placed in the lower right of the control box, and there is water protection, more convenient to add water to the operator. Large observation window with a bright light to keep the box, and the use of heat built-in tempered glass, clear observation of the situation at any time. Humidification system piping and control circuit board separately, to avoid leakage of the humidification pipeline failure, improve security. Waterway system pipeline circuit system is used to open the door to facilitate maintenance and repair. Cabinet insulation using ultra-fine fiber insulation cotton, to avoid unnecessary energy loss. In this case, Mold test chamber for aerospace products, materials, electronic products, all kinds of electronic vitality in the hot and humid environment, test its performance.

IPM pneumatic punch performance, operation more secure

IPM pneumatic punch performance, operation more secure IPM Pneumatic Punch Co., Ltd. is a professional manufacturer of pneumatic punch presses. Our company has strong technical force and perfect testing means. Our pneumatic punching machines are widely used in aviation, automobile, electrical appliances, hardware, motors and bearings. And improve after-sales service and selling all over the country. And exported to Southeast Asia more than 10 countries and regions, won the user’s trust and praise. And in accordance with the requirements of users design a variety of pneumatic punch. IPM Pneumatic press adjustment precision up to 0.1mm, adjust the production more secure, fast. IPM Pneumatic Punch Co., Ltd. is a professional punch manufacturers.

Our company has strong technical strength, perfect detection means, the production of pneumatic punch by the provincial quality products Flange Drilling Machine, has achieved ISO9001 international quality system certification, with superior product performance and perfect after-sales service and selling the country Everywhere CNC Angle Punching Machine. And exported to Southeast Asia more than 10 countries and regions custom processing machine, won the user’s trust and praise. The company has always followed the quality first, the principle of the supremacy of users, for customers on the products and the use of the problem, the company obligations to provide advisory services. I welcome customers around the company to visit and look forward to your joining, is willing to work with you to create brilliant!

IPM pneumatic punch good quality, high precision and high efficiency

IPM pneumatic punch good quality, high precision and high efficiency Shenzhen IPM Machinery Manufacturing Industry Co., Ltd. specializes in the supply of pneumatic punch, good quality. JH21 series punching machine adopts welded structure of steel plate and has strong rigidity through internal stress eliminating treatment. Single crankshaft dual-link mechanism, easy to use, easy to adjust mode, high precision and high efficiency, enhance the profitability of users. Suitable for metal ceilings, airport chairs sheet metal punching machine, subway chairs cnc machining, cable trays, large-scale lighting industry, can be automated production lines. High-quality pneumatic punch boring machine for sale, the preferred IPM pneumatic punch.

IPM remind you to buy punch instructions

IPM remind you to buy punch instructions Punch in the purchase boring machine, you must first understand the drawings to be processed products, engineering personnel to calculate the actual tonnage. For example, your product tonnage is 20T, then you have to buy larger than his tonnage 25T welding machine for plate. To prevent damage to the device due to excessive force laser cutting machine.