Program Control And Multi-Tasking - Omron SYSMAC CJ Operation Manual

Sysmac cj-series programmable controller motion control unit
Hide thumbs Also See for SYSMAC CJ:
Table of Contents

Advertisement

Program control and multi-tasking

1-7
Program control and multi-tasking
1-7-1
Program control
1-7-2
Processes
1-7-3
Multi-tasking
22
The Trajexia system has program, processes and multi tasking 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.
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.
LT
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.
A
LT
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.
HT #1
HT #2
COMS.
Cycle time
B
HT #1
HT #2
COMS.
Cycle time
Section 1-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj1w-mch72

Table of Contents