4. Commissioning positioning systems
4−62
Festo P.BE−SPC200−WIN−PISA−CD−EN en 0901d
4.9 Enter a test program
When the positioning system is commissioned, it is often use
ful to test its functioning using a simple program.
You can do this by pasting a program into your project, then
programming a few movements and checking your program
for the correct syntax.
In order to avoid unnecessary error messages in the
switch−on
phase, programs 0 and 1 have already been
created in the SPC200 when it is supplied. These programs
both contain the NC record N000 with the command M30.
Your project will therefore already contain these programs
after a project upload. In this case, do not create a new
program. Open an existing program
instead.
Create and open the program
To insert a test program into the project:
1. Select the software icon in the project window by clicking
on it or by moving the highlight to the icon using the
ARROW KEYS.
2. Select [Insert object] from the [Edit] menu or press the
INSERT key.
3. Enter a program title in
the Title" field, a short descrip
tion in the Description" field and the program number
required in the Program no". field of the New program"
dialogue window.
Enter Test" as your title and accept the program number
0" in order to test the positioning system.
4. Click OK" to confirm your entries. The new
program
appears in the project window. The program window is
opened.
Open the program window later by selecting the associ−ated
program icon in the project window and pressing ENTER.