Archive for September, 2017

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

work off set screen This display is for the operator’s

work off set screen This display is for the operator’s


convenience only – the actual stor age of the off set amount takes place in a sys tem parameter, iden –


ti fied by a pa ram e ter num ber, as as signed by Fanuc Even if the G54 set ting is changed man u ally,


through the off set screen, or through a pa ram e ter change (us ing the proper pa ram e ter num ber), it


is al ways stored in the sys tem pa ram e ter Some pa ram e ters can not be changed as eas ily – some


can not be changed at all – the modal G10 com mand can be very use ful for chang ing sev punch machine for Head eral pa –


ram e ters at the same time In fact, to achieve Busway Press Clamp Machine this goal, two re lated com mands are re quired – G10


to start the set tings and G11 to can cel the set tings:


G10 L50


cnc drill Machine


Selecting parameter setting mode ON


Data setting single block or a series of blocks (typical use)


G11


Selecting parameter setting mode OFF


The data set ting block for a pro gram ma ble pa ram e ter set ting has three en tries:


G10 L50


N P R


Data setting block – more than one block is allowed between G10 and G11


G11


+


where 锟?


G10


Data setting mode – ON


L50


Programmable parameter entry mode (fixed)


N P R


Data entry specification (N=parameter number, P=axis number, R=setting value)


G11


Data setting mode – OFF (cancel)


Be tween the G10 L50 and G11 blocks is the list of pa ram e ters to be set, one per block The pa –


ram e ter num ber uses the N-ad dress and the data uses P and R ad dress re spec tively


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


FANUC CNC Custom Macros


DATA SETTING


67


N-address in G10 L50 Mode


The first of the three ad dresses, the N-ad dress iden ti fies the pa ram e ter num ber to be changed


Not all pa ram e ters drilling tools can be changed Fanuc pro vides Pa ram e ter Man ual for ev ery con trol model


avail able, list ing all pa ram e ters and their var i ous states Ex am ples of typ i cal ap pli ca tion of the N-ad dress (as well as the P and R ad dresses) are de scribed in the next sec tion

plications or even common applications

 plications or even common applications


Test ing these pa ram e ters on your ma chine is gen er ally not rec om mended be cause of their po ten –


tially harm ful na ture


Copyright 2005, Industrial Press Inc, New York, NY – wwwipmmc.com


FANUC CNC Custom Macros


68


Chapter 5


2 Example 1 :


This ex am ple changes the baud rate set ting of the In put/Out put de vice (RS-232 in ter cnc cutter face), if the


I/O Chan nel is set to 0:


G10 L50


N0103 R10


G11


H beam sawing Machine


Pa ram e ter that con trols the baud rate set ting for a se lected de vice has a num ber #103, iden ti –


fied punch machine for Head as N0103 in the above ex am ple Baud rate spec i fies the speed of pro gram data trans fer rate in


char ac ters per sec ond (cps) From a ta ble sup plied in the Fanuc op er a tion ref er ence man ual, the


re quired R-value can be en tered within the spec i fied range – range of 1 to 12 se lec tions is shown:


1: 50 baud


5: 200 baud


9: 2400 baud


2: 100 baud


6: 300 baud


10: 4800 baud


3: 110 baud


7: 600 baud


11: 9600 baud


4: 150 baud


8: 1200 baud


12: 19200 baud


In the above ex am ple, the baud rate set ting of 4800 char ac ters per sec ond has been se lected, be –


cause R10 in the sam ple block re fers to the se lec tion num ber 10 This type of baud rate set ting is


fairly com mon, and when work ing with sev eral ma chine tools, it should also be the com mon set –


ting for all CNC ma chine tools in the shop that re quire the RS-232C in ter face for pro gram up –


loading and down loading (DNC) Al


ways choose the fast est baud rate that guar an tees 100%


trans fer ac cu racy of the CNC pro gram or other set tings be tween the CNC sys tem and an ex ter nal


com puter Note ab sence of the P-ad dress – as the pa ram e ter #103 does not re late to a ma chine


axis, the P-ad dress is not re quired


2 Example 2 :


In an other ex am ple, pa ram e ter #5130 con trols the chamfering dis tance for thread cut ting cy –


cles drilling tools G92 and G76 (lathe con trols only) The data type is a non-axis byte, unit if the data is 01 of a pitch and the range is

This section covers yet an other as pect of programming

try


This section covers yet an other as pect of programming the G10 data set ting command – this


time as a modal com mand It is used to change a sys tem pa ram e ter through the stan dard or macro


pro gram This application is some times called the rite to pa ram e ter func tion and is not very


com mon in ev ery day pro gram ming, even in macros Be fore you at tempt to use this method, cnc cutter make


sure you fully un der stand the con cept of con trol sys tem pa ram e ters sec tion, de scribed ear lier in


this hand book – see pre vi ous chap ter for details


Copyright 2005, Industrial Press Inc, New York, NY – www.busbarmc.com


FANUC CNC Custom Macros


66


CNC Beam Drilling Machine


Chapter 5


Incorrect setting of CNC system parameters may cause irreparable damage to the machine tool


Typ i cal uses of the G10 com mand are com mon to hydraulic busbar cutter changes of ma chine or cut ting con di tions, for


ex am ple, spin dle speed and feed copper busbar bending machine rate time con stants, pitch er ror com pen sa tion data, and oth ers


This com mand often ap pears in the cus tom mac ros, nor mally called by the G65 com mand, and its


sole pur pose is to con trol the ma chine op er a tions The sub ject and de tailed ex pla na tion of the Cus –


tom Mac ros and their struc ture is cov ered in the next chap ter – G10 is just a small item of the ba sic knowl edge be fore us ing mac ros


Modal G10 Command


When the G10 com mand for the off set data set ting was first in tro duced in this chap ter, it had to


be re peated in each block, if a se ries of set ting were re quired By def i ni tion, G10 data set ting


com mand for the en try of off sets can only be used as a non-modal com mand Mod ern Fanuc con –


trols also al low to do an other type of data change through the pro gram – the change of the CNC


sys tem pa ram e ters


With out the ma chine user even know ing, many pro gram en tries are au to mat i cally con verted to


var i ous sys tem pa ram e ters by the con trol unit For ex am ple, if the pro gram con tains G54 work


off set, its cur rent set ting can be found on the w

The P-ad dress is used only for parameters relating to one of the four available axis in puts

The P-ad dress is used only for parameters relating to one of the four available axis in puts:


o


Bit axis


o


Byte axis


o


Word axis


o


Two-word axis


H beam high-speed Drilling


If the pa ram e ter does not re late to an axis, the P-ad dress is re dun dant and does not have to be


pro grammed in the block If more than one axis is re quired to be set at the same time, use mul ti ple


N P R en tries be tween G10 and G11 (see ex am ples fur ther in this chap ter)


R-address in G10 L50 Mode


The ad dress R in the G10 L50 mode con tains the new value to be reg is tered into the punch machine for Head se lected


pa ram e ter num ber and must al ways be en tered Busway Press Clamp Machine (no de faults) The valid range listed above must al –


ways be ob served The R-ad dress may also de fine pitch er ror data Note the lack of dec i mal points


in all ex am ples shown


Program Portability


Pro gram por ta bil ity re fers to the struc ture and con tents of a pro gram as it re lates to its ap pli ca –


tion on dif fer ent ma chines and/or con trol sys tems CNC pro grams con tain ing even a sin gle pro –


gram ma ble pa ram e ter en try should be used only with the ma chine tool and con trol unit for which


they were de signed Use ex treme care be fore using such a pro gram on different ma chines


Pa ram e ter num bers and their mean ing on dif fer ent con trol mod els are not al ways the same, so


the ex act model and its pa ram e ter num bers must be known dur ing the pro gram development For


ex am ple, on Fanuc 15 con trol, the pa ram e ter con trol ling the mean ing of an ad dress with out a dec –


i mal point is #2400 (Bit #0) The pa ram e ter that con trols the same set ting on Fanuc 16/18/21


con trol mod els is #3401 (Bit #0) – 0=the least in put in cre ment is as sumed, 1=the ap pli drilling tools ca ble unit is as sumed


The fol low ing ex am ples il lus trate var i ous pro gram ma ble pa ram e ter en tries and have been tested


on a Fanuc 16B con trol – both lathe and mill ver sions The se lected pa ram e ters are used for il lus –


tra tion only, not nec es sar ily as typ i cal a