122
8-4-3 Multiple Positioning
This program consecutively executes 25 positioning actions. At each posi-
tion, an M code is output to indicate arrival. By turning ON the start switch,
the motor axes follow the course along the broken lines in the figure below
and perform 25 positioning actions. M codes 01-25 are respectively output at
each position while the axes stop for 0.5 second. After the 25 positions, the
motors return to the origin.
Y axis (pulse)
X axis
(pulse)
0 (origin)
10,000
5
6
15
25
16
4
7
14
17
24
23
22
21
1
2
3
8
9
10
11
12
13
18
19
20
15,000
20,000
25,000
30,000
10,000
20,000
30,000
15,000
25,000
IR Area Allocations
n
n+2
n+1
n+3
(OUT)
(OUT)
PCU
(IN)
(IN)
M code
output
Start
input
AR Area Allocations
Word (j+12) is part of the AR area.
Word l
Word l+1
:
Word l+16
Application Program Examples
Section 8-4