490
Performing Teaching
Section 10-3
Ladder Programming
Example
The following example program transfers data with the MC Unit mounted to
the CS and the unit number set to 0. In this example, teaching address 64 hex
(100) of task 1 is set. It is assumed that both the IOWR operand and the data
transferred are normal.
When debugging, check the Error Flags from the ladder program.
Transfer Data (DM)
10-2-2 Using the Teaching Box
Press “TEACH” when performing teaching from the Teaching Box. The teach-
ing address can be changed by using the Numeric Keys to change the posi-
tion data address displayed in the lower-left corner of the screen. Refer to the
Teaching Box Operation Manual
(W320) for details.
10-3 Performing Teaching
Teaching can be performed once the teaching address has been set. When
teaching is performed in the following example, the X-axis present position of
30 is stored in position data address A0100 and the Y-axis present position of
40 is stored in position data address A0101.
Execution condition
(Work Bit) W00001
Address (6114) to set the teaching address.
Specifies the first source word.
(Work Bit) W00003
(Work Bit) W00002
Set the following
teaching address in
D00200 and D00201.
Specifies destination unit number 0 and
two words to be transferred.
Teaching address: 100 (A0100)
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 ...