Rockwell-automation 8520-9API 9/Series OCI API Developer's Guide Uživatelský manuál Strana 162

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 263
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 161
5–51OCI Data Server CNC Commands
Publication 8520-6.6 - August 1999
ENTER_MIDSTART_SEARCH_MODE(search_type)
Use this command to enter midstart program. Refer to your
operation and programming manual for details on midstart operation.
The search_type argument is an enumeration that identifies the type
of search operation the control is to perform.
The enumerations are as follows:
Enumeration Result:
1 NSearch
2 OSearch
3 EOB Search
4 Slew Search
5 String Search
For example:
[ENTER_MIDSTART_SEARCH_MODE (1)]
readies the control to perform an N word search. Exit search mode
using the command [EXECUTE_MIDSTART_SEARCH(5)].
Use this command in conjunction with the
EXECUTE_MIDSTART_SEARCH_MODE and the
SET_MIDSTART_SEARCH_PATTERN commands.
EXECUTE_MIDSTART_SEARCH (search_method)
After you have entered a search mode, use this command to execute
a mid program search. The search_method argument is an
enumeration that identifies the direction of the search operation the
control is to perform. The enumerations are as follows:
Enumeration Result:
1 Forward
2 Reverse
3 Top of Program
4 Cancel
5 Exit Search
For example:
[EXECUTE_MIDSTART_SEARCH (1)]
executes the midstart search in the forward direction.
Part Program Execution
Zobrazit stránku 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 262 263

Komentáře k této Příručce

Žádné komentáře