491
Performing Teaching
Section 10-3
The teaching address is then automatically incremented by 2, to 102.
Because the teaching address is incremented automatically, position data can
be stored sequentially without resetting the teaching address.
In the example, teaching is performed three times at points 1, 2, and 3. The X,
Y present position data is stored and the teaching address is automatically
incremented to the next open position data address.
10-3-1 Performing Teaching from the Ladder Program
In the following example, teaching is performed from the ladder program for
task 1 in the CS1W-MC221. Turn ON the Teaching Bit for task 1 (n+3, bit 09)
and keep this bit ON until the Teaching Completed Flag (n+15, bit 13) turns
ON.
The timing chart and ladder program for this operation are shown below.
Timing Chart
Example Program
Refer to
5-4 Interface Specifics
for details.
(1)
(2)
(3)
(1)
(2)
(3)
Teaching address
Position data
100
102
104
Teaching Bit
(n+3, 09)
Teaching Completed Flag
(n+15, 13)
Teaching Type Bit
(n+3, 10)
At this point, the present value is
read into DM.
Fixed
DIFU(13) W00004
n+3
10
OUT
(Performs
teaching.)
OUT
(Sets the
teaching
type.)
W00004
Teaching condition
Teaching Completed
Flag
n+15 13
Teaching type
condition
n+3 09
Teaching Bit
Work Bit
n+3
09
Содержание CS1W-MC221 -
Страница 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Страница 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 11: ...xii ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Страница 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Страница 227: ...200 Command Area Section 3 6 ...
Страница 351: ...324 Interface Specifics Section 5 4 ...
Страница 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Страница 575: ...548 Error Log Section 12 6 ...
Страница 589: ...562 Performance Appendix A ...
Страница 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Страница 683: ...656 Origin Search Patterns Appendix F ...
Страница 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...