
B–63523EN–1/03
1. AXIS CONTROL
233
NOTE
1 Range of commands of M, S, and T codes
2 An M, S, or T code must not be specified in a block
containing another move command. The M, S, and T codes
must not be specified in an identical block.
3 Usually, normal NC operation and B–axis operation are
independent of each other. Synchronization between
operations can be established by coordinating the
miscellaneous functions of the normal NC program and
B–axis operation program.
(Normal NC operation) (Registered B–axis operation)
: :
M11 ; G00 B111 ;
G01 X999 : G01 B222 ;
G28 Z777 ; G28 ;
M50 ; M50 ;
G00 X666 ; G81 B444 R111 F222 ;
: :
Upon receiving M50 of both the normal NC program and the B–axis
program in the PMC ladder, the completion signals (FIN and EFINg) are
turned to a ”1”. G00 X666 of the normal NC program and G81 B444 R111
F222 of the B–axis program are executed simultaneously.
Custom macro
Custom macro variables (local variables, common variables, system
variables #****) can be used in an operation program between G101,
G102, or G103 and G100.
1. The value of the macro variable is calculated not from the data existing
upon execution of the B–axis operation, but from the data existing at
registration of the operation program.
2. An instruction that causes a branch to a location beyond the range of
G101, G102, or G103 to G100 is processed without being checked.
3. In the two–path control mode, tool posts 1 and 2 use different macro
variables.
When a new operation program is registered, the previous operation
program is automatically deleted.
If an error is detected in an operation program to be registered, the
program is initialized but is not registered.
In the same way as a normal NC program, the B–axis operation program
can use the following as modal data: modal G codes, F codes, and P, Q,
and F codes in the canned cycle. These codes do not affect the modal
information of the normal NC program. When a B–axis operation
program is started (by G101, G102, or G103), the initial modal data is set
for the program. It is not affected by the previous modal information.
D Operation program
D Modal