Fanuc Series 15i/150i-MA (Programming) Operators Manual

B-63324EN/03 PROGRAMMING 17.CUSTOM MACRO
- 585 -
17.2 SYSTEM VARIABLES
System variables can be used to read and write internal CNC data such
as tool compensation values and current position data. System
variables are essential for automation and general-purpose program
development.
System variables/constants
n represents a suffix.
R, W, and R/W are the attributes of variables. R means read-only, W
means write-only, and R/W means that both read and write operations
are possible.
- Interface signals
System variable
number
System variable
name
Attribute Description
#1000 to #1031 [#_UI[n]] R Interface input signals (bit), UI000 to UI031
Note) The suffix n represents a bit position (0 to 31).
#1032 to #1035 [#_UIL[n]] R Interface input signals (long), UI000 to UI031/UI100
to UI131/UI200 to UI231/UI300 to UI331
Note) Suffix n ranges from 0 to 3 and is used as
follows : 0 = UI000 to UI031, 1 = UI100 to UI131, 2 =
UI200 to UI231, and 3 = UI300 to UI331.
#1100 to #1131 [#_UO[n]] R/W Interface output signals (bit), UO000 to UO031
Note) Suffix n represents a bit position (0 to 31).
#1132 to #1135 [#_UOL[n]] R/W nterface output signals (long), UO000 to
UO031/UO100 to UO131/UO200 to UO231/UO300
to UO331
Note) Suffix n ranges from 0 to 3 and is used as
follows : 0 = UO000 to UO031, 1 = UO100 to
UO131, 2 = UO200 to UO231, and 3 = UO300 to
UO331.
- Tool offset values
System variable
number
System variable
name
Attribute Description
#2001 to #2200
#10001 to #10999
[#_OFS[n]] R/W Tool compensation values in compensation memory A
Note) Suffix n represents a compensation number (1
to 200).
These numbers can also be used when the number
of compensation pairs is greater than 200.
Note) Suffix n represents a compensation number (1
to 999).

Leave a Reply

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