
Ed. Date Design Description
Date Jan.07.’04 Design. Apprv.
page
-
41/64
FANUC Series 30i-MODEL A
Real time custom macro
A-79350EN
Title
Draw
No.
NOTE
1. With an RTM command, bit 0 (G01), bit 3 (G91), and bit 4 (FPM) of
parameter No. 3402 are invalid when the power is turned on or in
the cleared state.
Example 1) Modal information can be controlled independently in an NC statement
and each RTM statement.
O0001 ;
G90 G01 X100. Y100. F500. ; (1)
//1 ZDO ;
Z50. ; (2)
G01 Z100. F100. ; (3)
ZEND ;
//2 ZDO ;
G01 A30. F200. ; (4)
A50. ; (5)
ZEND ;
X200. ; (6)
:
The modal information of command (2) is G00, G91, and G94, regardless of the
modal information (G90 G01 set in (1)) of the NC statement.
The modal information of command (5) is G01, G91, G94, and F200.. This modal
information is not affected by the modal information (command (1)) of the NC
statement and the modal information (commands (2) and (3)) in the RTM statement
with modal ID=1.
The modal information of command (6) is not affected by the modal information
(commands (2) to (5)) in the RTM statement, so that the modal information is G01,
G90, and F500..
Example 2) Modal information is initialized when the execution of each RTM
command is started. Even if the same program includes RTM commands with
the same ID, the modal information of the RTM command executed first is not
inherited by the RTM command executed next.
O0001 ;
G90 G01 X100. Y100. F500. ;
//1 ZDO ;
G01 Z100. F3000. ; (1)
ZEND ;
X200. ;
//1 ZDO ;
Z200. ; (2)