312
Interface Specifics
Section 5-4
Use the status of the Program Execution Flag to determine how long to keep
ON control bits such as the Pause Bit or Forced Block End Bit when executing
those commands. This flag can also be used as an interlock condition, check-
ing whether the MC program is being executed or not.
Timing Chart
Refer to the timing chart for the
Program Execution Completed Flags
on
page 312.
Program Execution Completed Flags
The Program Execution Completed Flag will turn ON when a G79 command
(PROGRAM END) is executed. Use the Program Execution Completed Flag
to determine when to turn OFF the Cycle Start Bit. Turn OFF the Cycle Start
Bit when the Program Execution Flag turns OFF.
The Program Execution Flag will turn OFF when the Program Execution Com-
pleted Flag turns ON.
The Program Execution Completed Flag will be turned OFF again the next
time the MC program is executed. This bit will be turned OFF when the mode
is switched from Automatic to Manual Mode, but it will be turned ON again
when the mode is switched back to Automatic Mode.
Timing Chart
Signal
Meaning
1
An MC program is being executed.
0
An MC program is not being executed.
Word
Task
Bit
I/O
Valid mode
MC221
MC421
n+15
n+23
Task 1
05
Input
---
n+19
n+27
Task 2
---
n+31
Task 3
---
n+35
Task 4
Signal
Meaning
1
MC program execution has ended (i.e., G79 was executed).
↓
MC program execution has started or the mode has been switched from
Automatic to Manual Mode.
Block execution
Program Execution Flag
(n+15, 04/n+23, 04)
Program Execution
Completed Flag
(n+15, 05/n+23, 05)
Cycle Start Bit
(n+3, 02)
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 ...