118
8-4-2 Circular Arc Positioning
In this example, the center is already determined, but the digital switches de-
termine the arc radius. The center has been determined at (2,500, 2,500).
Set the radius with the digital switches. The axes then construct the pre-
scribed circle starting at the origin and returning to the origin at a speed of 1
pps.
X axis (pulse)
0 (origin)
5,000
2,500
5,000
5,000 R
R (radius)
0
Speed (pps)
Speed (pps)
X axis
Y axis
0
Origin
Y axis (pulse)
IR Area Allocations
n
n+1
n+2
n+3
n+4
n+5
(OUT)
(IN)
(IN)
(IN)
(OUT)
(IN)
PCU
Digital switch
Start input
M code output
Error output
AR Area Allocations
Word l
Word l+1
:
Word l+16
DM Area Command Allocations
DM Wd
s
s+1
s+2
s+3
s+4
b15-b12
0
1
1
1
1
b11-b8
3
0
0
0
0
b7-b4
0
0
1
5
6
b3-b0
4
0
0
0
0
Application Program Examples
Section 8-4