Task Control Bits - Omron CS1W-MC221 - 02-2008 Operation Manual

Motion control units
Table of Contents

Advertisement

Interface Specifics
Programming Example
5-4-3

Task Control Bits

Program Numbers
Timing Chart
Programming Example
266
STOP (G76) commands or using optional numbers in the G00, G01, G02, or
G03 commands. There are 16 optional inputs available (bits 00 to 15).
Signal
1
Turns ON the optional input.
0
Turns OFF the optional input.
Output condition
Note The CS1W-MC221 supports only tasks 1 and 2.
Word
MC221
MC421
n+2
n+4
---
n+6
---
n+8
These words are used to specify the program number that is to be executed in
each task. The program number is specified in 4-digit hexadecimal as shown
below.
The number must be between 0000 and 03E7 hex (0000 to 0999 decimal).
When the Program Number Read Bit is ON, the program numbers in these
words will be read when the Cycle Start Bit is turned ON and the program will
be executed from the beginning.
Cycle Start Bit
(n+3, 02)
Program Number
(n+2)
Program Number
Read
(n+3, 07)
Program execution
Refer to the description of the Cycle Start Bits on page 268.
Function
Task
Bits
Task 1
00 to 15
Task 2
Task 3
Task 4
15
2
1
0
x16
x16
ON: Continue
P001 executed
Section 5-4
OUT
Optional Input
(n+1, 11 to 15)
I/O
Valid mode
Output
Auto
00
0
x16
OFF: Stop
P002 executed

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents