11 - 7                     11 - 7
MELSEC-Q
11   SUB FUNCTIONS
[4]   Precautions during software stroke limit check
(1)   A machine OPR control must be executed beforehand for the "software
stroke limit function" to function properly.
(2)   If an error is detected in the "continuous path control" operation pattern of
positioning control, the axis comes to an immediate stop upon completion of
the execution of the positioning data that precedes the positioning data
where the error occurred.
Positioning date
Md. 4
Example
No. 5
No.6
No.9
No.8
No.7
(Operation pattern : Continuous path control)
 • If the positioning address of positioning data No. 8 is outside the software stroke 
   limit range, the operation immediately stops after positioning data No. 7 has been 
   executed. 
Immediate stop at
error detection
Positioning 
data No. 5
Axis operation 
status
Position control
Positioning 
data No. 6
Positioning 
data No. 7
Positioning 
data No. 8
Error
Operation pattern : Continuous 
            path control
Operation pattern : Continuous 
            path control
Operation pattern : Continuous 
            path control
Operation pattern : Continuous 
            path control
Operation pattern : Continuous 
             positioning control
[5]   Setting the software stroke limit function
To use the "software stroke limit function", set the required values in the
parameters shown in the following table, and write them to the QD70.
The set details are validated at the rising edge (OFF 
 ON) of the PLC READY
signal (Y0).
Setting item
Setting
value
Setting details
Factory-set
initial value
Pr. 1
Software stroke
limit upper limit
value
Set the upper limit value of the moveable range. 2147483647
Pr. 2
Software stroke
limit lower limit
value
Set the lower limit value of the moveable range. –2147483648
Pr. 3
Software stroke
limit valid/invalid
setting
0:Valid
Set whether the software stroke limit is validated or
invalidated.
0: valid
 Refer to section "4.2 List of parameters" for setting details.
Make setting so that the condition of (
Pr. 1
 Software stroke limit upper limit value) 
>
 (
Pr. 2
 
Software stroke limit
lower limit value) is satisfied.
If the setting made does not satisfy the above condition, the "Software stroke limit upper/lower limit value error"
error (error code: 901) occurs.