Topic: DMD0357 Element Picker |
|
When the edit cursor moves to a parameter that is editable, the Element Picker dialog will automatically open and display all of the programming Elements that are valid for that parameter. The programming Elements will be displayed on the dialog in the Element Picker in the following two forms:
In Do-more Designer versions 1.4 and later, the Element Picker is the preferred element selection tool, meaning that it that will be opened anytime the edit cursor moves to an editable parameter in ans instruction, or any time the F9 key is pressed when the cursor is on an element field. For those who would prefer to use the Element Browser see below.
|
|
The top portion of the Element Picker contains the tree control that is used to browse through the various programming elements that are available for the field. The topmost fields display the Element, the Nickname for that element (if one exists), and a textual description of the type of the current element.
Clicking the Create Data Block button will open the following dialog where the user can create a new block of data for use in the current parameter field:
|
|
The center section is the tree control that contains the list of Elements that are appropriate selections for the current field. The list has two main groups: Memory and Nicknames.
Memory is an expandable list of all the Elements that can be used in this parameter by memory type. An element is selected from the list by expanding the appropriate level and repeatedly until you get to the individual element you want to use in the current parameter. Refer to the image below where Element X32 is selected by expanding the levels starting with I/O -> Discrete -> X0-2047 -> X0-999 -> X0-99 -> X30-39 -> X32.
Nicknames is a list of the Elements that have a user-assigned Nickname; the list is sorted alphabetically. This section also includes the System Nicknames which are Elements that have system-assigned Nicknames.
The two selections below the tree control are used to refine the list of Nicknames elements. Show only Nicknames containing the text will list only Nicknames that contain the text entered in the field provided. Case Insensitive will toggle whether or not the text entered must match the case of the Nickname.
An element is selected from this list by expanding the Nickname list and scrolling to find the individual element you want to use in the current parameter. Refer to the image below where Clamp_Locked (X34) is selected.
|
|
The bottom portion shows a Usage table, where the range of programming Elements that are adjacent to the one selected are shown. An Element can be selected by clicking on the Element's corresponding square in the grid.
When Consider Ranged Elements as "Used" is enabled, if a range of elements is used as a parameter in an instruction, all of the elements within that range will be treated as "already used" by the four "Find ..." operations.
Consider Unused Elements with Nicknames as "Used" means that elements that have a Nickname will be marked as "already used" even if they are not currently used as a parameter in an instruction.
Starting at the current Element, there are four buttons that can help located the following:
The usage grid contains one block per element; the current element will have a border cursor (D17 is the image below). Instruction Requires a Non-Stage ParametersWhen editing a field that does NOT require a Stage bit, the blocks in the usage grid will be displayed as one of the following:
Instruction Requires a Stage Bit ParameterWhen editing a field that requires a Stage bit (for example Jump to Stage (JMP), or the On Success / On Error parameters of Asynchronous Communication instructions), the blocks in the usage grid can show the following that provide not only usage data but context information as well:
|
|
By default, the Element Picker is automatically opened any time an instruction is being edited and the edit cursor is on a field that can be changed by the Element Picker. This automatic behavior can be changed the Ladder tab of the View -> Options dialog to one of the three following options:
|
|
Making the Element Picker the Preferred Element Selection ToolBy default, the Element Picker is the preferred Element Selection Tool across all of Do-more Designer, meaning that is the tool that is launched when the user presses F9 while editing any Element field. You can change this selection to use the Element Browser on the Global tab of the View -> Options dialog.
There is also an option to open the desired Element Selection Tool with a double-click on an element parameter field in an instruction editor.
|
|
Below are some examples of using the Element Picker to select the major different types of Elements: Selecting a Discrete Input by Element
Selecting a Discrete Input by Nickname
Selecting a Structure Field
Selecting a Stage
|
|
See Also:
Using the Cross Reference View
|
|
Related Topics:Using the Documentation Editor
|
|