Topic: DMD0272 Cross Reference View |
|
The Cross Reference View provides a table of element and instruction usage information. The Cross Reference View can be opened by selecting the Tools-> Cross Reference... menu selection, or by clicking the Xref button on the Tools bar, or by the Ctrl+Y keyboard combination.
The Cross Reference View operates in one of the following modes (each
of which is discussed in more detail below):
|
|
Cross Reference ModeWhen in Cross Reference Mode the toolbar buttons define the scope of the query and the element type constraints that will be used. The toolbar buttons are 'sticky' meaning that, to enable that button's function, left-click it once and the button will remain in the 'pressed state, left-click again to disable that button's function.
The Cross Reference Mode toolbar buttons are (from left to right) :
Cross Reference Mode enable - sets the current mode of the Cross Reference View to Cross Reference Mode
Element Usage Mode enable - sets the current mode of the Cross Reference View to Element Usage mode (see description below)
Follow Ladder Cursor - if enabled, only the topmost element in the cross reference table will follow the Ladder Edit cursor as it is moved around the Ladder View. If disabled, the cross reference table can be navigated with its cursor keys and the scroll bars.
The next group of four buttons determine
how much of the project's ladder logic will be looked at to generate the
set of cross referenced points which will then be displayed in the cross
reference table.
The next set of 4 buttons are used to further refine the set of cross referenced points by filtering elements out of the list based on the element’s data-type. Left-clicking one of the buttons will enable the inclusion of that data type in the set of cross referenced points.
The final set of 2 buttons are used to further refine the set of cross referenced points by filtering elements out of the list based on the element’s access type. Left-clicking one of the buttons will enable the inclusion of elements that are used in instructions as that access type in the set of cross referenced points.
Cross Reference Mode Column Headers
Element - The element id or nickname that has been referenced in the program Note: double-click on the Element to invoke the Element Browser.
Extended info - Casting and Structure Member information are shown in the new Extended Info column.
Access Type
- along with the Input or Output or Input/Output Access Type for that
specific parameter. Address
- The Instruction Address is a fully qualified <code-block>@<address>
string. Instruction
- Type of instruction that contains the element Parameter - Other additional information includes the element’s Parameter Info (where appropriate) Note: double-clicking on the entries of the Extended Info, Access Type, Address, Instruction, or Parameter fields moves the Ladder View's edit cursor to the location in the program where the element is used.
|
|
Element Usage ModeThe Element Usage Mode provides an efficient view of the memory elements that are being referenced, which are free, and whether or not they are being used in a ranged instruction. The elements are shown in groups of 8, 10, or 16 bits as determined by the current Usage Field Size setting.
The Element Usage Mode toolbar buttons are (from left to right) :
Cross Reference Mode enable - sets the current mode of the Cross Reference View to Cross Reference Mode (see description above)
Element Usage Mode enable - sets the current mode of the Cross Reference View to Element Usage mode
Follow Ladder Cursor - if enabled, only the topmost element in the cross reference table will follow the Ladder Edit cursor as it is moved around the Ladder View. If disabled, the cross reference table can be navigated with its cursor keys and the scroll bars.
Reverse Usage - toggles the display order of the elements in the range, from MSB is the left-most element -to- MSB is the right-most element.
The final set of 3 buttons are used to define the number of elements to display in each range
Element Usage Mode Display
Element - The range of elements
Range Displays - the following icons can be shown in a cell for a given element:
|
|
See Also:
|
|