Archive for the ‘Uncategorised’ Category

Initialize counter to the first variable (no # symbol !!!)

Tuesday, September 5th, 2017

Initialize counter to the first variable (no # symbol !!!)


WHILE[#33 LE 999] DO1


Loop through variables – shown range is #500-#999


#[#33] = #0


Set the current variable number to null (clear current variable)


busbar Machine


#33 = #33+1


Update variable number busbar bending machine count by one


END1


End of loop – return to the WHILE block and evaluate again


M99


End of macro


%


Vari able #33 is a lo cal vari able and serves as a coun ter Its ini tial set ting is 500, the first vari –


able of the range to be cleared The max i mum range is con trolled by the WHILE loop, and the ex –


am ple shows #999 as the last vari able in the range This num ber should be changed to match the


con trol sys tem This is also a macro, where the ba sic G65 state ment needs no ar gu ments:


O0019


Main program number


G65 P8011


Calls macro O8011 to clear all 500+ variables – no arguments


M30


End of main program O0019


%


The macro O8011 can be very eas ily adapted to learn ing vari ables in the 100+ se ries as well


Just change the ini tial set ting (#33) and the max i mum rage in the WHILE loop


Many ex am ples in the hand book use branch ing and loop ing func tions that can be used in ev ery –


day work The ma jor ity of them con tain com ments and ex pla na tions along with prac ti cal ap pli ca –


tions Use them as a re source to cre ate unique mac ros that can be Dished Head Punching Machine used on a daily ba sis


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


FANUC CNC Custom Macros


ALARMS AND TIMERS


14


The idea of ac tu ally caus ing an alarm dur ing ma chin ing op er a tions by a CNC pro gram may be a


bit un com fort able or even pe cu liar to many us ers, re gard less of ex pe ri ence Yet, cre at ing a spe –


cific con trol sys tem alarm – for a good rea Angle Punching son, of course – is noth ing more than ap ply ing a very


im por tant tool in macro de vel op ment Even un der nor mal op er at ing con di tions, all con trol sys –


tems au to mat i cally switch to the alarm mode, if a se ri ous and de tect able prob lem oc curs The key –

heck if the in put ra dius is greater than 25 mm

Tuesday, September 5th, 2017

heck if the in put ra dius is greater than 25 mm:


G65 P9000 R25


Macro call with one argument (radius amount)


O8012


Macro start


IF[#18 GT 025] GOTO1001


busbar Machine


Check condition for alarm – true or false ?


Process all blocks if condition is false


N1001 #3000 = 118 (RADIUS TOO LARGE)


Force alarm if condition is true


The se lected alarm num ber and mes sage to the operator is dis played on the screen as ei ther


118 RADIUS TOO LARGE


or


3118 RADIUS TOO LARGE


Slight vari a tions may be ex pected This is a typ i cal ap pli ca tion of a pro angle machine grammed alarm – a con –


trolled gen er a tion of an alarm by a macro, for a pre dict able pos si bil ity of an er ror


Embedding Alarm in a Macro


Re gard less of which alarm con di tions are used in the macro, the trans fer be tween the pro cessed


and the un pro cessed por tions of the pro gram must be smooth, re gard less of the re turned value


( true or false) For ex am ple, a macro may con tain the fol low ing three alarms (to ‘go-to’):


N1001 #3000 = 101 (HOLE SPACING IS TOO SMALL)


N1002 #3000 = 102 (TWO HOLES MINIMUM REQUIRED)


N1003 #3000 = 103 (DECIMAL POINT NOT ALLOWED)


In the macro O8013, these alarms will most likely be lo cated to wards the macro end How ever,


the macro pro gram Dished Head Punching Machine that pre cedes the alarms, us ing G65 P8013 angle shearing machine H8 I120 X750 Y1000


macro call, will have to be pro cessed with out in ter rup tion, if the con di tions are false (that means


run ning good pro gram, with no alarms) For ex am ple, this macro struc ture is NOT cor rect:


O8013


INCORRECT way to program alarms


IF[#4 LE 0] GOTO1001


I=#4 variable stores the hole spacing


IF[#11 LT 2] GOTO1002


H=#11 variable stores the number of holes


IF[#11 NE FUP[#11]] GOTO1003


Check if #11 contains the decimal point


G90 X#24 Y#25


Previously defined tool location XY


< macro body processing 锟?>


N1001 #3000 = 101 (HOLE SPACING IS TOO SMALL)


N1002 #3000 = 102 (TWO HOLES MINIMUM REQUIRED)


N1003 #3000 = 103 (DECIMAL POINT NOT ALLOWED)


M99


%


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

The G65 block for the above macro contains all input correctly

Monday, September 4th, 2017

FANUC CNC Custom Macros


ALARMS AND TIMERS


189


The G65 block for the above macro contains all input correctly – 8 holes, 12 mm apart It means


busbar Machine


all IF tests will be false and the macro will con tinue as in tended It will con tinue un til busbar bending machine it reaches the first alarm mes sage At this point the alarm takes over and macro pro cess ing stops Iron i cally,


if one ar gu ment is in put in cor rectly, the macro will is sue the ap pro pri ate alarm With all ar gu –


ments be ing cor rect, one alarm will al ways be is sued! That angle machine means a flaw less macro will gen er ate


alarm 3101 or 101 (HOLE SPACING IS TOO SMALL), in di cat ing wrong data in put Noth ing is


wrong with the in put, so what is the rea son? If a branch is based on a cer tain con di tion, the macro


true and false sec tions have to be sep a rated In the O8013 ex am ple they were not The alarm mes –


sages cnc equipment were not by passed if all data in put is good To by pass them, the un con di tional GOTOn func –


tion must be in cluded by it self in a block The n is the block num ber to branch to In un con di tional


branch ing, there is no IF, no WHILE – just GOTOn Pro gram O8014 cor rects the pre vi ous macro:


O8014


CORRECT way to program alarms


IF[#4 LE 0] GOTO1001


I=#4 variable stores the hole spacing


IF[#11 LT 2] GOTO1002


H=#11 variable stores the number of holes


IF[#11 NE FUP[#11]] GOTO1003


Check if #11 contains the decimal point


G90 X#24 Y#25


Previously defined tool location XY


< macro body processing 锟?>


GOTO9999


Unconditional bypass added


N1001 #3000 = 101 (HOLE SPACING TOO SMALL)


N1002 #3000 = 102 (TWO HOLES MINIMUM REQUIRED)


N1003 #3000 = 103 (DECIMAL POINT NOT ALLOWED)


N9999 M99


Block number to branch to


%


Com pare the two pre vi ous ver sions (changes are iden ti fied in the O8014 ver sion) The only ad –


di tion that can make the macro even better is the sav ing and sub se quent re stor ing of the cur rent


modal val ues Such im prove ment has noth ing to do with alarms, and is in cluded here to show the

program segment using intentional alarms The following example shows the saving

Monday, September 4th, 2017

program segment using intentional alarms The following example shows the saving Drilling Machine for Plate of


the cur rent state of G-codes (Group 3) at the be gin ning of the macro, and re stor ing it at the end:


O8015


#10 = #4003


Current G90 or G91 saved


busbar Machine


IF[#4 LE 0] GOTO1001


IF[#11 LT 2] GOTO1002


IF[#11 NE FUP[#11]] GOTO1003


G90 X#24 Y#25


< macro body processing 锟?>


GOTO9999


Unconditional bypass of alarm list


N1001 #3000 = 101 (HOLE SPACING TOO SMALL)


N1002 #3000 = 102 (TWO HOLES MINIMUM REQUIRED)


N1003 #3000 = 103 (DECIMAL POINT NOT ALLOWED)


N9999 G#10


Previously saved G90 or G91 restored


M99


%


Many macro pro gram mers do not use alarms at all or use them rather poorly When writing a


macro, write it first with out the alarms When ev ery thing works, try to pre dict what type of er rors


are pos si ble later, when the macro is ac tu ally used Then add all alarms cov er ing these sit u a tions


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


FANUC CNC Custom Macros


190


Chapter 14


Resetting an Alarm


When a macro alarm is gen er ated, it will have an ac cu rate resemblance to an alarm gen er ated by


the con trol sys tem in non-macro applications Typ i cally, this is the se quence of events:


1 CYCLE START light will be turned off


2 The word ALARM will flash on the screen


3 Alarm number and message (if available) will appear on the screen


At this mo ment, the con trol sys automatic punching machine tem has stopped all op er a tions To get rid of the alarm, press the


RESET key The source (the cause) of the alarm has to be removed, so make sure all tool po si tions


are cor rect, then press the CYCLE START key to run the macro again, this time with out an alarm


Message Variable – Warning, Not an Alarm


The sys tem vari able #3006 punching machine is only avail able on FS-10/11/15 con trols – it al lows the pro gram –


mer to is sue a mes sage in the macro, with out cre at ing an alarm con di tion Think of the mes sage


vari able as means of is su ing a warn ing, rather than an alarm A mes sage (warn ing) can be used in

customized alarms to the ones already in the control system

Monday, September 4th, 2017

‘detectable’ Creating macro alarms means just adding customized alarms to the ones already in the control system


One ba sic rule ap plies to all custom gen er ated alarms – they should be im ple mented by a macro


pro gram only un der one con di tion – when ever an ad verse sit u a tion is pre dict able The pur pose of


all alarms is to ter mi nate the cur rent pro gram ac tiv ity and force a change in the cur rent con di tions,


what ever they may be


Alarms in Macros


Macro can in clude a pro grammed alarm (also known as an angle machine in ten tional er ror con di tion), us ing


the sys tem vari able #3000 The vari able #3000 must be fol lowed by an alarm num ber, with an


op tional mes sage


busbar Machine


Alarm Number


De pending on the con trol system, the alarm num ber can be within a range of:


o


0 to 200 and more


for FS-0/16/18/21 controls


o


0 to 999


for FS-10/11/15 controls


The alarm num ber se lec tion is at the pro gram mer dis cre tion, sub ject to con trol spec i fi ca notching machine tions


Alarm Message


Alarm must have a num ber, but the alarm mes sage is op tional Pro gram ming a de scrip tive mes –


sage will in form the CNC op er a tor about the cause of the alarm Alarm mes sage must be in the


same block as the alarm num ber, en closed in pa ren the ses, and it can be up to 26 angle shearing machine char ac ters long


(31 char ac ters on some con trols), in clud ing spaces Its con tents should be clear, with out am big u –


ous mean ing For ex am ple,


(TOOL ERROR)


is an ambiguous message


(TOOL RADIUS TOO LARGE)


is a clear message


If the mes sage is pres ent, both the alarm num ber and the mes sage will ap pear on the screen


when the alarm is tripped If the alarm mes sage is not pres ent, only the alarm num ber will ap pear


187


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


FANUC CNC Custom Macros


188


Chapter 14


Alarm Format


The macro O8012 il lus trates the ac tual ap pli ca tion of a macro alarm that checks the in put of an


as signed vari able ( ie, ar gu ment R, as sign ment #18) Macro will c

Design Essentials of Hydraulic Tank

Tuesday, February 7th, 2017

Design Essentials of Hydraulic Tank

Hydraulic pump station nominal capacity of the fuel tank series (JB / T7938-1995), see Table 1.
Table 1 tank capacity JB / T7938-1995 (L)

4 6.3 10 25 40 63 100 160
250 315 400 500 630 800 1000 1250
1600 2000 3150 4000 5000 6300

Fuel tank capacity and the flow of the system, the general capacity desirable maximum flow of 3 to 5 times. In addition, the size of the tank capacity can be designed from the perspective of heat dissipation iron punching machine. Calculate the system heat and heat, and then consider the cooler cooling, from the thermal equilibrium point of view to calculate the fuel tank capacity. No cooling device, the natural environment to calculate the capacity of the tank cooling method is as follows.

angle bending machine

1) system heat calculation In the hydraulic system, where the loss of the system are turned into heat dissipation. Each cycle, each case its efficiency is different, so the loss is also different. The power of a cycle heat calculation drill machine formula
Where H – the average heating power of one cycle (W);
T – a cycle time (s);
Ni – input power (i) for the i-th case;
Ηi – the efficiency of the i-th case;
Ti – duration of the i-th case (s).
2) heat calculation When ignoring other parts of the system heat, only consider the tank cooling, it is clear that the total heating power of the system H to consider all the heat from the tank. At this time the tank cooling area A formula
Where A – tank cooling area (m2);
H – the thermal power (W) required to cool the tank;
△ t – temperature (generally 55 ℃ to consider) and the ambient temperature temperature difference (℃);
K – heat dissipation factor. K = 8 ~ 9; X = 15 ~ 17.5 in good condition; K = 20 ~ 23 in forced cooling of the fan; K = 110 ~ 175 in forced water cooling.
3) Calculation of the tank capacity Let the length, width and height ratio of the fuel tank drilling stainless steel be α: b: c, then the length of the tank is αl, bl, cl (see Fig.1)
Where A – heat dissipation area (m2).
Hydraulic system operating temperature is generally expected to remain in the range of 30 ~ 50 ° C, the maximum not exceeding 65 ° C, the minimum not less than 15 ° C, if the hydraulic system by natural cooling can not make the oil temperature control within the above range , You must install the cooler; the other hand, if the ambient temperature is too low, can not make the pump start or normal operation, you must install the heater.

In the single-wire tap grinder on the machine in the tap diameter shovel

Friday, January 20th, 2017

The national standard GB / T969 – 94 ‘taper technical condition’ 3.8 stipulates: Thread nominal diameter greater than and equal to 3mm high performance machine taper thread tooth type should carry on shovel mill; Thread nominal diameter is bigger than and equal to 8mm ordinary machine taper thread tooth Type should be shovel grinding. Tap in the shovel grinding process is in the process, machine grinding wheel in the role of shovel grinding cam, tap in each of the blade, from the front mouth to the back of the mouth, grinding out an Archimedes spiral, forming the former (SB / K722A) on the processing has been through the thread rolling machine thread (hot before the tap thread roughing) of the tap semi-finished products. Processing conditions: single-wire tap grinder (SB / K722A) Machine taps (size range M3 – M16) in the processing of the rough sub – roughing and finishing. Roughing refers to the heat treatment before the rolling thread processing, finishing is the heat treatment after grinding thread processing. As in the roughing of the thread, is based on the positioning of the outer circle as the basis for processing, rough cylindrical cylindrical tolerance requirements within 0.05mm, rough rolling after the heat treatment process has been deformed; and in the finishing process is based on tap A center hole 60 required in the process pipeline welding machine. For the positioning of the benchmark, so that the rough, finishing the different benchmarks, coupled with the heat treatment and deformation and other factors, making the thread mill in the hanging shovel processing, the tap in the diameter of the blade, no shovels, backhoe and Shovel grinding the highest point is not in front of the flap and other phenomena. In order to eliminate this phenomenon, it must be in the middle of the shovel shovel processing preparation. A tap tool is used to classify the tap as shown in Fig. The above programming example, you can find the same idea of ​​the two programming, the same length of the program, but the second case is more than 8 times the knife, which each knife has to take the knife away, greatly reducing the processing efficiency. Therefore, in the case of ensuring the processing efficiency can be increased, you can simultaneously use the G71 and G73 instructions on the same contour surface processing, such as for non-monotonically increase or decrease the outer contour can be processed with G71 monotonically increase or decrease part of the contour, then G73 The contour of the groove portion is machined. The first two pairs of knife blocks with screws in the front bracket on the open slot, the two pairs of blocks in contact with the middle of the thread to produce a threaded hole drilling tapping machine, the thread of the parameters and roughing thread after the same thread parameters , The screw hole requires the center height to be aligned with the rear top 4 center, wherein the left pair of cutter blocks can slide along the groove of the front support plate, and the left pair of cutter blocks can be fixed with the screw with hand wheel for convenience metal punching equipment. First loosen the handwheel screws used to fix the left cutter block, slide the left cutter block outwards (see Figure 3), place the tap on the knife tool and hold it with the top 4, then Slide) to close the left cutter block 6, so that the two pairs of knife blocks on the two nuts and tap thread parts are engaged, tighten the lock hand wheel screw fixation left on the knife block, so that the right and right knife block tightly tap The blank is then rotated in reverse to the tapping direction. At this time because the tap back so that the top after the top 4 began to tighten the tap blank, until the tap rough tool in the tool on the knife rotation is not moving up busbar punching machine. According to the tap at the front edge of the edge of the block with the knife next to the center line alignment position classification.

 

For example, if the front edge of the tool is aligned with the center line of the cutter block, the tap can be grouped into the front opening, as shown in Figure 4. According to the tightening of the taper, the taps are divided into six categories, which are the front, the flap, the back, the front, the trough, the trough and the trough. (See Figure 5) will be classified after the tap placed separately, and make the mark. In the SB / K722A taper grinder on the fine thread parts, the various types of tap blanks in accordance with the location shown in Figure 5 from the front mouth to the groove after the order of sequential processing. For example, before the processing of the mouth category, in the knife tool on the knife on the chuck, the first tap in the handle of the handle and then tighten the screw to stop. Then tap the front mouth on the knife block center position, and finally tighten the chuck, chuck tight after the direction to be consistent. And then to the SB / K722A taper grinder headstock and tailstock between the two top -, before the adjustment control machine tool wheel cam, when the headstock toggle tap to the front position, the cam control wheel back away from the tap; When the headstock drives the tap to the slotted gap, the cam controls the grinding wheel to move backwards, away from the tap and into the next cycle, so that the diameter of the middle diameter of the tap can be controlled by the cam. When the headstock drives the tap from the front mouth to the back, A shovel after grinding angle. After processing the mouth class and then use the same method of processing other classes.

Punch – aimed at high-end precision punch market

Monday, December 26th, 2016

As the Czech Republic and Czech Republic is now the largest industry-funded enterprises – Shenzhen IPM, integration of the two professionals in the Czech Republic raised the outstanding advantages of the world punch priority level of the South European punch manufacturing skills into China, at the same time to our country Manufacturing capacity-based, to China and the rest of the world to provide a reasonable price ratio of punch equipment and good service, after a long time manufacturing skills, Shenzhen IPM punch will provide more high-skill, high-quality and high-scale goods. Now, Shenzhen IPM has been in the manufacture of goods and market development to take good results.

Shenzhen IPM company headquarters and the production plant layout is reasonable, orderly management, has a good foundation for sustainable development conditions. (15T-500T), and has a large and a large number of CNC machining equipment, the precision detection equipment, and a full set of physical and chemical facilities angle bending machine, and other advanced quality control methods to achieve the ERP, PDM, CAM, and so on. Enterprise information engineering steel saw, with rapid response to market demand for resilience busbar bending cutting punching machine.

contents of the fault welding automation

Monday, December 26th, 2016

Shenzhen 45 tons punch, punch factory in Shenzhen, co-forging press IPM punching function integrated in the LCD screen cnc machine for sale, the base frame automatically displays the contents of the fault welding automation, the clutch / brake device highly sensitive metal drilling machine, the international top single solenoid valve, punch to ensure that the Shenzhen press run and stop the accuracy and safety. Electrical circuit design, can be used with a variety of automation equipment, automated production, reduce costs and improve efficiency. Supply Shenzhen 45 tons punch, please contact us. Info@ipmmc.com

Punching Machines boring machine price

Monday, December 26th, 2016

Haizhu punch, pneumatic punch cnc ring machine, Haizhu Longmen punch IPM Press Factory is a professional manufacturer of Pneumatic Presses, Guangzhou Punch Presses and Guangzhou Longmen Punching Machines boring machine price. We can design the throat depth according to the customers’ requirements. It is one of the largest punching machine sales enterprises in Guangzhou angle notching machine. The strength of the company is that the pneumatic punch presses are well received by the industry and major Customers of praise.

The use of the most advanced casting technology, the whole structure is stable; system micro-electronic control to prevent the second punch, double protection; micro-control punching intensity, machine damage to the minimum aluminum; double-acting single-pressure air clutch, safe and low noise ; Slider with six-oriented, and enhance the service life of the mold. Welcome to inquire: info@ipmmc.com