Program Function; Multi-Task Function - Yamaha DRCX User Manual

2-axis robot controller
Hide thumbs Also See for DRCX:
Table of Contents

Advertisement

8-3

Program Function

8-3-1 Multi-task function

A multi-task function allows simultaneous executing two or more programs (tasks). The DRCX
controller can execute a maximum of 4 programs at the same time.
Since the multi-task function simultaneously executes two or more programs, the following process-
ing can be performed.
■ Other processing can be performed during robot movement.
For example, a general-purpose output can be turned on or off while a robot movement com-
mand such as MOVA or MOVI statement is being executed. This reduces the cycle time.
■ Each axis can be controlled independently.
The multi-task function allows each axis of a Multi-Flip robot to operate independently. Since
the program can be created for each axis, it will be very simple.
A multi-task program can be written by the same method as normal programs. A TON statement used
as the task start command is written in the main program and the subtask program is registered as
another program number. When the TON command is processed during the program execution, the
subtask starts to perform multiple tasks. The subtask will end when its last step has been executed or
the TOFF command is issued.
Each task and data have the following relation.
The following data is independent of each task:
Point variable P, coordinate shift amount specified with the SHFT command, definition amount of
arch motion, element designation of the counter array variable C specified with the CSEL com-
mand, and pallet designation number specified with the MSEL command.
The following data is shared with each task:
Point data, general-purpose input, general-purpose output, memory input/output, counter array
variable C, counter variable D, pallet definition data.
c
CAUTION
In addition to the tasks (up to 4 tasks) specified by the user, the system task starts inside the controller, so a
maximum of 5 tasks are executed.
In general, the multi-task is defined as a function that simultaneously executes two or more programs (tasks).
Strictly speaking, if the CPU is one unit, it executes two or more programs (tasks) while switching between them
in an extremely short time almost as if they were being simultaneously executed. The DRCX controller uses this
multi-task function to perform multiple tasks while switching the programs within a very short time (5ms
maximum). Because of this, if 4 tasks are executed with this function, there is a maximum time of 20ms during
which no processing is performed on one task. So the user must take this time into account when designing a
system having multi-task functions.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
8-3 Program Function
8
5
8-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Drcx2005

Table of Contents