277
Interface Specifics
Section 5-4
Programming Example 2
Program Number Read Bits
These bits specify reading the number of the MC program that will be exe-
cuted in each task. Status is read when the Cycle Start Bit turns ON. If a bit is
ON when the Cycle Start Bit turns ON, the Program Number set in the PLC
Interface Area will be read and the specified program will be executed from
the beginning.
When any MC programs in the same task have been edited, added, or
deleted, always turn ON the Program Number Read Bit the next time that the
Cycle Start Bit is turned ON. An error will occur if the Program Number Read
Bit is OFF.
Note
Refer to the
Cycle Start Bits
on page 268.
Teaching Bits
These bits are used to read the reference coordinate system position into the
position data address according to the Teaching Type Bit specification: Target
Position or Present Position (Feedback Value).
When a bit is turned ON, the present position is read as the position data and
then the teaching addresses stored in memory for the axes in the task are
incremented.
The bit must be kept ON until the Teaching Completed Flag turns ON.
Teaching can be performed in Automatic or Manual Mode, even if a task error
has occurred.
Note
Refer to the
Teaching Type Bits
on page 278.
Word
Task
Bit
I/O
Valid mode
MC221
MC421
n+3
Task 1
07
Output
Auto
n+5
Task 2
---
n+7
Task 3
---
n+9
Task 4
n+3
06
Reset condition
OUT
(Resets the M code. )
Signal
Function
1
Indicates reading the Program Number.
Word
Task
Bit
I/O
Valid mode
MC221
MC421
n+3
Task 1
09
Output
Manual or Auto
n+5
Task 2
---
n+7
Task 3
---
n+9
Task 4
Signal
Function
↑
Present positions are read to memory.
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 ...