ExecuteCommand Method

Description
Sends a command to Epson RC+ 8.0 and waits for it to complete

Syntax
Sub ExecuteCommand (Command As String , [ByRef Reply As String])

Parameters

  • Command
    A character string equivalent to the SPEL+command
  • Reply
    Returns the required response.

Remarks
Normally, ExecuteCommand is not required. Most operations can be performed by executing Spel methods. However, sometimes it is desirable to execute SPEL+ multi-statements. Multi-statements are one line commands that contain more than one statement separated by semi-colons. Use ExecuteCommand to execute multi-statements.

For example: m_spel.ExecuteCommand("JUMP pick; ON tipvac")
The maximum command line length is 200 characters.

See Also
Pause Method

ExecuteCommand Example
VB Example:

m_spel.ExecuteCommand("JUMP P1\!D50; ON 1\!")  

C# Example:

m_spel.ExecuteCommand("JUMP P1\!D50; ON 1\!");