13 selecting variable names, 14 changing a variable's data type – Rockwell Automation AutoMax Enhanced Ladder Editor User Manual

Page 31

Advertising
background image

2Ć13

To scroll through the available variable names that match the

character(s) you have typed
D To advance, press CTRL and the down arrow.
D To move backward through the matching variable names, press

CTRL and the up arrow.

The Variable SmartĆMatching option provides matches to each part

of an elementĆindexed and/or bitĆindexed variable. Enter the

elementĆindex or bitĆindex delimiter and the first letter or letters of

the element or bit name. Then, scroll through the variable name

choices offered. The choices offered by the variable smartĆmatching

option are determined by how many letters you type in.
Tip
D To append onto a variable name picked from the variable

smartĆmatch choices, make sure the variable name is not

selected before continuing to type.

D To reĆinitialize smartĆmatching, delete characters (by using

BACKSPACE), and reĆtype one or more.

Tip
If you type a question mark (?) as the first letter of a variable name,

the Editor automatically smartĆmatches on the first variable in your

variable list.

2.13

Selecting Variable Names

Before you can copy, cut, or clear a variable name you must first

select it.
To select a variable
Step 1.

Select the instruction that contains the variable you want

to edit. The variable name fields appear as dottedĆline

boxes.

Step 2.

Click the dottedĆline box. The outline becomes a solid

box and the text is selected.

2.14

Changing a Variable's Data Type

When you enter a variable name in an instruction's input or output

parameter, a default data type is assigned based on the instruction

type. If you want to change a variable's data type to something other

than the default, you can change it by using the Variable Properties

tab.
I

MPORTANT

Changing the properties of a variable affects the variable, not just a

particular instance in which it is used. For example, if you change

the data type of a variable from timer to integer and that variable

happens to be used in a TON instruction, this integer variable will no

longer be allowed within the instruction.

Advertising