272
Interface Specifics
Section 5-4
Single Block Bits
These bits are used to execute programs one block at a time. The Single
Block Bits and Cycle Start Bits are used together.
• A single block can be executed by turning ON a Single Block Bit and then
turning the Cycle Start BIt ON and then OFF.
• When a program is being executed (i.e., the Cycle Start Bit is ON), the
corresponding Single Block Bit is checked at the start of each block; if it is
ON, the next block will be executed and program execution will be
paused.
To switch from single block execution to normal program execution, turn OFF
the Single Block Bit and then turn ON the Cycle Start Bit. The program will be
executed continuously starting from the next block. (The Program Number
Read Bit must be OFF.)
When the Single Block Bit is turned ON during Pass operation, the next block
will be completed before program execution is paused.
If the Single Block Bit is ON when decelerating with the OPTIONAL STOP
command, program execution will be paused after decelerating to a stop.
Timing Chart
Programming Example
Note
Refer to the programming example for the
Cycle Start Bits
on page 268.
Word
Task
Bit
I/O
Valid mode
MC221
MC421
n+3
Task 1
03
Output
Auto
n+5
Task 2
---
n+7
Task 3
---
n+9
Task 4
Signal
Function
1
The status of a Single Block BIt is checked when the Cycle Start Bit is
turned ON and at the beginning of each block. When the bit is ON, program
execution is paused after the next block is executed.
Cycle Start Bit
(n+3, 02)
Single Block Bit
(n+3, 03)
xe-
lock.
Program execution
Cycle Start Received Flag
(n+19, 09/n+23, 09)
ON so N005 is executed as a single
block and execution will pause.
Program Number Read Bit
(n+3, 07)
OFF for continuous operation
OFF so N004 is not e
cuted as a single b
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 ...