SCARA, 6-Axis and Modules
Technical Support Notes

Article ID: T3212
Date: 2/14/08
Product: EPSON RC+ v5.0.0 - v5.2.0 SP1
Subject: A function is executed during a task command when the task is not running

Symptoms
Sometimes when a task identifier is used in Xqt, Halt, Resume, Quit, etc, it is treated as a function to get the task number.

Causes
This is caused by a bug in EPSON RC+ 5.0.

When a task identifier is used in Xqt, Halt, Resume, Quit, etc, it is treated as a function incorrectly.

If you use function name as a parameter for the following commands, the function is called to get the task number, instead of using the task identifier. This causes the function to execute.

 

Error, Halt, Quit, Resume, Ton, Toff, TaskDone, TaskState, TaskInfo, TaskInfo$, TaskWait

 

File 1:

Function main

   Halt sub 'sub is executed to get the task number instead of being used as a task identifier

Fend

 

File 2:

Function sub

   Print "in sub"

Fend

 

If functions are in the same program file, this problem does not occur.

Remedy
Put the functions in the same file.

Status
This problem is fixed in EPSON RC+ v5.2.0 SP2.

Click here to return to the EPSON Robots home page
The Power of Choice!