Programming manual.
CNC 8070
KINEMATICS AND COORDINATE TRANSFORMATION
19.
Tool orientation in the part coordinate system.
·349·
(REF: 1709)
19.9.3 How to manage the discontinuities in the orientation of rotary axes.
Usually, the axis orienting process provides two possible solution in the positioning of the
rotary axes for a particular tool orientation. The CNC applies the one resulting in the shortest
distance with respect to the current position.
A discontinuity means that a little change in the programmed angle results in a huge change
of angle on the rotary axes due to the inclined plane. When the CNC detects a discontinuity,
the instruction #DEFROT defines what the CNC must do depending on the angle difference
between the one programmed and the one calculated.
Programming.
Programming format.
The programming format is the following; the list of arguments appears between curly
brackets and the optional ones between angle brackets.
#DEFROT [<{action},><{criterion},><Q{angle}>]
The CNC admits programing any combination of the three parameters (a minimum of one
and a maximum of three), maintaining the order.
CNC action when it detects a discontinuity.
These values define what the CNC must do when it detects a discontinuity.
If not programmed, the CNC assumes the last value programmed. After executing an M30
and after a reset, the CNC assumes the WARNING value (show a warning and interrupt the
execution).
{action}
Optional. CNC action when it detects a discontinuity.
{criterion}
Optional. Criterion to solve the discontinuity.
Q{angle}
Optional. Comparison angle.
#DEFROT
#DEFROT [ERROR, Q5]
#DEFROT [WARNING, DNEGF, Q10]
#DEFROT [NONE, LOWF]
Command. Meaning.
ERROR Show an error and interrupt the execution.
WARNING Show a warning and interrupt the execution.
The CNC displays a screen for the user to choose the solution to be applied,
either the solution programmed in the instruction (the {criterion} argument) or the
second solution.
NONE Ignore the discontinuity and resume program execution.
The CNC applies the solution programmed in the instruction (argument
{criterion}), without showing to the user the screen to choose a solution. If no
criterion has been programmed, the CNC applies the last one active.