Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 84

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Programming with Tasks
Earlier system
One continuous
subprogram
I/O refreshing
Note
CP1H
Task 1
Allocation
Task 2
Task 3
I/O refreshing
Unlike earlier programs that can be compared to reading a scroll, tasks can
be compared to reading through a series of individual cards.
• All cards are read in a preset sequence starting from the lowest number.
• All cards are designated as either active or inactive, and cards that are
inactive will be skipped. (Cards are activated or deactivated by task con-
trol instructions.)
• A card that is activated will remain activated and will be read in subse-
quent sequences. A card that is deactivated will remain deactivated and
will be skipped until it is reactivated by another card.
Section 2-1
Tasks can be
put into non-
executing
Program
(standby)
development and
status.
debugging is
possible by more
than one person.
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents