13.07.2015 Views

RSView Supervisory Edition Installation Guide

RSView Supervisory Edition Installation Guide

RSView Supervisory Edition Installation Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• • • • •RSVIEW SUPERVISORY EDITION USER’S GUIDE22 • Creating macrosAbout macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-1Macro syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-1Using parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-3Typing macro names that contain spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-3Nesting macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-4Running macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-4Creating a macro that runs when an HMI server starts. . . . . . . . . . . . . . . . . . . 22-4Specifying user login and logout macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-523 • Setting up navigationAbout navigation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-1Developing a hierarchy of displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-1Ways of moving among displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-2Choosing display types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-2Reducing display call-up time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-3Commands for moving among displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-3Where to use <strong>RSView</strong> commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-4Examples of navigation methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-5Using keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-7General rules about precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-7Precedence and the F1 key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-8Precedence and embedded ActiveX objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-8Precedence and embedded OLE objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-8Reserved keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-9Creating client keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-10Running client key components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-1124 • Using the <strong>RSView</strong> SE Client object model and display codeUsing VBA with <strong>RSView</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-1Summary of basic steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-2About procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-2How VBA code runs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-2The VBA integrated development environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-3Parts of the VBA IDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-3The <strong>RSView</strong> SE Client object model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-4Viewing the objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-7Getting Help on <strong>RSView</strong> SE Client objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-8Using VBA Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-8VBA documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-8xviii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!