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
Summary of Contents for CS1W-MC221 -
Page 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Page 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 11: ...xii ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 27: ...xxviii Conformance to EC Directives 6 ...
Page 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Page 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Page 227: ...200 Command Area Section 3 6 ...
Page 351: ...324 Interface Specifics Section 5 4 ...
Page 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Page 575: ...548 Error Log Section 12 6 ...
Page 589: ...562 Performance Appendix A ...
Page 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Page 683: ...656 Origin Search Patterns Appendix F ...
Page 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...