Rockwell Automation 2707-NP2 User Manual

MicroView Programming Software
Catalog No. 2707-NP2
Programming Manual

Important User Information

Because of the variety of uses for the products described in this publication, those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards.
The illustrations, charts, sample programs and layout examples shown in this guide are intended solely for purposes of example. Since there are many variables and requirements associated with any particular installation, Allen-Bradley does not assume responsibility or liability (to include intellectual property liability) for actual use based upon the examples shown in this publication.
Allen-Bradley publication SGI-1.1, Safety Guidelines for the
Application, Installation and Maintenance of Solid-State Control
(available from your local Allen-Bradley office), describes some important differences between solid-state equipment and electromechanical devices that should be taken into consideration when applying products such as those described in this publication.
Reproduction of the contents of this copyrighted publication, in whole or part, without written permission of Rockwell Automation, is prohibited.
Throughout this manual we use notes to make you aware of safety considerations:
ATTENTION
Identifies information about practices or circumstances that can lead to personal injury or death, property damage or economic loss
!
Attention statements help you to:
identify a hazard
avoid a hazard
recognize the consequences
IMPORTANT
Identifies information that is critical for successful application and understanding of the product.
MicroView and MicroLogix are registered trademarks of Allen-Bradley Company, Inc. PLC and PLC-5 are registered trademarks of Allen-Bradley Company, Inc. Allen-Bradley is a trademark of Rockwell Automation IBM is a registered trademarkof Internation Business Machines, Incorporated
Table of Contents Chapter 1 Using this Manual
Objectives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Manual Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Rockwell Automation Support . . . . . . . . . . . . . . . . . . . . . . 1-4
Local Product Support . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Technical Product Assistance . . . . . . . . . . . . . . . . . . . . 1-4
Chapter 2 Installing and Running the MicroView Programming Software
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Introduction to MicroView Programming Software . . . . . . . 2-1
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
MicroView Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Making a Backup Copy . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Installation Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Installing MicroView Programming Software. . . . . . . . . . . . 2-3
Running DPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Menu Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Screen Building Conventions. . . . . . . . . . . . . . . . . . . . . . . 2-8
Cursor Status Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
Moving Around Screens . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
Linking Application Screens. . . . . . . . . . . . . . . . . . . . . . . . 2-9

Table of Contents

Designing Microview Applications
Creating or Editing an Application File
Chapter 3
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
MicroView Operator Terminal . . . . . . . . . . . . . . . . . . . . . . 3-1
MicroView File Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Screen Types and Data Formats. . . . . . . . . . . . . . . . . . . . . 3-3
Data Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Description of Example Application. . . . . . . . . . . . . . . . . . 3-7
Designing an Application . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Chapter 4
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Opening Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Creating / Editing Applications . . . . . . . . . . . . . . . . . . . . . 4-2
Saving Application File . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
i Publication 2707-PM002B-EN-P
Table of Contents ii
Using Screen Builder
Creating Menu and Sub-Menu Screens
Chapter 5
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Screen Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Accessing Screen Types. . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Editing Screen Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
Copying Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Selecting Other Screens. . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
Clearing Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
Exiting Screen Builder. . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Chapter 6
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Menu Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Main Menu Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Sub-Menu Screens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Building a Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
Main Menu and Sub-Menu Screen Builder . . . . . . . . . . . . . 6-3
Creating a Menu Screen. . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
Creating Data Display Screens
Creating Data Entry Screens
Creating Security Screens
Chapter 7
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Data Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Data Display Screen Builder . . . . . . . . . . . . . . . . . . . . . . . 7-2
Creating a Display Screen . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
Display Register Format Selections. . . . . . . . . . . . . . . . . . . 7-6
Chapter 8
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
Data Entry Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
Data Entry Screen Builder . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
Creating a Data Entry Screen . . . . . . . . . . . . . . . . . . . . . . . 8-3
Data Entry Register Format Selections . . . . . . . . . . . . . . . . 8-6
Chapter 9
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
Security Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
Security Screen Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2
Creating a Security Screen . . . . . . . . . . . . . . . . . . . . . . . . . 9-3
Publication 2707-PM002B-EN-P
Creating Recipe Screens
Linking Menu and Application Screens
Entering MicroView Configuration Data
Table of Contents iii
Chapter 10
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
Recipe Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
Recipe Screen Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
Creating a Recipe Screen. . . . . . . . . . . . . . . . . . . . . . . . . . 10-3
Chapter 11
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
Linking Application Screens. . . . . . . . . . . . . . . . . . . . . . . . 11-1
Linking Menu Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2
Screen Linking Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . 11-2
Application Screen Linking Function Keys . . . . . . . . . . . . . 11-3
Menu and Sub Menu Linkage Display . . . . . . . . . . . . . . . . 11-4
Linking a Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Linking Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-5
Chapter 12
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1
Configuration Parameters . . . . . . . . . . . . . . . . . . . . . . . . . 12-1
Accessing Configuration Data . . . . . . . . . . . . . . . . . . . . . . 12-2
Update Interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-3
MicroView Advisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4
Advisor Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-5
Setting Master Security Code . . . . . . . . . . . . . . . . . . . . . . . 12-6
Special Security Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-7
MicroLogix Hardware Parameters. . . . . . . . . . . . . . . . . . . . 12-9
MicroView Function Key Builder
Chapter 13
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1
Function Key Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1
Auto Return. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2
Continue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2
Bit Write Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-3
Function Key Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-4
Linking Screens to Function Keys . . . . . . . . . . . . . . . . . . . 13-5
Assigning Bit Write Functions . . . . . . . . . . . . . . . . . . . . . . 13-6
Publication 2707-PM002B-EN-P
Table of Contents iv
Transferring / Printing Application Files
Upgrading the Operating System
Chapter 14
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-1
Program Mode Setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-1
Communication Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-1
Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-1
Computer Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-1
Downloading an Application . . . . . . . . . . . . . . . . . . . . . . . 14-2
Uploading an Application . . . . . . . . . . . . . . . . . . . . . . . . . 14-5
Printing Application Files. . . . . . . . . . . . . . . . . . . . . . . . . . 14-8
Chapter 15
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-1
Steps to Upgrade the Operating System . . . . . . . . . . . . . . . 15-1
Appendix A - ASCII Character set
Appendix B - Application and Screen Worksheets
Appendix C - MicroLogix Mnemonics in DPS
Appendix D - MicroLogix Data Formats
Index
Publication 2707-PM002B-EN-P
Using this Manual
Chapter
1

Objectives

Manual Contents

Read this chapter to familiarize yourself with the rest of the manual. You will learn about:
Contents of this manual
Intended audience
Conventions
Related publications
Rockwell Automation support
The following table lists the contents of each chapter:
Chapter Title Purpose
1 Using this Manual Provides an overview of the manual
contents.
2 Installing/Running MicroView
Programming Software
3 Designing MicroView
Applications
Describes how to install DPS on your computer. Basic software operating functions are described.
Provides guidelines for creating MicroView applications.
4 Creating and Editing
an Application File
5 Using Screen Builder Describes how to use Screen Builder to
6 Creating Menu and
Sub-Menu Screens
7 Creating Data
Display Screens
8 Creating Data Entry Screens Describes how to create a screen that
9 Creating Security Screens Describes how to create screens that
10 Creating Recipe Screens Describes how to create screens that
1 Publication 2707-PM002B-EN-P
Describes how to open, edit, and save new or existing application files.
create application screens. Describes how to create menu and
sub–menu displays. Describes how to display the actual or
scaled contents of a controller address.
allows an operator to write data to a controller address.
restrict operator access to parts of an application.
write data to multiple controller addresses from a single screen.
1-2 Using this Manual
Chapter Title Purpose
11 Linking Menu and Application
Screens
12 Entering Configuration Data Describes how to enter configuration
13 MicroView Function Key Builder Describes how to assign screen
14 Transferring / Printing
Application Files
15 Upgrading the Operating System Describes how to install a new system
Appendix A ASCII Display Characters The character set supported by the
Describes how to link all of the application screens into a logical sequence.
data that allows the MicroView to communicate with a controller.
navigation or bit write functions to the MicroView function keys.
Describes how to transfer applications between a personal computer and the MicroView.
software.
MicroView.

Intended Audience

Appendix B Application and Screen
Worksheets
Appendix C Mnemonics in DPS Reference section for MicroLogix
Appendix D Data Formats Description of the data formats used by
Worksheets assist in the design of an application and individual screens.
mnemonic codes used for addressing.
MicroLogix controllers.
The MicroView Programming Software does not require special programming knowledge. It is menu driven and generates an application program based on your menu selections and data entries.
If you are creating an application for a MicroView, you should be familiar with the user manuals. Refer to related publications in this chapter.
IMPORTANT
The MicroView Operator Interface is for use with the MicroLogix Controllers only.
Publication 2707-PM002B-EN-P
Using this Manual 1-3

Conventions

Related Publications

This manual uses the following conventions:
Keys that you press on your personal computer keyboard are
enclosed in brackets [ ]. For example: [Esc] refers to the Escape key
Keys that an operator would press on the MicroView operator
interface are also enclosed in brackets [ ]. For example: [F1] refers to the F1 function key on the
MicroView.
[Return] refers to the carriage return key of your computer
keyboard. This key may appear on your keyboard as
[Enter] or
[].
This manual describes how to use the MicroView programming
software for both the Hand-Held and Panel-Mount MicroView operator interface.
DPS refers to MicroView Programming Software (Catalog No.
2707-NP2).
The following publications may be helpful for additional reference.
Publication / Catalog Number
2707-UM005B-EN-P (was Publication 2707-804)
2707-802 Getting Started with DTAM Plus 1761-6.3 MicroLogix 1000 User Manual 9399-RL50GR RSLogix 500 Getting Results
IMPORTANT
For users of MicroLogix Controllers:
Title
MicroView Operator Interface Module User Manual
MicroLogix Programmable Controllers Series D, FRN
5.0 or earlier do not support 32-bit data formats or ASCII strings greater than 2 characters.
Publication 2707-PM00 2B-EN-P
1-4 Using this Manual

Rockwell Automation Support

Rockwell Automation offers support services worldwide, with over 75 Sales/Support Offices, 512 authorized Distributors and 260 authorized Systems Integrators located throughout the United States alone, plus Rockwell Automation representatives in every major country in the world.
Local Product Support
Contact your local Rockwell Automation representative for:
sales and order support
product technical training
warranty support
support service agreements
Technical Product Assistance
If you need to contact Rockwell Automation for technical assistance, call your local Rockwell Automation representative.
Publication 2707-PM002B-EN-P
Chapter
Installing and Running the MicroView Programming Software
2

Chapter Objectives

This chapter describes how to install the MicroView DPS software. Menu and screen conventions are also provided.
Section Page

Introduction to MicroView Programming Software

System Requirements 2-2 MicroView Accessories 2-2 Making a Backup Copy 2-2 Installation Files 2-2 Installing MicroView Programming Software 2-3 Running DPS 2-6 Menu Conventions 2-7 Screen Building Conventions 2-8 Cursor Status Line 2-9 Moving Around Screens 2-9 Linking Application Screens 2-9
2-1
Introduction to MicroView Programming Software
1 Publication 2707-PM00 2B-EN-P
The MicroView Programming Software (DPS) is a self-prompting, menu driven package that allows you to create and edit applications for the MicroView operator terminals. DPS does not require any programming knowledge.
2-2 Installing and Running the MicroView Programming Software

System Requirements

MicroView Accessories

Verify your computer is properly configured with the following:
IBM PC/AT or 100% compatible
640K RAM (minimum)
One or two diskette drives (1.44 Mb minimum)
One fixed (hard) disk drive recommended. Required if only one
diskette drive is present.
DOS version 3.2 or later
Serial communications port (COM1 or COM2)
RS-232C
Monochrome or color monitor (color monitor is recommended).
For application program transfers, you need a programming cable (Catalog No. 2707-NC8) to connect the computer to the MicroView communications port. You also need an external power supply to power the MicroView for program uploads and downloads. Refer to the MicroView User Manual (Catalog No. 2707-UM005B-EN-P) for additional download/upload information.

Making a Backup Copy

Installation Files

Make a backup copy of the MicroView programming software diskette. Insert the supplied disk into the diskette drive and use either the DISKCOPY or COPY command of your installed DOS version. Refer to your DOS manual for information and procedures regarding these commands.
After you have created a duplicate disk, store the original in a safe place and use the backup disk for normal operations.
The files on the installation disk are compressed and remain compressed until they are installed. Once installed, the following files are contained in the subdirectory:
DPS.EXE – MicroView Programming Software
DPS_CFG.EXE – DPS Configuration Utility.
MDPS_100.SLB Operating systems for the MicroView. The version noted here is 1.00.
Publication 2707-PM002B-EN-P
Installing and Running the MicroView Programming Software 2-3

Installing MicroView Programming Software

This section shows how to install the software on a personal computer with at least 1 hard disk drive and 1 floppy disk drive. The software is
1
supplied on one high density 3
/2 inch disk
1. Turn on your computer. Your computer prompt will display the
currently active drive: A:, B:, or C:
2. Insert the DPS installation disk into the floppy drive.
3. Select the drive containing the disk (A: or B:) and press [Return].
Normally this is the A: drive.
C:> A: [Return] A:>
4. Type install and press [Return] to start the installation.
A:> install [Return]
The following screen appears:
This program will install Bul. 2707 MicroView Prog. S/W V1.00 on your computer system and verify the integrity of the distribution disk(s).
You may press the [Esc] key at any time to abort the installation.
Each question has a default answer. If the default answer is correct, press the ENTER key in response to the question. Otherwise, type the answer and then press the ENTER key.
Press [Esc] to quit, any other key to continue . . .
Publication 2707-PM002B-EN-P
2-4 Installing and Running the MicroView Programming Software
5. Press any key (other than [Esc] ) to continue.
This screen appears.
6. Use the [ ][ ] arrow keys to highlight the drive on which you
want to install DPS and press [Return]. The default drive is C:
TIP
You cannot install the DPS software on the same drive the Install program resides.
This screen appears:
Now you need to specify the disk destination subdirectory. The subdirectory is the location on your disk where the Bul. 2707 MicroView prog. S/W will be installed.
If you don’t know what a “subdirectory” is, you probably need not worry about it, and should press [Enter] for the next prompt (dont type the quote characters).
\MDPS
Which subdirectory ([Enter] = \MDPS) ?
Publication 2707-PM002B-EN-P
Installing and Running the MicroView Programming Software 2-5
7. Press [Return] to install the DPS software in the \MDPS
subdirectory. The Install program creates the subdirectory. If you enter your own subdirectory name, the entire path name including colons, forward slash, and name should not exceed 28 characters.
The status of the installation is displayed on the screen. The DPS Configuration Utility screen then appears:
8. Enter your name, company name, and software serial number
(on registration card). Also, enter the monitor type and communication port used by your computer.
TIP
Press [Return] at the Video Type and Comm Port questions to prompt the user for this information during application development.
The software serial number is required when requesting phone support (refer to startup screen on next page).
9. After responding to the above questions, you are asked to
confirm the configuration. Press [Return] to accept the configuration.
10. The installation is complete. You are returned to DOS at the
new subdirectory C: \MDPS>.
Publication 2707-PM002B-EN-P
2-6 Installing and Running the MicroView Programming Software

Running DPS

To run the MicroView Programming Software:
1. Verify that you are at the \MDPS subdirectory where the
software resides. If you are not, enter cd \MDPS and press [Return].
C:\MDPS>
2. Type DPS and press [Return] to start the program. C:\MDPS> DPS [Return]
3. Specify whether you are using a color monitor. Enter [Y] or [N]. The startup screen displays. It identifies the MicroView version
and licensed owner. A phone support number is provided for your assistance.
When you press any key, the Opening Menu appears:
You are now ready to create a file for your application.
Publication 2707-PM002B-EN-P
Installing and Running the MicroView Programming Software 2-7

Menu Conventions

The following shows the format of DPS menu screens:
Menu Window
Operations Window
Information Window
Menu Window
The Menu Window lists operations available at the current menu. To select one of the operations, use the cursor keys to highlight the operation and press [Return].
Operations Windows
The Operations Window displays keyboard operations available at the current Menu Window.
Information Window
The Information Window displays a brief explanation of each operation available for the selected menu item.
Publication 2707-PM002B-EN-P
2-8 Installing and Running the MicroView Programming Software

Screen Building Conventions

Application programs are written or edited using the Screen Builder. Chapter 5 provides you with detailed instructions on how to use this screen for creating application programs. The following shows the Screen Builder format:
Display Window
Parameters Window
Control Window
Information Window
There are two information lines at the top of the screen:
The first line identifies the current program path and file name,
as well as screen memory usage to help you track the size of your program file.
The second line identifies the current DPS operating area as well
as the current screen number and type.
Screen Builder has 4 windows:
Parameters Window
The Parameters Window displays the linking definitions that have been established for the current screen.
Display Window
The Display Window simulates the MicroView (2 line display) screen. It displays the formatted data and text as it would appear to the MicroView operator.
Control Window
The Control Window displays the available data format selection and the register information which can be defined for the current screen.
Information Window
The Information Window displays information about the function key and keyboard operations available at the current screen.
Publication 2707-PM002B-EN-P
Installing and Running the MicroView Programming Software 2-9

Cursor Status Line

The cursor status line is located between the Display and Information windows. This line displays the current row and column of the cursor. Also listed is the character at that position along with the character ASCII code in hex and decimal formats. Confirm character codes by placing the cursor under the character and reading the code from the cursor status line.
The following example shows the character C at row 2, column 15.
Display Window
Cursor Status Line
Information Window

Moving Around Screens

Linking Application Screens

DPS uses menus to guide you through the application development process. Select a menu item and the next menu or screen is displayed. The standard keyboard operations are:
Use these keys: To:
[
] [] [] []
[Return] Select a menu item. [Esc] Return to the previous menu.
MicroView application files allow you to present screens in a meaningful sequence, a hierarchy of possible tasks and operations. To do this, you will need to specify a link for each screen.
The linking function is the basis of a MicroView operator terminal’s power and flexibility. When screens are linked, the MicroView becomes an interactive operator workstation, one that can guide an operator through a hierarchy of operations. This hierarchy can be as simple or as complicated as your application requires.
Highlight a menu selection.
Note: All application screens must be created before they can be linked.
Publication 2707-PM002B-EN-P
2-10 Installing and Running the MicroView Programming Software
Publication 2707-PM002B-EN-P
Designing Microview Applications
Chapter
3

Chapter Objectives

MicroView Operator Terminal

This chapter provides guidelines for creating MicroView applications.
Section Page
MicroView Operator Terminal 3-1 MicroView File Types 3-2 Screen Types and Data Formats 3-3 Data Scaling 3-4 Application Example 3-6 Description of Example Application 3-7 Designing an Application 3-8
MicroView application programs are created using MicroView DPS. The development of applications for the MicroView are very similar to the DTAM Micro and DTAM Plus. The differences in application development are related to differences in the operator terminals. The following table lists MicroView Functional considerations.
Function MicroView
Screen Capacity Up to 50 Screens Display Format 2 Line x 16 Character Function Keys 2 Recipe Operations Yes Advisor Option Yes Screen Write Option Yes Alarm Screens No Point Access Display (P/AD) Yes Auto Scaling Yes Printer Port No Mode Menu Changing of Comm. port Baud Rate Mode Menu changing of Security Codes Yes Processor Registers Supported MicroLogix
1 Publication 2707-PM002B-EN-P
3-2 Designing Microview Applications
Function MicroView
Communications Port RS-232 Protocol MicroLogix DF1 Off line Programming Software 2707-NP, 2707-NP2, 2707-NP3
A major consideration when designing application programs is the screen size of the MicroView.
MicroView Screen 2 Lines x 16 Characters

MicroView File Types

The MicroV ie w can read and wri te MicroLogi x controller f iles. Refe r to the following when designing applications.
MicroLogix (DF1 File Types)
File Type
Output Yes Read O 0 0 NA 0-15
Input Yes Read I 1 0,1 NA 0-15
Status Yes Read / Write S 2 0-32 NA 0-15
Bit (Binary) Yes Read / Write B 3 0-31 NA 0-511
Timer Yes Read / Write T 4 0-39 PRE, ACC EN, TT, DN
HSC (High Speed Counter)
Counter Yes Read / Write C 5 1-31 PRE, ACC CU, CD, DN, OV, UN
Control Yes Read / Write R 6 0-15 LEN, POS EN, EU,
Integer Yes Read / Write N 7 0-104 NA 0–15
File Type Supported By MicroView
Yes Read / Write C 5 0 PRE, ACC CU, CD, DN, OV, UN,
Read / Write Identifier
File Number
Element
Integer Sub-Element
Bit Number
UA, HP, LP, IV, IN, IH, IL, PE, LS, IE
DN, EM, ER, UL, IN, FD
Publication 2707-PM002B-EN-P
Designing Microview Applications 3-3

Screen Types and Data Formats

Some application screens require that you specify register information. Each MicroView screen type supports different data formats. The table below lists each screen type and the data formats supported.
MicroLogix Controller
MicroLogix Data Formats
Format
Bit Yes Yes 16 Bit Signed Integer Yes Yes Yes 16 Bit Unsigned Integer Yes Yes Yes 16 Bit BCD Yes Yes Yes 16 Bit Hex Yes ASCII Yes
Display Screens
Data Entry Screens
Recipe Screens
Publication 2707-PM002B-EN-P
3-4 Designing Microview Applications

Data Scaling

Data entered by an operator can be scaled from engineering units such as gallons or PSI to machine control values. Likewise, data displays can take raw numeric values and scale them so they are displayed in engineering units.
Scaling of data is accomplished by defining a proportional ratio between the register value range and the display or entry value range. If a 1:1 ratio exists, the MicroView displayed or entered value equals the controller register value.
Here is an example of scaling using a data display to scale a register data range of 0 to 4,095 to a MicroView display range of -100 to +300.
Controller
Register Limits
MicroView
Display Limits
+300
-100
This Value is Displayed:
+300 +100
-100
SCALING
If the Display Register Contains:
4,095
SCALING
0
4,095
2,047
0
Publication 2707-PM002B-EN-P
When the ratio between the controller register values and MicroView display or entry values is not a multiple of 2, the value is rounded. Rounding may result in a 1 count error. Depending upon the direction of the scaling, this means that:
When the ratio between the controller register values and MicroView display or entry values is not a multiple of 2, the value is rounded. Rounding may result in a 1 count error. Depending upon the direction of the scaling, this means that:
The MicroView display value may be off by 1 when the
controller register value is scaled
The controller register value may be off by one when a
MicroView data entry is scaled.
An error screen appears if a rounding error occurs at the end points of a data range. You must either increase the minimum or decrease the maximum range of either the controller register or display ranges.
Designing Microview Applications 3-5
Scaling Formulas
The scaling formula for a MicroView display value is:
Displayed Value = m x Register Value + b
Where:
Display Maximum Value - Display Minimum Value
m =
Register Maximum Value - Register Minimum Value Display Maximum Value - Display Minimum Value - (m x Register Minimum Value)
b =
The scaling formula for an entered valued is:
Register Value = m x Entered Value + b
Where:
Register Maximum Value - Display Minimum Value
m =
Entry Maximum Value - Entry Minimum Value Register Minimum Value - Entry Minimum Value - (m x Entry Minimum Value)
b =
Register Range = 0 to 4,095 Display Range = -100 to +300 Actual Register Value = 2,047
Scaling Example:
300 - (-100)
m =
4,095 - 0
= 0.0977
b = -100 - (0.0977 x 0) = -100
Displayed Value = 0.0977 x 2,047 + (-100)
= 99.9919 = 100
Publication 2707-PM002B-EN-P
3-6 Designing Microview Applications

Application Example

Submenu
1. East Pmp/Tank
2. West Pmp/Tank
Data Display
East Pump is On Tank is 38% Full
The following example shows typical menus and screens of a MicroView application.
MicroView Application Outline
Data Display
West Pump is Off Tank is 72% Full
Main Menu
1. Pmp/Tank Level
2. Pump Control
Security
* Limited Access * Code: * * * * * * *
Submenu
1. East Pump
2. West Pump
Data Display
East Feed Pump Run Time: 693 Hrs
Data Display
West Feed Pump Run Time: 22 Hrs
Data Display
Setpoint = 94 CFM New Setpoint:? _______
Data Display
Setpoint = 94 CFM New Setpoint:? _______
Publication 2707-PM002B-EN-P
Designing Microview Applications 3-7

Description of Example Application

Pump/Tank Levels
When Pump/Tank Levels is selected from the Main Menu, a Sub-Menu displays two new choices (East Pump/Tank and West Pump/Tank). Selecting either of these Sub-Menu items allows you to display pump and tank information for the East or West systems.
Pump Control
Allows you to enter new pump setpoints to be entered. A security code is required to access the Data Entry screens.
Data Entry screens use data from the controller (% Full & CFM) to display this information along with a prompt to enter a new setpoint. When a new setpoint is entered, the value is checked to verify that it is within the programmed limits. If the value is within the entry limits, the number is then scaled to engineering units and sent to the controller. If the value is outside the limits, an error message informs you of the valid range. You can then enter another value.
Appendix B contains worksheets for designing both MicroView applications. Both application layout and screen design worksheets are provided.
Publication 2707-PM002B-EN-P
3-8 Designing Microview Applications

Designing an Application

Use the application design worksheets to layout a logical sequence of screens. Make copies of the worksheets as needed. On each worksheet, list the screen numbers, type of screens, register numbers, etc.
Application Worksheet
Use the screen worksheets to define screen text and layout. Make copies of the screen worksheets and write out each application screen.
MicroView
Screen Worksheets
Screen # 1
Screen # 2
1
PUM
PUM P
30 P
P
0
2
LEVEL
P
RSSUREE
I
S
Before you design an application, become familiar with the types of screens and how they function. To assist you, a sample application is provided in this chapter. In addition, you should become familiar with the controller files and data type supported for each operator module type and selected protocol (see previous section). When register information is required, this manual lists the applicable data formats (such as ASCII or 16 Bit Hex) for each controller file type.
Publication 2707-PM002B-EN-P
Designing Microview Applications 3-9
Recommended sequence for designing an application
1. On paper, design all the operator screens with the associated
register numbers, and produce a map of how all screens are linked together.
2. Construct all screens using DPS. Save the program file without linking.
3. Link the application screens. Use the design from step 1. When you have established all links, save the program file. An error display will warn you of any unlinked screens.
4. Download the application file.
5. Use the Simulate function (described in the MicroView User
Manual) to verify operations such as screen links, text, and screen types.
6. Run the application.
Publication 2707-PM002B-EN-P
3-10 Designing Microview Applications
Publication 2707-PM002B-EN-P
Loading...
+ 104 hidden pages