beautypg.com

Creating a macro that starts when a project starts, Creating symbols – Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 551

background image

Setting up navigation

15–11

Example: Nesting macros

A macro called Draw contains:

Display Overview

Display Detail

and a macro called Factory contains:

Draw

Valve23 = Open

Typing

Factory

performs the same actions as the original Factory

macro in the previous example.

Creating a macro that starts when a project

starts

If you have created a project with components that must start in a
particular order, create a startup macro. You can then configure the
Startup editor to run this macro when your project starts.

For more information about the Startup editor, see Chapter 18,
Running your project.

Creating symbols

If you have long commands or commands with parameters that are
hard to remember or easy to mix up, you can rename those commands
with a single word called a symbol.

Symbols can be used anywhere a command can be used: in a field that
requires an action, in a macro, or on the command line.