Specifications
6 - 45
6.11.19 Positioning using M code
For an M code, numbers of 0 to 65535 are used for each axis and added to the
positioning data.
Using the 'M code ON signal output timing
'
of detailed parameter (1) (buffer memory
27/177/327/477), select when to detect the signal, at the start of
"
WITH mode [0]
"
or at
the completion of
"
AFTER mode (1)”.
(For this time,
"
AFTER mode [1]
"
is set by the parameter.
If the M code detection signal (X0A4/X0A5/X0A6/X0A7) turns ON in the sequence
program, the sequence (work) corresponding to the M code is executed by reading the
valid M code (buffer memory 808/908/1008/1108) from the QD75 buffer memory.
Also, comments (32 characters) can be attached to M codes 1 to 50, and the M code
comments being detected by peripheral devices (work descriptions) can be monitored.
1) An M code is detected when the next data No. is executed, and the work
corresponding to the M code is executed.
No.91,93........M code "1"....... Comment "6s welding"
No.91,93........M code "3"....... Comment "4.4s welding"
No.91,93........M code "5"....... Comment "Processing completed product change"
<Figure for operation explanation>
4000 mm/min
Forward run
Reverse run
M code 1
Start
6s
welding
Time
No.95
M code 3
No.94
M code 3
No.93
M code 1
No.92
M code 3
No.91
M code 1
2000
1000
3000
5000
2000 mm/min
No.96
M code 5
4.4s
welding
6s
welding
4.4s
welding
4.4s
welding
Processing
completed
product
change