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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Using Tasks
Relationship of Tasks to
Block Programs
Block program 000
Task 0
Block program 001
Block program n
Task 1
Task n
8. Assign I/O memory into memory shared by tasks and memory used only
for individual tasks, and then group I/O memory used only for individual
tasks by task.
Up to 128 block programs can be created in the tasks. This is the total number
for all tasks. The execution of each entire block program is controlled from the
ladder diagram, but the instructions within the block program are written using
mnemonics. In other words, a block program is formed from a combination of
a ladder instruction and mnemonic code.
Using a block program makes it easier to write logic flow, such as conditional
branching and process stepping, which can be hard to write using ladder dia-
grams. Block programs are located at the bottom of the program hierarchy,
and the larger program units represented by the task can be split into small
program units as block programs that operate with the same execution condi-
tion (ON condition).
Program
0.00
0.01
Section 2-2
Block program area 000
Block program area 001
67

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents