
B-63943EN-1/02 8.MULTI-PATH CONTROL
- 845 -
Program example
- When the value specified at P is obtained using binary values
Assume that the waiting ignore signal for path 2 (bit 7 of G1063 for a
system with three or more paths) is set to 1 and M101 to M103
(parameter No. 8110 = 101 and parameter No. 8111 = 103) are set as
M codes for waiting. In this case, programs O100, O200, and O300
for individual paths are executed as follows:
O0300;
G50 X Z
;
G00 X Z T0303;
M102 P7; ................. <2>
O0100;
G50 X Z
;
G00 X Z T0101;
M03 S1000;
.
.
M101 P3;.................. <1>
G01 X Z
F ;
.
.
M102 P7;.................. <2>
M103 P7;.................. <3>
O0200;
G50 X Z
;
G00 X Z T0202;
M03 S2000;
M101 P3; .................. <1>
G01 X Z
F ;
.
.
M102 P7; .................. <2>
M103 P7; .................. <3>
.
.
.
.
.
.
.
.
.
G00 X Z ;
.
.
M103 P7; .................. <3>
G00 X Z
;
.
G01 X Z F ;
.
.
<<Waiting (M102)>>
<<Waiting (M103)>>
Path 1
Path 2 Path 3
<1> M101 P3; (making paths 1 and 2 wait for each other)
When the waiting ignore signal for path 2 is set to 0, paths 1 and
2 wait for each other. Because the signal is set to 1, however,
paths 1 and 2 ignore the M code for waiting and immediately
execute the next block.
<2> M102 P7; (making paths 1, 2, and 3 wait for one another)
In this example, path 3 waits for processing on paths 1 and 2 to
terminate. Because the waiting ignore signal for path 2 is set to
1, however, path 3 assumes that waiting is completed when
processing on path 1 terminates, and executes the next block.
<3> M103 P7; (making paths 1, 2, and 3 wait for one another)
In this example, paths 1 and 2 wait for processing on path 3 to
terminate. Because the waiting ignore signal for path 2 is set to
1, however, path 2 does not wait for processing on path 3 to
terminate and executes the next block, but path 1 waits for path
3.