
A-59854
Edit
Apprv.
Apprv.Apprv.
Apprv.Desig.
Desig.Desig.
Desig.
Sheet
Title
Draw
No.
Date
DateDate
Date
Design
DesignDesign
Design
Descri
tion
Descri
tionDescri
tion
Descri
tion
Date
DateDate
Date
FANUC Series 16i /18i /21i –TA/TB
Outputting Signal near End point
2/3
Outline
This function outputs the signal DEN2 when the tool approaches to the end
point of a rapid traverse (G00) or linear interpolation (G01) block where a
miscellaneous function (M–code) and a tolerable distance are commanded.
As the miscellaneous function can be triggered near the end point by using the
DEN2, it shortens the execution time.
Format
G00
Motion Command , Q_ M_ ;
G01
Motion Command : Ordinary Motion Command
Q : Tolerable Distance
M : Ordinary miscellaneous function
Explanation
The miscellaneous function (M–code) and the tolerable distance ”,Q” are
commanded on the rapid traverse (G00) or linear interpolation (G01) block.
The command unit of ”,Q” is the input increment. The decimal point is
permitted in ”,Q”. When ”the distance to go” of the longest motion axis
decreases to the tolerable distance defined by ”,Q”, the signal DEN2 which
means the nearness of the end point is output. The tolerable distance of the
longest motion is defined by the following formula.
Tolerable distance of longest motion =
Program Example
G01 U60.0 W50.0 ,Q10.0 M123 ;
( in case of parameter QAB=0 , QLG=0 )
distanceBlock
motionlongest of distance
Q, of Command ×
Z
X
50
30
8.58
58.3
50
10.0 ×=
Tolerable distance
DEN2 is output