FANUC Series 16/18/160/180-Model C for Lathe Operator Manual

PROGRAMMING
16. CUSTOM MACRO
B–62754EN/01
282
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 Section 4.7 in III.)
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.
D
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 When mirror–image signals for axes other than the controlled axes are
turned on, they are still read into system variable #3007.
D System variable #3007 is a write–protected system variable. If an
attempt is made to write data in the variable, P/S 116 alarm ”WRITE
PROTECTED VARIABLE” is issued.
The number (target number) of parts required and the number (completion
number) of machined parts can be read and written.
Table 16.2(h) System variables for the number of parts required and the
number of machined parts
Variable number
Function
#3901 Number of machined parts (completion number)
#3902 Number of required parts (target number)
NOTE
Do not substitute a negative value.
D 
D Mirror image
D Number of machined
parts

Leave a Reply

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