12 - 67
MELSEC-A
12 CONTROL AUXILIARY FUNCTIONS
(5) Teaching program example
The following shows a sequence program example for setting (writing) the
positioning data obtained with the teaching function to the AD75.
(a) Setting conditions
•
When setting the current feed value as the positioning address/arc
auxiliary point, write it when the BUSY signal is OFF.
(b) Program example 1
•
The following example shows a program in which the " Md.29 Current
feed value" is written to the "positioning address" of the axis 1 positioning
data No. 1, and the positioning data stored in D40 to D45 is written to the
other positioning data.
Positioning data
(1 positioning
amount)
(Axis 1)
1103
D27
1
(Data No. 1)
1104
D28
1
1105
D29
(0500
H
)
1106
D30
1107
(Open)
(Deceleration time: Use No. 0)
1108
D40
Positioning identifier
(M code No.)
1109
D41
M code
(ms)
1110
D42
1000
Dwell time
1111
D43
0
(pulse/s)
1112
D44
100000
Command speed
1113
D45
1114
Positioning address
1116
Arc data
1117
PLC CPU data register
(Current feed value is the address)
1280
(0110
H
)
(Acceleration time: Use No. 1)
801
Md. 29 Current feed value
AD75 buffer memory
(Also write data other than the address)
2
272
10
(Operation pattern: Positioning complete)
(Address)
0
(Not used)
0
(Control method: axis 1 linear ABS)
1115
Cd.4 Target axis
Cd.5 Positioning data No.
Cd.6 Write pattern
(Writing request)
(Address)
800
(Open)
Cd.7 (Read/write request)
to
to
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Summary of Contents for A1SD75P1-S3
Page 2: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 3: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 620: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 621: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...