Because the robot library delivers hundreds of robots from several different manufacturers, browsing through this long list of robots could be a tedious task. To minimize the tedium, use filtering. | |||||||||||||
This procedure describes how to locate and display only those robots in a library which support the features that the user specifies. | |||||||||||||
Once the expression has been processed for all of the robots in the current chapter, the browser will display only those robots which meet the criteria specified. | |||||||||||||
This procedure has two parts: | |||||||||||||
|
To use the catalogs, you must have access to a library.
Possible sources of libraries include:
|
||||||||||||
Accessing the Filter Feature |
|||||||||||||
|
|||||||||||||
Creating Filter Expressions |
|||||||||||||
To create filter expressions, you must use the keywords (described in the table below) to create logical expressions. | |||||||||||||
These logical expressions utilize the V5 Knowledgeware syntax, and are used to determine whether each device meets a particular condition. More specifically, each robot in the current chapter is queried to see if its value for the specified keyword satisfies the condition of the expression. If the condition is true for the current robot, that robot will be displayed in the resulting list. If it is false, the robot will not be displayed. | |||||||||||||
Keywords |
|||||||||||||
Expressions are created by first determining which keyword(s) to search against. The available keywords are: | |||||||||||||
|
|||||||||||||
Expression syntax |
|||||||||||||
To use a keyword in a filter expression, first prepend "x." (the letter x and a period) to the keyword name and surround the keyword name with quotation marks. This modified keyword name can then be used with arithmetic operators (+, -, *, /), relational operators (<, <=, >=, >, ==), and logical operators (AND, OR) to create an expression that can be used to filter out devices which are not of interest. | |||||||||||||
Here are a few simple and common expressions that might
typically be used:
|
|||||||||||||
Remember to quote string values. Note that some keywords are string-based (such as Application and Controller), while others define a numeric value (DOF). It is important that expressions which test for equality (==) against the value of a string-based keyword always have the right side of the expression enclosed in double-quotes, as shown in the first and third examples above. |