
Ed. Date Design Description
Date Jan.07.’04 Design. Apprv.
page
-
38/64
FANUC Series 30i-MODEL A
Real time custom macro
A-79350EN
Title
Draw
No.
Axis control command
In an RTM statement, an M code and G code for specifying a movement can be
specified. For axis control, the PMC axis control interface is used. The
specifications differ from the specifications for the G and M codes used with an NC
statement.
Format
// ZDO ;
G___ IP ___F___ ;
:
ZEND ;
For an axis control command, ZDO...ZEND of multi-statement structure is used for
coding even if a single statement (single RTM statement) is used.
CAUTION
1. Do not specify an NC statement for an axis to be controlled with
an RTM statement. Moreover, do not exercise axis control with
an RTM statement on an axis to be controlled with an NC
statement.
NOTE
1 In one block, only one axis may be specified. Do not specify two
or more axes in the same block.
Setting
For an axis control command in an RTM statement, the interface of a PMC axis
control group set by a parameter beforehand is used.
For an axis to be controlled with an RTM statement, set a group to be used, with
parameter No. 8010. Then, set bit 0 (XRT) of parameter No. 8011 for the axis to 1.
NOTE
1 An axis for which bit 0 (XRT) of parameter No. 8011 is set to 1 is
dedicated to real time custom macros, so that such an axis
cannot be used with PMC axis control.
Relationship with PMC axis control
Axis control based on an RTM statement uses the PMC axis control interface. So,
the specifications for a move command in each block within an RTM statement are
generally equivalent to the specifications for the PMC axis control command.
For the detailed specifications and restrictions related to axis control, refer to the
specifications of PMC axis control as well.