Topic: DMD0277

Find Element or Instruction


The Find Element or Instruction dialog is used to locate all of the occurrences of a program element, a Nickname or an instruction. The search can include all of the code-blocks in a project, or a single code-block. If the edit cursor is on an element or instruction when the Find operation is invoked, that element will be automatically entered in the Look For field.

 

The Find Element or Instruction dialog can be opened by selecting the Search-> Find menu selection, or pressing Ctrl + F. After a successful Find operation, pressing Ctrl + Shft + F will repeat the search for the next occurrence of the same element or instruction.

 

Search For - specifies what to search for

 

  • Element - select this option to search for a program element
     

  • Instruction - select this option to search for an instruction

 

Look For - specifies which element or instruction to search for

 

Match Exactly - check this box to force the search operation to match the case of Look For with the element or Instruction

 


Element Search Options - contains options to help refine the search for an element

 

Refine Search - check this box to enable the optional search parameters

 

  • Input Parameter - only search for the element through the range of input parameters
     

  • Output Parameter - only search for the element through the range of output parameters
     

  • In a Specific Instruction - only search for the element through instructions of the following types, enter the mnemonic for the instruction type in the field provided
     

  • Inside of a Contact - only search through the range of Contacts for the element
     

  • Inside of a Coil - only search through the of Coils  for the element
     

  • Inside of a Box - only search through the Box instructions for the element

 


Where to Search - designates the code-blocks where the search operation will be performed

 

  • All Control Logic - select this option to include all of the code-blocks in the current project
     

  • All Open Code-Blocks - select this option to perform the search operation only in the code-blocks that are currently open
     

  • Current Code-Block - select this option to perform the search operation only in the code-block where the Find was initiated
     

    • Entire Code-Block - select this option to perform the search operation over the entire code-block
       

    • Rung - select this option to perform the search operation only on the specified range of rungs within the code-block. Enter a range of addresses (will be converted to rung boundaries) that will be searched.

 


Show 'Find All' Results In - designates where to display the results if the Find All button is used
 

  • 'Find Results 1' - opens an output window named Find Results 1 and displays the search results in that window
     

  • 'Find Results 2' - opens an output window named Find Results 1 and displays the search results in that window

 


 

Click the Find Prev button to search backwards through the specified code-blocks for the element or instruction

 

Click the Find Next button to search forwards through the specified code-blocks for the element or instruction

 

Click the Find All button to search through the specified code-blocks for all occurrences of the element or instruction, then display the results in the user-specified Find All output window.

 


See Also:

 


Copyright © Host Engineering, Inc. ALL RIGHTS RESERVED