Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 163

Advertising
background image

5–52

OCI Data Server CNC Commands

Publication 8520-6.6 - August 1999

Use this command in conjunction with the
ENTER_MIDSTART_SEARCH_MODE and the
SET_MIDSTART_SEARCH_PATTERN commands. This search
operation is performed on the active part program.

SET_MIDSTART_SEARCH_PATTERN ("search_string")

Use this command to set your midstart program search string. This
command specifies the text to be searched for in the part program.

Use this command in conjunction with the
ENTER_MIDSTART_SEARCH_MODE and the
EXECUTE_MIDSTART_SEARCH commands. The actual string
required for this search depends on these other commands.

For example:

[SET_MIDSTART_SEARCH_PATTERN(”100”)]

If the command ENTER_MIDSTART_SEARCH_MODE is set to
N–Search (1) the search will find program block number N100. If
ENTER_MIDSTART_SEARCH_MODE is set to string search (5)
any text with the string 100 will be found.

STOP_QUICK_CHECK (no argument)

This command is used to take the control out of QuickCheck mode.
QuickCheck is the 9/Series syntax checker. Refer to your operation
and programming manual for details on using QuickCheck and when
QuickCheck requests are valid.

For example:

[STOP_QUICK_CHECK]

would take the control out of QuickCheck mode. Use the command
SYNTAX_QUICK_CHECK to enable the QuickCheck mode.

Advertising