Creating a SPEL+ Program

The following describes how to create a SPEL+ program to perform the "pressing" operation.

  1. Click Epson RC menu-[File]-[Open File].
    The [Open File] dialog box is displayed.
    image

  2. Select "Program" in [File Type].

  3. Select "Main.prg" in [Select file to open].

  4. Click the [Open] button. The Main.prg screen is displayed.
    image

  5. Input the following sample program in the main function.

    Function main
      Motor On
      Go P1           'Go to the operation start point
      FSet FS1.Reset  'Reset the Force Sensor
      FCKeep FC1, 10  'Perform the pressing operation for 10 seconds
    Fend