489
Setting the Teaching Address
Section 10-2
10-2-1 Setting the Teaching Address from the Ladder Program
Set the following data with the first operand of the IOWR instruction and trans-
fer the data to the MC Unit.
Teaching Address Set Bit (Task 1): Address 17E2 hex (6114)
Teaching Address Set Bit (Task 2): Address 17E3 hex (6115)
Teaching Address Set Bit (Task 3): Address 17E4 hex (6116)
Teaching Address Set Bit (Task 4): Address 17E5 hex (6117)
Refer to
3-6 Command Area
for details regarding the command area.
Specifications
The following is a basic explanation of the IOWR instruction specifications for
setting the teaching address. For a more detailed explanation, refer to
4-2
IOWR and IORD Specifications
.
C: Control code, S: First source word, D: Destination unit number and total
number of words written
Transfer Data
Set the following data starting at the first source word and execute the IOWR
instruction.
Set the task 1 to 4 teaching address (first address) to a value from 0000 to
07CF hex (0 to 1999).
Operand
Description
C
S
D
IOWR
C
S
D
@IOWR
C
S
D
Teaching Address for Task 1: Address 17E2 Hex (6114)
Teaching Address for Task 2: Address 17E3 Hex (6115)
Teaching Address for Task 3: Address 17E4 Hex (6116)
Teaching Address for Task 4: Address 17E5 Hex (6117)
Teaching address (Hex)
Specifies the first word in the CPU Unit from which data is to be trans-
ferred.
First source word
Specify the destination unit number to which data will be transferred
and the total number of words to transfer.
Number of words to transfer:
Always 0002 Hex. (Refer to
Transfer Data
below.)
Destination unit number:
MC221: 0000 to 005D Hex (Unit numbers 0 to 93)
MC421: 0000 to 005B Hex (Unit numbers 0 to 91)
Example: #0002003, when two words of data are transferred to Unit #3.
Total number of words transferred (Hex)
Destination unit number (Hex)
D+1
D
Task 1 to 4 first teaching address
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 ...