beautypg.com

Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 549

background image

Setting up navigation

15–9

more information about using the Command Wizard, see
page A-5.

4.

On the File menu, click Save As.

5.

Type a file name. Remember, the file name is the macro name so
ensure the name does not conflict with symbols or commands. If
names conflict, only the symbol or command will run.

At runtime, operators can type the macro name anywhere they can
type an RSView32 command. For example, if you include a command
line in your project, operators can run a macro by typing its name on
the command line.

Example: A macro called factory

Display Overview

Display Detail

Valve23 = Open

When the macro called Factory runs, the graphic display Overview
appears, then the graphic display Detail appears, then the tag Valve23
is set to its open state.

Example: A macro using placeholders in commands

Display Screen$Tag1$

Display $Tag3$$Tag2$

Valve23 = Open

Tag1 = 1, Tag2 = 2, and Tag3 = Screen. Note that these are all string
tags. When the macro runs, RSView32 replaces the placeholders in the
commands with the tags’ current string values. The graphic display