12 - 87
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
Summary of Contents for A1SD75M1
Page 2: ......
Page 20: ...A 18 MEMO...
Page 22: ...MEMO...
Page 27: ...1 5 MELSEC A 1 PRODUCT OUTLINE MEMO...
Page 42: ...1 20 MELSEC A 1 PRODUCT OUTLINE MEMO...
Page 52: ...2 10 MELSEC A 2 SYSTEM CONFIGURATION MEMO...
Page 111: ...5 21 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 115: ...5 25 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 123: ...5 33 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 127: ...5 37 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 167: ...5 77 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 193: ...5 103 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 276: ...5 186 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 332: ...7 18 MELSEC A 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Page 334: ...MEMO...
Page 422: ...9 64 MELSEC A 9 MAIN POSITIONING CONTROL MEMO...
Page 446: ...10 24 MELSEC A 10 ADVANCED POSITIONING CONTROL MEMO...
Page 472: ...11 26 MELSEC A 11 MANUAL CONTROL MEMO...
Page 576: ...12 104 MELSEC A 12 CONTROL AUXILIARY FUNCTIONS MEMO...
Page 745: ......