12 - 90
MELSEC-A
12 CONTROL AUXILIARY FUNCTIONS
(c) Program example 2
•
The following example shows a program in which the " Md.29 Current
feed value" is written to the "positioning address" and "arc address" of the
circular interpolation control positioning data No. 2 of axis 1 and axis 2.
Md. 29 Current feed value (axis1)
Cd.4 Target axis
Cd.5 Positioning data No.
Cd.6 Write pattern
Cd.7 Read/write request
Md. 29 Current feed value (axis2)
(Interpolation with axis 1 and axis 2)
1103
D111
4
(Data No. 2)
1104
D112
2
/
2
(When the arc auxiliary
point is set.)
1551(060F
H
)
801
Address
AD75 buffer memory
(When the positioning address is set.)
1295(050F
H
)
1105
1106
D113
D114
(Writing request)
901
900
PLC CPU data register
800
1) Move the workpiece to the target position using a JOG operation (or a
manual pulse generator operation).
Md.29 Current feed value
V
t
n3
nx
n2
ny
n1
Arc auxiliary point
End position
(Positioning address)
(The following drawing is
for the 1st axis only.)