Example 2: opening object-specific help – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual
Page 526

F
ACTORY
T
ALK
V
IEW
S
ITE
E
DITION
U
SER
’
S
G
UIDE
18–22
• •
•
•
•
Example 1: Creating display-wide keys to open and close valves
Imagine you have a graphic display containing 20 valves and you want the operator to be
able to open and close all the valves with the same two keys, F2 and F3, respectively.
Instead of specifying the tag name for each valve, use the [tag] parameter with display
keys. Set this up as follows:
1. In the Display Keys dialog box, assign the F2 and F3 keys.
2. For the F2 key’s press action, type Set [tag] 1.
3. For the F3 key’s press action, type Set [tag] 0.
4. For each valve object, open the Object Keys dialog box, and type the tag name in the
Current [tag] box.
At run time, the operator can select any valve object and press F2 to open the valve, or
press F3 to close the valve.
Example 2: Opening object-specific Help
Imagine you have a graphic display containing various graphic objects that represent
plant-floor equipment.
If something goes wrong with a piece of equipment, you want the operator to be able to
select the corresponding object in the display, and then open a Help file that suggests steps
for correcting the situation.
1. In the Display Keys dialog box, create a display key. For details, click Help. In the
Press Action box, type Help [tag].
2. In the Object Keys dialog box, type the appropriate Help file name in the Current
[tag] box for each equipment object.
At run time, when the operator selects any equipment object and presses the appropriate
Display key, the help file for that piece of equipment is shown.