
17.REAL-TIME CUSTOM MACRO PROGRAMMING B-63944EN/02
- 520 -
NOTE
1 An axis used with an RTM statement must not be
specified from PMC axis control.
2 A PMC axis control group used with an RTM
statement must not be specified from PMC axis
control.
- Operation command code
The table below indicates the G codes that can be specified in an RTM
statement.
The mark in the table indicates modal G codes when an RTM
command starts.
Code Group Meaning
G00 Positioning
G01
01
Feed at specified feedrate
G28 Reference position return
G53
00
Machine coordinate system selection
G90 Absolute command
NOTE 1
G91
03
Incremental command
NOTE 2
G94 Feed per minute
G95
05
Feed per revolution
NOTE
1 The absolute command (G90) is valid for machine
coordinate system selection (G53) only.
2 The incremental command (G91) is valid for
positioning (G00), linear interpolation (G01), and
reference position return (G28) only.
3 In T series G code system A as well, not G98/G99
but G90/G91 are valid with an RTM command.
- Modal information
Basically, modal information such as F and modal G codes in an RTM
statement is independent in an NC statement and each RTM statement.
Modal information in an RTM statement is initialized when the
execution of the RTM statement is started (when a block specified
with // is executed).
The initial value of modal information in an RTM statement is as
follows:
State of the G codes marked with in the operation command
code list
F code : F0