
Ed. Date Design Description
Date Jan.07.’04 Design. Apprv.
page
-
37/64
FANUC Series 30i-MODEL A
Real time custom macro
A-79350EN
Title
Draw
No.
Others
If an axis control command is followed by a macro command in an RTM command,
the execution of the macro command starts when the axis control command is
completed or deceleration starts.
If deceleration on the X-axis starts upon completion of distribution according to the
axis control command of (1), for example, the macro command of (2) is executed. If
acceleration/deceleration is not applied on the X-axis, (2) is executed upon
completion of distribution on the X-axis.
// ZDO ;
G91 G00 X30 ; (1) Axis control command of the RTM statement
#RV[0] = 1 ; (2) Macro command of the RTM statement
ZEND ;