19. AXIS CONTROL FUNCTION
B–63004EN/02
PROGRAMMING
366
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.)
Example)
When the first, second, and third programs are started by M40, M41,
and M42, respectively
O1234. ;
:
:
M40 ; M code for starting the first program
M41 ; M code for starting the second program
M42 ; M code for starting the third program
M40 ; M code for starting the first program
M41 ; M code for starting the second program
:
:
M30 ;
As M41 is specified while the program started by M40 is being executed,
the second program is automatically started upon termination of the first
program.
M42, M40, and M41, specified during execution of the first program, are
stored such that the corresponding programs are executed in the same
order as that in which the M codes are specified.
If six or more M codes for starting the programs are specified while a
program is being executed, P/S alarm 5038 is output.
In two–path control mode, the M code specified for tool post 1 starts the
B–axis program registered for tool post 1. The M code specified for tool
post 2 starts the B–axis program registered for tool post 2.
The amount of travel along the B–axis can be specified in either absolute
or incremental mode. In absolute mode, the end point of travel along the
B–axis is programmed. In incremental mode, the amount of travel along
the B–axis is programmed directly.
The ABS bit (bit 6 of parameter 8240) is used to set absolute or
incremental mode. When the ABS bit is set to 1, absolute mode is
selected. When the ABS bit is set to 0, incremental mode is selected. The
mode is specified with this parameter when the program is registered.
D Operation start
command
D Specifying absolute or
incremental mode