138
Program Example
R4
DIFU(13)
R5
n+1
02
DIFU(13)
R2
DIFU(13)
R3
DIFU(13)
R1
n+1
03
Cycle Start Bit
n+1 02
n+11 09
R1
n+1 03
n+16 02 n+19 02
n+11 05
R3
R2
R5
n+11 02
R4
n+11 00
Single Block
condition
Cycle Start
Received Flag
Single Block Bit
Start condition
X-axis Servo
Lock ON
Y-axis Servo
Lock ON
Memory Run
Completed Flag
Cycle
Start
Received
Memory
Run
Com-
pleted
Flag
Automatic
mode
Servo
Lock
ON
Task
Error
Flag
Auxiliary Area Bit
Auxiliary Area Bit
Auxiliary Area Bit
OUT
(Auxiliary Area Bit)
All 2 axes are used in this example.
Auxiliary Area Bit
OUT
(Start program execution.)
OUT
(Single
Block.)
Note
When executing a positioning instruction from the MC program, all of the axes
being used must be servo-locked (Servo Lock ON Flags ON), so be sure to add a
condition like R4 in the program example above.
6-5-4 Word n+1 Bit 04: Forced Block End Bit (Task 1)
This bit is used to force termination of the block being executed; it is valid only
when the mode is set to automatic mode. When a block is terminated, the
remainder of the block is canceled. Program execution will restart from the next
block when restarted with the Cycle Start BIt.
Any axes that are operating will be decelerated to a stop. If the block being
executed is waiting for an M code reset, the M code will be cleared to 0, the M
strobe will be turned OFF, and then program execution will be stopped.
Operation of the Cycle Start Bit is disabled as long as the Forced Block End Bit is
ON. (The program won’t be executed when the Cycle Start Bit is turned ON if the
Forced Block End Bit is ON.)
The Forced Block End Bit has a higher priority than Pause Bit (n+1 bit 05). If both
of these bits go ON at the same time, the forced block end command will be
executed. Keep the Forced Block End Bit ON until the Memory Run Flag goes
OFF.
The Forced Block End Bits for task 2 (bit 04 in word n+3) operate in the same
way.
Signal
The Forced Block End Bit settings have the following functions.
Signal
Function
↑
(OFF-to-ON)
Terminates the block being executed.
ON
As long as the bit remains ON, the program won’t be executed
when the Cycle Start Bit goes ON.
Interface Bit Specifics
Section 6-5
Summary of Contents for C200H-MC221 -
Page 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Page 2: ......
Page 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 16: ...xvi ...
Page 42: ......
Page 48: ......
Page 196: ......
Page 212: ......
Page 242: ......
Page 258: ......
Page 304: ......