Top Banner
Chapter 1 Software Installation and Instructions PWS Workstation Release 4 /99 1-1 Software Installation and Instructions 1 You need an AT-compatible computer with the following hardware and software to configure your Workstation to talk to your PLC. ADP3 Programming Software requires the following minimum configuration: 1. C P U : Personal computer with 80486 minimum 2. Memory Storage : At least 16M bytes of memory 3. Hard disk: Floppy disk drive and hard disk drive with minimum 10 Megabyte storage capacity 4. Monitor : General VGA or SVGA color monitor 5. Mouse : Mouse or other pointing device compatible with Windows, and at least one Serial communication port (COM1 or COM2) 6. Printer : Compatible with Windows 7. Microsoft Windows 95 TM , Windows 98 TM , or Windows NT TM ADP3 is a Windows based program that helps you setting in up your PWS-700/1200/1700/3100/3700 Workstation. This chapter describes the basic operation of ADP3, while the next chapter explains in detail how to create screen objects. There are four installation diskettes for the ADP3 development software. Run the set up program under windows to decompress and install ADP3 from the floppy disks. ADP3 may also be downloaded via the internet www.hitech-lcd.com for free. A). Before installing ADP3, please switch on your computer and run Windows 95 TM , Windows 98 TM , or Windows NT TM operating system, as shown in Figure 1-1. 1. Hardware Requirements 2. Installing ADP3
264

Software Installation and Instructions

Nov 01, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-1

Software Installation and Instructions 1

You need an AT-compatible computer with the following hardware and software to configure your Workstation to talk to your PLC. ADP3 Programming Software requires the following minimum configuration:

1. C P U : Personal computer with 80486 minimum 2. Memory Storage : At least 16M bytes of memory 3. Hard disk: Floppy disk drive and hard disk drive with

minimum 10 Megabyte storage capacity 4. Monitor : General VGA or SVGA color monitor 5. Mouse : Mouse or other pointing device compatible

with Windows, and at least one Serial communication port (COM1 or COM2)

6. Printer : Compatible with Windows 7. Microsoft Windows 95TM, Windows 98TM, or Windows NTTM

ADP3 is a Windows based program that helps you setting in up your PWS-700/1200/1700/3100/3700 Workstation. This chapter describes the basic operation of ADP3, while the next chapter explains in detail how to create screen objects. There are four installation diskettes for the ADP3 development software. Run the set up program under windows to decompress and install ADP3 from the floppy disks. ADP3 may also be downloaded via the internet www.hitech-lcd.com for free.

A). Before installing ADP3, please switch on your computer and run Windows 95TM, Windows 98TM, or Windows NTTM operating system, as shown in Figure 1-1.

1. Hardware Requirements

2. Installing ADP3

Page 2: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-2

Figure 1-1. Windows 95 TM operating system

Page 3: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-3

B). Start Windows 95 TM and choose the Run command in the Start button. To run the Setup program, as shown in Figure 1-2.

Figure 1-2. Running the Setup program for Windows 95 TM

C). After clicking the OK button, the system begins to install automatically. You will see a message in the middle of the screen indicating the destination drive and directory for the installation. Please make sure the correct drive and directory where you want to install the system are selected, see Figure-3. The system’s default setting is C:\ADP3.

Page 4: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-4

Figure 1-3. The drive and the directory where ADP3 system is installed.

D). As each diskette completes its installation, a screen message is displayed to remind you to insert the following diskette. The message "Installation Complete" will be displayed when the installation was successfully performed. An ADP3 Group icon is created in your Windows, as shown in Figure 1-4.

If the installation pauses on 43 %, please wait and the setup program will continue installing after around five minutes. This is caused by a previous abnormal removal of ADP3.

Page 5: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-5

Figure 1-4. ADP3 Group icon

E). To start ADP3, either double-clicks the ADP3 icon or uses the Run command in the File menu of the Program Manager or File Manager. The startup screen opens showing copyright and releasing information.

Page 6: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-6

Microsoft Windows TM is undoubtedly the main PC operating environment nowadays. The use of the mouse for interaction with the environment enables users to directly click the Menu Bar or Program Icons to excute commands. For this reason people of different levels of computer familiarity can operate Windows software easily. ADP3 is designed to make full use of the Windows environment and adopts the concept of “What You See, is What You Get”. Users can immediately see the image designed on the screen with its attributes such as font size, colors, location of objects, pictures, scales, frames, and so on. What users see on the screen will be the same as that displayed on the Workstation. What’s more, ADP3 utilises the principles of object-oriented design to implement drag-and-drop editing. Users can drag objects into another location in the design area or change their shapes and sizes with their mouse as they wish while maintaining the objects attributes.

In Windows software, you can use either the mouse or the keyboard to operate the system. However, using the mouse is much easier in most cases. Following is a brief description for operating with the mouse.

There are four main functions for operating the mouse in ADP3 software:

1. Clicking the left mouse button: It indicates that you select the menu or object item.

2. Double-clicking the left mouse button: You can get the "Object Attributes" dialog for the selected screen object by Double-clicking the left mouse button.

3. Dragging: Pressing and holding down the left mouse button while moving the mouse facilitates the moving or dragging operation. Upon releasing the left mouse button, the operating is finished. It is usually used for moving or sizing.

4. Clicking the right mouse button: You can get the pop-up menu for the selected screen object by clicking the right button of your mouse.

Mouse Pointer Description

4. Skills for Mouse operating

3. Basic Introduction of Windows Software

Page 7: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-7

õ Arrow pointer

It shows the mouse location while moving it.

ô、ó Adjustment pointer

It appears on the border when sizing windows or objects.

Four-headed arrow

It appears when draging objects or windows.

十 Cross pointer

It appears when opening an object or drawing a picture.

I I-beam pointer

When you select text items, the pointer will change into I-beam, and then you can enter characters.

Page 8: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-8

All windows have a rectangular border, a Title Bar, a Menu Bar, and a Window Control Button. There is a horizontal scroll bar and a vertical scroll bar in the bottom and right side of the window to let users adjust their working areas. If you want to adjust the size of a window, you can move the mouse pointer over the window’s border, then the pointer changes to a double-headed arrow. Holding down the left mouse button drags the double-headed arrow and resizes the window’s dimension. Releasing the left mouse button completes the adjustment. You can click the maximize button in the upper right corner of a window to change the size of the window quickly.

Figure 1-5 ADP3 programming window

When starting ADP3 for the first time or if you had not previously opened an PWS Application the ADP3 programming window appears as shown in figure 1-5. The Menu Bar displays File and Help items only.

Menu

Window Control

Status Bar

5. ADP3 Programming Window

Tool Bar

Page 9: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-9

Figure1-6. ADP3 application window

When there is no application opened the screen has only a few options in the Menu Bar and Tool Bar but its visual remains the same.

ADP3 will automatically open the last application If you have saved an application previously, as shown in Figure 1-6.

When you open a screen to begin your design, the ADP3 programming window will show a Screen Editing Window as in Figure 1-7.

Page 10: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-10

Figure1-7. ADP3 Screen Editing Window

A). Title Bar : It shows your application path and name.

For example: C:\adp3test\pws-demo.P3F

B). Menu Bar : ADP3 Application System includes nine functional options and each of them has a pull-down menu. The nine commands from the Menu Bar are listing as follows : File, Screen, Edit, View, Object, Align, Application, Window, Help.

C). Tool bar : Users can directly click on these Icons with the mouse to carry out the icons’ commands. So it let you do certain tasks quickly without using the menus.

D). Screen working area : It is the screen design area, so you can create screen Objects, and what you see here is as it appears on the workstation display.

E). Status Bar : The Status Bar displays helpful information about the icon of the screen under the mouse pointer.

Screen working area

Screen number and name

Editing Toolbar

mouse coordinates

Page 11: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-11

The Menu Bar in ADP3 software includes nine functional selections with pull-down menus. It provides designers with functions to aid in the creation and editing of workstation display screens, such as objects, buttons, text-messages, graphing, and screen managers. The nine items include File, Screen, Edit, View, Object, Align, Application, Window, Help.

The ADP3's Menu bar changes weather there is an application opened or not. There are four situations that causes different Menu bar to be displayed shown as 1).No application opened. 2).New application created or no screen being edited. 3).An existing application opened with a screen being edited. 4).An existing screen opened with a Object being edited.

The following sections from 6-1 to 6-10 below will give

6. ADP3 Software Subject Instructions

Page 12: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-12

you a brief description about each menu and its commands.

Section 6-1 describes about the File Menu and its pull-down menu.

Section 6-2 describes about the Screen Menu and its pull-down menu.

Section 6-3 describes about the Edit Menu and its pull-down menu.

Section 6-4 describes about the View Menu and its pull-

down menu.

Section 6-5 describes about the Object Menu.

Section 6-6 describes about the Object pull-down menu.

Section 6-7 describes about the Align Menu and its pull-down menu.

Section 6-8 describes about the Application Menu and its pull-down menu.

Section 6-9 describes about the Window Menu and its pull-down menu.

Section 6-10 describes about the Help Menu and its pull-down menu.

Page 13: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-13

Click File on the Menu bar (or type [ALT]+[F]), and the File menu is displayed. See Figure 1-8. This menu provides an application file management function. ADP3 provides three buttons for file functionality. They

are Creates a new file, Opens an exist file, and

Saves current application.

Figure 1-8 File menu

To create a new application, See Figure 1-8a.

1. Choose “New” from the File menu or click the New

File button on the tool bar. ADP3 displays the New Application dialog box.

2. Enter 1 to 128 characters as the name of the application.

3. Select the model of Workstation for the application.

6-1. Working with Applications

6-1-1. Creating New Applications

Section 6-1-3

Section 6-1-1 Section 6-1-2

Section 6-1-4

Section 6-1-5

Page 14: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-14

4. Select the type of PLC the Workstation will talk to.

5. Click the OK button. Now the application file is created.

Figure 1-8a New Application creation dialog box A). To open an existing application,

1. Choose "Open" from the File menu or click the Open

File button on the tool bar. ADP3 displays the Open File dialog box. The Files box shows all ADP3 application (.P3F) files in the current directory. To see files in another directory, double click the directory name in the Directory box. To select another drive, click a drive name in the Drives box.

2. Select the file you want to open by doing either of the following steps:

New File button

6-1-2. Opening Existing Applications

Open File button

Page 15: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-15

(a) Type the path and file name, then press [Enter].

(b) Choose a file from the Files box and click OK button.

3. ADP3 lists the name of last four application files you have opened at the bottom of the File menu and you can open one of them by clicking the desired one.

B). To close an application, choos "Close" from the File menu.

If you have made some changes to the application since the last save, ADP3 gives you the option of saving the file before closing it.

There are two commands in the File menu for saving applications. The Save command saves an existing application to its file and overwrites the previous version. The Save As command saves an existing application to a new file so the previous version is not overwritten. The first time you save an application the Save As dialog box opens so you can enter a name for the file.

A). Save: To save an existing application, choose "Save"

from the File menu or click the Save File button on the tool bar. ADP3 replaces the previous copy of the file on disk with the new file.

B). Save As: To save a new or existing application with a new name,

1. Choose "Save As" from the File menu. ADP3 displays the Save As dialog box. To save the file in another directory, double click the directory name in the Directories box. To select another drive, click a drive name in the Drives box.

6-1-3. Saving Applications

Page 16: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-16

2. Enter a name in the File Name box for the file. ADP3 automatically adds the extended file name (.P3F) to the file. You can enter another extension, such as .bak, if you want.

3. Click OK button.

To print an application, choose “Print” from the File menu. You can print the current screen, a range of screens, or all screens of your project at the same time. In the print box of the Print dialog box, you can select one of the following options to print:

Figure 1-8b Print Command_Print dialog box

A). Workstation Setup: Prints the Workstation’s setup

6-1-4. Printing Applications

Page 17: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-17

parameters of your application. For example, the model of P.L.C., the configuration setup, details of logging buffer, etc.

Application name: Mt300 page 1 12/22/1998 17:31 _______________________________________________________________ ADP3 Version : 2.40.00 Workstation Type : PWS3100 PLC Type : Modicon 984 (RTU) Printer Type : EPSON Stylus Color II Default Startup Screen : 1 Default Data Format : BCD Control Block Address : 40100 Size : 2 Status Block Address : 40200 Logging Buffers Record Stamp Auto Triggered Time # Source Address Size Total Time Date Stop By Interval 1 40500 4 3000 Yes No No Timer 5 2 0 0 No No No PLC 0 3 0 0 No No No PLC 0 4 0 0 No No No PLC 0 5 0 0 No No No PLC 0 6 0 0 No No No PLC 0 7 0 0 No No No PLC 0 8 0 0 No No No PLC 0 9 0 0 No No No PLC 0 10 0 0 No No No PLC 0 11 0 0 No No No PLC 0 12 0 0 No No No PLC 0 .. .. B). Screen Details: Prints a screen’s image, its configuration, and its objects' configuration.

C). Screen Overview: Prints a screen’s image and marks each dynamic object with the addresses of associated PLC locations that it will access.

Page 18: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-18

Figure 1-8c Print mode_Screen Overview

D). Screen Image: Prints a screen’s image only.

Figure 1-8d Print mode_Screen Image

Page 19: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-19

Bitmaps are bit-mapped graphics saved in Windows BMP format. Each application has a bitmap library. When an application is created, ADP3 puts some common bitmaps in its bitmap library. When you specify a bitmap for a screen object, that bitmap must be in the bitmap library already. Although you cannot create a bitmap in ADP3, you are allowed to add a bitmap created by other programs into the graphic library by importing a bitmap as a file (*.BMP) or from the clipboard.

Figure 1-8e Managing the Bitmap Library_Bitmap Library dialog box

To manage a bitmap library, choose Bitmap Library from the File menu. ADP3 displays the Bitmap Library dialog box. In the Bitmap Library dialog box you can:

(1) Click the Import button to import a bitmap as a BMP file.

(2) Click the Paste button to import a bitmap from the

6-1-5. Managing Bitmap Library

Page 20: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-20

clipboard.

(3) Click the Export button to export a bitmap to a file.

(4) Click the Copy button to export a bitmap to the clipboard.

(5) Click the Delete button to delete a bitmap.

(6) View a bitmap.

*Note1: Bitmap files(.BMG) created in ADP and ADP2 can also be used in ADP3. The graphics you create by using ADP and ADP2 for your PWS-900/910/920, PWS-1100, and PWS-2000 applications are **.BMG(Bit mapped Graphics). Before using that kind of graphics for your PWS-1200/3000 applications, import them in the Bitmap Library. Remember to select the file type as "PWS bit mapped graphics (*.BMG)" instead of "Bitmap Images (*.BMP)".

*Note2: Because a 16-color bitmap needs four times as much memory space as a black-and-white bitmap of the same size, use black-and-white bitmaps wherever possible in your project to save memory space.

*Note3: The Workstation can display 16-color bitmaps and black-and-white bitmaps and you still can import 256-color bitmaps into ADP3 as the application will transform them into 16-color bitmaps.

A). Bitmap library files management system: Click the Import button to import a bitmap file. (See figure 1-8f to 1-8j to review the details of Import operation. To review related operation methods please see Chapter1 Sec.7-2 specifying Bitmap editing tools.)

Page 21: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-21

Figure1-8f Bitmap Files Management System_Import

Page 22: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-22

Figure1-8g Opening an existing file_Import failure

B). Bitmap files management system: Opening an exist bitmap file, type a bitmap file name, you can type a new file name.

Figure 1-8h Bitmap files management system_Type a bitmap file name

C). Bitmap files management system: Once Bitmap files

Page 23: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-23

are imported into ADP3 they are available for use in this application.

Figure1-8i Bitmap files management system_Import successful

Page 24: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-24

D). Specification of Bitmaps on screen objects is done

by selection of the Bitmap icon from the tool bar as show in Figure 1-8i. A bitmap can only be used on an appropriate object such as a static graphic or a button, for more details see Chapter 1, Sec 7-2.

Figure 1-8j Specifying Objects_Static Bitmap files

1.create an object first 2.click (icon), then

select a file

Page 25: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-25

Page 26: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-26

Page 27: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-27

Page 28: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-28

To view Text Pool, choose "Text Pool" from the File menu.

To exit ADP3, choose Exit from the File menu.

If you have made changes to the application since the last save, ADP3 gives you the option of saving the file

6-1-7. Exiting ADP3

6-1-6. Text Pool

Page 29: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-29

before exiting.

Page 30: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-30

Click “Screen” on the Menu bar (or type[ALT]+[S]), and the Screen menu is displayed. See Figure 1-9. The functions of the screen menu consists of rename and the screen management system.

Figure 1-9 Screen Menu

To create a screen, ADP3 provides “New Screen button”

and “Open Screen button” on the tool bar. You can click them directly.

Section 6-2-1

Section 6-2-2

Section 6-2-3

Section 6-2-5

Section 6-2-4

6-2. Working with Screens

6-2-1. Creating New Screens

Page 31: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-31

Figure 1-9a Screen menu_New Screen dialog box

1. Choose "New" from the Screen menu or click the New Screen button on the tool bar. ADP3 displays the New Screen dialog box.

2. Accept the name or enter a name in the Name box. You can type descriptions for this new screen at the same time. See Figure 1-9a.

3. Accept the number or enter a unique number in the Number box. The numbers are limited from 1 to 255.

4. Click the OK button. A screen window opens showing a blank screen with the default background in its client area and the name and number of the new screen in its title bar. It is now ready for you to create screen objects.

A). To open an existing screen, 6-2-2. Opening、 Closing、 Renaming Existing Screens

New Screen button

Open Screen button

Page 32: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-32

1. Choose “Open” from the Screen menu or click the Open Screen button on the tool bar. ADP3 displays the Open Screen dialog box. It lists the number and name of existing screens.

2. Select a screen and click the OK button or double-click the screen you want to open. A screen window opens showing the selected screen in its client area and the name and number of the selected screen in its title bar. Now it’s ready for you to view, edit or copy the screen.

B). To close a screen; choose “Close” from the Screen menu or click the Close button on the screen window.

C). To rename a screen,

1 Choose "Rename" from the Screen menu. ADP3 displays the Rename Screen dialog box. See Figure 1-9b Rename Screen dialog box.

2 Accept the name or enter a name in the Name box.

3 Accept the number or enter a unique number in the Number box.

4 Click OK button. The new name and number are shown in the title bar of the screen window.

Page 33: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-33

Figure 1-9b Rename Screen dialog box

Page 34: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-34

Specifying Register and On/Off Blocks make Screen updates much more efficient and greatly speeds up screen operation. To specify Register Blocks and On/off Blocks for a screen,

1. Choose "Block Read Assignment" from the Screen menu.

ADP3 displays the Block Read Assignment dialog box. See Figure 1-9c.

2. To specify a Register Block, you need to enter its address and size. The address must be a register address from the current P.L.C.. The unit of size is a word. It allows five (#1-#5) Register Blocks for each Screen.

3. To specify an On/off Block, you need to enter its address and size. The address must be an on/off location. The unit of size is 16 bits. It allows five (#1-#5) on/off Blocks for each Screen.

4. You can specify the number of individual reads per read cycle in the dialog box.

5. Click OK button. Data in the Register and on/off Blocks will now display more quickly.

6-2-3. Specifying Register and On/off Blocks

The unit of size is 16 bits. Addresses read starting from the address specified.

Number of additional devices read on this screen after the block read is complete.

Page 35: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-35

Figure 1-9c Specified Register Blocks dialog box

Page 36: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-36

The Workstation uses the following sequence to accomplish one read cycle and repeats the read cycle continually. You need to know the read cycle in order to configure your Workstation in a more efficient way to talk to your PLC.

1. Reads Control Block.

2. Reads specified Register Blocks for the current screen.

3. Reads specified On/off Blocks for the current screen.

4. Reads specified Alarm Register regularly (3-10sec) not continually .

5. Reads a number of PLC locations that: (1) are shown on the current screen, (2) don't appear in the current screen‘s Register Blocks and On/off Blocks, and have not been read recently. The number of PLC locations read in this step is specified by "Number of individual reads per read cycle" of the current screen. The read cycle is 1.è2.è3.è4.è5.è1.è2., ….. ,

See Figure 1-9c to set the number.

The time required to read a block of contiguous PLC locations is far less than the time required to read those locations separately. Therefore arranging data in blocks of contiguous locations for the Workstation to read enables communication between the Workstation and the PLC to be more efficient. ADP3 allows you to specify up to five Register Blocks and five On/off Blocks for each screen.

6-2-3-2. Register Blocks and On/off Blocks of Screens

6-2-3-1. Read Cycle

Page 37: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-37

Figure1-9d Specified On/Off Block failed_M0.1 must be changed to M0.0

Page 38: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-38

To change the background of a screen,

1. Choose "Background Style" from the Screen menu. ADP3

displays the Screen Background Style dialog box. See Figure 1-9e. The current background is shown in the Example box. Whatever background style is chosen, it will be shown on the screen.

2. Select one of 32 patterns in the Pattern box as the background pattern.

3. Select one of 16 colors in the Pattern Color box for painting the black part of the background pattern.

4. Select one of 16 colors in the Background Color box for painting the white part of the background pattern.

5. Click OK button. The background of the screen changes to the new setting.

Figure 1-9e Screen Background Style

6-2-4. Changing Screen Background

Page 39: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-39

A). Sub-screen: A sub-screen is a screen that is smaller than the usual screen. The Workstation displays a sub-screen in the center of the screen without destroying

the existing display and adds a raised frame to it automatically.

Figure 1-9f Screen Attributes dialog box_sub-screen

To define a sub-screen, See Figure 1-9f.

1. Create a new screen first.

2. Choose "Attributes" from the Screen menu. ADP3 displays the Screen Attributes dialog box.

3. Select the option of “This screen is a sub-screen.”

4. Enter the width of the sub-screen.

5. Enter the height of the sub-screen.

6-2-5. Screen Attributes_ Sub-screen

Page 40: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-40

6. Click OK button. The screen window shrinks to the new size.

Figure 1-9g Display sub-screen for actual application

Page 41: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-41

B). HARDCOPY print area: An area of the screen may be specified for printing using X/Y coordinates. The actual hard copy print out may be triggered by an object like a screen action button or by command from the PLC. For information on how the hard copy print is triggered from the PLC see Chapter 3 Control block.

C). The base screen: A base screen is a screen which may be used as a template for many different screens. To specify a base screen; Create a screen #004 as the base screen. See Figure 1-9h . When editing a new screen, call #004 as the base screen and adds any new objects if needed. The base screen can be used repeatedly. As objects on the base screen are modified or new objects are added, the whole project will be changed at the same time.

Figure 1-9h Editing example_screen#004 as Base Screen

Editing sequence:

(1).Create and complete a new screen as a base screen.(screen No.004)

Uses #004 as base screen. To design different objects in the middle area

6-2-5-1. Screen Attributes_ Hardcopy

6-2-5-2. Screen Attributes_ Base screen

Page 42: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-42

(2).Create a new screen (screen No. =053)

(3).Click screen attributes on the screen menu and ADP3 displays the screen attributes dialog box. See Figure 1-9i. Specifying this screen #053 as a screen which needs a base screen, chooses a base screen #004.

(4).Using this base screen #004 as a screen background, add objects as needed. Now you can easily complete a new screen #053 by using the base screen.

Figure 1-9i Editing new screen #053 uses screen#004 as base screen

Page 43: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-43

Figure 1-9j Editing a new screen #053_Adding new objects_example(1)

Figure 1-9k Editing new screen #054_Adding new objects_example(2)

The new objects in the middle area of the screen Uses #004 as base screen

The new designed objects in the middle area The new objects in the overlapping area

Page 44: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-44

Figure 1-9l Editing a new screen #055_Adding new objects_example(3)

A new object in the overlapping area New objects in the middle area

Page 45: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-45

Editing screens or objects, Choose "Edit" on the Menu bar (or presse [ALT]+[E]), ADP3 displays an Editing menu, See Figure 1-10. The Editing menu consists of screen copying and deleting, object copying and deleting, objects overlapping, objects moving forwards and backwards and message editing. If a new screen is not created the functions on the edit menu are not available.

ADP3 provides three buttons; they are the cut button;

the copy button and the paste button, so you can click with the mouse perform copy, cut, and paste operations

Figure 1-10 Edit menu

Pop-up menu for editing screen objects,

You can get the pop-up menu for the selected screen object by clicking

Section 6-3-1

6-3. Editing

Section 6-3-2

Section 6-3-3

Section 6-3-4

Section 6-3-5 Section 6-3-6

Section 6-3-7

Page 46: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-46

the right button of your mouse. This feature speeds your selection of edit operation.

Page 47: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-47

Choose "Duplicate" on the Edit menu and ADP3 displays a Duplicate dialog box. See Figure 1-10a. You can select any object and make multiple copies of this object while at the same time incrementing the corresponding PLC data addresses conveniently. For an example of the results of Duplicate see Figure 1-10b.

Figure 1-10a Duplicate dialog box

6-3-1. Copy Paste Duplicate

Page 48: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-48

Figure 1-10b

Page 49: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-49

A). To cut a screen and place it on the clipboard, choose Cut Screen from the Edit menu.

B). To copy a screen to the clipboard, choose Copy Screen from the Edit menu. C). To paste a screen from the clipboard, choose Paste Screen from the Edit menu. If the screen in the clipboard is from another application, those bitmaps of the screen whose names have been used in the current application are not copied to the bitmap library.

D). To delete a screen, chooses Delete Screen from the Edit menu.

In order that you can edit your screens freely, ADP3 allows you to stack screen objects without any constraints. However, the Workstation cannot display all kinds of stacking properly as dynamic screen objects may destroy those screen objects that are on top of them when the former are updated. Therefore, make sure screen objects on your finished screens obey the following rules:

1.

Static objects can be stacked on static objects.

2.

Dynamic objects can be stacked on static objects.

3.

A screen object can be stacked on a dynamic object if,

(a) the former is the most top object, or

(b) the former is within the bounding rectangle of the latter.

Note: The less objects stacked on dynamic objects, the faster the Workstation displays screens and updates dynamic objects.

4.

No screen objects are allowed on the following dynamic objects:

(1) Panel Meters (2) Moving Signs (3) Animated Graphics

(4) Statistics Graphs (5) Historical Trend Graphs

(6) Historical Data Tables (7) Historical Event Tables

6-3-3. Bring to forward, Send to back

6-3-2. Copying screen Cutting screen Pasting screen Deleting screen

Page 50: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-50

5.

Push button frames should not overlap with any other screen objects.

You can change the stacking order of overlapping screen objects. You can also stack screen objects on top of each other and then change the stacking order.

To bring a screen object to the front of other screen objects,

1. Select the screen object. 2. Choose "Bring to Front" from the Edit menu.

To send a screen object to the back of other screen objects,

1. Select the screen object. 2. Choose "Send to Back" from the Edit menu.

Page 51: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-51

You can group screen objects so they can be moved or edited as a single unit. When moving screen objects in a group, they maintain their positions relative to each other. Grouped screen objects remain together until ungrouped.

To group a set of screen objects,

1. Position the pointer above and to the left of the screen objects you want to group.

2. Press the left mouse button and drag a selection rectangle around the screen objects.

3. Release the mouse button and handles appear on all selected objects.

4. Choose Group from the Edit menu. An outline appears around the screen objects you grouped. Selecting any one of the screen objects selects the entire group.

When a group is selected you can move, cut/copy/paste or delete screen objects in a single operation. You can also size a selected object while maintaining its group status.

To ungroup a set of grouped screen objects,

1. Select the group.

2. Choose Ungroup from the Edit menu. The screen objects are now separated again.

3. You can specify objects as a group of objects through group from Edit menu, or reverse them through ungroup, or regroup them though regroup. It makes editing easier when moving or copying objects.

6-3-4. Grouping Ungrouping

Page 52: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-52

Figure 1-10c Editing Mode_inner Text and inner graphic of button Editing inner text and inner graphic

Choose "Inner Text" and "Innner Graphic" on the Edit menu. These selections provide an edit function for push buttons, indicators, moving signs, message displays, etc.. See Figure 1-10c. ADP3 provides two buttons with the same function on the tool bar. They are text editing

button and graphic editing button . For more detail see chapter 1, section 7-1 text editing and section 7-2 graphic editing.

Choose "object attributes" on the edit menu. ADP3 provides an editing function for the selected object (for example; push buttons, indicators, moving signs and message displays) to enable editing of the object and modification of the corresponding PLC address. Figure 1-10d to 1-10g are the examples of different objects and their object attribute dialog boxes.

Each screen object has attributes that define its operation. Attributes are viewed or edited by opening the dialog box for the screen object.

To view or edit the attributes of a screen object, double-click the screen object or select this object and

6-3-6. Object Attributes

6-3-5. Inner Text Inner Graphic

Page 53: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-53

choose the "Object Attributes" from the Edit menu.

Figure 1-10d Object attributes Dialog box_Screen button

Page 54: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-54

Figure 1-10e Object attributes Dialog box_On/Off button

Page 55: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-55

Figure 1-10f Object attributes Dialog box_Numeric entry

Figure 1-10g Object attributes Dialog box_Alarm history

Page 56: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-56

table

Usually a PLC has an address, a station number, a unit number, or a device number associated with it so that the other devices linked with that PLC are able to use the address to identify it. Therefore, a complete description of a PLC location should contain the PLC address. To specify a PLC location in ADP3, you type PLC address first, then type ‘:’ as a separator, and then type the location address itself. The PLC address should be a number between 0 and 255. For example, to specify the register D1200 of PLC #123, you type 123:D1200. The ADP3 allows you to specify a PLC location without PLC address. Those PLC locations without a specified PLC address are assumed to have the default PLC address. To

specify the default PLC address, select Workstation Setup in the Application menu to get Workstation Setup dialog box, click Communications button to get Communications Parameters dialog box, then enter the default PLC address in the edit box of Controller/PLC.

Figure 1-10h Object attributes Dialog box_Set constant button

6-3-6-1. Specifying PLC Address

Page 57: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-57

Choose "States and Text Management" on the edit menu. ADP3 displays a states and text management dialog box. See Figure 1-10i. Selecting an object (for example indicators, moving signs, message displays etc.), and choosing States and Text Management enables quick and easy modification of text messages particularly where an object has multiple states. You can change the state numbers. (example; States #0, #1, #2, #3, #4, #5 ,..maximum #255) and modify the associated text.

Figure 1-10i States/text management_Object’s text

The states and text management function offers a convenient editing method for copying and modifying text states easily. There is a States and text management

button on the tool bar with the same functions which you can click directly.

6-3-7. States and Text Management

Page 58: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-58

Figure 1-10j States and Text management dialog box_Inner text copying

When you create a Multistate Button, Multistate Indicator, Range Indicator, Prestored Message Display, or Moving Sign, ADP3 creates a default number of states for it initially. You can add states or delete states from the above mentioned screen objects.

To increase or decrease a screen object’s states,

1. Select the screen object.

2. Choose "State And Text Management" from the Edit menu. ADP3 displays the State And Text Management dialog box. The State-Text box lists each state’s text preceeded by its state number.

3. If you want to add a state to the screen object and you want the new state to be state No.X, select state No.X-1 by clicking its text first and then click the New button.

4. If you want to delete state No.X, selects state No.X by clicking its text first and then click the Cut button or Delete button.

5. Click OK button.

6-3-7-1. Increasing and Decreasing States

Page 59: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-59

Figure 1-10k States and Text management_Inner Text replacement

Figure 1-10l States and Text management_Inner Text Modification

Text may be imported from applications such as Microsoft WORD using Cut/Copy and Paste as shown in the following examples.

6-3-7-2. Text file Import from WORD

Page 60: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-60

Figure 1-10m States and Text management_MS WORD text importing

Text from any text or text from applications such as MS EXCEL can be transformed into inner text in ADP3. This functionality provides a convenient way for the designer to establish a screen text library.

Page 61: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-61

Figure 1-10n WORD text imported as inner text

Figure 1-10o MS WORD text imported as an Object inner text

An ADP3 object’s inner text can also be copied and pasted to another application such as MS WORD. Once pasted to an external application the text can be altered and formatted as desired.

6-3-7-3. Transforming to a WORD Text File

Page 62: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-62

Page 63: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-63

You can zoom in or zoom out screens so that screen objects look larger or smaller than their actual size. Changing the view affects only the appearance of screen objects, not their actual size.

To zoom in or enlarge the view of the screen, choose 200% Screen from the View menu. To zoom out or reduce the view of the screen, choose 50% Screen from the View menu. To return the screen to normal size, choose Normal Screen from the View menu.

To show the whole screen, choose Whole Screen from the View menu. To return to its previous view, click the left mouse button.

It is convenient to view a whole screen with read/write addresses of its dynamic objects by selecting "Whole Screen with I/O Labels" in the View pop up menu.

Figure 1-11 View menu_choosing 50% screen

6-4. View Zooming In and Out

Page 64: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-64

Figure 1-11a View Menu_Whole Screen with I/O Labels

Page 65: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-65

With multi-lingual support, you can maintain only one application file for a machine that supports up to five languages. Also, this feature seems very helpful for machines installed in those countries that have more than one official language. The multi-lingual support accomplishes these simply by allowing you to edit up to five sets of text for your application. If you use different language for each set of text, your application can easily support up to five languages.

To get multi-lingual support, check the Multi-lingual Support option in the Wirkstation Setup dialog box. There are two other parameters you have to specify in the same dialog box,

1. Number of languages: specify how many languages your application will support.

2. Startup Language: specify the language your Workstation uses to display the startup screen and the following screens before the operator selects another language.

In the Alarm Setup dialog box and the States & Text Management dialog box, you can find a box that allows you to select desired language for editing text.

To view screens in language N, check "Language N" menu item in the View pop-up menu.

You can place an "Select Language N" Action button on a screen to allow the operator to select language N in the run time. Once the operator pushes that Action button, the Workstation displays text in language N afterward.

Note that the main task file of multi-lingual applications is different from normal applications. See the following table for details:

Firmware Files Normal Multi-lingual

6-4-1. Multi-lingual Support

6-4-2. Editing Text of Different Languages

6-4-3. Change Languages in the Run Time

Page 66: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-66

------------------------------------------------------------------

PWS-700X P7XMAIN.TSK P7XMLNG.TSK

PWS-700T P7HMAIN.TSK P7HMLNG.TSK

PWS-1200 P12HMAIN.TSK P12HMLNG.TSK

PWS-1700 P17HMAIN.TSK P17HMLNG.TSK

PWS-3100 P3KMAIN.TSK P3KMLNG.TSK

PWS-3700 P37MAIN.TSK P37MLNG.TSK

Page 67: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-67

This section describes all types of screen objects supported by the PWS-series 700/1200/1700/3100/3700 and how to create them in ADP3.

Choose "Object" from the Menu bar (or type[ALT]+[O]), and ADP3 displays an object menu. See figure 1-12. The Object menu supports specification and editing of a variety of objects. Every object is listed in the object menu, but they are not available if you do not create a screen.

Figure 1-12 Object Menu

There are five categories in the Object Menu; 1. Objects which may be activated by the touch screen,

for example, Push buttons, Numeric entry, etc.. 2. Objects which are not activated by the touch screen

but reflect dynamic data from the PLC, for example,

6-5. Screen Objects

Page 68: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-68

Indicator, Panel meter, etc. 3. Objects concerned with PLC dynamic data and the

workstation logging buffers, for example, Historical trend graphic.

4. Objects which have no links to dynamic data in the PLC but are used as screen backgrounds only, for example, Static text, Scale, etc.

5. Objects concerned with the whole project, for example Global Objects. Through global objects a change in one place may be reflected in all parts of the project where that particular global object is utilised.

Page 69: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-69

Select an object menu which has the” Ø” mark to see the Object Submenu. See Figure 1-12a which shows the pushbutton submenu. The object submenu appears at the right side of the object menu, Figure 1-12a displays the Object menu and Pushbutton submenu.

Figure 1-12a Object menu and Pushbutton submenu

An object label appears inside the object to describe the object state. Object labels can have text and/or a graphic and their background can be colored. Objects such as Push buttons that change on/off locations, for example Set buttons and Momentary buttons, can have two labels (states). Multistate buttons can have as many labels as the states they can change. Push buttons that perform a built-in function of the Workstation, such as Set Value buttons and Action buttons, can have only one label (state).

6-5-1. Object Submenu

6-5-2. Object Labels

Page 70: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-70

To create a screen object,

1. Choose a screen object from the Objects menu.

2. Position the pointer (+) where you want to place the screen object.

3. Hold down the left mouse button and drag the pointer to size the screen object. Release the left mouse button when the screen object is the size that you want.

6-6. Creating a Screen Object

Page 71: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-71

ADP3 provides a selection of pushbuttons to fit various needs and save time in editing P.L.C. programs.

The following table summarizes all types of push buttons and the basic functions they perform:

Button Type Basic Function

Set button Sets an on/off location to on when pressed.

Reset button Sets an on/off location to off when pressed.

Maintained button

Toggles the state of an on/off location when pressed.

Momentary button

Sets an on/off location to on when pressed and resets that location to off when released.

Multistate button

Changes a register to the next state when pressed; the register is set to the first state when it is in its last state.

Set Value button

Displays a numeric keypad when pressed and released. You are allowed to enter a value to change a register with the numeric keypad.

SetConstantbutton

Writes a constant to a register when pressed.

Increment button

Adds a constant to a register when pressed.

Decrement button

Subtracts a constant from a register when pressed.

GotoScreen button

Displays a designated screen when pressed and released.

Previous Screen button

Displays the previous screen when pressed and released.

Action button- Contrast Up

Increases the contrast or brightness of the display when pressed.

Action button- Contrast Down

Decreases the contrast or brightness of the display when pressed.

6-6-1. Push Buttons

Page 72: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-72

Save Contrast Saves the setting of contrast or brightness when pressed.

Action button- Password Table

Displays the password table when pressed and released. You can register passwords and associated user levels with the password table.

Action button- Reenter Password

Displays the password keypad when pressed and released. You can enter a password with the password keypad.

Set Lowest User Level

Sets the current user level to level 3 when pressed and released.

Action button- Print Screen

Prints the current screen or a rectangular region of the current screen.

GotoSystemMemu

Displays the system menu when pressed.

Turn Off Backlight

Shuts down the back-light when pressed.

Alarm Ack Acknowledges the current active alarm.

Set Time & Date

Enables setting of time and date.

Select Language #1~#5

Displays a specified language when pressed. (Five language settings are available)

Page 73: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-73

Workstation sets the reference location in the PLC ON or OFF by pressing the ON/OFF pushbutton.

There are four options for On/Off pushbuttons in ADP3

A). Set Buttons: A Set Button sets a bit location to on when pressed.

B). Reset Buttons: A Reset button sets a bit location to off when pressed.

C). Maintained Buttons: A Maintained button sets a bit location to the reversed state of a referenced on/off location when pressed.

D). Momentary Buttons: A Momentary button sets a bit location to on when pressed and resets that location to off when released.

Figure 1-13 ON/OFF pushbutton dialog box

A push button frame appears around a push button to indicate the push button’s boundary and the status of whether the button is pressed or released.

6-6-1-1. On/Off pushbutton

Push Button Frames

Page 74: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-74

The following options are common to all dialog boxes when you configure a push button: Frame Style Description

None The push button does not have a frame. Raised Base The push button appears as a physical

rectangular push button with a raised base. Raised The push button appears as a Windows push

button. Outlined(1) The push button is outlined by a 1-pixel

wide line. Outlined(2) The push button is outlined by a 2-pixel

wide line. Invisible The push button has no frame and does not

have push button label(s). Frame Color You can select one of 16 colors as the

frame’s color. A pushbutton sets an on/off location to ON or OFF when pressed. The following options appear in the dialog box when you configure a push button.

Option Description Variable

Write Specifies an on/off location that is changed when the button is pressed and released.

Read Specifies an on/off location that controls the display of the button label.

If this location is not specified, the Workstation displays the label according to the state of the Write location initially and displays the label corresponding to the state written to the Write location when the button is pressed or released.

Minimum Hold Time (Sec.)

Specifies how long you have to hold the button in order to activate the button’s function. You need not hold the button if zero second is specified.

Push Button Variable

Page 75: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-75

Operator Confirmation Waiting Time (Sec.)

When you configure an object of button, select the option of Operator Confirmation if you want the operator to confirm the desired operation. There is a box called Waiting Time on the dialog box where you can select the maximum time that the Workstation will wait for the confirmation before canceling the operation.The Workstation displays the message "Are you sure?" with YES button and NO button to prompt the operator to confirm what he has entered. To confirm the operation, press the YES button. To cancel the operation, press the NO button.

ON/OFF push button example:

State 0:label OFF state State1:label ON state

Figure 1-13a Inner text and bitmap in ON/OFF button

Page 76: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-76

The Multistate button changes a register to the next (previous) state of a referenced register when pressed; the register is set to the first(last) state when the referenced register is in its last(first) state. In most applications, the referenced register is just the register to be changed and in this case a Multistate button changes a register to its next (previous) state. This a straightforward cycle, for example, S0ðS1ðS2ðS3ðS4ðS0 and the reverse cycle would be S0ðS4ðS3ðS2ðS1ðS0. The Multistate button can have as many as 256 states when VALUE is selected, 16 states when LSB is selected and 2 states BIT is selected.

See section 6-3-7-1 "States and Text management" for an explantion of how to increase and decrease the states a Multistate button can display.

Figure 1-14 Multistate pushbutton dialog box

The following options appear in the dialog box when you configure a Multistate button:

Option Description

6-6-1-2. Multistate Buttons

S0ðS1ðS2ðS3ðS4ðS0ðS1ðS2ðS3ðS4ðS0

Page 77: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-77

Variable

Write Specifies a register that is to be changed. If the Read register is not specified or is the same register, the Write register is set to the next (previous) state of its current state. When the current state is the last (first) state, the Write register is set to the first(last) state.

Option Description

Read Specifies a register as the reference register that also controls the display of the button label.

If this register is not specified, the Workstation displays the label according to the state of the Write register initially and displays the label corresponding to the state written to the Write register when the button is pressed.

Value If you select this option, the Workstation takes the register value as the state number; for example, value 0 represents state 0 and value 255 represents state 255. The button can have as many as 256 states when this option is selected.

LSB If you select this option, the Workstation takes the bit number of the least bit that is on as the state number; for example, binary number 0000000000000001 represents state 0 and binary number 1100001100000000 represents state 8. The button can change as many as 16 states when this option is selected. Note that the state of binary number 0 is undefined.

Page 78: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-78

Format Specifies the data format of the Write and Read registers. This is only meaningful when Value option is selected. There are three options: BCD, Signed Binary, and Unsigned Binary.

Change To

Next State The button changes the Write location to the next state.

Previous State

The button changes the Write location to the previous state. Snð Sn-1

Multistate pushbutton example, PLC S7-200, QW0, LSB

mode.

S0=Q1.0 ON S1=Q1.1 ON S2=Q1.2 ON S3=Q1.3 ON

Page 79: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-79

A Set Value button displays a numeric keypad when pressed and released. The numeric keypad allows you to enter a value to change a register.

Figure 1-15 Set value pushbutton dialog box

The following options appear in the dialog box when you configure a Set Value button:

Option Description Variable

Write Specifies a register address to which the entered value is written.

Word The entered value is a 16-bit data.

6-6-1-3. Set Value Buttons

Page 80: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-80

Double Word The entered value is a 32-bit data. If the Write location is a 16-bit register, the Workstation writes the low word of the entered value to the Write location and writes the high word of the entered value to the location following the Write location.

Format Specifies the data format. There are four options: BCD, Signed Binary, Unsigned Binary, and Hexadecimal.

Notification

Specifies an on/off location that the Workstation sets to on either when the numeric keypad appears or after writing the entered value to the Write location.

You can leave this option blank.

Option Description

Before Writing

The Workstation sets the Notification location to on when the numeric keypad appears and sets the Notification location to off when the numeric keypad disappears.

After Writing

The Workstation sets the Notification location to on after writing the entered value to the Write location.

Display

Page 81: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-81

Decimal Point Position

The Workstation can display a decimal point if you enter a non-zero value in this field. In other words, Decimal Point Position is the number of digits to the right of the decimal point. For example, if you set up a register as 16-bit BCD with a Decimal Point Position of 2, then the Workstation considers the register to range between 0.00 and 99.99. As another example, if you set up a 16-bit Signed Binary register with a decimal position of 3, then the register ranges from -32.768 to +32.767. Please note that this is different from the Fractional Digits later, which indicates how many digits following the decimal point are actually displayed.

The operator is allowed to enter a decimal point if the Decimal Point Position is a non-zero value. If the Decimal Point Position is a non-zero value N, the Workstation transforms the entered value into an integer by multiplying the entered value by the Nth power of 10 and writes the integer to the Write location. For example, if the Decimal Point Position is 2, then the entered value 12.34 is transformed to 1234. As another example, if the Decimal Point Position is 3, then the entered value 1.2 is transformed to 1200.

Integral Digits

Specifies how many digits to the left of the decimal point are displayed and allowed to be entered. The number has to be consistent with your selections for Data Format, Data Size, and Decimal Point Position. For example, for 16-bit binary data with a Decimal Point Position of 2, the Integer Digits cannot exceed 3 (=5-2).

Page 82: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-82

Fractional Digits

Specifies how many digits to the right of the decimal point are displayed and allowed to be entered. The number of Fractional Digits can't exceed the number of Decimal Point Position.

Display asterisks for entered number

The Workstation can display a asterisk if you enter a number in the keypad.

Option Description

Security Control

See section 6-6-2 Numeric Entry object for additional detail on the following three associated options:

Input Minimum; Input Maximum; User Level

Input Minimum

Specifies the minimum that the operator is allowed to enter. You must enter the actual register value without regard to your settings for Display Format. For example, if a 16-bit Binary register has the following settings: Decimal Point Position=2, Integral Digits=3, Fractional Digits=1, Input Minimum=250 and Input Maximum=8500, then the allowable input range is between 2.5 and 85.0.

Input Maximum

Specifies the maximum that the operator is allowed to enter. You must enter the actual register value without regard to your settings for Display Format.

User Level Specifies the minimum user level to enable the Numeric Entry.

Set Value button example:

Page 83: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-83

Press the set value button and the workstation displays a numeric keypad on the screen. Numeric data may be

written to VW910 through the numeric keypad but nothing will show up on the button.

Figure 1-15a

Figure 1-16

Page 84: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-84

A Set Constant button writes a constant to a register when pressed.

Figure 1-16a Set constant pushbutton dialog box

The following options appear in the dialog box when you configure a Set Constant button:

Option Description Variable

Write Specifies a register address to which the constant is written.

Word The constant is 16-bit data.

Double Word The constant is 32-bit data. If the Write location is a 16-bit register, the Workstation writes the low word of the constant to the Write location and writes the high word of the constant to the location following the Write location.

Format Specifies the data format. There are four options: BCD, Signed Binary, Unsigned Binary, and hexadecimal.

6-6-1-4. Set Constant Buttons

Page 85: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-85

Set Value Specifies the constant to be written to the Write location. The Workstation writes the constant “1000” to the Write location VW910 when pressed.

Notification

Specifies an on/off location that the Workstation sets after writing the constant to the Write location.

You can leave this option blank.

Page 86: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-86

An Increment button writes the value obtained by adding a constant to a referenced register value when pressed. A Decrement button writes the value obtained by subtracting a constant from a referenced register value when pressed. This button is called JOG+/JOG-.

Figure 1-17 JOG+/JOG- button dialog box

The following options appear in the dialog box when you configure an Increment button or Decrement button:

Option Description Variable

Write Specifies a register location to which the result of the addition or subtraction operation is written.

Format Specifies the data format. There are three options: BCD, Signed Binary, and Unsigned Binary.

6-6-1-5. Increment/ Decrement Buttons

Page 87: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-87

Read Specifies the referenced register location.

If the location is not specified, the Write location is taken as the referenced register location. In this case, the Increment / Decrement button performs just like a Jog+/Jog- button.

Jog Step Specifies the constant that is used in the addition or subtraction operation.

Option Description Limit Specifies the maximum that can be written to

the Write location if the button is an Increment Button. The maximum is written to the Write location if the result of the addition is greater than the maximum.

Specifies the minimum that can be written to the Write location if the button is a Decrement Button. The minimum is written to the Write location if the result of the subtraction is less than the minimum.

JOG+/JOG- button example:

Figure 1-17a JOG+/JOG- button example

Page 88: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-88

Figure 1-18 Goto Screen Button example

Page 89: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-89

There are two options for Goto Screen Buttons:

A). Goto Screen Button: A Goto Screen button displays a designated screen when pressed and released.

B). Goto Previous Screen Button: A Previous Screen button displays the previous screen when pressed and released.

Figure 1-18a Goto Screen Buttons dialog box

The following options appear in the dialog box when you configure a Goto Screen button:

Option Description

Screen Specifies a screen that is displayed when the button is pressed and released.

Security Control

6-6-1-6. Goto Screen Buttons

Page 90: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-90

User Level Specifies a user level that the current user must equal or exceed in order to enable the button. The Workstation asks the operator to enter a password if the current user level is not high enough.

Appended Function

Change the current user level to ...

If this option is selected, the button changes the current user level to the lowest level when it displays another screen.

An Action button performs a built-in function provided by the Workstation when pressed and released.

The following options appear in the dialog box when you configure an Action button:

Option Description Action Specifies the function that the Action

button performs.

Contrast Up

Increases the contrast or brightness of the display when pressed. The contrast of FSTN LCD and DSTN LCD is adjustable. The brightness of TFT LCD is adjustable.

Contrast Down

Decreases the contrast or brightness of the display when pressed.

Save Contrast

Saves the setting of contrast or brightness when pressed.

Password Table

Displays the password table when pressed and released. You can register passwords and associated user levels with the password table.

Reenter Password

Displays the password keypad when pressed and released. You can enter a password in order to change the current user level with the password keypad.

6-6-1-7. Action Buttons

Page 91: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-91

Set Lowest User Level

Set the current user level to level 3 when pressed and released.

Print Screen

Print a rectangular region of the current screen.

To specify the region, choose Attributes from the Screen Menu, specify the coordinates of the upper-left position and the lower-right position in Printed Area box of the Screen Attributes dialog box, and click OK. See section 6-2-5-1.

Goto System Memu

Displays the system menu when pressed.

Turn Off Backlight

Shuts off the back-light when pressed.

Alarm Ack Acknowledges the current active alarm.

Set Time & Date

Enables setting of time and date.

Select Language #1~#5

Displays a specified language when pressed. One of five languages may be selected.

SELECT SCREEN

SoftPanel at run - time, press button once, the menu will appear the dialogue window, it can select in the window cutover menu, this function have the SoftPanel offering only. Such as figure 1- 19 a

RECIPE NAMES

SoftPanel at run - time the information have the layout recipe data length and recipe total amount, press the button once, the menu can appear the dialogue window, the window can assign name to any name of another recipe set, the recipe set alias call and it can use the Chinese and English, this function only SoftPanel offering.Such as figure 1- 19 b

Page 92: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-92

SELECT RECIPE

When the SoftPanel carry out to have the layout recipe data length and recipe the total amount, press once should button, the menu can appear the dialogue window, call the recipe set alias of the hunt to stuff with the Chinese and or English in window, this as to the formulation set count bulky time phase when convenience, this function only SoftPanel offering.Such as figure

1- 19 c

Figure 1-19 Action buttons dialog box and example

Page 93: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-93

Figure 1-19a

Figure 1-19b

Page 94: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-94

Figure 1-19c

There are four types of datas can to convert text file, include the Logging Buffer Status Registers, Recipe Information, Alarm History Table, Alarm Frequency Table... etc., press button once to make menu presence dialogue window, window can stuff with the name(*. PRN) of the convert text file, then save, the text file of the this kind of type can use the EXCEL, WORD,NotePad software, this function only SoftPanel offering.Such as figure 1- 19 d~ 1- 19 f

6-6-1-8. Data to Text Conversion

Page 95: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-95

Figure 1-19d

Figure 1-19e

Page 96: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-96

Figure 1-19f

A Numeric Entry object displays the value of a register and allows you to enter a value to change that register or another register. The Workstation displays the numeric keypad to let you enter a value when you press and release the Numeric Entry object.

6-6-2. Numeric Entries

Page 97: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-97

Figure 1-20 Numeric Entry dialog box

Page 98: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-98

The following options appear in the dialog box when you configure a Numeric Entry:

Option Description Frame

Style There are 7 options: None, Module(1), Module(2), Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

If you select None, then there is no frame.

Color You can select one of 16 colors as the frame’s color.

Variable

Write Specifies a register address to which the entered value is written.

Word Specifies the data size is 16 bits.

If you specify a data size that is smaller than a full register, then the Workstation looks at only the lower part of the register. For example, if you specify a size of 16 bits for a register that is actually 32 bits, the Workstation only looks at the lower 16 bits of that register.

Double Word

Specifies the data size is 32 bits.

If you specify a data size that is greater than the size of a single register, then the Workstation includes the following register as if they were a single register. The Workstation considers the first register to be the least significant and the subsequent register to be the most significant. For example, if your PLC has 16-bit registers and you configure register D1 with a data size of 32 bits, then the Workstation considers D2 to be part of this register. D1 is the low word and D2 is the high word.

Page 99: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-99

Format Specifies the data format; there are four options: BCD, Signed Binary, Unsigned Binary, and Hexdecimal.

BCD - The minimum and maximum possible values of a single BCD word is 0 and 9,999. The minimum and maximum possible values of a double BCD word is 0 and 99,999,999.

Signed Binary - The minimum and maximum of a single binary word is -32,768 and 32,767. The minimum and maximum of a double binary word is -99,999,999 and 99,999,999.

Format Unsigned Binary - The minimum and maximum of a single unsigned binary word is 0 and 65,535. The minimum and maximum of a double unsigned binary word is 0 and 99,999,999.

Hexdecimal - The minimum and maximum possible values of a single Hex word is 0 and FFFF. The minimum and maximum possible values of a double HEX word is 0 and FFFF,FFFF.

Read Specifies a register address that the Numeric Entry displays its value.

If this register is not specified, the Numeric Entry displays the value of the Write location.

Notification

Specifies an on/off location that the Workstation sets ito on either when the numeric keypad appears or after writing the entered value to the Write location.

You can leave this option blank.

Before Writing

The Workstation sets the Notification location to on when the numeric keypad appears and sets the Notification location to off when the numeric keypad disappears.

Page 100: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-100

After Writing

The Workstation sets the Notification location to on after writing the entered value to the Write location.

Display Format

Font Specifies the character size. There are 12 options: 8x8, 8x16, 16x16, 16x32, 24x24, 24x48, 32x32, 32x64, 48x48, 48x96, 64x64, and 96x96.

Background Color

Specifies the background color. There are 16 options.

Character Color

Specifies the character color. There are 16 options.

Left Aligns the displayed value to the left.

Center Centers the displayed value.

Right Aligns the displayed value to the right.

Fill Leading Zeros

Select this option to display leading zero(s).

Scaling

The Workstation can scale a register value to display a number that makes more sense to the operator. For example, assume the PLC has a 4-20 mA analog input.

Page 101: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-101

Scaling

Slope and Offset

The PLC converts this analog input to a digital number that varies, say, between 819 and 4095. With the scaling capability, the Workstation can display the register value 819-4095 as 4.0-20.0. When you configure Numeric Displays and Numeric Entries, you can select the Scaling option to enable the scaling process. Two parameters are required for the scaling: Slope and Offset. The formula of scaling that converts a register value to a displayed value is shown in the following.

Displayed_number = Slope * Register_value + Offset Regardless of the decimal point, you can specify a number between -32,768 and 32,767 for the Slope. When considering the decimal point, the Slope can't exceed 32,768 and the number of digits to the right of the decimal point can't exceed 8. For example, 0.0032767, -327.68, 10, and 0.00000001 are valid numbers; 0.0032768, -327.69, 100000, and 0.000000001 are invalid numbers. Regardless of the decimal point, you can also specify a number between -32,768 and 32,767 for the Offset. When considering the decimal point, the number of Offset must conform to the display format of the object. For example, if the display format is ###.##, then the valid number is between -327.68 - 327.67. Note 1. Only signed binary and unsigned binary numbers can be scaled. Note 2. Scaling consumes the Workstation's CPU time. Sometimes, it is better to let the PLC perform the scaling and the Workstation just displays the register value directly. Note 3. Make use of the decimal point position instead of scaling if the Slope is ten's power and the Offset is 0. Note 4. It is possible for the operator to enter one number and have the Workstation display a slightly different number. This is a consequence of rounding and is unfortunately unavoidable.

Page 102: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-102

Option Description Decimal Point Position

The Workstation can display a decimal point if you enter a non-zero value in this field. In other words, Decimal Point Position is the number of digits to the right of the decimal point. For example, if you set up a register as 16-bit BCD with a Decimal Point Position of 2, then the Workstation considers the register to range between 0.00 and 99.99. As another example, if you set up a 16-bit Signed Binary register with a decimal position of 3, then the register ranges from -32.768 to 32.767. Please note that this is different from the Fractional Digits explained later, which indicates how many digits following the decimal point are actually displayed. The operator is allowed to enter a decimal point if the Decimal Point Position is a non-zero value. If the Decimal Point Position is a non-zero value N, the Workstation transforms the entered value into an integer by multiplying the entered value by the Nth power of 10 and writes the integer to the Write location. For example, if the Decimal Point Position is 3, then the entered value 1.2 is transformed to 1200.

Integral Digits

Specifies how many digits to the left of the decimal point are displayed and allowed to be entered by the operator. The number has to be consistent with your selections for Data Format, Data Size, and Decimal Point Position. For example, for 16-bit binary data with a Decimal Point Position of 2, the Integer Digits cannot exceed 3 (=5-2).

Fractional Digits

Specifies how many digits to the right of the decimal point are displayed and allowed to be entered. The number of Fractional Digits cannot exceed the number of Decimal Point Position.

Page 103: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-103

Security Control

Input Minimum

Specifies the minimum that the operator is allowed to enter. You must enter the actual register value without regard to your settings for Display Format. For example, if a 16-bit Binary register has the following settings: Decimal Point Position=2, Integral Digits=3, Fractional Digits=1, Input Minimum=250 and Input Maximum=8500, then the allowable input range is between 2.5 and 85.0.

Input Maximum

Specifies the maximum that the operator is allowed to enter. You must enter the actual register value without regard to your settings for Display Format.

User Level Specifies the minimum user level to enable the Numeric Entry.

A Character Entry allows you to enter a character string to change registers in your PLC. The Workstation displays the character keypad to let you enter a character string when you press and release a Character Entry.

A 16-bit register can store two characters; a Character Entry displays the lower byte before the higher byte. For example, a Character Entry that is configured to display registers D0 through D2 with five characters displays ABC12 if the values of registers D0 through D2 are 4241H, 3143H, and 3332H.

6-6-3. Character Entries

Page 104: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-104

Figure 1-21 Character Entry dialog box

The following options appear in the dialog box when you configure a Character Entry:

Option Description Frame

Style There are 7 options: None, Module(1), Module(2), Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

If you select None, then there is no frame.

Color You can select one of 16 colors as the frame’s color.

Option Description Variable

Page 105: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-105

Write Specifies the starting address of a block of contiguous registers to which the entered character string is written.

The size of the Write block is determined by Number Of Characters described below. For 16-bit registers, if Number Of Characters is an even number, then the size is half the Number Of Characters; if theNumber Of Characters is an odd number, then the size is half the Number Of Characters plus one and the Character Entry writes 0 to the unused higher byte of the last register.

If the number of characters you entered is less than Number Of Characters, the Character Entry will append 0's to equalize the character string before writing it to the Write block.

Read Specifies the starting address of a block of contiguous registers that the Character Entry reads to display the character string stored. If this address is not specified, the Character Entry displays the character string stored in the Write block.

Number Of Characters

Specifies the number of characters you can enter and the number of characters the Character Entry displays. The allowable maximum is 28. However, another limit comes from the width of the Character Display Object itself.

Notification

Specifies an on/off location that the Workstation sets to on either when the character keypad appears or after writing the entered characters to the Write location.

You can leave this option blank.

Page 106: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-106

Before Writing

The Workstation sets the Notification location to on when the character keypad appears and sets the Notification location to off when the character keypad disappears or after user press the Enter key.

After Writing

The Workstation sets the Notification location to on after writing the entered characters to the Write location.

Display Format

Font Specifies the character size. There are 12 options: 8x8, 8x16, 16x16, 16x32, 24x24, 24x48, 32x32, 32x64, 48x48, 48x96, 64x64, and 96x96.

Option Description Background Color

Specifies the background color. There are 16 options.

Character Color

Specifies the character color. There are 16 options.

Left Aligns the displayed character string to the left.

Center Centers the displayed character string.

Right Aligns the displayed character string to the right.

Security Control

User Level Specifies the minimum user level to enable the Character Entry.

Page 107: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-107

Operator Confirmation Waiting Time (Sec.)

Specifies how long you have to wait the operator confirmation in order to activate the button’s function. You need to press "yes" key to activate the button’s function, press "no" to cancel the button’s function.

Character Entry example,

Figure 1-21a Character Entry example

Page 108: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-108

There are two options of Indicators: Multistate Indicators and Range Indicators.

A). Multistate Indicators: A Multistate indicator displays one of several indicator labels, depending on the state of an on/off location or register. While an on/off location has only two states, a register can have as many as 256 states if VALUE is selected, 16 states if LSB is selected and 2 states if BIT is selected. However if VALUE or LSB is selected the default is five states initially [0, 1, 2, 3 or 4] and it can be increased to 16 states or 256 states respectively.

Like a button label, an indicator label can have text and/or a graphic and its background can be colored. You can edit indicator labels by the same way as editing push button labels.

See section 6-3-7-1 "States and Text management" for an explantion of how to increase and decrease the states a Multistate Indicator can display.

Figure 1-22 Multistate indicator dialogue box

The following options appear in the dialog box when you configure a Multistate Indicator:

Option Description Frame

6-6-4. Multistate Indicators

Page 109: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-109

Style There are seven options: None, Raised(1), Raised(2), Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame color.

Variable

Read Specifies a location that the indicator displays a label based on the selection of Value, LSB or BIT.

Option Description

Value If you select this option, the Workstation takes the register value as the state number; for example, value 0 represents state 0 and value 255 represents state 255. The button can have as many as 256 states when this option is selected.

LSB If you select this option, the Workstation takes the bit number of the least bit that is on as the state number; for example, binary number 00000000,00000001 represents state 0 and binary number 11011111,00000000 represents state 8. The button can change as many as 16 states when this option is selected. Note that the state of binary number 0 is undefined.

Format Specifies the data format. There are three options: BCD, Signed Binary, and Unsigned Binary.

Multistate indicator example,

Page 110: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-110

Figure 1-22-1 Multistate indicator example

B). Range indicator: A Range indicator displays one of several indicator labels depending on the value of a register. State 0 label is displayed if the register value is within range #0, state 1 label is displayed if the register value is within range #1, and so on. A Range indicator can have as many as 16 labels, in other words, it can display as many as 16 ranges. Range #0 is always the highest range and its minimum is greater than the maximum of range #1 by one, range #1 is the second highest range and its minimum is greater than the maximum of range #2 by one, and so on. You don’t have to specify the minimum of the last range.

6-6-4-1. Range Indicators

Page 111: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-111

Figure 1-22b Range indicator dialog box

The following options appear in the dialog box when you configure a Range indicator:

Option Description Frame

Style There are seven options: None, Raised(1), Raised(2), Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame color.

Variable

Read Specifies a register that the indicator displays its range.

Word The data size is 16 bits.

Double Word

The data size is 32 bits.

Format Specifies the data format. There are three options: BCD, Signed Binary, and Unsigned Binary.

Option Description

Ranges

Constant Selects this option to specify that the minimum values of ranges are constants.

Variable Selects this option to specify that the minimum values of ranges are to be read from registers following the Read location. The minimum of range #0 is got from the location following the Read location. The minimum of range #1 follows the minimum of range #0, the minimum of range #2 follows the minimum of range #1, and so on.

Page 112: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-112

Range# If you select Constant option above, the Range# box allows you to select a range to specify its minimum. You cannot select the last range because you don’t need to specify its minimum.

Minimum You can specify the minimum of the selected range in the Minimum box.

Range indicator example,

Select the Range limit to specify that the minimum value of range is constant.

State2,VW90<2500 State1,2500 ≦ VW90<3000 State0,VW90 ≧3000

Select the Range limit to specify that the minimum value of range to be read from registers following the Read location.

State2,VW90<VW94 State1,VW94≦ VW90<VW92 State0,VW90≧

VW92

Figure 1-22c Range indicator example

Selects the Range limit is a constant: State2 VW90<2500 State1 2500≦VW90<3000 State0 VW90≧3000 Selects the Range limit is a variable: State2 VW90<VW94 State1 VW94≦VW90<VW92 State0 VW90≧VW92

Page 113: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-113

A Numeric display shows the value of a register. You can configure a Numeric display to display a register value in different colors when the value is in a high range or a low range.

Figure 1-23 Numeric display dialog box

The following options appear in the dialog box when you configure a Numeric display:

Option Description Frame

Style There are 7 options: None, Module(1), Module(2), Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame’s color.

Variable

Read Specifies a register to be displayed.

Word The data size is 16 bits.

6-6-5. Numeric Displays

Page 114: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-114

Double Word

The data size is 32 bits.

Format Specifies the data format; there are four options: BCD, Signed Binary, Unsigned Binary, and Hexadecimal.

Display Format

Font Specifies the character size. There are 12 options: 8x8, 8x16, 16x16, 16x32, 24x24, 24x48, 32x32, 32x64, 48x48, 48x96, 64x64, and 96x96.

Option Description

Background Color

Specifies the background color. There are 16 options.

Character Color

Specifies the character color. There are 16 options.

Blinking Select this option to blink the display.

Left Aligns the displayed value to the left.

Center Centers the displayed value.

Right Aligns the displayed value to the right.

Fill Leading Zeros

Select this option to display leading zero(s).

Decimal Point Position

See the section 6-6-2 describing Numeric Entries for details.

Scaling

Slope and Offset

See the section 6-6-2 describing Numeric Entries for details.

Integral Digits

See the section 6-6-2 describing Numeric Entries for details.

Page 115: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-115

Fractional Digits

See the section 6-6-2 describing Numeric Entries for details.

To specify the high range and low range, click the Range button in the Numeric Display dialog box.

ADP3 displays the Numeric Range dialog box with the following options:

Option Description

Range Limits

None

Constant Specifies the limits of the high range and low range as constants.

High Limit Specifies the point above which the value is out of range. You can specify it only if you select Constant above.

Low Limit Specifies the point below which the value is out of range. You can specify it only if you select Constant above.

Option Description

Register Specifies the limits of the high range and low range are variables. The minimum of the high range is got from the location following the Read location. The maximum of the low range is got from the location following the minimum of the high range.

High Range

Blinking Selects this option to blink the display when the current value is in the high range.

Background Color

Specifies the background color used for displaying a value in the high range.

Page 116: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-116

Character Color

Specifies the character color used for displaying a value in the high range.

Low Range

Blinking Selects this option to blink the display when the current value is in the low range.

Background Color

Specifies the background color used for displaying a value in the low range.

Character Color

Specifies the character color used for displaying a value in the low range.

Figure 1-23a Numeric Range dialog box

Page 117: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-117

A Character Display displays a character string (28 characters maximum) stored in a contiguous block of PLC registers.

A 16-bit register can store two characters. A Character Display displays the lower byte before the higher byte. For example, a Character Display that is configured to display registers VW202 through VW212 with 11 characters displays ABC123 if the values of registers VW202 through VW206 are 4241H, 3143H, 3332H, 0000H, 0000H, and xx00H.

Figure 1-24 Character Display dialog box

The following options appear in the dialog box when you configure a Character Display:

Option Description Frame

Style There are 7 options: None, Module(1), Module(2), Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

If you select None, then there is no frame.

Color You can select one of 16 colors as the frame’s color.

Variable

6-6-6. Character Displays

Page 118: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-118

Read Specifies the starting address of a block of contiguous registers from which the Character Display displays the stored character string.

Number Of

Characters

Specifies the number of characters the Character Display displays. The allowable maximum is 80. However, the real limit is the width of the Character Display.

Option Description

Display Format

Font Specifies the character size. There are 12 options: 8x8, 8x16, 16x16, 16x32, 24x24, 24x48, 32x32, 32x64, 48x48, 48x96, 64x64, and 96x96.

Background Color

Specifies the background color. There are 16 options.

Character Color

Specifies the character color. There are 16 options.

Left Aligns the displayed character string to the left.

Center Centers the displayed character string.

Right Aligns the displayed character string to the right.

Blinking Selects this option to blink the display.

Page 119: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-119

Figure 1-24a Character Display example

Page 120: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-120

There are five options of Message display: Prestored Messages, Moving Signs, Time Displays, Date Displays, and Day-of-week Displays.

A). Prestored Message: A Prestored Message display shows one of several pre-stored messages depending on the state of an on/off location or register. Only text is allowed. A pre-stored message can have multi-line text and its background can be colored. A register can have as many as 256 states, if VALUE is selected, 16 states if LSB is selected and 2 states if BIT is selected.

See section 6-3-7-1 "States and Text management" for an explantion of how to increase and decrease the states a Message display can display.

The following options appear in the dialog box when you configure a Prestored Message display:

Option Description Frame

Style There are seven options: None, Module(1), Module(2), Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

6-6-7. Message Displays

Page 121: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-121

Color Specifies the frame color.

Variable

Read Specifies a PLC location that controls the display of pre-stored message. An on/off location must be specified if you select Bit below. A register address must be specified if you select Value or LSB below.

Bit The display has only two states and the Read location is an on/off location.

Value The display takes the register value as the state number; for example, value 0 represents state 0 and value 255 represents state 255. The display can display as many as 256 messages when this option is selected.

LSB The display takes the bit number of the least bit that is on as the state number; for example, binary number 0000000000000100 represents state 2 and binary number 11000011,01000000 represents state 6. The display can display as many as 16 messages when this option is selected. Note that the state of binary number 0 is undefined.

Format Specifies the data format. This is only meaningful when Value option above is selected. There are three options: BCD, Signed Binary, and Unsigned Binary.

Page 122: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-122

Figure 1-25 Message display dialog box

B). Moving Signs: A Moving Sign shows one of several pre-stored messages according to the state of an on/off location or register by shifting that message out from left to right at a rate of 2 characters per second. A register can have as many as 256 states. if VALUE is selected, 16 states if LSB is selected and 2 states if BIT is selected.

The attributes of a Moving Sign are the same as a Prestored Message display. You can create a Speed for a Moving Sign with the following options:

Option Description Speed

Number of characters per shift

Specifies the number of characters per shift, you can choose ass many as 5 characters.

6-6-7-1. Moving Signs

Page 123: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-123

Time between shifts (sec.)

There are four options: 0.5sec, 1.0sec, 1.5sec, and 2.0sec.

Page 124: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-124

C). Time Displays: A Time display shows the time in the Workstation’s real time clock chip. The following options appear in the dialog box when you configure a Time display: The following options appear in the dialog box when you configure a Time display:

Option Description Frame

Style There are seven options: None, Module(1), Module(2), Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame color.

Attribute

HH:MM:SS Displays hour, minute, and second in sequence with the specified separators.

HH:MM Displays hour and minute in sequence with the specified separators.

Font Specifies the character size. There are 8 options: 8x8, 8x16, 16x16, 16x32, 24x24, 24x48, 32x32, and 48x48.

Blinking Selects this option to blink the displayed time.

Background Color

Specifies the background color. There are 16 options.

Character Color

Specifies the character color. There are 16 options.

Left Aligns the displayed time to the left.

Center Centers the displayed time.

6-6-7-2. Time Displays

Page 125: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-125

Right Aligns the displayed time to the right.

Figure 1-25a Time/Date display dialog box D). Date Displays: A Date display shows the date in the Workstation’s real time clock chip.

The attributes of a Date display are almost the same as a Time display. The following options appear in the dialog box when you configure a Date display:

Option Description Attribute

MM/DD/YY Displays month, day, and year in sequence with the specified separators.

DD/MM/YY Displays day, month, and year in sequence with the specified separators.

DD.MM.YY Displays day, month, and year in sequence with the specified separators.

E). Day-of-week Displays: A Day-of-week display shows the day in the Workstation’s real time clock chip.

The following options appear in the dialog box when you configure a Day-of-week display:

Option Description Frame

6-6-7-3. Date Displays

6-6-7-4. Day-of-Week Displays

Page 126: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-126

Style There are seven options: None, Module(1), Module(2), Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame color.

Figure 1-25b Day-of-week display dialog box

Page 127: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-127

You can configure the Workstation to display a register as a bar graph. There are two options of bar graphs: Normal Bar Graphs, and Deviation Bar Graphs.

A). Normal Bar Graphs: The workstation shows bar graphs according to the values of reference registers in P.L.C.

Figure 1-26 Bar graphs dialog box_normal style

6-6-8. Bar Graphs

Page 128: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-128

Figure 1-26a Example of Bar graphs and Deviation Bar Graphs

Page 129: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-129

The following options appear in the dialog box when you configure a Bar Graph:

Option Description Frame

Style There are 5 options: None, Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame’s color.

Attribute

Color Specifies the color for filling the bar graph.

Background Color

Specifies the color of the unfilled part of the bar graph.

Pattern Specifies the pattern for filling the bar graph.

Upward The direction for filling the bar graph is from bottom to top.

Downward The direction for filling the bar graph is from top to bottom.

Rightward The direction for filling the bar graph is from left to right.

Leftward The direction for filling the bar graph is from right to left.

Variable

Read Specifies the register Dn=VW200 to be displayed. The Workstation can display a 16-bit register only.

Format Specifies the data format; there are three options: BCD, Signed Binary, and Unsigned Binary.

Minimum Specifies the minimum the bar graph can display. When the register is equal to or less than the minimum, the bar graph has a length of 0.

Page 130: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-130

Maximum Specifies the maximum the bar graph can display. When the register is equal to or greater than the maximum, the bar graph is the full length.

Variable Target/Range

Limits

Selects this option if the target value and the range limits are read from PLC.

Setting target value 1.Constant(example=50); 2.Variable=Read Dn+1 value(=VW202).

Setting minimum value 1.Constant(example=20); 2.Variable=Read Dn+2 value(=VW204).

Setting maximum value 1.Constant(example=80); 2.Variable=Read Dn+3 value(=VW206).

If the bar graph is configured to display a target line, the Workstation reads two registers for the bar graph:

Read location

Bar Length Dn

Target Value Dn+1

If the bar graph is configured to fill with a different color to indicate the current register value is in the high range or low range, the Workstation reads three registers for the bar graph:

Read location

Bar Length Dn

Low Range Limit Dn+1

High Range Limit Dn+2

Page 131: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-131

If the bar graph is configured to display a target line as well as fill with a different color when the current register value is in the low range or the high range, the Workstation reads four registers for the bar graph:

Read location

Bar Length Dn

Target Value Dn+1

Low Range Limit Dn+2

High Range Limit Dn+3

Target Select this option to display a target line on the bar graph. The position of the target line is determined by the target value.

Target Value

Specifies the constant target value if you select Target and do not select Variable Target/Range Limits.

Target Color

Specifies the color of the target line.

Ranges Select this option to fill the bar graph with a different color when the register value is beyond a normal range.

Low Range Color

Specifies the color with which the bar graph fills when the current register value is equal to or less than the the low range limit.

Low Range Limit

Specifies a constant for the low range limit.

High Range Color

Specifies the color with which the bar graph fills when the current register value is equal to or greater than the high range limit.

High Range Limit

specifies a constant for the high range limit.

Page 132: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-132

B). Deviation Bar Graphs: The Workstation paints a Deviation Bar Graph by filling the area bounded by a standard value and the current register value with the specified color and pattern.

This is different from painting a Bar Graph. The painted area of a Bar Graph is bounded by its minimum and the current register value.

Figure 1-26b Deviation Bar Graph dialog box

The following options appear in the dialog box when you configure a Deviation Bar Graph:

Option Description Frame

Style There are 5 options: None, Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame’s color.

Attribute

Color Specifies the color for filling the bar graph.

6-6-8-1. Deviation Bar Graphs

Page 133: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-133

Background Color

Specifies the color of the unfilled part of the bar graph.

Pattern Specifies the pattern for filling the bar graph.

Vertical The direction for filling the bar graph is vertical.

Horizontal The direction for filling the bar graph is horizontal.

Option Description Variable

Read Specifies the register to be displayed. The Workstation can display a 16-bit register only.

Format Specifies the data format; there are three options: BCD, Signed Binary, and Unsigned Binary.

Minimum Specifies the minimum the bar graph can display.

Maximum Specifies the maximum the bar graph can display.

Variable Std Value/ Deviation Limit

Selects this option if the standard value and deviation limit are read from PLC.

Setting standard value 1.Constant (example=50); 2.Variable=Read Dn+1 value(=VW202).

Setting deviation limit 1.Constant (example=25); 2.Variable=Read Dn+2 value(=VW204).

The Workstation reads the register following the Read location as the standard value.

If you select Deviation Alarm below, the Workstation reads the second register following the Read location as the alarm limit.

Page 134: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-134

Standard Value

Specifies the constant standard value.

Deviation Alarm

Selects this option to fill the bar graph with the alarm color when the difference of current register value and the standard value is beyond the alarm limit.

Alarm Limit Specifies the constant alarm limit.

Alarm Color Specifies the color with which the bar graph fills when the Workstation detects the deviation alarm.

[Example]

Deviation Bar Graph:

0 50 75 100 min=0; max=100;

standard value=50;

current value=75

Bar Graph: 0 75 100 min=0; max=100;

current value=75

Page 135: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-135

The Workstation displays a Trend Graph according to values in series of reference registers. For example, if there are two curves# (1),(2) each showing 25 reference values. The workstation reads 25x2+1 reference registers and displays them as two curves at a time.

Setting reference registers as Dn=vw300 and value in Dn as [m], [m]=25 means that there will shows 25 sampling points on this curve. Dn+1 as Curve (1) first point of Y Direction. Dn+2 as Curve (2) first point of Y Direction. Dn+3 as Curve (1) 2nd point of Y Direction. Dn+4 as Curve (2) 2nd point of Y Direction. Dn+5 as Curve (1) 3rd point of Y Direction. Dn+6 as Curve (2) 3rd point of Y Direction,..................and so on. The workstation reads 51 registers from Dn to Dn+2m in total.

Figure 1-27 Trend Graphs dialog box

6-6-9. Trend Graphs

Page 136: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-136

The following options appear in the dialog box when you configure a Trend Graph:

Option Description Frame

Style There are 5 options: None, Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame’s color.

Attribute

Number of Points

Specifies the maximal number of points every trending curve has. The number of points actually displayed cannot exceed this number.

Background Color

Specifies the background color of the trend graph.

Number of Grids

Specifies how many evenly spaced horizontal grids should be displayed. If the number is less than 2, no grids are displayed.

Grid Color Specifies the color of the horizontal grids.

Control

Trigger Flag No.

Specifies the Trigger Flag that the Workstation watches. The Workstation reads data from PLC and displays the trend graph when that Trigger Flag turns on.

Clear Flag No.

Specifies the Clear Flag that the Workstation watches. The Workstation clears the trend graph when that Clear Flag turns on. See Chapter 3, section 1-2-9 and 1-2-10.

Data

Page 137: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-137

Read Specifies the starting address of a block of registers. The size of that register block is calculated by the following formula:

Size=1+ (Number of Points)*(number of trending curves).(Words)

The first register of the register block specifies how many points every trending curve actually has. If there are N trending curves, then the first N registers starting from the second register of the block contain the data of the first points of all curves, the second N registers contain the data of the second points of all curves, and so on.

Format Specifies the data format; there are three options: BCD, Signed Binary, and Unsigned Binary.

Page 138: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-138

The following table illustrates the data structure for a trend graph with three curves:

Read location-->

Dn=m

Dn+1 1st point of curve #1 Dn+2 1st point of curve #2 Dn+3 2nd point of curve #1 Dn+4 2nd point of curve #2 Dn+5 3rd point of curve #1 Dn+6 3rd point of curve #2 ... .... Dn+2m-1 mth point of curve #1 Dn+2m mth point of curve #2

To specify how to display a trending curve, click the Edit button. The Trend Curve dialog box appears with the following options:

Option Description Data

Minimum Specifies the value corresponding to the lowest point on the trend graph. When the data is equal to or less than the Minimum, the Workstation places the dot at the bottom pixel of the drawing area of the trend graph.

Maximum Specifies the value corresponding to the highest point on the trend graph. When the register is equal to or greater than the Maximum, the Workstation places the dot at the top pixel of the drawing area of the trend graph.

Pen Color Specifies the color of the trending curve.

Line Style Specifies the line style of the trending curve.

Page 139: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-139

Trend Graph example : To show curves representative of pressure changes when the machine changes at short

sampling time intervals for 10msec.. Figure 1-27a The pressure curve of the injection machine

Page 140: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-140

The workstation reads a number of reference registers in the P.L.C., and then display as an X-Y curve on the screen. To create three X-Y curves on the workstation, with each curve having 15 points of read values from reference registers the workstation will read (15x2x3)+1=91 registers. The three curves are displayed on the screen at the same time.

If the starting register of an X-Y curve is Dn, and the values in Dn are [m], where m=number of sampling points. (m=15 means a curve with 15 sampling points.) Then, Dn+1 is the 1st point of X position/ Dn+2 is 1st point of Y position in curve(1), Dn+3 is 1st point of X position/ Dn+4 is 1st point of Y position in curve(2), Dn+5 is 1st point of X position/ Dn+6 is 1st point of Y position in curve(3), Dn+7 is 2nd point of X position/ Dn+8 is 2nd point of Y position in curve(1), Dn+9 is 2nd point of X position/ Dn+10 is 2nd point of Y position in curve(2), Dn+11 is 2nd point of X position/Dn+12 is 2nd point of Y position in curve(3),and so on.

6-6-10. X-Y Charts

Page 141: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-141

Figure 1-28 X-Y chart dialog box

Page 142: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-142

The following options appear in the dialog box when you configure an X-Y Chart:

Option Description Frame

Style There are 5 options: None, Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame’s color.

Attribute

Number of Points

Specifies the maximum number of points that every set of data can have. The number of points actually displayed must not exceed this number.

Background Color

Specifies the background color of the X-Y Chart.

Link Adjacent Points

If this option is selected, every pair of adjacent points is linked by a line segment with the same color as the data points.

Grids The X-Y Chart can have grids drawn on it for ease of locating interested points.

Number of H Lines

Specifies the number of horizontal lines that are drawn for the grids.

Number of V Lines

Specifies the number of vertical lines that are drawn for the grids.

Grid Color Specifies the color of the grids.

Control See Chapter 3, section 1-2-9 and 1-2-10.

Trigger Flag No.

Specifies the Trigger Flag that is used for triggering the X-Y Chart. When your PLC sets the Trigger Flag to on, the Workstation reads data from PLC and re-draws the X-Y Chart.

Clear Flag No.

Specifies the Clear Flag that the Workstation clears the trend graph when that Clear Flag turns on.

Data

Page 143: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-143

Read Specifies the starting address of a block of registers. The size of the Read block is calculated by the following formula: Size = 1+ (Number of Points)*(number of data set #), (Words)

The first register of the Read block specifies the number of points every data set actually has. If there are N data sets, then the first 2*N registers starting from the second register of Read block contain the data of the first points of all data set, the second 2*N registers contain the data of the second points of all data sets, and so on.

Format Specifies the data format; there are three options: BCD, Signed Binary, and Unsigned Binary.

The following table illustrates the data structure of an X-Y Chart with three data sets #1- #3: Read location-

Dn=m

Dn+1 X coordinate of the 1st point of data set #1

Dn+2 Y coordinate of the 1st point of data set #1

Dn+3 X coordinate of the 1st point of data set #2

Dn+4 Y coordinate of the 1st point of data set #2

Dn+5 X coordinate of the 1st point of data set #3

Dn+6 Y coordinate of the 1st point of data set #3

Dn+7 X coordinate of the 2nd point of data set #1

Dn+8 Y coordinate of the 2nd point of data set #1

Dn+9 X coordinate of the 2nd point of data set #2

Dn+10 Y coordinate of the 2nd point of data set #2

Page 144: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-144

Dn+11 X coordinate of the 2nd point of data set #3

Dn+12 Y coordinate of the 2nd point of data set #3

.... ...... Dn+6m-5 X coordinate of the mth point of data set

#1 Dn+6m-4 Y coordinate of the mth point of data set

#1 Dn+6m-3 X coordinate of the mth point of data set

#2 Dn+6m-2 Y coordinate of the mth point of data set

#2 Dn+6m-1 X coordinate of the mth point of data set

#3 Dn+6m Y coordinate of the mth point of data set

#3

To specify how to display a data set, select that data set and click the Edit button. The Data Range And Drawing Style dialog box appears with the following options:

Option Description

Data Range

Vertical Minimum

Specifies the value corresponding to the lowest point on the X-Y Chart. When the X coordinate of a data point is equal to or less than the Vertical Minimum, the Workstation places the data point at the bottom of the drawing area.

Vertical Maximum

Specifies the value corresponding to the highest point on the X-Y Chart. When the X coordinate of a data point is equal to or greater than the Vertical Maximum, the Workstation places the data point at the top of the drawing area.

Page 145: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-145

Horizontal Minimum

Specifies the value corresponding to the most left point on the X-Y Chart. When the Y coordinate of a data point is equal to or less than the Horizontal Minimum, the Workstation places the data point at the left of the drawing area.

Horizontal Maximum

Specifies the value corresponding to the most right point on the X-Y Chart. When the Y coordinate of a data point is equal to or greater than the Horizontal Maximum, the Workstation places the data point at the right of the drawing area.

Drawing Style

Pen Color Specifies the color that is used to draw the data points and linking lines.

Point Size Specifies the width of the data points. Data points are small squares.

Line Style Specifies the style of the line linking adjacent data points.

[example 1]: X-Y chart with one data set #1

Following shows the changes of the single axis motion controller, the Y position as the changes of speed, while the X position as changes of movement.

Page 146: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-146

Figure 1-28a The X-Y chart for the motion control system.

Control method: The S7-200 P.L.C. controls the motion of a motor, records 20 points of speed and movement data, writes to VW302(movement), VW304(speed) separately to be the first point; VW306,VW308 as the 2nd point, ..,and VW378,VW380 as the 20th data. When your PLC writes the value in VW300=20, and sets the control bolck CFR bit 14 to on. The workstation reads 41 words of P.L.C. data at the same time, and then displays as an X-Y curve on the screen.

[Example 2]: X-Y chart with two data sets #1 and #2

An X-Y Chart resulting in a graph as shown below configured with the parameters in Table (a),(b) will display register values as shown in below Table (a),(b) when the FX2 PLC turns on Trigger Flag #3 (Control Block D0).

Page 147: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-147

Table (a), configures parameters in XY chart dialog box

Option Setting Attribute Number of Points=6 Link Adjacent Points =

Yes Grids Number of H Lines=5 Number of V Lines = 6 Data Read=D100 Trigger Flag No.=#3

(D1,bit14) Data Set #1 Data Range Drawing Style

Vertical Minimum = 0 Horizontal Minimum = 0 Pen Color = Blue Line Style:

Vertical Maximum = 400 Horizontal Maximum = 500 Point Size = 1

Data Set #2 Data Range Drawing Style

Vertical Minimum = -2000 Horizontal Minimum = 0 Pen Color: Black Line Style:

Vertical Maximum = 2000 Horizontal Maximum = 50 Point Size = 7

Table (b), sampling register values in PLC

Register Value Remark D100 6 Number of points of every data set D101,D102 0,0 X-Y position of the 1st point of data

set #1 D103,D104 2,-1000 X-Y position of the 1st point of data

set #2 D105,D106 100,300 X-Y position of the 2nd point of data

set #1 D107,D108 10,-

1800 X-Y position of the 2nd point of data set #2

D109,D110 200,100 X-Y position of the 3rd point of data set #1

D111,D112 20,0 X-Y position of the 3rd point of data set #2

Page 148: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-148

D113,D114 300,400 X-Y position of the 4th point of data set #1

D115,D116 40,-1000

X-Y position of the 4th point of data set #2

D117,D118 400,300 X-Y position of the 5th point of data set #1

D119,D120 20,-1600

X-Y position of the 5th point of data set #2

D121,D122 500,0 X-Y position of the 6th point of data set #1

D123,D124 47,1400 X-Y position of the 6th point of data set #2

Page 149: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-149

There are two options for Panel Meters:

A). Round Panel Meter: The Workstation reads a reference register in the PLC and reflects the value on the Round Panel Meter object on the screen.

Figure 1-29 Panel Meter_Round Panel Meter dialog box

6-6-11. Round Panel Meters

Page 150: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-150

Figure 1-29a Target/Range of Panel Meter dialog box

Page 151: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-151

The following options are common for configuration of the Round Panel Meter and the Rectangular Panel Meter:

Option Description Variable

Read Specifies the register Dn=VW100 to be displayed. The Workstation can display a 16-bit register only.

Format Specifies the data format; there are three options: BCD, Signed Binary, and Unsigned Binary.

Minimum Specifies the minimum the panel meter can display. When the register value is equal to or less than the minimum, the indicator points to the minimal position.

Maximum Specifies the maximum the panel meter can display. When the register value is equal to or greater than the maximum, the indicator points to the maximal position.

Indicator Color

Specifies the indicator’s (needle’s) color.

Scale

Color Specifies the color to display the scale.

Number of major ticks

Specifies the number of major ticks on the scale. If the number is less than 2, no major and minor ticks are displayed.

Number of minor ticks

Specifies the number of minor ticks between two adjacent major ticks.

If the number is 0, no minor ticks are displayed.

Display Axis

Select this option to display an arc as the axis of the scale.

Page 152: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-152

Display Mark

Select this option to display marks on the scale. Marks are decimal number with or without decimal point and are displayed by the major ticks.

Font Specifies the character size to display marks. There are only two options: 8x8 and 8x16.

Number of Digits

Specifies the number of digits the marks have.

Decimal Point Position

Specifies the position of the marks . digit after which a decimal point is displayed. If the number is 0, no decimal point is displayed.

Minimum Specifies the minimum of the marks.

Maximum Specifies the maximum of the marks.

Page 153: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-153

To configure the meter to display the target indicator and/or the range scale, click the Target/Range button on the dialog box. The Target/Range of Panel Meter dialog box appears with the following options:

Option Description

Variable target/range

limits

The target value and the range limits are read from PLC if this option is selected.

If the meter has a target indicator, the Workstation reads a block of two words starting from the Read location; the first word is the data to be displayed; the second word is the target value.

If the meter has a range scale, the Workstation reads a block of three words starting from the Read location; the first word is the data to be displayed; the second word is the maximum of the low range; the third word is the minimum of the high range.

If the meter has a target indicator as well as a range scale, the Workstation reads a block of four words starting from the Read location; the first word is the data to be displayed; the second word is the target value, the third word is the maximum of the low range; the fourth word is the minimum of the high range.

Display target indicator

The meter has a target indicator if this option is selected.

Target Value

Specifies the constant target value.

To set target value: 1. Constant (example=50); 2. Variable = values of Dn+1(=VW102 Ex. S7-200)

Page 154: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-154

Target indicator color

Specifies the color of the target indicator.

Display range scale

The meter has a range scale if this option is selected.

Low range color

Specifies the color for painting the low range of the range scale.

Low range limit

Specifies the limit of the low range. To set the Min. value.: 1. Constant (example=20); 2. Variable = value in Dn+2 (=VW104 Ex. S7-200)

High range color

Specifies the color for painting the high range of the range scale.

High range limit

Specifies the limit of the high range. To set the Max. value: 1. Constant (example=90); 2. Variable = value in Dn+3 (=VW106 Ex. S7-200)

Page 155: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-155

B). Rectangular Panel Meter: The Workstation reads a reference register in the PLC and reflects the value on the Rectangular Panel Meter object on the screen.

Figure 1-29b Panel Meter_Rectangular Panel Meter dialog box

Since most of the configuration options are the same for both the Round and the Rectangular Panel Meter please refer back to the settings for the Round Panel Meter described in the previous section. You can create a frame for a Rectangular Panel Meter with the following options:

Option Description Frame

Style Specifies the frame style of the panel meter. There are 7 options: None, Module(1), Module(2), Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the color of the panel meter’s frame.

6-6-11-1. Rectangular Panel Meters

Page 156: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-156

Background Color

Specifies the color inside the frame.

Figure 1-28a Panel Meter_example

Page 157: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-157

You can configure the Workstation to display a register as a pie graph.

Figure 1-30 Pie graphic dialog box The following options appear in the dialog box when you configure a Pie Graph:

Option Description

Attribute

Starting Angle

Specifies the original angle of the pie graph.

Pie Color Specifies the color for filling the pie graph.

Background Color

Specifies the color of the unfilled part of the pie graph.

Pattern Specifies the pattern for filling the pie graph.

Outline Select this option to outline the pie graph.

6-6-12. Pie Graphs

Page 158: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-158

Outline Color

Specifies the color of the pie graph’s border.

Variable

Read Specifies the register to be displayed. The Workstation can display a 16-bit register only.

Format Specifies the data format; there are three options: BCD, Signed Binary, and Unsigned Binary.

Minimum Specifies the minimum the pie graph can display.

Maximum Specifies the maximum the pie graph can display.

Page 159: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-159

There are four options for animated graphics:

A). Dynamic Graphic: An Animated Graphic displays one of several bitmaps depending on the state of a register at a location specified by the two registers following that register. While the first register specifies the state the following two registers specify the X and Y postion of the bitmap selected. By combining the values in these three registers under PLC control the programmer can simulate state and motion information on the display screen.

You can place up to 16 Animated Graphics on a screen.

Figure 1-31 Dynamic Graphic dialog box

The following options appear in the dialog box when you configure an Animated Graphic:

Option Description Variable

6-6-13. Animated Graphics

Page 160: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-160

Read Specifies the starting address of a three-word block which controls the display of the Animated Graphic. The first word of the block specifies the state; the second word and the third word of the block specify the horizontal and vertical position respectively at which the Animated Graphic is displayed. The coordinate of the upper-left corner of the screen is (0,0). The coordinate of the lower-right corner of the screen is (639, 479).

Value Specifies that the register value is taken as the state number; for example, value 0 represents state 0 and value 255 represents state 255. The Animated Graphic can have as many as 256 bitmaps(states) when this option is selected.

Option Description

LSB Specifies that the bit number of the least bit of the register that is on is taken as the state number; for example, binary number 0000000000000001 represents state 0 and binary number 1101101100110000 represents state 4. The Animated Graphic can have as many as 16 bitmaps(states) when this option is selected. Note that the state of binary number 0 is undefined.

Format Specifies the data format. This is only meaningful when Value option above is selected. There are three options: BCD, Signed Binary, and Unsigned Binary.

State

Number of States

Specifies how many states(bitmaps) the Animated Graphic has.

Page 161: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-161

B). A State Graphic displays one of several bitmaps depending on the state of a register.

Figure 1-31a State Graphic dialog box

6-6-13-1. State Graphics

Page 162: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-162

The following options appear in the dialog box when you configure a State Graphic:

Option Description Variable

Read Specifies a register or on/off location that saves the state for the State Graphic.

Bit Specifies that the State Graphic has only two states and the Read location is an on/off location.

Value Specifies that the Read location is a register and the register value is taken as the state number; for example, value 0 represents state 0 and value 255 represents state 255. The State Graphic can have as many as 256 bitmaps(states) when this option is selected.

LSB Specifies that the Read location is a register and the bit number of the least bit of the register that is on is taken as the state number; for example, binary number 0000000000000001 represents state 0 and binary number 1100001000000000 represents state 9. The State Graphic can have as many as16 bitmaps(states) when this option is selected. Note that the state of binary number 0 is undefined.

Format Specifies the data format. This is only meaningful when Value option above is selected. There are three options: BCD, Signed Binary, and Unsigned Binary.

State

Number of States

Specifies how many states(bitmaps) the State Graphic has.

Eraser

Page 163: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-163

Erase Previous Bitmap

If this option is selected the Workstation erases the previous bitmap by filling that bitmap’s bounding rectangular area with the pattern and colors defined in the following three options, before displaying the bitmap of current state.

If this option is not selected, the Workstation just displays the bitmap of current state over the previous bitmap.

Pattern Type

Specifies the fill pattern for erasing previous bitmap.

Foreground Color

Specifies the color used to paint the black part of the fill pattern when erasing previous bitmap.

Background Color

Specifies the color used to paint the white part of the fill pattern when erasing the previous bitmap.

Page 164: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-164

C). A Dynamic Rectangle can change its position, size, and/or color according to its controlling registers.

Figure 1-31b Dynamic Rectangle dialog box

The following options appear in the dialog box when you configure a Dynamic Rectangle:

Option Description Variable

Read Specifies the address of a register or the starting address of a block of registers that control the display of the Dynamic Rectangle.

Format Specifies the data format of register values. There are three options: BCD, Signed Binary, and Unsigned Binary.

6-6-13-2. Dynamic Rectangles

Page 165: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-165

Variable Position

The position of the Dynamic Rectangle is changeable if this option is selected. The upper-left corner’s horizontal and vertical coordinates of the Dynamic Rectangle are determined by the first and second register following the two registers for the width and height parameters. The unit of coordinates is one pixel. You don’t have to allocate registers for the position parameters if this option is not selected.

Option Description Variable Size

The size of the Dynamic Rectangle is changeable if this option is selected. The width and height of the Dynamic Rectangle are determined by the first and second register of the register block specified in Read box. The unit of size is one pixel. You don’t have to allocate registers for the width and height parameters if this option is not selected.

Variable Color

The foreground pattern color of the Dynamic Rectangle is changeable if this option is selected. The color is determined by the register following the register for vertical coordinate. You don’t have to allocate a register for the color parameter if this option is not selected.

Use the following value to specify a color:

0 – Black 1 – Blue 2 – Green 3 – Cyan 4 – Red 5 – Magenta 6 – Brown 7 – Gray

8 - Dark gray 9 - Light blue 10 - Light green 11 - Light cyan 12 - Light red 13 - Light magenta 14 - Yellow 15 - White

Page 166: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-166

Anchor Point

If you do not select the Variable Position option, you have to select one of the four corner points of the Dynamic Rectangle as the anchor point. The Dynamic Rectangle keeps the anchor point fixed when changes its size.

Rectangle

Outlined The Dynamic Rectangle is outlined with a specified color if this option is selected.

Outline Color

Specifies the outline color.

Pattern Type

Specifies the pattern that is used to fill the Dynamic Rectangle.

Foreground Color

Specifies the color used to paint the black part of the fill pattern when drawing the Dynamic Rectangle.

Background Color

Specifies the color used to paint the white part of the fill pattern when drawing the Dynamic Rectangle.

Eraser Before changing the size or position, the Workstation erases the Dynamic Rectangle by filling the area of it with the pattern and colors defined in the following three options.

Option Description Pattern Type

Specifies the pattern that is used to erase the Dynamic Rectangle.

Foreground Color

Specifies the color used to paint the black part of the fill pattern when erasing the Dynamic Rectangle.

Background Color

Specifies the color used to paint the while part of the fill pattern when erasing the Dynamic Rectangle.

The size and contents of the register block that

Page 167: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-167

controls a Dynamic Rectangle depending on the selection of options of Variable Size, Variable Position, and Variable Color are explaind below. The following example shows all possible register blocks with corresponding selections of those options:

Figure 1-31b shows VW420 as the starting register address for this example. When all options are selected then the position, size and color of the dynamic rectangle are changeable. The Workstation will read five data registers at a time. (Dn……Dn+4) (VW420, VW422, VW424, VW426, VW428 Ex.S7-200). Please note that this example is using a Siemens PLC so the registers are VW420, VW 422, VW 424, VW 426, VW 428 in progression.

variable size

variable

position

variable color

Dn =width

Dn+1=height

Dn+2=X

Dn+3=Y

Dn+4=color

fixed size

variable

position variable color Dn =X

Dn+1=Y Dn+2=color

variable size

variable

position

fixed color

Dn =width

Dn+1=height

Dn+2=X

Dn+3=Y

fixed size

variable

position fixed color Dn =X

Dn+1=Y

variable size

fixed position

variable color

Dn =width

Dn+1=height

Dn+2=color

fixed size

fixed position variable color Dn =color

variable size

fixed

position fixed color Dn =width

Dn+1=height

Page 168: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-168

D). A Dynamic Circle can change its position, radius, and/or color according to its controlling registers.

Figure 1-31c Dynamic Circle dialog box

The following options appear in the dialog box when you configure a Dynamic Circle:

Option Description Variable

Read Specifies the address of a register or the starting address of a block of registers that control the display of the Dynamic Circle.

Format Specifies the data format of register values. There are three options: BCD, Signed Binary, and Unsigned Binary.

6-6-13-3. Dynamic Circles

Page 169: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-169

Variable Central Point

The central point of the Dynamic Circle is changeable if this option is selected. The horizontal and vertical coordinates of the central point are determined by the first and second register following the register for the radius. The unit of coordinate is one pixel. You don’t have to allocate registers for the central point if this option is not selected.

Option Description Variable Radius

The radius of the Dynamic Circle is changeable if this option is selected. The radius of the Dynamic Circle is determined by the first register of the register block specified in the Read box. The unit of size is one pixel. You don’t have to allocate a register for the radius if this option is not selected.

Variable Color

The foreground pattern color of the Dynamic Circle is changeable if this option is selected. The color is determined by the register following the register for vertical coordinate of the central point. You don’t have to allocate a register for the color if this option is not selected.

Use the following value to specify a color:

0 – Black 1 – Blue 2 – Green 3 – Cyan 4 – Red 5 – Magenta 6 – Brown 7 – Gray

8 - Dark gray 9 - Light blue 10 - Light green 11 - Light cyan 12 - Light red 13 - Light magenta 14 - Yellow 15 - White

Circle

Page 170: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-170

Outlined The Dynamic Circle is outlined with a specified color if this option is selected.

Outline Color

Specifies the outline color.

Pattern Type

Specifies the pattern that is used to fill the Dynamic Circle.

Foreground Color

Specifies the color used to paint the black part of the fill pattern when drawing the Dynamic Circle.

Background Color

Specifies the color used to paint the white part of the fill pattern when drawing the Dynamic Circle.

Eraser Before changing the size or position, the Workstation erases the Dynamic Circle by filling it with the pattern and colors defined in the following three options.

Pattern Type

Specifies the pattern that is used to erase the Dynamic Circle.

Foreground Color

Specifies the color used to paint the black part of the fill pattern when erasing the Dynamic Circle.

Background Color

Specifies the color used to paint the white part of the fill pattern when erasing the Dynamic Circle.

Page 171: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-171

The size and contents of the register block that controls a Dynamic Circle depends on the selection of options; Variable Radius, Variable Central Point, and Variable Color. The following example shows all possible register blocks with corresponding selections of those options:

For example if VW430 is again taken as the starting address and center, radius, and colors are changeable, then the Workstation will read four data registers at a

variable

radius

variable

central point

variable color

Dn = radius

Dn+1=X

Dn+2=Y

Dn+3=color

fixed radius variable

central point variable color Dn =X

Dn+1=Y Dn+2=color

variable

radius

variable

central point

fixed color

Dn = radius

Dn+1=X

Dn+2=Y

fixed radius variable

central point fixed color Dn =X

Dn+1=Y

variable

radius

fixed central

point

variable color

Dn = radius

Dn+1=color

fixed radius fixed central

point variable color Dn =color

variable

radius

fixed central

point

fixed color

Dn = radius

Page 172: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-172

time(Dn….Dn+3).(S7-200 VW430,VW432,VW434,VW436)

Figure 1-31d Dynamic Circle

Page 173: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-173

To use Historical Trend Graphs; first assign a reference logging buffer size and area. A logging buffer is an area in RAM where sampled data from the PLC is stored. The logging buffer configuration is found in Workstation Setup under Application on the Menu Bar. (Reference section 6-8-1-1.)

Figure 1-32 Logging Buffer dialog box

a). Data (Source Address) source: This is the address of a single register or block of registers which are to be logged. Up to twelve logging buffers can be created. The address entered is the address of the register to be logged or the starting address of a block of registers when a number registers are to be read in a block from the S7-200 PLC. In the example above, Figure 1-32, VW480 is the start position.

6-6-14. Historical Trend Graphs Logging Buffers

Page 174: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-174

b). Size and Total: A size of 4 means there are 4 registers in the block to be read, which in this example are; VW480, VW482, VW484 and VW486.

c). Recorded sum is Max. sampling numbers which save in logging buffer area. For example, sum=3000 means four words and sampling 3000 times.

d). Auto-stop: Choosing auto-stop means when the number of samples reaches 3000 the Workstation will stop sampling. Otherwise, it will keeping sampling and the 3001 sampled data will overwrite the 1st sampled result.

e). Trigger: Sampling can be periodic, on a time base, or triggered by the PLC. The Logging Butter gets data from the PLC every five seconds.

Page 175: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-175

There are three options in historical trend.

A). A Historical Trend Graph displays the data in a Logging Buffer as a trend graph.

Figure 1-32a Historical Trend Graphs dialog box

The following options appear in the dialog box when you configure a Historical Trend Graphic:

Option Description

6-6-14-1. Historical Trend Graph

Page 176: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-176

Frame

Style There are 5 options: None, Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame’s color.

Attribute

Background Color

Specifies the background color of the trend graph.

Number of Grids

Specifies how many evenly spaced horizontal lines shall be displayed. If the number is less than 2, no lines are displayed.

Grid Color Specifies the color of the horizontal grids.

Time/Date Display

The Historical Trend Graph can display the time and/or date of the left most point(s) and the right most point(s) of the currently shown trending curve(s). You can also specify the format and color of the time and date display.

Logging Buffer #1~#12

Specifies the number of the logging buffer where the historical data is stored.

Data

Logging Buffer #1~#12

Specifies the number of the logging buffer where the historical data is stored.

Format Specifies the data format; there are three options: BCD, Signed Binary, and Unsigned Binary.

Control Buttons

Style Specifies the control buttons_frame style.

Color Specifies the color of the control buttons_frame.

Background Color

Specifies the background color of the control button labels.

Page 177: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-177

Scroll Select this option to display four push buttons: Left button, Fast Left button, Right button, and Fast Right button. Left button moves the view of trending curves toward the earliest point by one point. Right button moves the view of trending curves toward the latest point by one point. Fast Left button moves the view of trending curves toward the earliest point by about a half page worth of points. Fast Right button moves the view of trending curves toward the latest point by about a half page worth of points.

Rewind Select this option to display a Begin button and an End button. The Begin button displays the earliest data in the logging buffer when pressed and released. The End button displays the latest data in the logging buffer when pressed and released.

Pause Select this option to display a Pause button. The Pause button disables the Historical Trend Graph from updating itself when pressed and released. To enable the updating of the graph, press the Pause button again and release.

Clear Select this option to display a Clear button. The Clear button clears the logging buffer when pressed and released.

To specify how to display a trend graph, select that trend graph and click the Edit button. The Trend graph dialog box appears with the following options:

Option Description Data

Page 178: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-178

Word No. Specifies the number of the word in the data record that will be displayed by this trending curve. The number of the first word is 0, the number of the second word is 1, and so on.

[Example]: Assume that a Historical Trend Graph is configured to display the data in a Logging Buffer that collects data from VW480 with a length of 4. To configure a trending curve to display data from VW480, enter 0 for its “Word no.”. To configure a trending curve to display data from VW486, enter 3 for its “Word no.”

Minimum Specifies the value corresponding to the lowest point on the trend graph. When the data is equal to or less than the Minimum, the Workstation places the dot at the bottom pixel of the drawing area of the trend graph.

Maximum Specifies the value corresponding to the highest point on the trend graph. When the register is equal to or greater than the Maximum, the Workstation places the dot at the top pixel of the drawing area of the trend graph.

Pen Color Specifies the color to draw the trending curve.

Line Style Specifies the line style of the trending curve.

Page 179: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-179

B). A Historical Data Table displays numeric data recorded in a Logging Buffer.

Figure 1-32b Historical Data Table dialog box

6-6-14-2. Historical Data Table

Page 180: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-180

Figure 1-32c Historical Data Table_Data Fields Attribute dialog box The following options appear in the dialog box when you configure a Historical Data Table:

Option Description Frame

Style There are 5 options: None, Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame's color.

Attribute

Number of Data Fields

Specifies how many data fields you want to display numeric data. A Historical Data Table can have up to 10 data fields.

Field Attribute...

This is a control button that allows you to get Field Attribute dialog box to specify attributes of the data fields. See the following subsection, ‘Specifying Attributes of Data Fields’, for details.

Font Specifies the size of characters used to display numeric data.

Background Color

Specifies the background color of the Historical Data Table.

Time/Date Display

Date Select this option to display the date when a record was recorded. The Logging Buffer must be configured to have date stamp.

Time Select this option to display the time when a record was recorded. The Logging Buffer must be configured to have time stamp.

Time/Date Format...

This is a control button that allows you to get access to the Time/Date Format dialogue box to specify the format of time/date display.

Page 181: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-181

Character Color

Specifies the color used to display time and date.

Data

Logging Buffer #1~#12

Specifies the number of the logging buffer where the numeric data is stored.

Control Buttons

Style Specifies the control buttons' frame style.

Color Specifies the color of the control buttons' frame.

Background Color

Specifies the background color of the control buttons' label.

Option Description

Scroll Select this option to display four push buttons: Up button, Down button, Fast Up button, and Fast Down button. Up button moves the view of data records toward the earliest record by one record. Down button moves the view of data records toward the latest record by one record. Fast Up button displays the previous page of data records. Fast Down button displays the next page of data records.

Pause Select this option to display a Pause button. The Pause button prohibits the Historical Data Table from updating itself when pressed and released. To enable the updating of the table, press the Pause button again and release.

Page 182: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-182

Rewind Select this option to display a Begin button and an End button. The Begin button displays the earliest data records in the logging buffer when pressed and released. The End button displays the latest data records in the logging buffer when pressed and released.

Clear Select this option to display a Clear button. The Clear button clears the logging buffer when pressed and released.

Specifying Attributes of Data Fields

The Workstation reads data from the reference locations in the PLC. The data is saved in the associated Logging Buffer and then converted and displayed as a Historical Data Table on the screen. There is a Field Attribute button on the Attribute box in the Historical Data Table dialog box. Clicking on the Field Attribute button opens the dialog box to enable specification of the attributes of the data fields.

The following options appear in the Field Attribute dialog box:

Option Description

Starting Position

Specifies the position of a data field in the table. If you specify a number N for a data field, that data field starts at a position that is N+1 characters away from the time/date display if any; if there is no time/date display, then that data field is N characters away from the left border of the table. Usually we specify 0 for the first data field.

Data Size Specifies the data size. The number 1 refers to single word data and the number 2 refers to double word data.

Page 183: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-183

Word No. Specifies which data is to be displayed. If you specify a number N for a data field, that data field displays the data of the (N+1)th word in the data records of the associated Logging Buffer. Note that the number of the first word in the data record is 0, the number of the second word is 1, and so on. If a data field is configured to display a double word data, the specified word is taken as the low word and the word following the specified word is taken as the high word.

[Example]

Assume that a Historical Data Table is configured to display the data in a Logging Buffer that collects data from VW480 with a length of 4. To configure a field to display data from VW480, enter 0 for its “Word No.”. To configure a field to display data from VW484, enter 2 for its “Word No.”. Example for S7-200 PLC.

Data Format Specifies the data format; there are four options: BCD, Signed Binary, Unsigned Binary, and Hexadecimal.

Display Color

Specifies the character color of a data field.

Leading Zeros

Select this option to display leading zero(s).

Decimal Point Position

See the section describing Numeric Entries for details.

Integral Digits

See the section describing Numeric Entries for details.

Fractional Digits

See the section describing Numeric Entries for details.

The following example is a Historical Data Table with

Page 184: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-184

scroll buttons and rewind buttons; the first and second column of this table display the time and date when a record was logged; the third and fourth column are data fields with different display formats.

Figure 1-32d Historical Data Table_example

Page 185: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-185

C). A Historical Event Table lists events recorded in a Logging Buffer by displaying their corresponding event messages.

A Logging Buffer records historical events by recording event codes. Since you know and have to know every possible event that will take place, you can assign each type of event a unique code. It is easier and less memory consuming for a Logging Buffer to record an event by recording that event’s code. A Historical Event Table displays recorded event codes by displaying their corresponding event messages. To specify an event message for each event code is also essential for

configuring an Historical Event Table. The way to specify an event message for an event code is exactly the same as specifying a state message for a state number when you configure a Push Button or Prestored Message Display.

Figure 1-32e Historical Event Table dialog box

The following options appear in the dialog box when you

6-6-14-3. Historical Event Tables

Page 186: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-186

configure a Historical Event Table:

Option Description Frame

Style There are 5 options: None, Outlined(1), Outlined(2), Recessed(1), and Recessed(2).

Color Specifies the frame’s color.

Option Description

Text

Font Specifies the size of characters used to show event messages.

Bk/Gd Color Specifies the background color of the Historical Event Table.

Data

Logging Buffer #1~#12

Specifies the number of the logging buffer where the codes of historical events are stored.

Value If the event code is of type Value, only one word is needed to record an event , and the code of an event is just the message number for that event. You can have as many as 32767 event messages when this option is selected.

For example, the Historical Event Table displays message #1234 for the event whose code is 1234.

LSB If the event code is of LSB type, a number of words are needed to record an event, and the bit number of the least significant bit of these words determines the message number. You can have as many as 256 event messages when this option is selected.

Page 187: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-187

For example, ten words (160 bits) are required to record a set of events if that set has 155 different events. For another example, if an event code has three words and the value of words 0 through 2 are 0000H, 8040H, and 00FFH respectively, then the message for this event is #22.

Format Specifies the data format. This is only meaningful when Value option above is selected. There are three options: BCD, Signed Binary, and Unsigned Binary.

Status Display

Date Select this option to display the date when an event was recorded. The Logging Buffer must be configured to have date stamp.

Time Select this option to display the time when an event was recorded. The Logging Buffer must be configured to have time stamp.

Character Color

Specifies the color used to display time and date.

Option Description

Control Buttons

Style Specifies the control buttons frame style.

Color Specifies the color of the control buttons frame.

Background Color

Specifies the background color of the control buttons_ label.

Page 188: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-188

Scroll Select this option to display four push buttons: Up button, Down button, Fast Up button, and Fast Down button. Up button moves the view of event messages toward the earliest event by one event. Down button moves the view of event messages toward the latest event by one event. Fast Up button displays the previous page of event messages. Fast Down button displays the next page of event messages.

Rewind Select this option to display a Begin button and an End button. The Begin button displays the earliest events in the logging buffer when pressed and released. The End button displays the latest events in the logging buffer when pressed and released.

Clear Select this option to display a Clear button. The Clear button clears the logging buffer when pressed and released.

Figure 1-32e Historical Event Table_example

Page 189: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-189

The Workstation features a number of alarm display options. To use the alarm display option we must first configure the Alarm Setup in the Workstation. (Reference section 6-8-2.)

Specification of an alarm display object requires:

a). Assigning the Address of an Alarm Block and the Number of Alarms. An alarm address block is a location in the PLC which the Workstation samples to ascertain the state of the alarms configured.

To use a bit as a corresponding alarm address, for example, if VW460 is the start position then alarm number 0 = bit V461.0 (using Siemens S7-200 as an example). When bit V461.0 turns on, the Workstation will sample and record an alarm message. If the Number of Aalarms is set at 160, the Workstation will monitor 160 bits=10 words (this corresponds to V460.0,V460.1,..V461.0,V461.1…......V461.7,V462.0.....V478.7,V479.0,V479.1,......V479.7 Ex. S7-200).

b). Scan time (sec.) is the alarm block sampling cycle used by the Workstation.

c). Number of Records in Alarm History Buffer: This is the maximum number of events stored in the alarm buffer. For example 100 means when the 101st alarm event happens the 1st alarm message will be overwritten.

6-6-15. Alarm Display Alarm Setup

Page 190: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-190

Figure 1-33 Alarm Setup dialog box

Page 191: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-191

There are three alarm display options:

A). Alarm history table: The Workstation will read the reference bits in the PLC, activate the corresponding alarm massages and show them on the screen in sequence as an alarm history table. With the scroll and rewind buttons, it is convenient to view all the history records. The last column "S" of the table indicates the status of alarms. Character "A" indicates an alarm become active and Character "C" indicates an alarm become clear.

Figure 1-33a Alarm History Table dialog box

B). Active alarm list: The Active Alarm List displays only the active alarms that the Workstation has seen since the power up. When an alarm become clear, its message will be erased from the list. Scroll and rewind buttons are available.

6-6-15-1. Alarm History Table

6-6-15-2. Active Alarm List

Page 192: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-192

Figure 1-33b Active Alarm List dialog box

Page 193: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-193

C). Alarm frequency table: The Alarm Frequency Table displays the number of occurrence of each alarm. The maximum occurrence can be reached is 65535. The frequency are stored in the Alarm Frequency Buffer which is located in the battery backed RAM. If an application has n alarms, then the buffer occupies n words of

battery backed RAM. The Workstation displays alarm event numbers statistically on its screen.

Figure 1-33c Alarm Frequency Table dialog box

6-6-15-3. Alarm Frequency Table

Page 194: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-194

Alarm display example:

Figure 1-33d Alarm Display example

Page 195: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-195

Adp3 provides functions to assist in the creation of a user friendly layout. There are five specific functions concerned with the static appearence of the screen and therefore do not involve dynamic data from the PLC.

1.Graphic Primitive: To edit static geometric graphics, select from a variety of function buttons on the graphic primitive editing tool bar. There are line, square, circle, arc, outline of frame and linetype functions.

Figure 1-34a Graphic Primitive

2. Static Text

3. Frame/ Edge

4. Static Graphic

Graphic Primitive

6-6-16. Static Display Objects

Static Graphic

Static Text

Page 196: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-196

5. Scale

Figure 1-34b Static Display Object_Scale dialog box

Figure 1-34c

Figure 1-34d

Page 197: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-197

In the past, if several screens needed the same object, you configure the object for each of those screens. This wasted memory and disk space on your PC. When you want to modify such object, you go to each screen and repeat the process of the modification. This wastes time and is not a reliable process. Now, ADP3 allows you to create global objects for solving these problems. Global Objects are an excellent way of creating objects which must be used repeatedly. When a global object is modified each instance of its use is also modified thus making for much quicker program alterations.

Figure 1-35a Global Object dialog box_Moving Sign

6-6-17. Global Objects

Page 198: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-198

For example, a moving sign object could be used in an text message.

Figure 1-35 Moving Sign_Global Object_screen design example The method to create global objects is shown in the following steps:

1. Create a moving sign object as usual.

2. Select this object.

3. Select "Global Object" in the Object pop up menu and the Global Object dialog box appears.

4. Select New to create a new global in the global object dialog box.

5. Specify a unique global object name for this object.

6. Click Done button and close the Global Object dialog box.

You can move, resize, or modify the configuration of this global object. Note that any changes applies to

Page 199: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-199

every copy of this global object on other screens.

The way to specify a Global Object for a moving sign message is exactly the same as specifying a state message for a state number when you configure a Moving

Sign Message Display.

Figure 1-35b Global Object_Moving Sign inner text_total 100 states

Page 200: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-200

ADP3 allows you to use a screen grid to size and position screen objects. You can turn the grid on or off and size the grid in increments of pixels. The Snap to Grid feature forces each screen object to the nearest intersection of the grid.

To show the grid, choose Grid from the Align menu. A check mark appears next to Grid when it's active. Choose Grid again to hide the grid. The grid displays with the current grid attributes.

To snap objects to the grid, choose Snap to Grid from the Align menu. A check mark appears next to the command when it's active. Choose Snap to Grid again to turn the feature off.

In Align menu choose Grid Attribute, ADP3 displays a grid attribute dialog box. You can declare the width-X and the height-Y of the alignment grid.

1. Choose Grid Attributes from the Align menu. The Grid Attributes dialog box appears

2. Enter a number in X box to specify the spacing of the grid lines on the X-axis. A value of 4 creates horizontal grid lines every 4 pixels.

3. Enter a number in Y box to specify the spacing of the grid lines on the Y-axis. A value of 4 creates vertical grid lines every 4 pixels.

4. Select one of 16 colors in Grid Color box as the grid color.

5. Click the OK button.

6-7. Aligning Screen Objects

6-7-1. Grid Attribute

Page 201: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-201

Figure 1-36 Grid Attribute dialog box

Figure 1-36a

Page 202: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-202

Choose "Application" from the Menu Bar (or press [ALT]+[P]), ADP3 shows the Application menu. See figure 1-37. The application menu is a general management area for the Workstation and the ADP3 software. This menu enables basic setting information to be configured for the workstation such as PLC type, workstation type and the logging buffers. It also provide the functionality for the default set up of the ADP3 configuration software. Finally it provides the functionality for compiling the application program and downloading it to the workstation.

Figure 1-37 Application menu

6-8. Applications

Page 203: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-203

Figure 1-37-1

Page 204: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-204

Figure 1-37a Workstation Setup dialog box

Page 205: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-205

To set up the Workstation, choose Workstation Setup from the Application menu.

The following attributes appear in the Workstation Setup dialog:

Attribute Description

Application Name

You can enter up to 128 characters as the application name.

Workstation Type

Specifies the model of your Workstation.

PLC Type Specifies the type of PLC the Workstation will talk to.

Default PLC communication parameter

The ADP3 assigns default communication parameter to a new application when you create it if the PLC you select for the new application is different from the previously loaded application. If the PLC selected for a new applicaion is the same as the previously loaded one, the ADP3 assigns the communication parameters of the previous one to the new application.

6-8-1. Workstation Setup

Page 206: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-206

Printer Type Specifies the type of Printer the Workstation will print to.

1. EPSON compatible (9-pin impact) This driver can work for almost all EPSON dot-matrix printers and their compatibles. The printed image is a black and white image. No grey scaling is applied. Printed as black - black, blue, green, cyan, red, magenta, brown, dark gray Printed as white - white, gray, light blue, light green, light cyan, light red, light magenta, yellow 2. HP LaserJet (3 grey scales) This driver can work for almost all HP LaserJet and InkJet printers and their compatibles. Printed as black - black Printed as white - white Printed as 25% black - all other 14 colors 3. HP LaserJet (16 grey scales) This driver can work for almost all HP LaserJet and InkJet printers and their compatibles. Note that the maximum printable screen image is 580(H) x 480(V) pixels.

Default Startup Screen

Specifies the screen the Workstation will display after power up if no screen is specified by the PLC.

Attribute Description

Page 207: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-207

Multi-language supported

With multi-lingual support, you can maintain only one application file for a machine that supports up to five languages. Also, this feature seems very helpful for machines installed in those countries that have more than one official language. The multi-lingual support accomplishes these simply by allowing you to edit up to five sets of text for your application. If you use different language for each set of text, your application can easily support up to five languages.

Number of languages

Specify how many languages your application will support. It is better not to specify more than what you need.

Startup Language

Specify the language your Workstation uses to display the startup screen and the following screens before the operator selects another language.

If user wants to Change Language in the Run Time. You can place an "Select Language N" Action button on a screen to allow the operator to select language N in the run time. Once the operator pushes that Action button, the Workstation displays text in language N afterward.

Control Block Address

Specifies the starting address of the Control Block. The control block enables the PLC to control actions on the Workstation through the PLC program; for example, change screen, print out, hardcopy, recipe transmission and so on. The minimum number of words used in the control block is 2. The maximum number of words used is 32 Words. The size of the control block varies according to the functionality required. If recipe functionality is used, the minimum length is 6 Words.

Page 208: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-208

Control Block Size

Specifies the size of Control Block. The unit is a word, For specifics on the Control Block and the meaning of the various locations, see Chapter 3.

Status Block Address

Specifies the starting address of Status Block. It’s a continuous data block. Total length is 6 Words. It provides a two-way communication between the workstation and the PLC. The Workstation will feedback screen status information by writing data into status addresses, see Chapter 3.

Default Data Format

Specifies the data format of the numbers in Screen Number Register, Screen Status Register, and Recipe Number Register. Also specifies the default for data format attributes in screen objects.

Page 209: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-209

Notes for Battery Backed RAM

All models of PWS-1200/1700 and PWS-3100/3700 have the memory IC's installed for the Battery Backed RAM. However, only the PWS-1220/1720 and PWS-3120/3720 have the necessary components and battery installed inside. This means your other models of PWS-1200/1700/3100/3700 can work the same as the PWS-1220/1720/3120/3720 except that the data in the Logging Buffers, the recipe data, the alarm history, and the alarm frequency will be lost after power down. There are 32,638 words available in the Battery Backed RAM which can be used by the application. It is important to allocate the memory space for your Logging Buffers, recipe data, Alarm History Buffer, and Alarm Frequency Buffer. The following describes how to calculate the size required for each entity in the Battery Backed RAM. 1) Logging Buffers

a) Logging Buffer without time and date stamps

Record size=M ----+

Record total=N ----+--> Size of Logging Buffer=N*M words

b) Logging Buffer with either time or date stamp

Record size=M ----+

Record total=N ----+--> Size of Logging Buffer=N*(M+2)words

c) Logging Buffer with both time and date stamp

Record size=M ----+

Record total=N ----+--> Size of Logging Buffer=N*(M+3)words

Size of Logging Buffers is the sum of the size of each Logging Buffer.

2) Recipe Data

Recipe size=M ----+

Maximum number of recipes=N -+-> Size of memory for recipes=N*M words

Page 210: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-210

The purpose of Logging Buffers is to collect historical data. A Logging Buffer collects data from fixed and contiguous locations in the PLC when it is triggered. You can configure a Logging Buffer to be triggered either by a timer on the Workstation or by the PLC.

To create Logging Buffers, click the Logging Buffer button in the Workstation Setup dialog box. The Logging Buffers dialog box appears to allow you to create up to 12 Logging Buffers.

Specify the size of the logging buffer which is a continuous data block. (Only in consolidated Workstation has battery backup RAM), the workstation can have a long-term sampling from P.L.C. register and save in logging buffer one by one periodically. The Workstation reads data from logging buffer as needed in history message object.

Figure 1-37b Logging Buffer dialog box

6-8-1-1. Creating Logging Buffers

Page 211: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-211

The RAM size available for Battery Backed RAM is 32,638 words, so the total size of your Logging Buffers can not exceed that size.

The Logging Buffer must be set up in order for any historical objects to be used in a screen.

Page 212: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-212

A Logging Buffer has the following attributes:

Attribute Description

Source Address

Specifies the starting address of a block of registers in the PLC from which the Logging Buffer reads data.

Record

Size Specifies the size of a record in the Logging Buffer. Each unit of size is a word. The maximum you can specify is 32 words. A Logging Buffer reads one record of data from the PLC at a time.

Total Specifies the maximal number of records the Logging Buffer can have. The maximum is 9999.

Stamp

Time Select this option so that the Logging Buffer saves the time when it get data for each record of data.

Date Select this option so that the Logging Buffer saves the date when it get data for each record of data.

Auto Stop The Logging Buffer stops collecting data after its buffer is full if this option is selected. For example, the Logging Buffer stops collecting data after it reads 100 records of data from the PLC if Record Total is 100 and Auto Stop is selected.

The Logging Buffer will not stop collecting data and will discard the oldest record to save the newest record after its buffer is full if this option is not selected.

For example when the 101st data records reads the 1st data will be overwritten.

Page 213: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-213

Triggered By Select Timer if you want the Logging Buffer to collect data on a time base. Select PLC if your PLC triggers the Logging Buffer to collect data.

Time Interval

This attribute is valid only when you select Timer for Triggered By. It specifies how often the Logging Buffer gets one record of data from the PLC. Each unit of time is 1 second; if you enter 60 for this attribute, the Logging Buffer gets data from the PLC every 1 minute. The maximum you can specify is 3600 seconds.

Non-volatile Select this option to keep the data in the Logging Buffer non-volatile memory when power is off. Only PWS1220/ 1720/3020/3120/3720 support this option, as other models do not have a battery to retain the log memory. The Workstation clears those Logging Buffers that are volatile when power is off.

Page 214: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-214

To set up the parameters for the communications between your Workstation and PLC, use the Communication Parameter dialog box which is accessed by clicking the Communications button in the Workstation Setup dialog box. The parameters you set must transmit correctly to the Workstation along with all other data when you downlaod an application or it will cause communication failure. For example, the communication parameter of an FX2 PLC is 9600bps, 7, even, 1 stop bit, RS422; and S7-200 is 9600bps, 8, even, 1 stop bit, RS485, PLC station No.=2. For more detailed information on the communication parameters for each kind of PLC please see the PLC manuals or contact your local PWS Workstation agent.

Some parameters, such as baud rate, data format, selected COM port, and the Workstation's address, can also be set in the Configuration Table of the Workstation. This enables you to change those parameters without ADP3. You may need this feature when, for example, another COM port must be used, a different transmission speed is required, or a different Workstation address is needed. The Workstation uses those communications parameters set in the Configuration Table if DIP switch No.5 on the workstation is on; otherwise, it uses the downloaded parameters.

6-8-1-2. Setting Communication Parameters

Page 215: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-215

Figure1-37c Setting Communications Parameters dialog box

Page 216: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-216

The Communications Parameters dialog box has the following options:

Option Description

PLC Specifies the station number, the unit number, or the address of the PLC. Some PLCs do not need an address.

Workstation Specifies the station number, the unit number, or the address of the Workstation. Some types of PLCs require the Workstation to have an address, and some don’t.

Baud Rate You can choose one of three transmission speeds for the communications.

Data Format

Data bits Specifies the number of data bits. There are two options: 8 bits and 7 bits.

Parity bit Specifies if there is a parity bit and the type of parity bit. There are three options: Odd, Even, None.

Stop bits Specifies the number of stop bits. There are two options: 2 bits and 1 bit.

COM Port You can select one of two ports (COM1 and COM2) that the Workstation uses to talk to the PLC.

PLC Password

You can enter up to eight characters as the password that the Workstation uses to talk to the PLC. When this document is released, only Fuji NB Series and GE Series 90 requires the Workstation to have a four-character password.

Connection See Chapter 4 for details.

Normal Select this option if the application is created for a normal application.

Multidrop Master

Select this option if the application is created for a master Workstation in a multi-drop application.

Page 217: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-217

Multidrop Slave

Select this option if the application is created for a slave Workstation in a multi-drop application.

Common Register Block

Specifies the starting location of the Common Register Block. This location must be a register location.

CRB Size Specifies the size of Common Register Block. The unit of size is 16-bit word and the maximal size is 128 (words).

Common On/Off Block

Specifies the starting location of Common On/Off Block. This location must be an on/off location.

COB Size Specifies the size of Common On/Off Block. The unit of size is 16-bit and the maximal size is 16 (x 16 bits).

Page 218: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-218

The miscellaneous menu has two settings which are relevant to interaction with the PLC. The time and date from the real time clock (RTC) in the Workstation may be written to the PLC. This data is written to assigned reference registers in the PLC which are configured in the miscellaneous menu. There is a 32K - 16 bit (word) recipe data area in the Workstation. The allocation of this memory area for recipes and the specification of the target area for recipes in the PLC is specified in the miscellaneous menu. This setting is transmitted to the Workstation by Downloading the application.

Figure1-37d Miscellaneous Settings dialog box

6-8-1-3. Miscellaneous Setting

Page 219: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-219

Figure1-37e

The PWS-1220/1720/2120/3120/3720 can save recipe data for your application. A recipe can have as many as 1023 words of data. The maximum memory size available for recipes is 32638 words. The Workstation saves recipes in its battery backed RAM and you can create screens to view or change recipe data.

The Workstation sends a recipe to your PLC when the Recipe Write Flag is turned on; the Workstation reads data from the Recipe Block within your PLC to update a recipe when the Recipe Read Flag is turned on. Please see Chapter 3, section 1-2-5 to section 1-2-7, for details.

6-8-1-4. Configuring Recipe Function

Page 220: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-220

ADP3 allows you to create screen objects to display recipe data. To specify the address of recipe data use the following format:

Address Description

RCPNO RCPNO is an internal register of the Workstation that specifies the current recipe number. With the past versions 2.10 of ADP3, the only way you can change RCPNO is through a Numeric Entry configured to display RCPNO. Now your PLC can change RCPNO too. A valid recipe number must be between 1 and the specified maximal number of recipes. You can configure a Numeric Entry for the operator to view and change the current recipe number. The RCPNO can also be changed by PLC. To know how to change RCPNO by PLC, see the section on RCPNO Change Flag in Chapter 3. The Workstation will not accept an invalid recipe number. When you want to view or edit a recipe, you change RCPNO to the number of the desired recipe.

On power up, the Workstation sets RCPNO and the RCPNO Image Register to 1. See Chapter 3 to know what the RCPNO Image Register is.

Page 221: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-221

RCPWnnnnn

RCPWnnnnn.b b=0~f [Example 1]

Each refers to a 16-bit word. As you know, the address format RCPWn refers to a 16-bit word at word #n of the current recipe. With the past versions of ADP3, you have no way to address recipe data that are not members of the current recipe. Now, you can address any word of any recipe with this new version of ADP3. It is easy to explain how to address recipe data by the following two examples:

Now, you can address any bit of any recipe word with this new version 2.42.00 of ADP3. It is useful to assign a bit indicator or a bit control applications.

Assume that “Recipe size” is 10 and “Maximum number of recipes” is 100. A Numeric Entry configured to display RCPWn (9≥n≥0) always displays word #n of the current recipe. The number of the current recipe is specified by RCPNO. When you change the RCPNO, that Numeric Entry will automatically display word #n of the newly selected recipe. To edit a recipe, you first change the RCPNO to that desired recipe number. If you configure a Numeric Entry to display RCPWm (m>9) where m is equal to 10q+r, then that Numeric Entry is configured to display word #r of recipe #q.

Page 222: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-222

[Example 2]

For instance, RCPW123 specifies word #3 of recipe #12 and RCPW990 specifies word #0 of recipe #99. RCPW1010 is an invalid specification, because in this example there is no recipe #101.

Assume that “Recipe size” is 16 and “Maximum number of recipes” is 500. A Numeric Entry configured to display RCPWn (15≥n≥0) always displays word #n of the current recipe. If you configure a Numeric Entry to display RCPWm (m>15) where m equals to 16q+r, then that Numeric Entry will display word #r of recipe #q. For instance, RCPW123 specifies word #11 of recipe #7 and RCPW990 specifies word #14 of recipe #61 because 123=16*7+11 and 990=16*61+14. RCPW8016 is an invalid specification, because in this example there is no recipe #501.

To configure the recipe function, click the Miscellaneous button in the Workstation Setup dialog box. The Miscellaneous Settings dialog box appears with the following options:

Option Description

Read/write recipes from/to PLC

Select this option to enable the recipe function.

Page 223: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-223

Address Specifies the starting address of Recipe Block. It must be a register address.

Recipe Block is a block of registers in your PLC. Your PLC can request the Workstation to write data from a specified recipe in the Workstation to the Recipe Block in the PLC or read the data in the Recipe Block to update a specified recipe in the Workstation.

Recipe Size Specifies how many words of data a recipe contains. This specifies the size of Recipe Block too. The maximum you can specify is 1023.

Maximal number of recipes

Specifies the maximal number of recipes your application can have. The RAM size available for recipes is 32638 words.

Page 224: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-224

To specify a Time Block, click Miscellaneous button in Workstation Setup dialog box. The Miscellaneous Settings dialog box appears with the following options:

Option Description

Write time and date to PLC

Select this option so that the Workstation writes time and date to the Time Block within your PLC.

Address Specifies the starting address of the Time Block. It must be a register address.

In some cases, the PLC or the computing device connected to the Workstation needs more time to get ready for communication after power up. Therefore, it is necessary to delay the starting of communication of the Workstation to avoid confusing communication error messages. This is used for situations like: the PLC must be started up first or for multidrop link configurations. The Startup Delay dialog box appears with the following options:

Option Description

To delay the starting of the communication

The Start Up Delay is set to zero(0) by default which means that PLC communications starts up immediately. Start Up Delay may be set from 1-127(seconds) to delay communications start up.

Settings dialog box

If you want the Workstation to display countdown, check Display Countdown in the same dialog box.

6-8-1-5. Specifying Time Block

6-8-1-6. Startup Delay

Page 225: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-225

To set touch key parameters, click Miscellaneous button in the Workstation Setup dialog box. The Miscellaneous Settings dialog box appears with the following options:

Option Description

Buzzer Acting Time (Sec.)

Specifies how long the buzzer sounds when a touch key is pressed.

Auto Repeat Delay (Sec.)

Specifies how long the Workstation waits after a touch key is held down before it repeats that key.

Auto Repeat Rate (Hz)

Specifies how fast a touch key repeats when it is pressed and held down.

Screen saver time

Enter a number between 0 and 60 to specify the time that the Workstation turns off the back light of the display if the touch panel has not been touched for that amount time. The unit of time is minute. This is for lengthening the life of the CCFT back light. If you set "Screen saver time" to 0, the Workstation never turns off the back light.

PLC Model Code

Select a number to specify the sub-type of your PLC. This parameter is only useful for some types of PLCs, such as Simatic S5.

The Workstation PW700T/X stores passwords in its Flash EPROM. The others PWS Workstation series save passwords in the Real Time Clock chip. A password has eight numeric characters. When you register a password, you must specify the user level associative with that password. The user level of a password determines the privilege of the user who enters that password to start the operation of the Workstation. When a user wants to

6-8-1-7. Setting Touch Key Parameters

6-8-1-8 Password

Page 226: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-226

use the function of the System Menu, change to another screen, or make change to a PLC location, the Workstation checks the user's user level. There are three user levels: level 1, level 2, and level 3. Level 1 users have the highest privilege and Level 3 users have the lowest privilege. To register passwords and their associated user level, click Password button on the Workstation Setup dialog box, this function is only suited for PWS700T/X. The ADP3 displays the Password Table as shown in the following figure. You can enter passwords as well as select the user level for them. The password data are part of the application data. Therefore, remember to compile your application and download it to the PWS700 when you make any changes to the password table. The default passwords are 00000000, 00000000, 00000000, 00000000, 00000000, and 00000000. The default user level is level 1.

6-8-1-9 Registering Password

Page 227: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-227

To select "Alarm setup" in application menu, ADP3 will display a alarm setting dialog box. You can declare alarm block address and alarm parameters, you can also edit alarm messages. PWS permits as many as 512 alarm messages. The Workstation displays the alarm message of an alarm when it sees that alarm become active and waits for the acknowledgment of the operator if you have specified the acknowledgment is required for that alarm.

Figure 1-38 Alarm Set up dialog box

To specify Alarm object; assign the corresponding reading address in P.L.C. first. If your application does not need alarm handling, set the Number of Alarms as zero (0).

A). Address of Alarm Block and Number of Alarms: Address of Alarm Block specifies the starting address of a block of PLC registers for the Workstation to monitor as the status of alarms. This register block is called Alarm Block. The size of Alarm Block depends on the Number of Alarms. Each bit in the Alarm Block corresponds to a unique alarm.

Bit in Alarm Block Alarm No. -----------------------------------------------

6-8-2. Alarm Setup

Page 228: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-228

------ Bit 0 of word 0 #000 Bit 1 of word 0 #001 Bit 2 of word 0 #002 ... ... Bit 0 of word 1 #016 Bit 1 of word 1 #017 Bit 2 of word 1 #018 ... ... Bit j of word i #(i*16+j) The maximum you can specify for the Number of Alarms is 512. If the Number of Alarms is n, then the size of the Alarm Block is (n+15)/16 word(s). Note that this is an integer division. For example, if the Number of Alarms is 259, then the size of Alarm Block is (259+15)/16=17 words and bit 3 through bit 15 of the last word are not used by the Workstation. The state of a bit in the Alarm Block indicates the status of its corresponding alarm. A bit with high(on) state indicates the corresponding alarm is active. A bit with low(off) state indicates the corresponding alarm is clear. When an alarm become active, the PLC should set that alarm's corresponding bit in the Alarm Block as high. When an alarm is reset, the PLC should set that alarm's corresponding bit in the Alarm Block as low. It is the PLC's responsibility to know when an alarm become active and become clear physically. The Alarm Block is a media for the PLC to send the status of alarms to the Workstation. It is important to resets all bits of the Alarm Block when power up. B). Scan Time: Scan time (sec.) is a sampling cycle which monitored by the Workstation. The Workstation reads Alarm Block and checks the state of every bits in the block periodically. The Scan Time specifies the period. The shorter is the Scan Time, the faster the refresh rate of alarm related objects and alarm message display will be, but the slower the refresh rate of other objects will be. C). Number of Records in Alarm History Buffer: This parameter specifies the size of Alarm History Buffer. If you specify a number of n, then the buffer size is n records. The Workstation saves the time and date when an alarm become active. It saves the same thing when an alarm becomes clear . In either case, one record is required. When the buffer is full and a new record is required, the oldest record will be used and the

Page 229: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-229

previous data will be overwritten. For example 100 means when the 101st alarm event happened the 1st alarm message will be overwritten One record occupies four words of battery backed RAM. If you want the data saved in the buffer to be non-volatile, it is necessary to use PWS-1220/1720/3120/3720 which has a battery installed inside. D). Message: You can enter an alarm message of up to 64 characters for each alarm. The alarm messages will be displayed by alarm related objects such as Alarm History Tables, Active Alarm Lists, and Alarm Frequency Tables as the description of alarms. E). ACK: If you want the operator to acknowledge an alarm, select Yes for ACK parameter of that alarm. Otherwise, select No. When an alarm become active, the Workstation displays that alarm's alarm message with an ACK button if that alarm requires operator acknowledgment. The Workstation does not refresh the current screen when the acknowledgment of an alarm is pending. The operator should press the ACK button to acknowledge the alarm and have the Workstation start to refresh the current screen again.

Page 230: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-230

Click "Default Screen Background Style" from the application menu, ADP3 displays a default screen background style dialog box (See Figure 1-39). It allows the user to assign a background style and color. Each new screen is created in the assigned background style and color initially, but it is still possible to modify these settings on an individual screen. See 6-2-4 for more details.

Figure 1-39 Setting Default Screen Background Style dialog box

You can select a screen background style as the default for your application. New screens are created with the default initially.

To set the default,

1. Choose "Default Screen Background Style" from the Application menu. ADP3 displays the Default Screen Background Style dialog box. The current default background style is shown in the Example box.

2. Select one of 32 patterns in the Pattern box as the background pattern.

6-8-3. Setting Default Screen Background Style

Page 231: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-231

3. Select one of 16 colors in the Pattern Color box as the color that is used to paint the black part of the background pattern.

4. Select one of 16 colors in the Background Color box as the color that is used to paint the white part of the background pattern.

5. Click OK button.

Page 232: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-232

You can select a frame style with a desired color as a default for each type of screen object. New screen objects are created with their default frame style initially.

To set the defaults, choose "Default Frame Styles" from the Application menu. ADP3 displays the Default Frame Styles dialog box for you to set the defaults.

Figure 1-40 Default Frame Styles dialog box

You can select a character size, a character color, and a background color as a default for the text of each type of screen objects. New screen objects are created with these default text styles initially.

To set the defaults, choose "Default Text Styles" from the Application menu. ADP3 displays the Default Text Styles dialog box for you to set the defaults.

6-8-4. Setting Default Frame Styles

6-8-5. Setting Default Text Styles

Page 233: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-233

Figure 1-41 Default Text Styles dialog box

Page 234: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-234

Select "Numeric keypad setup" in the application menu. ADP3 will display a Numeric keypad Setup dialog box for you to specify the keypad size, legend style and initial position.

The numeric key pad pop-up is activated by touching an appropriate object on the display. New values may be entered by touching these keys and confirming the action

with the [Enter] key on the TEN-KEY.

Figure 1-42 Numeric Keypad Setup dialog box

The Workstation provides a variety of TEN-KEY styles.

6-8-6. Numeric Keypad Setup

Page 235: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-235

Figure 1-42a Variety of TEN-KEY styles in small and medium sizes

Page 236: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-236

Selecting the "Compile" function from the application menu displays the compile dialog box. If errors are encountered during the compile operation the number of errors will be shown in a message display on the screen. Clicking “OK” will cause a detailed error list to be displayed. After correcting each error the compile operation must be run again.

Figure 1-44 Compiling condition

6-8-7. Compile

Page 237: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-237

Figure 1-44a Error messages after a compile

Page 238: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-238

There are two kinds of simulation supported by ADP3: off-line simulation and on-line simulation. Be sure to compile before attempting to simulate the application.

Both allow you to run your application on the PC instead of a Workstation. The menu items Off-line Simulation and On-line Simulation in the Application sub-menu are for starting off-line simulation and on-line simulation respectively. Actually, the simulation is performed by PWS Simulator, which is abbreviated as PS. The file of PS is PS.EXE. PS supports all kinds of PLCs that ADP3 supports for off-line simulation. PS supports only a few PLCs for on-line simulation when this version is released.

Off-line simulation allows you to run your application on the PC without a PLC. The benefit of off-line simulation includes:

1. You can learn the capability of a PWS Workstation before buying one,

2. You can examine the design of you application without spending time to download it to a Workstation,

3. You can demonstrate your design to the client and allow him to operate it before the PLC program is ready.

On-line simulation allows you to run your application on the PC with a PLC connected to a serial port of the PC. As a PC usually has only RS-232 serial ports, you may need an adapter to convert the signals if the serial port of your PLC is of the type RS-422 or RS-485. Note that the PS can only communicate with a PLC for 30 minutes. To continue the communications, you need to close the PS and run it again. If you want a PS without this rstriction, you need an installation version of PS and a PIC adapter, which supports RS-232/422/485 and can endure high frequency noise up to 4000 volts.

The PIC is under development when this version is

6-8-8. Simulation Off-line/ On-line

Page 239: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-239

released.

The on-line simulation is now available for the following protocols:

1. Computer (as master) p003.dll 2. Computer (as slave) p013.dll 3. Omron C Series P103.dll 4. Modicon PC984 RTU mode P303.dll 5. Matsushita FP Series P603.dll 6. Mitsubishi FX Series P703.dll 7. Mitsubishi FX2n Series P723.dll 8. Facon FB Series ph03.dll

Page 240: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-240

Be sure to compile before attempting to Download the application.

To download an application,

1. Connect a serial communications cable between your PC‘s download port and the Workstation’s download port. To specify the Workstation’s download port, press the Configure button on the System menu to access the Configuration Table, and select a desired port as the Download/Upload/Copy port.

You should have a cable with the following connection for the download.

PWS-COM2 PC COM RS232C 25-pin female --CABLE--- 9-pin female

2. Apply power to your Workstation and press the

Download Application button on the System Menu. The Workstation displays “Waiting for downloading ...” and is ready to receive a download.

3. Before downloading, be sure you compile your application by choosing "Compile" from the Application menu. If you have already compiled your application, then choose Download from the Application menu. The downloading operation starts immediately. During downloading, your PC and Workstation both display their progress.

6-8-9. Downloading Applications

Page 241: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-241

Figure 1-45 Download Application

Downloading in

windows mode

Page 242: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-242

To specify the computer’s serial port and transmission speed for the downloading operation, choose "Transmission Setup" from the Application menu. See Figure 1-46.

The Transmission Setup dialog box appears with the following options:

Option Description

Download/ upload Port

You can specify either COM1 or COM2 of your PC as the port for downloading and uploading operations.

Download/ upload Program

You can specify either DOS or WIindows version of your PC as the operation system for downloading and uploading operations.

DOS version is high speed, and fair compatility.

Windows version is low speed, and high compatility.

If the application name is more than 8 characters, please choose Windows verssion for downloading.

Baud Rate You can specify one of five speeds (9600, 19200, 38400, 57600, and 115200) to transmit data.

6-8-10. Transmission Setup

Page 243: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-243

Figure 1-46 Transmission Setup dialog box

Page 244: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-244

To upload a program from the Workstation to the PC, choose "Upload Application" from application menu. ADP3

will save the program as ***.AP1/***.AP2 in your PC.

Figure 1-47 Upload Application dialog box

To download a program***.AP1/***.AP2 to the Workstation from your PC, choose "Download Application From.." from application menu.

A Windows program called ADP3 Recipe Editor is released with this functionality to allow you to view, edit, and print recipes uploaded from the Workstation. This program exists as an execution file named "RCP.EXE". To upload recipes from the Workstation, choose "Upload Recipes" from the application menu. ADP3 will upload

6-8-12. Download Application From...

6-8-13. Upload / Download Recipes

6-8-11. Upload Application

Page 245: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-245

recipes from the Workstation and save as ***.RP1 file in PC. To download recipes from ***.RP1 in the PC to the Workstation, choose "Download Recipes" from applications menu.

Figure 1-48 Upload Recipes dialog box

Choose "View/ Edit Recipes" from application menu, ADP3 will show a View/ Edit recipes dialog box. See figure 1-49. ADP3 allows to modify or print the saved recipes in the PC. Be sure to upload these recipes and save before modifying. Data length and data numbers are not changeable.

At application, the menu of the column select backup application file, the ADP3 will download of applied primitive program arrive PWS and storage memory in Human Machine Interface conduct and actions backup file.(** PWS- 3720/ PWS- 3760 provide)

At application the menu of the column select and restor to original and apply the file, the ADP3 will restor to original and apply the primitive program to the PC, and the storage file is *. P3F.You can edit afresh and or the storage. (** PWS- 3720/ PWS- 3760 provide)

At application the menu of the column select to View/edit recipe, the ADP3 will open edit recipe window, call from the recipe data of the PC file*.RCP run edit, modification and print. Note: Each set recipe data length and recipe total amount is can't variations, Human Machine Interface must first ascend and carry the file*. RCP and storage. (** PWS- 500/ PWS- 700 nones this function), such as figure 1- 49.

6-8-14. View/ Edit Recipes

6-8-15. Backup application file/ restore applied file

6-8-16. View/Edit recipes

Page 246: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-246

Figure 1-49 Edit Recipes_open recipe dialog box

Figure 1-49a Edit Recipes_view/edit recipes dialog box

Figure 1-49b Edit Recipes_print recipes dialog box

Figure 1-49c

Page 247: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-247

At application the menu of the column select General key, the ADP3 will open edit window, such as figure 1- 49 ds, you can layout and circumscribe the attribute of the button.

General key: Operating any menu are all sames kind function, such as figure 1- 49 es, " K1" definition is change the menu to the page one, therefore when operation operate and take up a post why menu, only press " K1" namely return to page one.

Assist Key: Have the Assist Key picking at the menu column, validity menu only, such as figure 1- 49 es, program at page 5 " K1" definition is change the painter to the page one, when operate pages 5, must press " K1" and it can return to page one, at the other menu invalid.

(** PWS- 500 ses/ PWS- 700 x/ PWS- 3700/ PWS- 3760 provide this function)

6-8-17. General key

Page 248: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-248

Figure 1-49d

Figure 1-49e

Page 249: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-249

At application, the menu of the column select System information, the ADP3 will open edit window, such as figure 1- 49 f, you can program the information of the system self, choose" need to be operated validation" button,press this button when run, meeting presence" Are you sure?" , such as figure 1- 49 g, however this information then basis design need, at the system information of 8 change, such as figure 1- 49 h.

Figure 1-49f

6-8-18. System information

Page 250: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-250

Figure 1-49g

At application the menu of the column select INITIAL macro, the ADP3 will open edit window, such as figure 1- 49 i, you can layout program conduct and actions process control, the value deliver, value convert, timer, counter, from settle the communication command operation.. etc.,the macro command can let Human Machine Interface and PLC link ,at the same time another port communication with another equipment , this function will provide the system of the high efficiency integration. Compliant the macro command can save the

6-8-19. Macro function

Page 251: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-251

program capacity of the PLC, make PLC of control accurate and efficiency optimization, invite the reference macro command detailedly explain article.

1.INITIAL macros: When the Human Machine Interface first time RUN this application( usually after the power failure to send the electricity afresh for the first time and run applied menu program),the command in the Initial macro runs only once. This is the format of the telecommunication parameter and announce and the definition of the data.

2. Background macros: When Human Machine Interface RUN this application, command in the Background macro meeting circulate and run, but run only each 30 lines of macro commands. In spite of Human Machine Interface of menu, this macro all meeting run. This is use convert in telecommunication command control and PLC samlping data.. etc..。

3. CLOCK macros: When Human Machine Interface RUN this application and run all commands in the macro once and stationary with the 500 ms cyale circularly. This is display at the menu result control, PLC connect and click and keep a close watch over, settle hour the telecommunication command control use, data of settle hour total amount convert.. etc..。

Page 252: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-252

Figure 1-49i

Page 253: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-253

Choose "Window" from Menu bar (or press[ALT]+[W]), ADP3 displays a window menu. See figure 1-50. You can select cascade or tile and the last two screen No.. When a screen is not opened yet this function is ambiguous.

For convenience in duplicating or comparing screens choose "Cascade" from the Windows menu function.

Figure 1-50 Window Menu

You can start up ADP3 twice and create two application screens. It is sometimes desirable to duplicate or compare two application screens. Importantly, ADP3 allows duplicating between two application files.

6-9. Window

6-9-1. Window Cascade or Title (I)

6-9-2. ADP3 Screen Cascade or Title (2)

Page 254: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-254

Figure 1-50a Window Menu_Cascade two .p3f application files

Figure 1-50b

Choosing "Help" from the Menu bar (or press[ALT]+[H]), ADP3 displays a help menu. See figure 1-51. ADP3’s revision is displayed by this option.

6-10. Help

Page 255: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-255

Figure 1-51 Help Menu

There are different versions of the ADP3 programming software for the HITECH PWS workstations as follow:

Software Ver. Applicability Language

ADP3 1.20 PWS3000 workstations ENGLISH CHINESE ADP3 2.11 PWS3100 /PWS1200 ENGLISH CHINESE S_CHINESE KOREAN ADP3 2.21.00 PWS3100 /PWS1200 ENGLISH 1. MULTI-LINGUAL CHINESE 2. VIEWING/EDITING RECIPE S_CHINESE 3. NEW PLC DRIVER KOREAN 4. BASE SCREEN ADP3 2.41.00 PWS3100 /PWS1200/1700/3720/700 ENGLISH 1. OFF –LINE SIMULATION CHINESE 2. ON –LINE SIMULATION S_CHINESE KOREAN GERMANY

Page 256: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-256

To create a screen object,

1. Choose a screen object from the Objects menu.

2. Position the pointer (+) where you want to place the screen object.

3. Hold down the left mouse button and drag the pointer to size the screen object. Release the left mouse button when the screen object is the size that you want. The screen object is automatically selected.

4. To place another screen object of the same type, move the pointer to a new location and click the left mouse button again.

5. Exit the screen object selection by clicking the right mouse button.

Each screen object has attributes that define its operation. Attributes are viewed or edited by opening the dialog box for the screen object. To view or edit the attributes of a screen object, double-click the screen object or select the screen object and choose the "Object Attributes" from the Edit menu.

Before you can move, size, format, cut, or copy a screen object you must first select the screen object. To select a screen object, position the mouse pointer anywhere on the screen object and press the left mouse button. Handles appear on the screen object.

To deselect a screen object, position the pointer outside of the screen object and press the left mouse button or select another screen object.

To select all screen objects, choose Select All from the Edit menu. Handles appear on all objects.

To size a screen object,

1. Select the screen object by clicking anywhere on the screen object. Handles appear on the screen object.

7. Screen Objects

Page 257: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-257

2. Position the pointer over one of the handles. The pointer changes to show the direction you can size the screen object. The screen object stretches from the anchor point to the position of the pointer, expanding and contracting as you move the mouse.

3. Press the left mouse button and drag the object. The anchor point is the handle opposite the handle you choose. The anchor point doesn't move when sizing objects.

4. Release the mouse button when the screen object is the size that you want.

Page 258: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-258

To move a screen object:

1. Move the pointer anywhere inside the screen object.

2. Hold down the left mouse button and drag the screen object to its new location. The pointer changes to show that you are moving the object. An outline appears as you drag the screen object.

3. Release the mouse button.

In the front of this chapters, we have already illustrates all the functions of ADP3 in detail. It’s helpful to know about editing methods before starting to create screens. Please see the descriptions hereafter.

There are a number of screen objects that can or must have text. Push buttons and indicators can have text as part of their labels. Text of Static Text is shown as background text. Prestored Message Displays as well as Moving Signs have text for each of their states. ADP3 provides the user with two ways to edit text. You can

7-1. Text Editing Tool Bar

Text box Bottom

Middle

Character Color

State box

Top button

Right button

Center

Left button

Background Color

Page 259: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-259

use the Text box to edit the text of one state at a time. You can also use the States And Text Management dialog box to edit the text of all states at the same time. However, you can only use buttons on the Tool bar to format text.

Figure 1-52 The buttons and boxes on the Text Editing Tool Bar

Page 260: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-260

To edit a screen object’s text,

1. Select the screen object. The Text button on the tool bar is enabled when the screen object is a push button, indicator, or moving signs.

2. Choose the Text button on the tool bar so that you can edit text.

3. Click the arrow at the right of the State box to select a state that you want to edit text for. The State box shows the current state.

4. Edit the text in the Text box. The Text box allows you to edit one line characters only. To edit text that has more than one line of characters.

5. If the screen object is a push button or indicator,

you can choose one of either Left , Center , or

Right button to align the text horizontally within

the object. You can also choose one of either Top ,

Middle , and Bottom button to align the text vertically within the object.

6. Select a character size that you want to display the

text in the Character Size box .

7. Select a color that you want to display the text in

the Character Color box .

8. Select a color as the background color of the text in

the Background Color box .

9. ADP3 provides some functions as blink 、 text with

baseline .

You can use the States and Text Management dialog box to edit text. To access this dialog box, select a screen object that you want to edit its text and choose States

7-1-1. Using Text Box and Formating Text

7-1-2. Using States and Text Management Dialog Box

Page 261: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-261

And Text Management from the Edit menu. ADP3 displays the dialog box. The State-Text box lists each state’s text preceded by its state number.

To modify the text of a state, select the text and click the Modify button or double-click the text. ADP3 displays the Modify Text dialog box for you to modify the text.

To cut the text of a state, select the text and click Cut button. The cut text is put in the clipboard. When you cut text its state is deleted.

To delete the text of a state, select the text and click Delete button. When you delete text its state is deleted.

To copy the text of a state to the clipboard, select the text and click Copy button.

To insert a new state, say state N, and copy the text in the clipboard to it, select the text of state N-1 and click Paste button.

To replace the text of a state by the text in the clipboard, select the text and click Replace button.

To insert a new state, say state N, and copy the text of an existing screen object, select the text of state N-1 and click Paste From button. ADP3 displays the Paste From dialog box. You can select an existing screen object’s text from the Text box.

To replace the text of a state with the text of a state of an existing screen object, select the text and click Replace By button. ADP3 displays Replace By dialog box. You can select an existing screen object’s text from the Texts box.

To put a bitmap in objects, click a target object first

and select the bitmap button , ADP3 displays the bitmap editing tool bar.

7-2. Bitmaps Editing Tool Bar

State box Bitmap button

Page 262: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-262

Figure 1-53 Graphic Editing Tool Bar There are five types of screen objects that use bitmaps. The labels of push buttons and indicators can have bitmaps. A Static Graphic is a bitmap and is displayed as a background graphic. An Animated Graphic is a collection of bitmaps and one of these bitmaps is displayed depending on its controlling register; the position of an Animated Graphic can be changed by its controlling registers too. A State Graphic is similar to an Animated Graphic but its position can’t be changed.

To specify a bitmap for a screen object,

1. Select the screen object. The Bitmap button on the

tool bar is enabled when the screen object is a push button, indicator, Static Graphic, Animated Graphic or State Graphic.

Left button

Center button

Right button

Top button

Middle button

Bottom button Bitmaps box

Transparency/Back-ground Color box

Transparency button Foreground Color box

Page 263: Software Installation and Instructions

Chapter 1

Software Installation and Instructions

PWS Workstation Release 4 /99

1-263

2. Choose the Bitmap button on the tool bar so that you can specify bitmaps.

3. Click the arrow at the right of the State box to select a state that you want to specify a bitmap for. The State box shows the current state.

4. Click the arrow at the right of the Bitmaps box to select a bitmap,

and the chosen bitmap will appear in the target object at the same time.

5. If the screen object is a push button or indicator, you can choose from Left, Center, or Right button to align the bitmap horizontally within the object, you can also choose from Top, Middle, and Bottom button to align the bitmap vertically within the object.

6. If you want part of the bitmap that is of a certain color not to be shown in order that the object just under the bitmap can be seen through that part,

choose the Transparency button and select the color that should not be shown in the Transparency/Background Color box.

7. If the bitmap is a black and white bitmap and you want it to be shown in other colors, select a color in Foreground Color box to replace black color and select a color in Transparency/Background Color box to replace the white color.

**Note: It is necessary to import bitmaps to the bitmap management system before they will show up in the bitmap library. To import bitmaps, choose bitmap library in "File menu" from menu bar, click Import in bitmap library.

Page 264: Software Installation and Instructions

Software Installation and Instructions

PWS Workstation Release 4 /99

1-264

ADP3 provides a simple system to edit graphic primitive.

To access the graphic primitive editing system click from the icon menu, ADP3 displays a graphic primitive editing tool bar. To edit static geometric graphics, select from a variety of function buttons on the graphic primitive editing tool bar. There are line, square, circle, arc, outline of frame and linetype functions.

Figure1-54 Graphic Primitive Editing Tool Bar

Note: To put a color in an inner frame, use mouse right key to click the required color in paint brush.

7-3. Graphic Primitive Editing Tool Bar