QW-2000 Q Windows PC Operator's Console User's Guide

TDMS-Plus Master Station Software

December 2018

TDMS-Plus Master Station QW-2000 Software Q-

Copyright © 2016 by QEI QW-2000 Q Windows PC Operator's Console User's Guide ALL RIGHTS RESERVED

NOTICE

The information in this document has been carefully checked and is believed to be accurate. However, no responsibility is assumed or implied for inaccuracies. Further more, QEI reserves the right to make changes to any products herein described to improve reliability, function or design. QEI does not assume liability arising our to the application or use of any product or circuit described herein; neither does it convey any license under its patent rights nor the rights of others.

This manual and all data contained constitutes proprietary information of QEI and shall not be reproduced, copied or disclosed to others, or used as the basis for manufacture without written consent of QEI.

45 Fadem Road Springfield, NJ 07081 Phone: (973) 379-7400 Fax: (973) 379-2138 Web Site: www.qeiinc.com

Copyright © 2016 QEI TDMS-Plus Master Station QW-2000 Software Q-Windows Console

Revisions

Revision Description Date

A Released to Production June 2002

B Revised Installation Instructions and April 2002 UPD Command Line Parameters

C Change to TDMS-Plus December 2004

D Formatting Update March 2012

E Formatting Update April 2016

F Updated QEI Address December 2018

Copyright © 2016 QEI Revisions  i

TDMS-Plus Master Station QW-2000 Software Q-Windows Console

Contents

1 Introduction ...... 1

2 QW-2000 Installation ...... 2 2.1 QW-2000 ...... 2 2.2 EM5217 Installation ...... 2 2.3 WV2000 Installation ...... 2 2.4 TDMS-Plus ...... 2 2.5 Other Documentation ...... 3

3 QW-2000 Configuration ...... 4 3.1 Accounts Creation ...... 4 3.2 Setting the IP Addresses ...... 4 3.3 Creating User Profile Definitions (UPD’s) ...... 5 3.4 Adding Applications ...... 7 3.5 EM5217 Command Line Parameters ...... 7

4 Operation and Functionality ...... 8 4.1 Logging In ...... 8 4.2 Logging Out ...... 9 4.2.1 Operator Initiated Logout ...... 9 4.2.2 Forced Logout ...... 9 4.2.3 Auto Logout ...... 9 4.3 Hot Key ...... 10 4.4 EM5217 and WV2000 Operation Considerations ...... 10

Copyright © 2016 QEI Contents  i

TDMS-Plus Master Station QW-2000 Software Q-Windows Console

1 Introduction

This document describes the QW-2000 Q-Windows PC Operator’s Console package for the TDMS-Plus Master Station SCADA software.

The package is an umbrella application for other QEI and third party software programs. Its main objective is to provide a single, common login point for SCADA PC Operator Console programs like WorldView 2000 and EM5217. Using User Profile Definitions (UPD’s), QW- 2000 automatically launches and logs into the programs specified in the operator’s unique UPD. The UPD contains username and application information, including command lines for the programs to launch. A single PC Operator’s Console can support multiple UPD’s. An administrative maintenance function is included to add and modify UPD’s as required.

NOTE: No user password information is stored or maintained by QW-2000 at the PC Operator’s Console. This feature precludes possible security breaches. Password information is stored only at the Master Station.

QW-2000 also has an auto logout feature. If there is no activity (mouse or keyboard) at the PC after a specified period of time, the currently logged in user will be logged out of the SCADA system. QW-2000 will warn the user a specified period of time before the program logs him out automatically. If the an operator fails to log out before a new operator logs in, QW-2000 automatically logs out the first operator, then logs in the new operator, using the pre-defined UPD to replace the previously active UDP.

A hotkey feature is included in QW-2000. The hotkey allows an operators to quickly recall the minimized QW-2000 Main Screen when logging out, or starting other applications.

QW-2000 is designed to operate on LAN connections, either direct or dialup (PPP). It is not intended for RS-232 connections, either direct or dialup.

The CDROM (P/N 80-000070-001) from QEI for the QW-2000 bundle includes:

 QW-2000 Installation Software  EM5217 Installation Software  WV-2000 Installation Software  User Guides for QW-2000, EM5217 (DG-2000) and WV-2000  Acrobat Reader (for opening User Guides)

There are two sets of minimum requirements to use QW-2000. At the PC, the following is required:

 Pentium II, 233 MHz processor  128 MB RAM  75 MB free hard disk space  Windows 2000; not supported

At the Master Station:

 A TCP/IP network connection to PC Operator’s Console(s)  TDMS-Plus Software Release AQR 6.2.8 (or higher) Copyright © 2016 QEI Introduction  1 TDMS-Plus Master Station QW-2000 Software Q-Windows Console

The remaining manual is broken down into the following sections:

 Section 2: Installation  Section 3: Configuration  Section 4: Operation and Functionality

2 QW-2000 Installation

2.1 QW-2000

 Put the QW-2000 CD (P/N 80-000070-001) into the PC’s CD drive.  From the , select Run.  Select Browse and go to the CD. The QW-2000 installation program, setup.exe, is in the QW-2000 directory.  Select setup.exe.  Follow the onscreen instructions to install.

2.2 EM5217 Installation

If you do not intend to use EM5217 as a SCADA operators console program, the following steps may be skipped.

 From the Start menu, select Run.  Select Browse and go to the CD. The EM5217 installation program, setup.exe, is in the EM5217 directory.  Select setup.exe.  Follow the onscreen instructions to install.

2.3 WV2000 Installation

 From the Start menu, select Run.  Select Browse and go to the CD. The WV-2000 installation program, setup.exe, is in the WV-2000 directory.  Select setup.exe.  Follow the onscreen instructions to install.

2.4 TDMS-Plus

QW-2000 requires the installation of Bell on the Alpha and Screen server for use with EM5217 in TCP/IP mode.

Bell Server

2  QW-2000 Installation Copyright © 2016 QEI TDMS-Plus Master Station QW-2000 Software Q-Windows Console

Installation

To install Bell Server, add the following section to MG:[CONFIG]OPTTSK.COM $! -- Install Bell Server $! $ @MG: [INSTALL]BSERVERTSK $! You must reboot for the installation to take effect.

Screen Server

Installation

To install Screen Server, add the following section to MG:[CONFIG]OPTTSK.COM $! -- Install Screen Server $! $ @MG: [INSTALL]SSERVERTSK $! To set up a screen for TCP/IP communication, edit the CONFIG.A or CONFIG.B file and change the SCR_DEVICEnn symbol to TCPIP. E.g. to set up screen 19 for TCP/IP communication, the following line should appear in the CONFIG file:

$ SCR_DEVICE19 :== TCPIP

Reboot for the installation to take effect.

2.5 Other Documentation

Documentation for each program can be found in the Doc directory on the CD. Acrobat reader is provided (in the Acrobat directory) as a convenience to view the manuals in PDF format.

Copyright © 2016 QEI QW-2000 Installation  3 TDMS-Plus Master Station QW-2000 Software Q-Windows Console

3 QW-2000 Configuration

This section discusses the required configuration and setup of QW-2000. For specific setup information on EM5217 and WV-2000, refer to their User’s Guide. Figure 3 shows the QW- 2000 Main .

Figure 3.1 QW-2000 Main Screen

3.1 Accounts Creation

Make sure that some accounts are created at the Master Station for QW-2000 to use to login to. Also, create an administrative level account for configuring the QW-2000 software at the PC. For more information on user accounts in the Master Station, refer to the OP-2000 and DB-2000 User’s Guides.

3.2 Setting the IP Addresses

The Master Station IP addresses must be setup so that Ethernet communications can be configured for operation. The IP addresses are the ones assigned to the Master Station. If the system is a redundant system, both the A and B addresses are required. If the system is a single machine system, only the A machine address is required.

To enter the Setup Window, select File | Setup from the QW-2000 menu bar. Enter the ‘’A’ and ‘B’ (if equipped) host IP addresses in the fields provided. See Figure 3.1.

Figure 3.1 QW-2000 Setup Screen

Default addresses are supplied which for most systems may need to be changed.

To access the Auto Logout section of the setup screen, you must login using the administrative level account created in Section 3.1. Then, you will be able to modify the Auto Logout parameters.

4  QW-2000 Configuration Copyright © 2016 QEI TDMS-Plus Master Station QW-2000 Software Q-Windows Console

At this point, you can test that a connection can be made to the Master Station by selecting File | Login from the QW-2000. See Figure 3.2. Enter a valid username and password. When the connection is made, the message box at the bottom of the window will read, “username logged in”.

Figure 3.2 QW2000 – Login Window

3.3 Creating User Profile Definitions (UPD’s)

The next step in the configuration process is to create at least one UPD. The creation of a new UPD requires editing the win.ini in the Windows directory on the PC.

The General Format for each program (QEI or third party) entry in the UPD is shown in Table 3.3, with a sample UPD in Figure 3.3. Each UPD to be created requires a header of the form:

[QEIShell_username]

where username is any operator’s user name as defined at the Master Station. For example, if there is an operator with a user name of JSMITH, then the header of his UPD must be

[QEIShell_JSMITH]

Each program entry in the UPD must use the format as described in Table 3.3.

Item Description Optional/Required

Appn_Name Application name as it will appear in the menu. Required

Appn_Type “QEI” for QEI applications; “STD” for standard Required applications.

Appn_Target Path and filename of application Required

Appn_Params Command line parameters of application. Optional

Appn_X X coordinate of application window (pixels). Optional

Appn_Y Y coordinate of application window (pixels). Optional

Copyright © 2016 QEI QW-2000 Configuration  5 TDMS-Plus Master Station QW-2000 Software Q-Windows Console

Item Description Optional/Required

Appn_Width Width of application window (pixels). Optional

Appn_Height Height of application window (pixels). Optional

Table 3.3 General Format of QW-2000 UPD

Figure 3.3 is an example UPD entry for user JSMITH:

[QEIShell_JSMITH] App1_Type="QEI" App1_Target="C:\Program Files\QEI\wmp.exe" App1_Width=450 App1_Height=450

App2_Type="STD" App2_Target="CALC.exe" App2_X=600 App2_Y=600

App3_Type="STD" App3_Target="C:\WIN32APP\XCURSION\X86\WXSERVER.EXE"

App4_Type="STD" App4_Target="C:\Program Files\Common Files\Symantec Shared\NMain.exe" App4_Params="/dat:C:\Program Files\Norton AntiVirus\swplugin.nsi"

App5_Type="QEI" App5_Target="C:\temp\EABD Client\EABD.EXE" App5_Y=500

App6_Type="STD" App6_Target="C:\Program Files\\msimn.exe" App6_X=200 App6_Y=500 App6_Width=200 App6_Height=200

App7_Type="QEI" App7_Target="C:\Program Files\QEI, Inc\EM5217\AYD4.exe" App7_Params="13 2 0 SCADA" App7_X=0 App7_Y=0

App8_Type="QEI" App8_Target="C:\Program Files\QEI\EM5217\AYD4.exe" App8_Params="15 2 0 OPALRM" App8_X=0 App8_Y=450

App9_Type="QEI" App9_Target="C:\Program Files\QEI\EM5217\AYD4.exe" App9_Params="17 2 0 STNED"

6  QW-2000 Configuration Copyright © 2016 QEI TDMS-Plus Master Station QW-2000 Software Q-Windows Console

App9_X=450 App9_Y=380 Figure 3.3 Example UPD Entry in WIN.INI

For QEI’s EM5217 and WV-2000, the following are the minimum required entries in the UPD:

EM5217: App1_Type = “QEI” App1_Target = “C:\Program Files\QEI\EM5217\AYD4.exe” WV-2000: App2_Type = “QEI” App2_Target = “C:\Program Files\QEI\EM5217\wmp.exe”

3.4 Adding Applications

In addition to the UPD, other applications can be added to the Applications menu (on the QW2000 Main Screen) that can be launched from that menu. This feature is analogous to a shortcut on the Windows Desktop. The syntax is similar to the entry in the UPD, except the heading in the win.ini file is different.

The required heading in win.ini is:

[QEIShell_MENU]

This entry in win.ini is not user specific; it is a general menu for all QW2000 users to act as a shortcut to other applications that may be run occasionally.

[QEIShell_MENU] App1_Type="QEI" App1_Target="C:\Program Files\QEI\EM5217\AYD4.exe"

App2_Type="QEI" App2_Target="C:\Program Files\QEI, Inc\wmp.exe"

3.5 EM5217 Command Line Parameters

To launch EM5217 from the command line the required syntax is

AYD4.EXE : Username : Password : IP Address of SCADA Master A : IP Address of SCADA Master B : Screen no. to connect to

Copyright © 2016 QEI QW-2000 Configuration  7 TDMS-Plus Master Station QW-2000 Software Q-Windows Console

:

The following table describes the use of the command line parameter:

Point Size Font

0 7 x 7 Electric

2 8 x 8 Electric

4 11 x 11 Electric

6 12 x 12 Electric

8 7 x 7 Pipeline

10 8 x 8 Pipeline

12 11 x 11 Pipeline

14 12 x 12 Pipeline

: 0 = no function pad, 1 = use function pad : default display to open upon startup or re-connect All parameters are optional. The first 4 parameters must be used together i.e. 0, 4, 5, 6, 7 or 8 parameters must be supplied.

If no command line parameters are supplied, EM5217 will only operate in serial communication mode.

If exactly 4 parameters are supplied, the user will be prompted for a screen number.

4 Operation and Functionality

First, start QW-2000 (if not already started) by selecting the program from the Programs menu or desktop if a shortcut was created.

4.1 Logging In

To Log In, select File | Login. Type in a valid user name and password. The program will try to connect to the Master Station. If a connection is authenticated, the message “username logged in” will appear. If the connection failed, the message “Host not found” will appear.

See Figure 4.1 below.

8  Operation and Functionality Copyright © 2016 QEI TDMS-Plus Master Station QW-2000 Software Q-Windows Console

Figure 4.1 QW2000 Login Screen

Some of the possible problems if a connection is not made are:

 Incorrect Password  Incorrect Username  Incorrect IP addresses (refer to Section 3.2)  User Account inequities at Master Station  Ethernet connection problems

Once the login is established, then all the programs listed in the UPD of the operator logging in will be launched and logged into.

4.2 Logging Out

There are three ways to logout of QW-2000: 1. Operator Initiated Login 2. Forced Logout 3. Auto Logout

4.2.1 Operator Initiated Logout From the File menu, select Logout. Enter the password for the currently logged in user, and select OK. The currently logged in username will be present in the Username field, except it will be grayed out.

4.2.2 Forced Logout If a currently logged in operator fails to logout before the new operator logs in, the currently logged in operator will be logged out first, before the new operator is logged in.

This means that only one operator can be logged in at one QW-2000 console at one time.

4.2.3 Auto Logout After a period of time as specified in the QW-2000 Setup Window (see Section 3.2), the currently logged in operator will be automatically logged out if there if there is no activity at that based on the mechanism described below.

Copyright © 2016 QEI Operation and Functionality  9 TDMS-Plus Master Station QW-2000 Software Q-Windows Console

First, a warning message appears, denoting that the operator will be logged out in a certain amount of time. The time period is set in the “Warn user xxx minutes before auto logout” entry in the Setup Window. See Figure 4.2.1 for the message window.

Figure 4.2.1 Auto Logout Warning Window

Then, if that amount of time expires, the user will be logged out. The message window in Figure 4.2.2 will appear after the total time specified in “Log user out in xxx minutes of no activity” entry in the Setup window.

Figure 4.2.2 Logout Window

4.3 Hot Key

A hotkey is provided to quickly bring the QW-2000 back to the foreground after being minimized. This is provided for logging out, or starting a program defined in the Applications menu.

The hotkey is Control-Tab. Simultaneously pressing the Control and Tab keys will bring the QW-2000 window up to the foreground.

4.4 EM5217 and WV2000 Operation Considerations

QW-2000 is a launch and login mechanism provided specifically for these QEI’s EM5217 and WV-2000 PC Operator Console Applications.

QW-2000 has little to do with these programs (or any other third party applications programs) other than to launch them, and in the cases of EM5217 and WV-2000, to login to them.

Please refer to the User’s Guides for the applications programs for specific operation details. For EM5217 and WV-2000, the user’s guides can be found on the QW-2000 CD (P/N 80- 000070-001), or on QEI’s website at www.qeiinc.com.

10  Operation and Functionality Copyright © 2016 QEI TDMS-Plus Master Station QW-2000 Software Q-Windows Console

QEI provides a wide variety of Automation Products and services to the Electric Utility Industry. QEI's customers are a mixture of major utilities, government and military agencies as well as global Electrical Transmission and Distribution OEM's.

45 Fadem Road Springfield, NJ USA T: +973-379-7400 F: +973-346-2138 W: www.qeiinc.com

Copyright © 2016 QEI Operation and Functionality  11