Author Archive

sep a rate lists for the as sign ment of lo cal vari ables They are called the As sign

sep a rate lists for the as sign ment of lo cal vari ables They are called the As sign –


ment List 1 and the As sign ment List 2 In both lists, a let ter of the Eng lish al pha bet is ar bi trarily as signed a vari able copper busbar bending machine num ber, built into the con trol soft ware For ex am ple, in both as sign ment lists,


the let ter A is as so ci ated with a lo cal vari able #1, let ter B is as so ci ated with a lo cal vari able #2, and punch machine for Head the let ter C is as so ci ated with a lo cal vari able #3


The as sign ments vary greatly be tween the List 1 and the List 2, and the or der of num bers does


not al ways fol low the or der of the let ters as Busway Press Clamp Machine it may appear from A=#1, B=#2, C=#3 example


Assignment List 1 – Method 1


plate drilling machine


The vast ma jor ity of macro ap pli ca tions use the vari ables from the As sign ment List 1 It only


con tains 21 as sign ments for lo cal vari ables, but that is a num ber more than suf fi cient for the ma –


jor ity of mac ros The 21 let ters of the Eng lish al pha bet are as signed lo cal vari ables, as ar gu ments,


de fined in the G65 macro call, and passed to the macro body


The As sign ment List 1 is de fined by Fanuc in the fol low ing ta ble:


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


FANUC CNC Custom Macros


ASSIGNING VARIABLES


95


Argument List 1 Address


Local Variable in a Macro


A


#1


B


#2


C


#3


D


#7


E


#8


F


#9


H


#11


I


#4


J


#5


K


#6


M


#13


Q


#17


R


#18


S


#19


T


#20


U


#21


V


#22


W


#23


X


#24


Y


#25


Z


#26


Assignment List 2 – Method 2


Only a very few macro ap pli ca tions use the As sign ment List 2 It con tains 33 as sign ments of lo –


cal vari ables, in case there is a need for more than the 21 lo cal as sign ments from the As sign ment


List 1 The first three as sign ments, A, B, and C are the same, but that is where the sim i lar ity ends


These as sign ments are sup ple mented by a set of 10 ar gu ment groups, iden ti fied as I1 J1 K1 to I10 J10


K10 This method may be some what harder to im ple ment, par tic u larly by be gin ners

used in side of macro, as al ready es tab lished

used in side of macro, as al ready es tab lished


Al though #10 in di cates a miss ing let ter G, #14 a miss ing let ter N, #15 a miss ing let ter O, and


#16 a miss ing let ter P, #12 is out of or der Try to think of the copper busbar bending machine dis al lowed let ters, not cnc cutter the num –


bers The let ters that can not be used in a vari able as sign ment (G65 block) are:


o


G address Preparatory command


o


L address Number of repetitions (for macros, subprograms, and fixed cycles)


o


N address Block number (sequence number)


o


drilling Machine


O address Program number designation


o


P address Program number call


These are re stricted let ters (try the word GNOPL to re mem ber them) and can not be as signed any


value for any pur pose Of the five, only the let ter G can be used for a spe cial pur pose, such as a


def i ni tion of a new G-code Cus tom G-codes can ac tu ally called a macro, for ex am ple, a spe cially


de vel oped unique cy cle rather than us ing the G65 macro call, the new G-code type macro call


looks like a nor mal G-code, and is of ten eas ier to work with Chap ter 21 cov ers this sub ject


Simple and Modal Macro Calls


The G65 com mand is de fined as a macro call That is cor rect, but it should re ally be de fined as


a sim ple or sin gle macro call The word 鈥榮im ple锟?in this case means 鈥榗alled once锟? or 鈥榥on-modal锟?


In a pro laser cutting gram, G65 can only be used once at a time – as it is not a modal com mand It may be


called any time when needed, but all vari ables must be al ways re de fined This may prove im prac ti –


cal, when a macro should re tain the ar gu ments for more than a sin gle call To sat isfy this need,


Fanuc does also of fers a modal macro call com mand, in fact, it of fers two of them:


G66


Macro is called with an axis movement command only


G661


Macro is called with any command (not available on all controls)


Like other modal com mands, the modal macro call has to be can celed, when it is no lon ger re –


quired The modal macro can cel com mand is an other G-code:


G67


Modal macro call is canceled (G66 or G66

ment needs an explanation – where are the re maining 12 vari ables?

ment needs an ex pla na tion – where are the re main ing 12 vari ables? Why are


they miss ing? Is there a con nec tion be tween the miss ing num bers and the miss ing five let ters?


In the As sign ment List 1, there are only 21 vari ables (let ter) that can be de fined in the macro call


G65, but the re main ing 12 can only be de fined within the body of a macro Look care fully on the


num bers of those vari ables miss ing in the As sign ment List 1 The fol low ing num bers are only


those not avail able in the List 1:


Vari ables


drilling Machine


#10, #12, #14, #15, #16, #27, #28, #29, #30, #31, #32, and #33


are not part of the As sign ment List 1 Yet, they can be de fined in ter nally, within the macro body only, also as lo cal vari ables They can be re de fined and used again, but they are not tied up to a


let ter ad dress like the ‘nor mal’ 21 vari ables


A good ex am ple to il lus trate the con cept of us ing these vari ables in the macro body is vari able


#33, al though the ex am ple drilling steel ap plies equally to other ‘miss ing’ vari ables Since #33 is the last


avail able vari able num ber, many macro pro gram mers of ten use it as a coun ter def i ni tion for


macro loops (any other vari able can be used for the same pur pose with the same re sult) A coun ter


for loops is of ten re quired within the macro body, but there is no need to de fine it in the G65


macro call state ment, where it would have be de fined by one of the as sign able 21 vari ables


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


FANUC CNC Custom Macros


98


Chapter 8


Disallowed Addresses


The next ‘mys tery’ to solve is the mys tery of the five miss ing let ters – ad dresses Why there are


only 21 of the 26 Eng lish al pha bet let ters that can be used? The five re main ing let ters are miss ing


for a good rea son Just by look ing at the miss ing num bers in the As sign ment List 1 may pro vide a


clue drilling tools These num bers are miss ing in the As sign ment List 1:


#10, #12, #14, #15, and #16


Note – these vari ables can only be

local to the program that called them We use local variables

local to the program that called them We use local variables


to as sign val ues to macro pro gram ar gu ments Lo cal vari ables are also used for a tem po rary stor –


age within the macro body, dur ing cal cu la tions of for mu las and other ex pres sions


In ad di tion to the G65 command, there are also pre pa ra tory com mands G66, G661, and G67, all re lated to mac ros The G65 com mand cnc cutter is most sig nif i cant of them and is cov ered here in depth


93


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


FANUC CNC Custom Macros


94


Chapter 8


Clearing Local Variables


CNC Plastic plate drilling machine


Lo cal vari ables are nor mally cleared (made va cant) by an in ter ven tion from the con trol panel


(usu ally done by the CNC op er a tor), or a pro gram code (usu ally done by the CNC pro gram mer)


Each of the fol low ing hydraulic busbar cutter ac tions will clear the lo cal vari ables and sets them to null:


o


Pressing the control RESET key will set all local variables to null


o


Pressing the external RESET key will set all local variables to null


o


Pressing the EMERGENCY switch will set all local variables to null


o


Programming code M30 custom processing machine (program end) will set all local variables to null


o


Programming code M99 (subprogram end) will set all local variables to null


Any lo cal vari able can be cleared by these means, but it can also be cleared in a macro pro gram,


if re quired In the macro state ment, it must be as signed the value of #0 Some man u als re fer to the pro cess of clear ing vari ables in a pro gram as a pro cess of purg ing vari ables, with the same mean –


ing This ex am ple il lus trates the clear ing (purging) pro cess of lo cal vari ables in a pro gram:


#1 = 1350


Sets a value of variable #1 to 1350


G00 X#1


Uses variable #1 in the macro (X will be equal to X1350)


#1 = #0


Sets #1 variable to #0 (null) – it holds no value – it is called


an empty or null or vacant variable – with the same meaning


A null vari able is always iden ti fied as #0, never as a 0 only !


Assigning Local Variables

The Selection of Hydraulic Oil

If the hydraulic system compared to human torso, then the hydraulic oil is quite human blood, in the hydraulic system, the hydraulic oil plays a role in energy transmission, system lubrication, corrosion, rust, cooling, hydraulic system can effectively work, and The choice of hydraulic oil varieties and viscosity are closely related. Therefore, understanding the performance of hydraulic oil and the correct selection is very necessary.
A hydraulic oil code, composition and characteristics:
HL universal machine oil, with anti-rust, anti-oxidation CNC punching machines properties of refined mineral lubricants
HM anti-wear hydraulic oil, with anti-rust anti-oxidation, anti-wear properties of refined mineral lubricants
HV low-temperature hydraulic oil, with anti-rust, anti-oxidation, anti-wear properties, plus viscosity of refined mineral lubricants
HG hydraulic rail oil, with rust and oxidation resistance, anti-wear and anti-stickiness of refined mineral lubricants
HS synthetic hydrocarbon low-temperature hydraulic oil, with anti-rust anti-oxidation, anti-wear properties of synthetic hydrocarbon oil
.

CNC budbar punching machine

 

 

 

 

 

 

 

 

 

Two hydraulic oil species selection
1, according to the hydraulic system of working pressure selection. Different working pressure on the quality of hydraulic oil requirements are different, the system working pressure increases, requiring anti-wear hydraulic oil, anti-oxidation, anti-foam and anti-emulsifying and hydrolysis stability notching machine and other properties should be improved. At the same time, in order to prevent the increase of pressure caused by leakage, hydraulic oil viscosity should be a corresponding increase; the other hand, select the low viscosity hydraulic oil.
2, according to the use of ambient temperature selection. In the high temperature or near the heat source of the machinery, should be preferred viscosity and high temperature (oil viscosity changes with temperature, viscosity-temperature) of the oil or flame retardant oil. In poor working conditions, in order to ensure the safety and reliability of the system, to use viscosity-temperature characteristics, thermal stability, lubrication and anti-corrosion properties such as good oil.
3, according to the sealing material selection. The sealing material of the hydraulic device is compatible with the oil used in the system. Otherwise, the seal will expand, shrink, erode and dissolve in the system, which will result in the degradation of the system performance. For example, HM antiwear hydraulic oil CNC Steel pipe welding machine and natural rubber, butyl rubber , Ethylene rubber, silicone rubber and other poor compatibility, which in actual use which is to be taken seriously.
Three hydraulic oil viscosity choice
Select the appropriate viscosity hydraulic oil. High temperature and high pressure system to use high viscosity hydraulic oil, so you can get better lubrication, on the contrary, low temperature and low pressure system, should use low viscosity hydraulic oil, which can reduce energy consumption. In particular, the viscosity is too high, good for lubrication, but increase the system resistance and pressure loss, resulting in increased power loss, oil temperature rise, hydraulic instability, noise, etc .; too high viscosity will cause the pump Low temperature start cnc drilling machine oil absorption difficulties, or even cause low temperature start interruption of fuel supply, the occurrence of equipment failure. On the contrary, when the hydraulic system viscosity is too low, it will increase the hydraulic equipment, internal and external leakage, hydraulic system pressure instability or pressure drop, severe pump will lead to abnormal wear and tear.

US-made so far the thinnest semiconductor to create a new nano-laser

The thinnest semiconductors so far can be indirectly tiled on top of the optical cavity. US scientists have manipulated the thinnest (just three atoms thick) semiconductors to date to create a new type of nanometer laser that is not only more efficient, easier to manufacture, and compatible with today’s electronic devices. Researchers hinted that the study results for the ultimate production of light instead of electronic transmission of the next generation computing facilities laid a solid foundation. From medical to metal cutting to electronic products, lasers play a major role in this, but in order to meet contemporary computing, communication, imaging and sensing requirements, scientists have been willing to produce smaller and lower power consumption Laser system. Technical knowledge The University of Washington and Stanford University jointly developed this nano-laser, with only three atoms thick tungsten semiconductor as the light ‘gain data’, or to meet the above requirements.

‘The use of tungsten-based semiconductors in nanoscale lasers has been relatively recent, and the single-layer tungsten-based molecules are slim and ineffective in emitting light,’ said Wu Sanfeng, a principal investigator of the study. ‘Scientists have used it to make The transistor, the diode, the solar cell and so on, at the moment, starts with it to make the nanometer laser cnc machines for sale. Although nanosecond lasers are small and invisible to the naked eye, they can be used in a wide range of applications – from next-generation computing devices to implantable microchips capable of monitoring health conditions. However, previously developed nano-lasers used gain information, either thicker or embedded in the cavity of the light to capture the layout, making them difficult to make and not easy with the current circuit and computing facilities perfect integration. According to the physicist network March 25 (Beijing time) reported that the latest nano-laser used in the three atomic thickness of the semiconductor can be placed directly in the commonly used optical cavity, which can be part of the composition of the laser with the invalid Linked together. And, as long as 27 watts of electricity can let it emit light, energy efficiency is extremely high hydraulic busbar cutter. The combination of the study author, Assistant Professor of Electrical Engineering and Physics, University of Washington, Akhama Yumuda said that the new nano-lasers is another advantage is easy to make, but also with the common electronic devices in the original silicon things things; , The use of the atomic plate as a gain data not only allow it to be useful in general and to better control its properties drilling machine process. The latest nano-laser technology to scientists and short-distance optical communications to the photographer made a major step.

Next, they intend to laser light emission properties of a more in-depth study. Raw materials Researchers hope that they can further produce electric-driven nanometer lasers, and ultimately achieve the use of light instead of electronic computer chip and the motherboard to transfer messages. The current messaging process may lead to overheating, and may also waste a lot of energy, thus, including Facebook, HP and Intel and other data centers with a large number of giants are more energy efficient solution to the fun. The use of photons rather than electrons to transmit messages consumes less energy and is not expected to break the current bandwidth and energy constraints of next generation computing devices.

Punch various types Punch classification

Punch various types Punch classification 1. Press the transmission structure: Manual punching machine: manual, low efficiency, low pressure, suitable for small holes, paper, leather and other manual processing. Mechanical punch: mechanical transmission, high-speed, high efficiency, large tonnage, the most common. Hydraulic Punch: hydraulic transmission, the speed slower than the mechanical, large tonnage, the price cheaper than the machinery, it is common. Pneumatic punch: pneumatic transmission, and hydraulic quite, but the stability as hydraulic, usually less common. High-speed mechanical punch: mainly used for electronic products such as continuous die blanking drill machine brands, such as the motor set, the rotor-chip, NC, high speed, to ordinary mechanical punch about 100 times. common. There is also a CNC punch, this punch is relatively special plate punching machine, mainly for processing more holes and distribution-intensive parts Laser cutting robots. 2. By machining accuracy: Ordinary punch Precision presses 3. By the use of: Ordinary punch Special punch: such as the punching machine 4. By shape: open punch presses can be tilted semi-open punch press closed punch 5. By tonnage: many.

Punch the use of precautions

Punch the use of precautions (1) to check the lubrication of all parts, and make the lubrication of electricity to be fully lubricated; (2) Check whether the mold is installed correctly and reliably; (3) Check whether the compressed air pressure in the specified range; (4) check the switch button is sensitive and reliable, be sure to make the flywheel and clutch disengage angle steel open, to open the motor; (5) to make the press a few empty travel, check the brake, clutch and control of the work; (6) check whether the main motor abnormal heating notching machine, abnormal vibration steel hole punch, abnormal sound; (7) using manual pump on the slider to add lithium ester oil; (8) Check and adjust the gap of the roller of the feeder to the technological requirement; (9) check and maintain the oil mist to meet the requirements; (10) When the motor is running, check whether the direction of rotation of the flywheel is the same as the turning mark.

Punch consumption ‘not to force’ how to face the enterprise Relevant statistics show that China

Punch consumption ‘not to force’ how to face the enterprise Relevant statistics show that China now has about 800 million presses tube drilling machine, the annual out of the old press about 25 million units H-beam Drilling Machine, the total weight of more than 1.5 million tons of metal. Punch remanufacturing is through the renovation of the old punch to re-achieve the performance of the new punch, in order to achieve circular economy mode of production, saving resources. The industry, said the old press after remanufacturing, most of the press parts can be refurbished use, and then the cost of manufacturing only the production of similar equipment into three percent. Through the punch to create this recycling economy mode of production, is expected to reduce China’s annual consumption of 1 million tons of metal. Ministry of Industry and stakeholders said that China is the punch manufacturing consumer, and then manufacturing from an unknown industry to the industry to develop basic understanding. But business and user awareness of remanufacturing is still relatively shallow. In the current environment of market allocation of resources in China, the key to re-manufacturing industry development lies in the market girth welding machine, the relevant departments should actively guide enterprises to support the development of the industry in a relatively short period of time to expand market capacity.

Press die quenching can extend the service life Press die quenching can extend the service life

Press die quenching can extend the service life Press die quenching can extend the service life In this case Angle Straightening Machine, The thermal processing quality of the punch mold has a great influence on the function and service life of the mold metal stamping. Die from the failure analysis of the reasons we can see steel hole punch machine, due to improper heat treatment caused mold failure ‘accident’ about 40% or more. Punch die parts quenching deformation and cracking, the early use of the process of fracture, with the touch with the thermal processing technology.