233
Controlling the MC Unit from the CPU Unit
Section 5-2
Program Flow
Turn ON input R1 to specify Automatic Mode.
Turn ON input R2 in the following situations:
• The first time that the program is executed after the power is turned ON.
• When executing the program from the beginning.
• When the program number has been changed.
Execution of the MC program will begin when R4 goes ON.
Program Execution Flag
The Program Execution Flag is equivalent to the Manual Mode’s Busy Flag.
This flag is ON while the MC program is being executed; it is OFF when pro-
gram execution is completed or stopped.
Program Execution
Completed Flag
The Program Execution Completed Flag goes ON when the MC program has
been completed. The Program Execution Flag will go OFF when this flag is
turned ON, even if the Cycle Start Bit remains ON.
Related Bits
Cycle Start Bit
Program Execution Flag
Cycle Start Bit
Program Execution Completed Flag
Program Execution Flag
Name of bit
Model
PLC Interface Area
Bit
Description
Task 1
Task 2
Task 3
Task 4
Program
Number
MC421
MC221
n+2
n+2
n+4
n+4
n+6
---
n+8
---
00 to 15
Sets the program number for each
task. (0000 to 03E7 hex)
Automatic/
Manual Mode
Bit
MC421
MC221
n+3
n+3
n+5
n+5
n+7
---
n+9
---
01
Cycle Start Bit
02
Program Num-
ber Read Bit
07
1 : Automatic Mode
0 : Manual Mode
↑
↓
: All axes in manual operation
decelerate to a stop.
: Stops program execution. All
axes in operation decelerate
to a stop.
: Starts program execution.
1 : Continues program execu-
tion.
0 : Stops program execution.
↑
1 : Reads the program number.
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 ...