![background image](http://html1.mh-extra.com/html/omron/cs1w-mc221/cs1w-mc221_operation-manual_742361293.webp)
266
Interface Specifics
Section 5-4
STOP (G76) commands or using optional numbers in the G00, G01, G02, or
G03 commands. There are 16 optional inputs available (bits 00 to 15).
Programming Example
5-4-3
Task Control Bits
Note
The CS1W-MC221 supports only tasks 1 and 2.
Program Numbers
These words are used to specify the program number that is to be executed in
each task. The program number is specified in 4-digit hexadecimal as shown
below.
The number must be between 0000 and 03E7 hex (0000 to 0999 decimal).
When the Program Number Read Bit is ON, the program numbers in these
words will be read when the Cycle Start Bit is turned ON and the program will
be executed from the beginning.
Timing Chart
Programming Example
Refer to the description of the
Cycle Start Bits
on page 268.
Signal
Function
1
Turns ON the optional input.
0
Turns OFF the optional input.
Output condition
OUT
Optional Input
(n+1, 11 to 15)
Word
Task
Bits
I/O
Valid mode
MC221
MC421
n+2
Task 1
00 to 15
Output
Auto
n+4
Task 2
---
n+6
Task 3
---
n+8
Task 4
x16
0
x16
1
x16
2
0
15
00
Cycle Start Bit
(n+3, 02)
Program Number
(n+2)
Program Number
Read
(n+3, 07)
Program execution
ON: Continue
OFF: Stop
P001 executed
P002 executed
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 ...