
A-79402E
Title
Draw
No.
Ed. Date Design Description
Date Jun.02.’05 Design. Apprv.
5/7
page
FANUC Series 30i/31i/32i -MODEL A
Synchronous, Composite and Superimposed
control by program command
Programs (M10* is waiting M-code.)
Path-1 Path-2 Path-3 Movement
N10 M100 P12 ; M100 P12 ;
Waiting for “M100 P12” block between
path1 and path2
N20 G51.5 P101 Q201 ;
N30 G51.5 P102 Q202 ;
Start of composite control of X1-X2
Start of composite control of Z1-Z2
N40 M101 P12 ; M101 P12 ;
Waiting for “M101 P12” block between
path1 and path2
N50 G00 X 100. Z100.;
(X1-axis and Z1-axis
don’t move.)
Move as composite
axis
During composite control of X1-X2 and
Z1-Z2
N60 M102 P12 ; M102 P12 ;
Waiting for “M102 P12” block between
path1 and path2
N70 G50.5 P101 Q201 ;
N80 G50.5 P102 Q202 ;
Cancellation of composite control of
X1-X2
Cancellation of composite control of
Z1-Z2
N90 M103 P12 ; M103 P12 ;
Independent
operation
Waiting for “M103 P12” block between
path1 and path2
- Starting composite control
N20 G51.5 P101 Q201 ;
It starts composite control between X1-axis and X2-axis.
N30 G51.5 P102 Q202 ;
It starts composite control between Z1-axis and Z2-axis.
Above G-code blocks work the same as follows.
- Changing <G1128#0> from "0" to "1".
It starts composite control between X1-axis and X2-axis.
- Changing <G1128#1> from "0" to "1".
It starts composite control between Z1-axis and Z2-axis.
- Canceling composite control
N70 G50.5 P101 Q201 ;
It cancels composite control between X1-axis and X2-axis.
N80 G50.5 P102 Q202 ;
It cancels composite control between Z1-axis and Z2-axis.
Above G-code blocks work the same as follows.
- Changing <G1128#0> from "1" to "0".
It cancels composite control between X1-axis and X2-axis.
- Changing <G1128#1> from "1" to "0".
It cancels composite control between Z1-axis and Z2-axis.
- Parameter check
PS alarm (PS5339) occurs if composite axes specified by P or Q at G51.5/G50.5 blocks are
not set to parameter No.8183.