5 - 71
MELSEC-Q
5 DATA USED FOR POSITIONING CONTROL
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 LE ND
repetitions" depending on how the " Da.2 Control system" is set.
If a method other than "JUMP instruction" and "LOOP" is selected as t he
"Da.2 Control system"
............... Set an "M code".
If no "M code" needs to be output, set "0" (default value).
If "JUMP instruction" or "LOOP" is selected as the "Da.2 Control s ystem"
............... Set the "condition data No." for JUM P.
0 : Unconditional JUMP to the positioning data specified
by Da.9 .
1 to 10 : JUMP performed according to t he condition data No.
specified (a number between 1 and 10).
Make sure that you specify the number of LOOP to LEND repetitions
by a number other than "0". The "Control system LOOP setting error"
will occur if you specify "0". (error code: 545)
The condition data specifies the condition f or the JUMP instruction to be
executed.
(A JUMP will take place when the condition is s atisfied.)
[Table 1]
Pr.1 setting value Value set with peripheral device
(unit) Value set with sequence program
(unit)
0 : mm 0.01 to 20000000.00 (mm/min) 1 to 2000000000 (
×
10-2mm/min)
1 : inch 0.001 to 2000000.000 (inch/min) 1 to 2000000000 (
×
10-3inch/min)
2 : degree 0.001 to 2000000.000 (degree/min) 1 to 2000000000 (
×
10-3degree/min)
3 : pulse 1 to 1000000 (pulse/s) 1 to 1000000 (pulse/s)
[Table 2]
Da.2 setting value Setting item Value set with peripheral
device Value set with sequence
program
JUMP instruction: 82HPositioning data No. 1 to 600 1 to 600
Other than JUMP instruction Dwell time 0 to 65535 (ms) 0 to 65535 (ms)
[Table 3]
Da.2 setting value Setting item Value set with peripheral
device Value set with sequence
program
JUMP instruction: 82HCondition data No. 0 to 10 0 to 10
Other than JUMP instruction M code 0 to 65535 0 to 65535
LOOP: 83HRepetition count 1 to 65535 1 to 65535