FANUC Series 16/18/160/180-Model C Machining Center Operators Manual

PROGRAMMING
16. CUSTOM MACRO
B–62764EN/01
378
S When exact stop check is disabled, no exact stop check (position
check) is made even in blocks including those which do not perform
cutting.
O0001 ;
N1 G00 G91 X#24 Y#25 ;
N2 Z#18 ;
G04 ;
N3 #3003=3 ;
N4 #3004=7 ;
N5 G01 Z#26 F#9 ;
N6 M04 ;
N7 G01
Z–[ROUND[#18]+ROUND[#26]] ;
G04 ;
N8 #3004=0 ;
N9 #3003=0 ;
N10M03 ;
M99 ;
Fig. 16.2(a) Example of using variable #3004 in a tapping cycle
N1
N2
N3, N4
N6
N7
N8, N9,
N10
N5
Settings can be read and written. Binary values are converted to
decimals.
#9 (FCV) : Whether to use the FS15 tape format conversion capability
#5 (SEQ) : Whether to automatically insert sequence numbers
#2 (INI) : Millimeter input or inch input
#1 (ISO) : Whether to use EIA or ISO as the output code
#0 (TVC) : Whether to make a TV check
#15 #14 #13 #12 #11 #10 #9 #8
FCV
Setting
#7 #6 #5 #4 #3 #2 #1 #0
SEQ INI ISO TVC
Setting
#3005
The mirror–image status for each axis set using an external switch or
setting operation can be read through the output signal (mirror–image
check signal). The mirror–image status present at that time can be
checked. (See III–4.7)
The value obtained in binary is converted into decimal notation.
#7 #6 #5 #4 #3 #2 #1 #0
8th axis
7th axis
Setting
#3007
6th axis
5th axis
4th axis
3th axis 2th axis
1th axis
For each bit,
0 (mirror–image function is disabled)
or
1 (mirror–image function is enabled)
is indicated.
Example : If #3007 is 3, the mirror–image function is enabled for the first and second axes.
S
When the mirror–image function is set for a certain axis by both the
mirror–image signal and setting, the signal value and setting value are
ORed and then output.
D 
D Mirror image

Leave a Reply

Your email address will not be published. Required fields are marked *