
5. The EPSON RC+ 5.0 GUI
EPSON RC+ 5.0 (Ver.5.4) User's Guide Rev.4 117
Reset Controller
Use Reset Controller to reset the current controller from within EPSON RC+ 5.0. This is
equivalent to powering the controller off and on. It is useful for when you want to reset the
controller state remotely because you do not have easy access to the controller power
switch. For example, a development team could be using a controller for development by
connecting to it using Ethernet. By executing this command, a team member can reset the
controller from his development system.
5.11.8 User Error Editor Command (Tools Menu)
The User Error Editor allows you to define user errors for the current project. If a user
error is caught in an error handler, then the ErrMsg$ function will return the error message
defined in the editor. The label associated with an error can be used in any integer
expression.
User error numbers can be from 8000 to 8999.
Labels can be up to 16 characters in length.
It is recommended that you use the
ER_ prefix for each error label and use all caps for the
label. This makes it easy to see error labels in your code.
Some user error examples:
Error # Label Message
8000 ER_VACUUM Vacuum error has occurred.
8001 ER_INDEXOT Indexer overtime has occurred.
In your program code, use the Error statement to generate a user error. For example:
On Vacuum
Wait Sw(VacOn), 1
If Tw = 1 Then
Error ER_VACUUM
EndIf
The user error information is stored in the current project directory in a file called
UserErrors.dat.
You can use the Import command from the File Menu to import user errors from other
projects.
After adding new error definitions, save the changes by executing Save from the File Menu
or by clicking on the Save all files
toolbar button. If any duplicate labels are detected,
an error message will be displayed and the save operation will be aborted. You must
correct the duplication before you can save the labels successfully.
Comentários a estes Manuais