Machining with rotatable tools
Note
Use the tangential control function if you wish to position rotatable tools at a tangent to the
programmed path.
Use of M commands
As in earlier versions, macro technology allows special M functions to be used instead of
language commands (compatibility). The M functions and equivalent language commands as
used in earlier systems are as follows:
M20, M23 ≙ SPOF
M22 ≙ SON
M25 ≙ PON
M26 ≙ PDELAYON
Example for macro file:
Program code Comment
DEFINE M25 AS PON ; Punching on
DEFINE M125 AS PONS ; Punching with leader on
DEFINE M22 AS SON ; Nibbling on
DEFINE M122 AS SONS ; Nibbling with leader on
DEFINE M26 AS PDELAYON ; Punching with delay on
DEFINE M20 AS SPOF ; Punching, nibbling off
DEFINE M23 AS SPOF ; Punching, nibbling off
Programming example:
Program code Comment
...
N100 X100 M20 ; Position without punch initiation.
N110 X120 M22 ; Activate nibbling, initiate stroke before and af-
ter motion.
N120 X150 Y150 M25 ; Activate punching, initiate stroke at end of mo-
tion.
...
Work preparation
3.19 Punching and nibbling
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 967