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
M22
M25
M26
Example for macro file:
Program code
DEFINE M25 AS PON
DEFINE M125 AS PONS
DEFINE M22 AS SON
DEFINE M122 AS SONS
DEFINE M26 AS PDELAYON
DEFINE M20 AS SPOF
DEFINE M23 AS SPOF
Programming example:
Program code
...
N100 X100 M20
N110 X120 M22
N120 X150 Y150 M25
...
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
SPOF
≙
SON
≙
PON
≙
PDELAYON
≙
Comment
; Punching on
; Punching with leader on
; Nibbling on
; Nibbling with leader on
; Punching with delay on
; Punching/nibbling off
; Punching, nibbling off
Comment
; Position without punch initiation.
; Activate nibbling, initiate stroke before and
; Activate punching, initiate stroke at end of
after motion,
motion.
Punching and nibbling
12.1 Activation, deactivation
753