Ton; Toff - Yamaha ERCX Series User Manual

Single-axis robot controller
Hide thumbs Also See for ERCX Series:
Table of Contents

Advertisement

8-4-18 TON

Function:
Format:
Example:
Explanation:
Others:

8-4-19 TOFF

Function:
Format:
Example:
Explanation:
Others:
Executes a specified task.
TON
<task number>, <program number>, <start type>
TON
1,2,0
Newly executes program 2 as task 1.
This command starts multiple tasks and can be used to control the I/O
signals in parallel with the axis movement and perform different process-
ing for each axis.
(1) Task number
The task number is a number used to identify the four individual
tasks from 0 to 3. Since task 0 is the main task, tasks numbers from
1 to 3 can be specified.
(2) Program number
The program number is a number used to identify the 100 individual
programs from 0 to 99.
(3) Start type
This specifies whether to start a new task or suspended task. Set to 0
when executing a new task, and set to 1 when restarting a suspended
task.
• A task number which is being executed cannot be specified. (A task
number which has been suspended can be specified.)
• The task terminates when the last step is detected. When a subtask
terminates, it does not affect operation of other tasks. But, if task 0
(main task) terminates, all other tasks in operation also terminate.
Suspends a specified task.
TOFF
<task number>
TOFF
1
Suspends the program being executed as task 1.
This command is used to suspend the execution of a particular task.
(1) Task number
The task number is a number used to identify the four individual
tasks from 0 to 3. Since task 0 is the main task, tasks numbers from
1 to 3 can be specified.
• This command cannot suspend its own task.
8-4 Robot Language Description
8-
8
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ercx-b1

Table of Contents