
7. Building SPEL+ Applications
7.2 Managing Projects
7.2.1 Overview
What is an EPSON RC+ 5.0 Project?
An EPSON RC+ 5.0 project is a collection of SPEL
+
program files, robot point files, and
setup parameters used to run a SPEL
+
application.
Why do you need projects?
Projects are a safe and convenient way to manage your SPEL
+
applications. All the
information for each application is kept in one project. By keeping all of your application
code and point definitions in one project, it's easy to open a project and begin running or
editing. Also, it's easy to create new versions of an application and run older versions.
Projects make it easier to maintain your application code with less chance of a program
being lost.
There are also commands for copying and renaming projects, making it easy to create new
projects from previous versions and for backing up projects to an external media such as a
USB memory key.
What's in an EPSON RC+ 5.0 project?
Each project has its own directory on disk. This keeps all of the files for each project
separate from each other. The project directories are under the \EpsonRC50\Projects
directory on any drive. Sub directories may also be created.
The following paragraphs describe the components of a project.
Project file
This file contains all of the information that describes the project. This file is
automatically created by EPSON RC+ 5.0. You should never edit this file. Doing so may
cause errors when you open the project. This file has a .SPRJ extension.
Program source files
A program source file is an ASCII text file that contains one or more SPEL
+
functions.
Each function in SPEL
+
can be run as a separate task (thread) in the controller or called
from other functions.
Include files can also be used. These contain macro definitions and must be included in a
program file using the #include statement.
Point files
A point file contains a list of robot points. The file extension is PTS. Each point describes
a Cartesian coordinate in the robot work envelope.
The Default Project
When you create a new project, one program (Main.prg) and one point file (Points.pts) are
created for you. For some users, this is all they need to get started. They don't have to
configure the project. They can just type in a program, teach points using the Robot
Manager Jog and Teach Tool, and run the program.
188 EPSON RC+ 5.0 (Ver.5.4) User's Guide Rev.4
Comentários a estes Manuais