Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
B–63174EN/03
13. CUSTOM MACRO
107
System variables can be used to read and write internal CNC data such as
tool compensation values and current position data. Note, however, that
some system variables can only be read. System variables are essential
for automation and general–purpose program development.
Signals can be exchanged between the programmable machine controller
(PMC) and custom macros.
Table 13.2 (a) System variables for interface signals (When set ‘0’ to the
parameter No.6001#0 (MIF))
Variable
number
Function
#1000–#1015
#1032
A 16–bit signal can be sent from the PMC to custom macro.
Variables #1000 to #1015 are used to read a signal bit by bit.
Variable #1032 is used to read all 16 bits of a signal at one
time.
#1100–#1115
#1132
A 16–bit signal can be sent from a custom macro the PMC.
Variables #1100 to #1115 are used to write a signal bit by bit.
Variable #1132 is used to write all 16 bits of a signal at one
time.
#1133 Variables #1133 is used to write all 32 bits of signal at one time
from a custom macro to the PMC.
Note that values from –999999999 to +99999999 can be used
for #1133.
Table 13.2 (a) System variables for interface signals (When set ‘1’ to the
parameter No.6001#0 (MIF))
Variable
number
Function
#1000–#1031 A 32–bit signal can be sent from the PMC to custom macro.
Variables #1000 to #1031 are used to read a signal bit by bit.
#1100–#1131 A 32–bit signal can be sent from a custom macro to the PMC.
Variables #1100 to #1131 are used to write a signal bit by bit.
#1032–#1035 Variables #1032 – #1035 are used to read all 32 bits of signal
at one time from the PMC to a custom macro.
Note that values from –99999999 to +99999999 can be input
to #1032 – #1035.
#1133–#1135 Variables #1133 –#1135 are used to write all 32 bits of signal
at one time from a custom macro to the PMC.
Note, that values from –99999999 to +99999999 can be used
for #1133 – #1135.
For detailed information, refer to the connection maintenance manual
(Function) (B–63173EN–1).
13.2
SYSTEM VARIABLES
Explanations
Interface signals

Leave a Reply

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