Mitsubishi Electric MELSEC Q Series Programming Manual page 101

Motion controller, real mode
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

3 POSITIONING DEDICATED SIGNALS
(12) Data set pointer for constant-speed control (D15+20n)
This pointer is used in the constant-speed control when specifying positioning
data indirectly and substituting positioning data during operation.
It stores a "point" that indicates which of the values stored in indirect devices has
been input to the Motion CPU.
Use this pointer to confirm which positioning data is to be updated using the
Motion SFC program.
Also, store the positioning data updated last time to the end of a selected device
to use as an updated data set pointer for checking the extent to which the
positioning data has been updated.
Data set pointer for constant-speed control and updated data set pointer are
described here using the example servo program below.
<K 0>
Pass point
10
CPSTART2
Axis
Axis
Speed
*
FOR-TIMES
1
ABS-2
Axis
Axis
2
ABS-2
Axis
Axis
3
ABS-2
Axis
Axis
4
ABS-2
Axis
Axis
5
ABS-2
Axis
Axis
6
ABS-2
Axis
Axis
7
ABS-2
Axis
Axis
8
ABS-2
Axis
Axis
9
ABS-2
Axis
Axis
*
NEXT
10
The input situation of positioning data to the Motion CPU is shown the next page
by executing the 2-axes constant-speed control using above the servo program
and updating the positioning data in indirect devices D3000 to D3006.
............................. Monitor device
1
2
D3200
. . . 0
1,
D3000
2,
D3002
. . . 1
1,
D3004
2,
D3006
. . . 2
1,
D3008
2,
D3010
. . . 3
1,
D3012
2,
D3014
. . . 4
1,
D3016
2,
D3018
. . . 5
1,
D3020
2,
D3022
. . . 6
1,
D3024
2,
D3026
. . . 7
1,
D3028
2,
D3030
. . . 8
1,
D3032
2,
D3034
3 - 52
Point
Repetition instructions
FOR-TIMES
FOR-ON
FOR-OFF
NEXT
0, 1, 2, etc., starting from the
first instructions defined by the
above repetition instructions :

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents