
Ed. Date Design Description
Date Jan.07.’04 Design. Apprv.
page
-
48/64
FANUC Series 30i-MODEL A
Real time custom macro
A-79350EN
Title
Draw
No.
NOTE
1. The same group as the PMC axis control group used for axis
control cannot be executed with an RTM statement.
2. No NC statement can specify an axis being controlled by an RTM
statement.
3. An alarm is issued if, during execution of an RTM statement, an
attempt is made to execute another RTM statement with the same
ID. In the program below, for example, the RTM statement of (1)
operates using the NC statement of (2) as a trigger, and the RTM
statement of (3) operates using the NC statement of (4) as a
trigger. An alarm is issued if (1) is still operating when (4) is
started after completion of the interpolation of (2).
//1 ZDO ;
G91 G00 A100. ; (1) RTM statement
ZEND ;
G01 X30. Y20. ; (2) NC statement
//1 ZDO ;
G91 G00 B100. ; (3) RTM statement
ZEND ;
X40. Y50. ; (4) NC statement
4. When T series G code system A is used, address words (such as
U, W, H, and V) for incremental commands must not be coded.
Otherwise, P/S alarm 413 is issued.