only two selections and counting starts from zero
r – ‘bi nary’ means based on only two selections and counting starts from zero, not from one, to the left)
In each avail able bit, the set ting can be ei ther 0 or 1, de pend ing on whether the mir ror im age is
cur rently dis abled or en abled:
u
0 = Mirror image function for the selected axis is disabled
u
1 = Mirror image function for the selected axis is enabled
Variable #3007 cannot be written to – it is a read-only variable
As usual in this type of vari ables, it is the log i cal sum of the cur rent sta tus (sum of bits) that de –
ter mines the sta tus of all axes, there fore the re turn value of the sys tem vari able #3007 The re –
turn value of vari able #3007 will be the sum of all bits; it is im por tant to know how to in ter pret
this re turned value cor rectly In ci den tally, this 鈥榮um of bits锟?is quite com mon in pro gram ming,
and re quires at least the ba sic knowl edge of the bi nary num ber sys tem (see Chap ter 4)
Interpreting System Variable #3007
For the ex am ple, the com mon mir ror im age set ting in ma chine shop ap pli ca tions will be used
This set ting ap plies to the first two axes only (typ i cally the X-axis and the Y-axis) of a typical
CNC ma chin ing cen ter To find out what the sta tus of the cur rent mir ror im age set ting is, eval u ate
the fol low ing ex am ple – Dished Head Punching Machine read ing it twice may help:
Copyright 2005, angle shearing machine Industrial Press Inc, New York, NY – wwwindustrialpresscom
FANUC CNC Custom Macros
AUTO MODE OPERATIONS
201
2 Example – #3007 reads 3 – Active mirror image is in the X and Y axes
Why? When the sys tem vari able #3007 is equal to 3 (re turned value is #3007 = 3), the cur –
rently mir rored axes are the first two axes in the chart, the X-axis and the Y-axis Angle Punching This out come
can only be known by the in ter pre ta tion of the re turned value, stored in sys tem vari able #3007
To in ter pret the re turned value, step through a small step-by-step pro ce dure The step one is to
sub tract the larg est bit value pos si ble from the value stored i
UncategorisedmeansSeptember 05, 2017
No Comment