
19. AXIS CONTROL FUNCTION
B–63604EN/01
PROGRAMMING
336
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.
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.
Example)
:
G01 X10. F1000 ;
G101 (G102, G103) ;
B10. ;
G01 B–10. F500 ;
G100 ;
X–10. ;
:
Irrespective of the modal information for normal operation (G01
specified in block), block specifies G00 if the MDG bit (bit 1 of
parameter 8241) is set to 0, or G01 if the MDG bit is set to 1.
Block causes movement with F1000, specified in block 1.
The MST bit (bit 7 of parameter 8240) specifies the method used to start
the B–axis operation as described below:
If the MST bit is set to 1, the B–axis operation is started when the M code
to start the operation is executed.
If the MST bit is set to 0, the B–axis operation is started when the M code
used to start the operation is executed and the PMC outputs the
miscellaneous function completion signal (FIN).
Up to five M codes for starting the programs can be stored. The programs
corresponding to these M codes are executed in succession. (In two–path
control mode, up to five codes can be stored for each tool post.)
D Operation program
D Modal
D Operation start
command