
Ed. Date Design Description
Date Jan.07.’04 Design. Apprv.
page
-
18/64
FANUC Series 30i-MODEL A
Real time custom macro
A-79350EN
Title
Draw
No.
Real time macro variables (RTM variables)
The real time macro variables (RTM variables) are variables dedicated to real time
custom macros.
The RTM variables are classified as volatile real time macro variables (volatile RTM
variables) and nonvolatile real time macro variables (nonvolatile RTM variables).
The data of a nonvolatile RTM variable is preserved even when the power is turned
off.
The data of a volatile RTM variable is cleared to 0 when the power is turned off.
Format
#RV [ m ] Volatile RTM variable
m : Volatile RTM variable number (0 to 99)
#RVS [ n ] Nonvolatile RTM variable
n : Nonvolatile RTM variable number (0 to 31)
NOTE
1. RTM variables can be used with an RTM statement only.
RTM variables cannot be used with an NC statement and macro statement.
2. No RTM variable assumes a "null" value.
3. Volatile RTM variables are cleared to 0 by a reset.
On the other hand, nonvolatile RTM variables are not cleared to 0 by a reset.