9 changing an instruction type – Rockwell Automation AutoMax Enhanced Ladder Editor User Manual
Page 27

2Ć9
To access Instruction Properties from the popĆup menu
Step 1.
Point to the instruction, and press the right mouse button.
Step 2.
From the popĆup menu, choose Properties. The
Instruction Properties dialog box is displayed.
To display the variable properties tab, choose Variables. To display
information about the instructions, choose Instruction Info. Quickly
toggle between the two tabs by using CTRL+TAB.
2.9
Changing an Instruction Type
You can change an instruction to another compatible instruction
without having to reĆenter the variable names for the parameters.
This feature helps reduce the time required to make logic changes.
Compatible instructions are those with the same basic function
and/or the same number of inputs and outputs. For example, you
can change an NOI instruction to a NCI instruction because these
instructions are compatible relay input instructions. Conversely, you
cannot change an NOI instruction to a CO or an ADD instruction
because these instructions are not compatible.
To change an instruction type by using Find and Replace
Step 1.
Click on
The Find dialog box is displayed.
Step 2.
In the Objects group box, choose Instruction.
Step 3.
In the Find Instruction list box, choose the instruction for
which you want to search. This list only displays those
instructions that are compatible with the selected
instruction.
Step 4.
Choose Find.
The Editor searches the program for the instruction you
specified.
Step 5.
Choose the Replace button.
Step 6.
In the Replace Instruction list box, choose the instruction
that you want to use in place of the instruction you are
searching for. This list only displays those instructions
that are compatible with the selected instruction.
Step 7.
Choose Replace to replace the current instruction with
the new one or Replace All to replace all occurrences of
an instruction with another.
To change an instruction type by using its Instruction Properties
Step 1.
Select the instruction you want to change.
Step 2.
From the File menu, choose Properties.
Step 3.
Choose the Instruction Info tab.
Step 4.
From the Type list box, choose the instruction type that
you want to use in place of the selected instruction. This
list only displays those instructions that are compatible
with the selected instruction.
Step 5.
Click OK to accept the change.