SCARA, 6-Axis and Modules
Technical Support Notes

Article ID: T3183
Date: 1/2/08
Product: EPSON RC+ v5.0.0 - v5.2.0 SP2
Subject: Controller can hang if variable is declared after it is used

Symptoms
When the following program is executed, the controller can hang.

Function Main

   Print i

   Integer i ' i is declared after using it in the line above

Fend

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

Remedy
Declare the variable before using it.

Function Main

   Integer i ' declare i before using it

   Print i

Fend

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

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