(11)[Da.10] M code (or condition data No./No. of LOOP to LEND repetitions)
Set an "M code", a "condition data No.", or the "number of LOOP to LEND repetitions" depending on how the
"[Da.2] Control system" is set.
• If a method other than "JUMP instruction" and "LOOP" is selected as the "[Da.2] Control system": Set an "M
code". If no "M code" needs to be output, set "0" (default value).
• If "3-axis helical interpolation control" is selected as the "[Da.2] Control system": Set the number of pitch for
the linear interpolation axis. Set the rotation speed of the circular interpolation as the number of pitch.
• If "JUMP instruction" is selected as the "[Da.2] Control system": Set the "condition data No." for JUMP.
• If "LOOP" is selected as the "[Da.2] Control system": Set the number of LOOP to LEND repetitions by a
number other than "0". The error "Control system LOOP setting error" (error code: 545) will occur if "0" is
specified.
*1
The condition data No. specifies the condition for the JUMP instruction to be executed. (A JUMP will take place when the
condition is satisfied.)
• 0: Unconditional JUMP to the positioning data specified by [Da.9].
• 1 to 10: JUMP performed according to the condition data No. specified (a number between 1 and 10).
(a) Setting range
[Da.2] setting value
JUMP instruction: 82H
LOOP: 83H
Helical interpolation: 20H to 25H
Other than the above
*1
Setting item
Condition data No.
Repetition count
Number of pitch
M code
CHAPTER 5 DATA USED FOR POSITIONING CONTROL
Value set with GX Works2
0 to 10
1 to 65535
0 to 999
0 to 65535
Value set with program
0 to 10
1 to 65535
0 to 999
0 to 65535
169
5