beautypg.com

About the execute button – Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 140

background image

6–14

RSView32 User’s Guide

a different command, macro, or VBA program for each tag, for
example to run a different help file for each tag’s alarm conditions.

About the Execute button

With the Execute button, you can specify a command or macro that
operators can run with reference to the highlighted alarm in an alarm
summary. The Execute command can be appended with data items
derived from the highlighted alarm, for example the tag name, alarm
type, severity, value, date and time, and the tag type.

Use the execute feature to apply a common command, macro, or VBA
program to alarms in the alarm summary. For example, you can run a
VBA program to add entries to a custom alarm report for selected
alarms in an alarm summary, and you can pass arguments from the
highlighted alarm to the VBA program.

To set up the Execute button, double-click the alarm summary to edit
it, and then open the Execute Command dialog box by clicking
Execute on the Data menu. Type a command or macro in the Execute
Command Text box, and then select one or more parameters to
append to the command or macro. For details about using alarm data
with commands, see page 6-68.

By default, the Execute button is not included on an alarm summary.
The Execute button will be added when a command is assigned to the
button. For information about adding buttons to an alarm summary,
see “Formatting buttons” on page 6-61.

To run the command, macro, or VBA program associated with the
Execute button, either highlight an alarm in the list and then click
Execute, or double–click an alarm in the list.

For more information about using the Execute button in an alarm
summary, and for an example, see “Using alarm data with commands”
on page 6-68.