![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454033.webp)
Program control and multi-tasking
Section 1-7
22
1-7
Program control and multi-tasking
The Trajexia system has program, processes and multi tasking control.
1-7-1
Program control
The Trajexia system can control 14 processes that are written as BASIC
programs. When the program is set to run, the program is executed.
Processes 1 to 12 are low priority, 13 and 14 are high priority.
1-7-2
Processes
The low-priority process 0 is reserved for the Terminal window of Trajexia
Studio. This terminal window is used to write direct BASIC commands to the
CJ1W-MCH72 independent to other programs. These commands are
executed after you press the Enter button.
1-7-3
Multi-tasking
Each cycle time is divided into 4 time slices called CPU tasks. Processes run
in the first 3 CPU tasks according to the priority of the process.
Motion sequence and low-priority processes (A) are executed in the Low Task
(LT) period.
High priority processes (B) are executed in the high Task (HT) periods.
External communication that are not related to the motion network are
updated in the communications (COMS) period in the fourth CPU task.
Trajexia can control up to 14 programs at the same time.
In contrast to low priority processes, a high priority process is always available
for execution during two of the four CPU tasks. The high-priority tasks are
executed faster than the low-priority tasks, it is that they have more time
available for their execution. All the low-priority tasks must share one slot of
time and the high-priority task have their own two slots of time.
LT
HT #1
HT #2
Cycle time
COMS.
LT
HT #1
HT #2
Cycle time
COMS.
A
B
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...