Omron CS1W-MC221 - 02-2008 Operation Manual page 339

Motion control units
Table of Contents

Advertisement

Interface Specifics
Timing Chart
Program Execution Completed Flags
Timing Chart
312
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.
Signal
1
An MC program is being executed.
0
An MC program is not being executed.
Refer to the timing chart for the Program Execution Completed Flags on
page 312.
Word
MC221
MC421
n+15
n+23
Task 1
n+19
n+27
Task 2
---
n+31
Task 3
---
n+35
Task 4
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.
Signal
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)
Meaning
Task
Bit
05
Input
Meaning
Section 5-4
I/O
Valid mode
---

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-mc221Cs1w-mc221-v1Cs1w-mc421Cs1w-mc421-v1

Table of Contents