275
Interface Specifics
Section 5-4
Timing Chart
Programming Example
M Code Reset Bits
These bits reset the M code output for each task.
If M code 0 to 499 is output in the program, that block will wait for an M code
reset and other commands will not be executed. The M Code Reset Bit can be
turned ON to clear the M code to 0 and turn OFF the M Strobe Flag.
Program execution will restart when the M Code Reset Bit is turned OFF.
Keep the M Code Reset Bit ON until the M Strobe Flag turns OFF.
If the M Code Reset BIt is already ON when a block is executed, that block’s M
code won’t be output.
Cycle Start BIt
(n+3, 02)
Program execution
Pause BIt
(n+3, 05)
The Cycle Start Bit has no effect
because the Pause Bit is ON.
Program Execution
Flag (n+15, 04)
Program Number Read Bit
(n+3, 07)
OFF for continuous operation
DIFU(13)
R1
n+3
05
R1
n+15, 04/n+23, 04
Work Bit
OUT
(Pauses block execution.)
Program
Execution
Flag
n+3, 05
Pause Bit
Pause condition
Word
Task
Bit
I/O
Valid mode
MC221
MC421
n+3
Task 1
06
Output
Manual or Auto
n+5
Task 2
---
n+7
Task 3
---
n+9
Task 4
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 ...