311
Interface Specifics
Section 5-4
Use the four flags listed below to determine the operating status of a task in
Automatic Mode. When the program is executed from the Teaching Box, the
flags will change just as they do in Automatic Mode. These flags are all turned
OFF when the mode is switched from Automatic to Manual Mode.
• Program Execution Flag
• Program Execution Completed Flag
• Optional Input Standby Flag
• M Code Reset Standby Flag
The Automatic Mode Flag won’t be turned ON during system initialization,
even if an Automatic Mode Command is received from the CPU Unit. The flag
will be turned ON when initialization has been completed and the Unit is able
to received commands in Automatic Mode. Initialization takes about 700 ms.
Timing Chart
Refer to the timing chart for the
Automatic/Manual Mode Bits
on page 267.
Manual Mode Flags
The Manual Mode Flag will be ON when the task is in Manual Mode. Always
make sure that this flag is ON when executing commands that are valid only in
Manual Mode. Those commands will be ignored if this flag is OFF.
This flag won’t be turned ON during system initialization, even if an Manual
Mode Command is received from the CPU Unit. The flag will be turned ON
when initialization has been completed and the Unit is able to received com-
mands in Manual Mode. Initialization takes about 700 ms.
Timing Chart
Refer to the timing chart for the
Automatic/Manual Mode Bits
on page 267.
Program Execution Flag
The Program Execution Flag will be ON when an MC program is being exe-
cuted in Automatic Mode. This flag is also ON when the M code is being reset.
The flag will remain ON when decelerating to a stop; it will be turned OFF
when the axes are fully stopped.
The Program Execution Flag will turn OFF when the servo is unlocked or dur-
ing an acceleration stop when a Servo Driver error has occurred.
Signal
Meaning
1
The task is in Automatic Mode.
0
The task is not in Automatic Mode.
Word
Task
Bit
I/O
Valid mode
MC221
MC421
n+15
n+23
Task 1
03
Input
---
n+19
n+27
Task 2
---
n+31
Task 3
---
n+35
Task 4
Signal
Meaning
1
The task is in Manual Mode.
0
The task is not in Manual Mode.
Word
Task
Bit
I/O
Valid mode
MC221
MC421
n+15
n+23
Task 1
04
Input
---
n+19
n+27
Task 2
---
n+31
Task 3
---
n+35
Task 4
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 ...