beijer electronics data collector...

55
Beijer Electronics Data Collector Manual MAEN826B, 2009-10 English

Upload: trinhdiep

Post on 15-Mar-2018

229 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Beijer Electronics Data CollectorManual

MAEN826B, 2009-10 English

Page 2: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Foreword

Beij

Beijer Electronics Data Collector Manual

Foreword

Beijer Electronics Data Collector is used to save trend and alarm data logged in the operator panels to a database in a PC. Since the number of records is limited only by the capacity of the database, much more data can be stored compared to the operator panel. The software can also be used to manage transfer of recipes.

The connection can be made via Ethernet, a modem (PPP) or a null modem PPP.

The information from the database can be presented in graphs and tables.

© Beijer Electronics AB, MAEN826B, 2009-10

All examples in this manual are only intended to improve understanding of the functionality and handling of the equipment. Beijer Electronics AB cannot assume any liability if these examples are used in real applica-tions.In view of the wide range of applications for this software, users must acquire sufficient knowledge themselves in order to ensure that it is correctly used in their specific application. Persons responsible for the application and the equipment must themselves ensure that each application is in compliance with all relevant requirements, standards and legislation in respect to configuration and safety.Beijer Electronics AB will accept no liability for any damage incurred during the installation or use of this equipment.Beijer Electronics AB prohibits all modification, changes or conversion of the equipment.

er Electronics, MAEN826B

Page 3: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Contents

Beije

Contents1 Introduction .................................................................................................... 5

2 System Requirements ...................................................................................... 7

2.1 Databases ............................................................................................ 7

2.2 Connecting to Operator Panels ........................................................... 72.2.1 Ethernet.............................................................................................. 72.2.2 PPP via a Modem to a Remote Computer with a Modem................... 72.2.3 PPP via a Modem to an Operator Panel with a Modem...................... 82.2.4 PPP via a Null Modem Cable ............................................................. 8

2.3 Operator Panel Settings ...................................................................... 82.3.1 Settings for Date Format..................................................................... 82.3.2 Settings for Time Format.................................................................... 92.3.3 Settings for FTP Server ....................................................................... 92.3.4 Settings if Using a Modem (PPP)...................................................... 102.3.5 Settings if Using a Null Modem Cable and PPP ............................... 112.3.6 Settings if Using DHCP ................................................................... 12

3 Installation..................................................................................................... 13

3.1 HASP ............................................................................................... 13

3.2 Multiple Data Collectors................................................................... 13

3.3 Uninstalling the Software.................................................................. 13

4 Using Beijer Electronics Data Collector ........................................................ 15

4.1 The Main Window ........................................................................... 154.1.1 The File Menu.................................................................................. 154.1.2 The Tools Menu............................................................................... 164.1.3 The Status Bar .................................................................................. 164.1.4 Cancel Button and Error Messages.................................................... 164.1.5 Minimizing the Application .............................................................. 17

4.2 Settings ............................................................................................. 184.2.1 The Terminals Tab ........................................................................... 184.2.2 Alarm Groups ................................................................................... 244.2.3 Trends .............................................................................................. 27

4.3 The Database Tab............................................................................. 294.3.1 Database Settings .............................................................................. 294.3.2 Database Maintenance ...................................................................... 30

4.4 The General Tab............................................................................... 314.4.1 General Collection Interval and Settings ........................................... 324.4.2 Miscellaneous.................................................................................... 324.4.3 Recipe Collection.............................................................................. 334.4.4 Post Processing.................................................................................. 33

4.5 Transfer Recipes................................................................................ 34

4.6 Log File............................................................................................. 35

4.7 Collecting Data................................................................................. 364.7.1 Manual Collection ............................................................................ 364.7.2 Convert from files ............................................................................. 36

4.8 Compact Flash/USB Backup Folders ................................................ 37

4.9 Command Line Parameters............................................................... 38

r Electronics, MAEN826B I

Page 4: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Contents

II

5 Special Issues ..................................................................................................39

5.1 Alarm Group Names and Multiple Languages...................................39

5.2 Alarm Texts and Multiple Languages ................................................41

5.3 Multiple Languages and Unicode Languages .....................................42

5.4 Trend Settings and Store Changed Samples.......................................42

6 Beijer Electronics Viewer ...............................................................................43

6.1 The Main Window............................................................................43

6.2 Settings..............................................................................................44

6.3 View Trend .......................................................................................456.3.1 Customized Trend Configuration .....................................................46

6.4 Alarm Viewer ....................................................................................476.4.1 Alarm Information ............................................................................48

6.5 View Recipe ......................................................................................49

6.6 Window ............................................................................................51

7 Database Tables .............................................................................................53

7.1 Trend Tables .....................................................................................53

7.2 Curve Names.....................................................................................53

7.3 Alarm Tables .....................................................................................54

Beijer Electronics, MAEN826B

Page 5: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Introduction

Beij

1 Introduction

Beijer Electronics Data Collector is a software that:

– Makes trend and alarm records logged in operator panels available in a database on a PC.

– Increases the number of trend and alarm records that can be stored.

– Manages transfer of recipes.

Beijer Electronics Data Collector consists of two programs: Beijer Electronics Data Collector and Beijer Electronics Viewer.

Beijer Electronics Data Collector connects automatically to a number of operator panels and collects trends and alarm data, and writes to a database. Recipes can also be automatically downloaded from the operator panels. The connection can either be via Ethernet, a modem (PPP), or a null modem PPP.

Since the number of records is limited only by the capacity of the database, much more data can be stored compared to the operator panel.

Beijer Electronics Viewer reads the information from the database and presents it in graphs and tables.

Beijer Electronics Viewer can also view recipe files.

Modem Modem

RAS (PPP)

Database

Beijer ElectronicsViewer

Beijer ElectronicsData Collector

Ethernet (TCP/IP)Operator panel

Operator panels with Ethernet cards/connectors

er Electronics, MAEN826B 5

Page 6: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Introduction

6

Beijer Electronics, MAEN826B
Page 7: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

System Requirements

Beij

2 System Requirements The software works with Microsoft Windows NT, Windows 2000, Windows XP, Windows VISTA and Windows 7.

Dial-Up Networking must be installed in Windows if RAS connections are to be used.

Acrobat Reader must be installed to view the help file.

A USB/parallel port key is used to authorize Beijer Electronics Data Collector. With-out the key, the program will run in demo mode for 10 days.

2.1 DatabasesThe software has been tested with the following databases: Microsoft Access, MSDE, and Microsoft SQL Server but should work together with any database with ODBC.

If the included Microsoft Access database is used, it is recommended that the data-base file is placed on the same computer as Beijer Electronics Data Collector, and that the size of the database is kept under 100 Mbyte. Otherwise a more powerful data-base should be used.

2.2 Connecting to Operator PanelsBeijer Electronics Data Collector has two ways of communicating with operator pan-els: Via Ethernet or via PPP.

Here follows four examples how this can be used.

2.2.1 EthernetThe computer with Beijer Electronics Data Collector and any number of the opera-tor panels are connected to Ethernet. In this case the operator panels must have an Ethernet card installed.

2.2.2 PPP via a Modem to a Remote Computer with a Modem

The computer with Beijer Electronics Data Collector uses RAS and a modem to call up a remote computer. The remote computer and any number of operator panels are connected to Ethernet. In this case the operator panels must have an Ethernet card installed.

Ethernet

EthernetPPPPPP

er Electronics, MAEN826B 7

Page 8: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

System Requirements

8

2.2.3 PPP via a Modem to an Operator Panel with a Modem

The computer with Beijer Electronics Data Collector uses RAS and a modem to call up one operator panel.

In this case the RS232 port on the operator panel will be occupied by the modem. If the modem is to be used by other applications for monitoring of devices at a connect-ed controller, the transparent mode protocol cannot be used, instead a tunneled transparent mode protocol have to be used.

2.2.4 PPP via a Null Modem CableThe computer with Beijer Electronics Data Collector uses RAS and a null modem cable to connect to the RS232 port set up for PPP on one operator panel. This case could be useful if the operator panel do not have a network or a modem.

In this case the RS232 port on the operator panel will be occupied by the PPP. If the modem is to be used by other applications for monitoring of devices at a connected controller, the transparent mode protocol cannot be used, instead a tunneled trans-parent mode protocol have to be used.

The RS232 port may still be used for transfer of the operator panel project from the PC to the operator panel though.

2.3 Operator Panel SettingsThis section will describe the required settings in the operator panel to enable com-munication and proper storage of collected data.

2.3.1 Settings for Date FormatThe operator panel must use one of these date formats:

– YY-MM-DD

– YYYY-MM-DD

– YYMMDD

– YYYYMMDD

– DD.MM.YY

– DD.MM.YYYY

– DD/MM/YY

– DD/MM/YYYY

– MM/DD/YY

– MM/DD/YYYY

PPP PPPRS232

RS232PPP

Beijer Electronics, MAEN826B

Page 9: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

System Requirements

Beij

2.3.2 Settings for Time FormatThe operator panel must use one of these time formats:

– HH:MM:SS

– HH:MM

If the time format HH:MM is used in the operator panel, the second will be forced to 00.

This will affect the data in this way:

– Trends – Only one trend record from within the same minute will be saved in the database.

– Alarms – If the same alarm has been activated in the same minute more than once, only the first alarm for that minute will be saved in the database.

2.3.3 Settings for FTP ServerThe operator panel must have an FTP server installed:

– In the Setup menu, select Network/Services.

– Check FTP Server.

Setting up Network Services

It is possible to use accounts for FTP Access.

– In the Setup menu, select Network/Accounts.

– Set Account name and Password (can be left blank) for a new account, and check FTP Access in the list.

– Click Append.

Beijer Electronics Data Collector can use this account when connecting.

Creating a network account

er Electronics, MAEN826B 9

Page 10: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

System Requirements

10

2.3.4 Settings if Using a Modem (PPP)If the connection to the operator panel is made via a modem (PPP), some settings have to be made in the operator panel project:

– Double-click on the Peripherals folder in the Project Manager.

– In the Peripheral Configuration window, drag TCP/IP Connection 2 to the RS-232C COM port.

– Right-click on TCP/IP Connection 2 and make the following settings:

Settings for TCP/IP

– Click Advanced.

Advanced PPP settings

– Enter the Local address; in this case 192.168.98.1. This address is the operator panel address, and Beijer Electronics Data Collector will connect to this address when using PPP.

– Enter the Remote address; in this case 192.168.98.2. This is the address of the PC where Beijer Electronics Data Collector runs.

Parameter Setting

Connection name Enter a name for the connection. However, Beijer Electronics Data Collector will not use it.

Act as Server

Serial protocol PPP

PPP - Login verification method

None If login is preferred, check PAP or CHAP.

Beijer Electronics, MAEN826B

Page 11: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

System Requirements

Beij

If for some reason one or both of these addresses cannot be used by the PC where Beijer Electronics Data Collector runs, change both addresses here in the Advanced PPP Settings window.

– Uncheck Use remote address as gateway.

2.3.5 Settings if Using a Null Modem Cable and PPP

If the connection to the operator panel is made via a null modem cable (PPP), some settings have to be made in the operator panel project:

– Double-click on the Peripherals folder in the Project Manager.

– In the Peripheral Configuration window, drag TCP/IP Connection 2 to the RS-232C COM port.

– Right-click on TCP/IP Connection 2 and make the following settings:

Settings for TCP/IP

– Check Use logon script and click Edit script.

Editing the logon script

– Enter these two lines as the logon script.WAIT:CLIENTSEND:CLIENTSERVER(Supported only by the older operator panel series)

Parameter Setting

Connection name Enter a name for the connection. However, Beijer Electronics Data Collector will not use it.

Act as Server

Serial protocol PPP

PPP - Login verification method

None If login is preferred, check PAP or CHAP.

er Electronics, MAEN826B 11

Page 12: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

System Requirements

12

– Click Advanced.

Advanced PPP settings

– Enter the Local address; in this case 192.168.98.1. This address is the operator panel address, and Beijer Electronics Data Collector will connect to this address when using PPP.

– Enter the Remote address; in this case 192.168.98.2. This is the address of the PC where Beijer Electronics Data Collector runs.

If for some reason one or both of these addresses cannot be used by the PC where Beijer Electronics Data Collector runs, change both addresses here in the Advanced PPP Settings window.

– Uncheck Use remote address as gateway.

2.3.6 Settings if Using DHCPIf using DHCP, a setting has to be made in the operator panel project. Since the operator panel in this case is assigned an IP address from a DHCP server, it must have a name to be identified by in the network.

– In the Setup menu, select Network/TCP/IP Connections/Connection1.

Selecting DHCP

– Select DHCP from the list and enter a connection name. This name will represent the operator panel in the network.

The network has to be configured so that the operator panel can be identified using its name. (Check this with your network administrator.)

If the settings have been configured properly it should be possible to ping the opera-tor panel using the command:

ping PanelName

In Beijer Electronics Data Collector you should use the operator panel name instead of the IP address under Settings.

Beijer Electronics, MAEN826B

Page 13: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Installation

Beij

3 Installation

Beijer Electronics Data Collector is installed in the computer by double-clicking on Setup.exe, or by selecting Run from the Start menu and typing e:\setup.exe (assuming that e: is the default drive for the CD), and following the instructions.

Selecting components during installation

It is possible to install one of the two programs in case you want to run Beijer Electronics Data Collector and Beijer Electronics Viewer on two different computers. This is possible only if both computers can connect to the same database.

You may want to use a database like Microsoft SQL Server in that case.

3.1 HASPWhen Beijer Electronics Data Collector is started, the HASP key must be inserted into the USB or parallel port, otherwise the program will run in demo mode for a limited trial period.

3.2 Multiple Data CollectorsIt is possible to run more than one Beijer Electronics Data Collector in a computer. Multiple copies of the Beijer Electronics Data Collector software must be installed in different folders so that they have their own INI files for settings.

Start the programs with the command line parameter -Multiple to allow multiple copies of the program to run, e.g. C:\Program Files\Beijer Electronics AB\BEDataCollector\BEDataCollector.exe -Multiple.

3.3 Uninstalling the SoftwareTo uninstall Beijer Electronics Data Collector, run Add/Remove Programs from the Control Panel.

er Electronics, MAEN826B 13

Page 14: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Installation

14

Beijer Electronics, MAEN826B
Page 15: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

4 Using Beijer Electronics Data Collector

Beijer Electronics Data Collector is a program that communicates with operator pan-els that are connected with the host computer in an Ethernet network, or via modem (PPP). The program collects all alarms and trends from one operator panel at the time and writes them to a database. Only new data will be added to the database.

Recipes can also be automatically downloaded from the operator panels.

To start Beijer Electronics Data Collector, double-click its icon on the Windows desktop or select the program from the Start menu.

4.1 The Main WindowThe main window has a menu and a status bar.

The Main window

4.1.1 The File MenuThe File menu has three options:

The File menu

Option Description

Settings General configuration of Beijer Electronics Data Collector. Use this function to define operator panels, database, and other settings.

Show log Use this function to show the log file with messages from the program.

Exit Use this function to exit the program.

er Electronics, MAEN826B 15

Page 16: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

16

4.1.2 The Tools MenuThe Tools menu has three options:

The Tools menu

4.1.3 The Status BarThe status bar has three parts:

– In the left part, Beijer Electronics Data Collector displays different types of mes-sages.

– The middle part displays the date and time for the next automatic collection of data from operator panels.

– The right part of the status bar displays current date and time in the computer.

4.1.4 Cancel Button and Error MessagesWhen the program collects data, a button with a stop sign will be displayed in the window. The button can be used to cancel the collection.

If there is an error message in the log file, a symbol and the text Error(s) reported in logfile will be displayed. The symbol will be shown until the log file is viewed or the program is shut down.

The Cancel button and the symbol for error messages

Option Description

Manual collection This allows the user to collect data from the operator panels instantly.

Convert from files Convert from trend and alarm files in a specified folder.

Transfer recipes A tool for manual transfer of recipes from/to the operator panel.

Beijer Electronics, MAEN826B

Page 17: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

4.1.5 Minimizing the ApplicationIf Beijer Electronics Data Collector is minimized, its icon will be displayed in the no-tification area in the bottom right-hand corner on the screen.

When in the notification area, the program can be restored to normal size again by double-clicking the icon in the systray. Right-click the icon in the notification area to display a small menu.

The notification area menu

Select Open to restore the program to normal size.

Select Exit to close the program.

er Electronics, MAEN826B 17

Page 18: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

18

4.2 SettingsThe settings dialog has three tabs: Terminals, Database and General. Clicking a tab displays the settings for that tab.

4.2.1 The Terminals TabAll information about an operator panel is defined on the Terminals tab.

When all the information is entered click the Save button.

Clicking Cancel cancels all changes made (except new RAS connections in Win-dows.) If changes are made and the Cancel button is clicked, a message will appear notifying about unsaved changes.

Settings on the Terminals tab

Beijer Electronics, MAEN826B

Page 19: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

Importing from Project– Click the Import from project button to import all the settings from an operator

panel project.

– Choose a project from the open file dialog and click Open.

– Enter a name for the operator panel or click OK.

Entering a panel name

If the operator panel project has settings to allow connection both by PPP and Eth-ernet, the program will ask which one to use. (This can be changed later.)

If the operator panel project has support for multiple languages, the program will ask for the default language to use for alarm group names and alarm texts.

Selecting default language

The import function will show a message like this if it discovers any of the issues mentioned in chapter Special Issues.

Special issues report

If PPP was selected, the program will ask if the settings for the PPP connection should be completed now. (These settings can be changed later.)

An operator panel will be added to the list in the Terminals window, containing in-formation about IP-address, username, password, trends and alarms.

The trend curves will have the names of the signals that the operator panel uses.

Even though it is possible to enter all settings manually, it is recommended to use the import function.

er Electronics, MAEN826B 19

Page 20: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

20

Operator Panel InformationTo view the settings for an operator panel, select that operator panel in the operator panel list.

The checkbox to the left of the operator panel name in the list is used to enable or disable the operator panel. If an operator panel is disabled, no data for that operator panel will be collected.

The following settings can be made for the operator panel:

Post ProcessingClicking the Post processing button makes it possible to enter the path and file name of an application that is to be run when data for the current operator panel are col-lected. This application will be started with the parameters entered in the field called With parameters.

Post processing

A small green square on the Post processing button indicates that post processing is enabled for the current operator panel.

Note that the application will be started after every collection for that operator panel, it is up to that application to stop running.

E.g. if the program name is C:\Program Files\MyApp.exe and the parameter is /Panel1, Beijer Electronics Data Collector will make this call “C:\Program Files\MyApp.exe /Panel1”.

Post processing can either be enabled or disabled.

Parameter Description

Ethernet or PPP

Select if the connection to the operator panel should be via Ethernet or via a modem (PPP).

IP Address/URL

The IP address for the operator panel.If Ethernet and DHCP is used, it can also be a name that identifies the operator panel.

Terminal (FTP) User Name

This name must be the same as an account name for an account with FTP access. Leave blank if accounts are not used.

Terminal (FTP) Password

The password for the account. Leave blank if accounts are not used.

Terminal (RAS) Connection

The name of a Windows RAS Connection. The field will only be visible if PPP is selected.

Terminal (RAS) Phone

The phone number to the modem connected to the operator panel. Or left empty if a null modem cable is used. The field will only be visible if PPP is selected.

Date Time Format

These settings must be identical to the ones used in the operator panel, or the data cannot be saved to the database.

FTP Delimiter This setting must be identical to the one used in the operator panel, or the data cannot be saved to the database. Note that depending on delimiter, the files saved in the _Temp direc-tory will have different file extensions and file formats.

CF/USB If enabled, also the trends saved to Compact Flash or USB memory via the operator panel backup function will be collected and stored in the database.

Max folders If CF/USB is enabled only so many folders specified for Max folders will be downloaded from the operator panel. Set to 0 if no limit.

Beijer Electronics, MAEN826B

Page 21: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

Collection IntervalClicking the Collection interval button makes it possible to configure a special col-lection interval for an operator panel. Like post processing, this can be enabled or dis-abled. When enabled, data collection for this operator panel will only occur according to interval specified here. However, if manual collection is initiated, data for all/included operator panels will be collected disregarding collection interval.

Collection interval for the operator panel

First select the interval of the automatic collection. Days, Hours, Minutes or Manual can be selected.

If the interval is set to Manual, data for this operator panel will not be downloaded automatically on a time interval.

Then enter values for the fields Collect every and start date and time.

Example: If the Collection interval is set to Days, the Collect every to 7, and start date and time is 2005-11-01 05:00:00, the automatic collection will run once every week, starting at 2005-11-01 05:00:00. The program will update the date and time value for next collection when the collection has been done. In the example the next date and time will be set to 2005-11-08 05:00:00.

Recipes

Checking Enable recipe collection downloads recipes from the current operator pan-el.

This also requires that the Collect recipes checkbox on the General tab is checked and that a collection directory has been specified.

If not all recipe files should be downloaded, a prefix can be defined. Only recipe files starting with this prefix will be downloaded. Leave blank otherwise.

er Electronics, MAEN826B 21

Page 22: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

22

Retries

If the connection to an operator terminal fails, the program will try to again later. Max number of retries states how many such retries and Interval between retries how many minutes between each attempt.

If all attempts fails, data from this operator terminal will not be collected until its time for next automatic collection.

RASClick the RAS button to create or check RAS connections.

Adding a RAS connection

Select a connection from the RAS connections in Windows, or enter a name for a new connection and click the Create button to make a new connection in Windows.

New connections can also be created in the Windows Control Panel.

Click the Properties button to view the settings for the connection in Windows.

Enter a phone number for this operator panel. The phone number will be used when calling this operator panel with the selected RAS connection; there is no need to have a RAS connection in Windows for each operator panel.

The phone number may be left empty if a null modem cable is used.

Click the Connect button to check that the RAS connection works. Check the mes-sages in the list to make sure that a successful connection could be established, and click the Disconnect button to hang up.

Click OK to confirm the selection of connection and phone number for this operator panel.

Click Cancel to leave the dialog without saving changes. Clicking Cancel will not undo new RAS connections made in Windows though.

Ping TerminalClick the Ping terminal button to determine if it is possible to establish a connection to the selected operator panel.

Beijer Electronics, MAEN826B

Page 23: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

FTP ModeClick the FTP mode button to change the settings for the FTP.

These settings should normally not be changed, unless there is a problem with the firewall settings.

FTP mode settings

The default setting is Active mode. For some firewalls, Passive mode (WWW style) can be more useful.

Add Operator PanelTo add a new operator panel manually, click the Add terminal button.

Adding an operator panel manually

Delete Operator PanelTo delete an operator panel, select it in the list and click the Delete button, or press Delete on the keyboard. The operator panel will be removed from the list.

The database tables for the operator panel will not be deleted though.

Parameter Description

Terminal Name

The name of the operator panel that describes the operator panel. The name does not have to be the same as for the operator panel project.

IP Address / URL

Enter the operator panel IP address if connecting via Ethernet. If con-necting via modem (PPP), this field may be left blank. The address can also be a name that identifies the operator panel on the Ethernet if DHCP is used. Please see the section Settings if Using DHCP.

Terminal (FTP) Username

This name must be the same as an account name for an account with FTP access. Leave blank if accounts are not used.

Terminal (FTP) Password

The password for the account. Leave blank if accounts are not used.

er Electronics, MAEN826B 23

Page 24: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

24

4.2.2 Alarm GroupsAdd Alarm GroupTo add a new alarm group, click the Add Alarms button, and enter a name for the group.

Adding an alarm group

The name must be exactly the same as in the operator panel project. The name can only have uppercase characters and a maximum length of 8 characters. This name will be used in the database as the default alarm group name.

Alarm AliasIf the project has support for multiple languages, an alarm group may have different names in the languages used. All of these names must be entered in the alias list for the alarm group. When reading the alarms from the operator panel, the alarm group name will be converted to the default name before they are stored in the database. The default name is the name in the alarm group list.

Click the Alias List button to add aliases.

The Alias list

In the picture the name LARM is the default name, and the name ALARMS is in the alias list. If the operator panel is set to English, the name ALARMS will be changed to LARM before alarms are stored in the database.

Delete AliasTo delete an alias from the list, select it, and click the Delete Alias button.

Add AliasTo add an alias to the list, first type the name in the field at the bottom of the dialog. Then click the Add Alias button. The default alarm group name cannot be added to the alias list.

Delete Alarm GroupTo delete an alarm group, select it in the list and click the Delete button, or press Delete on the keyboard. The alarm group will be removed from the list and no alarms from this group will be collected from the operator panel. If the alarm group had an alias list, this will be deleted as well. The alarms for this alarm group will not be re-moved from the database though.

Beijer Electronics, MAEN826B

Page 25: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

Alarm TextsIf multiple languages are used in the operator panel project, the alarm texts for the languages can be edited by clicking the Alarm texts button.

Editing alarm texts

To edit a text, click on that cell and change the text.

There is one column per language. The default language is marked with the text (De-fault).

New LanguageClick the New language button to add a language.

Adding a language

Enter the name of the language and click OK.

It is possible to use more languages than in the operator panel, making it possible to convert alarm texts to a language not defined in the operator panel.

Delete LanguageClick the button Delete language to delete a language.

Deleting a language

Select the language to delete and click OK.

It is possible to have fewer languages than in the operator panel, but if the operator panel is set to use a language that is missing in settings, then the alarm texts cannot be converted to the default language when collected. There is really no reason to de-lete a language.

er Electronics, MAEN826B 25

Page 26: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

26

Set DefaultClick the Set default button to set another language as the default language.

Setting another language as the default language

Select a language to set as the default language and click OK.

When the alarms are collected from an operator panel, the alarm texts will be con-verted to the default language before they are saved in the database.

If there are alarms in the database already, and another default language is selected, the alarm texts stored in the database will not be changed.

New AlarmClick the New alarm button to add a new alarm in the table. A new row in the table will be created where the alarm texts for all languages can be entered.

It is also possible to add new alarms by moving below the bottom row in the table using the down arrow key.

Delete AlarmTo delete an alarm, select that row in the table, and press Delete on the keyboard.

It is possible to have fewer alarms in the settings than in the operator panel. This could be useful for example if the conversion of a special alarm text to the default lan-guage is not wanted.

One case might be if Text 1 in Language A is the same as Text 2 in Language B. This rare situation could make Beijer Electronics Data Collector convert to the wrong text.

Beijer Electronics, MAEN826B

Page 27: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

4.2.3 TrendsThe operator panel data logger object is also supported in Beijer Electronics Data Collector. The only difference between the data logger object and the trend object is that the data logger object can contain up to 16 curves and the trend object only 6. The data logger object will be referenced as a trend object further on in this docu-ment.

Add TrendTo add a new trend, click the Add Trend button, and enter a name.

Adding a trend

The name must be exactly the same as in the operator panel project, otherwise the trend data cannot be found in the operator panel. The name can only have uppercase characters and a maximum length of 8 characters.

When the trend is added, it is possible to add trend curves for that trend.

Delete TrendTo delete a trend, select it in the list and click the Delete button, or press Delete on the keyboard. The trend will be removed from the list and this trend will not be col-lected from the operator panel. The database table for the trend will not be removed though.

Add Trend CurveTrend curves can be added to trends.

Adding a trend curve

The first curve added will be assigned to Curve 1 in the operator panel project, and so on.

Gain and Offset can be used to calculate the value before it is stored in the database, using this formula:

Result = Gain * Signal + Offset

er Electronics, MAEN826B 27

Page 28: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

28

Also decide whether the curve should be logged as one of the two special formats ASCII or Positive Double Register.

If a curve is added to a trend, the trend data for that trend in the database will be cleared. It is advisable to always make a backup of the database before you alter the number of curves in a trend if there already exists data in the database.

Delete Trend CurveTo delete a trend curve, select it in the list and click the Delete button, or press Delete on the keyboard. The trend curve will be removed from the list.

It is not advisable to delete any curves, especially if the operator panel project has been imported into Beijer Electronics Data Collector. The trend is collected from the operator panel and the first curve defined in Beijer Electronics Data Collector will get the data from the first curve in the operator panel project. If not all curves are of interest, apply the filter in Beijer Electronics Viewer instead, to view the curves of in-terest.

Rename Trend Curve

It is possible to rename a trend curve.

Format Description

ASCII A 16-bit register will be divided into two 8-bit ASCII characters. The information will be saved as a string instead of a number.

Positive Double Register

The number will be in the range of 0 to 65535 instead of -32768 to 32767.

Note:The database table for the trend will be cleared. It is advisable to always make a back-up of the database before you alter the number of curves in a trend if there already exists data in the database.

Beijer Electronics, MAEN826B

Page 29: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

4.3 The Database TabOn the Database tab, settings concerning the database can be altered.

Database settings

4.3.1 Database SettingsThe Data connection can be of the following kinds:

The setting for provider is only used when database connection is set to Access. The default setting Microsoft.Jet.OLDEB.4.0 could be used if using the default database.

Data connection Description

Access Used for Microsoft Access databases only. A Microsoft Access data-base is included with the installation.

DSN (ODBC) Can only be used if a DSN have been configured in Windows Control Panel.Beijer Electronics Data Collector should be able to use any database with a DSN, even though it has only been tested with Microsoft Access, MSDE and Microsoft SQL Server.

File DSN (ODBC) Can only be used if a File DSN have been configured in Windows Control Panel.

Connection string A user-defined string to establish connection to the database.

er Electronics, MAEN826B 29

Page 30: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

30

The setting for Data source depends on the setting for Data connection:

If login information is requested by the database, then enter user name and password in the fields called User and Password.

To check the connection with the database, click the Test connection button.

4.3.2 Database MaintenanceThere are two methods for database maintenance:

– Backup (for Microsoft Access only)

– Deletion of old records; both trend and alarm data will be affected.

The setting for the backup operation is a backup directory where the backup copy of the Microsoft Access database should be stored. The database copy will have the cur-rent date as file name, e.g. 2005-10-31.mdb. Click the browse button next to the field for backup directory to select a directory.

Check Backup to enable the backup operation.

The setting for the deletion operation is a numerical value. E.g. if the value is set to 1 day, then records older than 1 day will be deleted. (If the deletion operation runs at 2005-02-23 14:30:00, records older than 2005-02-22 00:00:00 will be deleted).

If a Microsoft Access database is used, the database will be compacted when the de-letion operation has finished.

Check Delete records older than to enable the deletion function.

It is possible to run the enabled functions manually by clicking the Manual button. If a backup file with the file name already exists, a warning will be displayed.

The enabled functions can run automatically if Automatic is checked.

The settings for automatic maintenance are a value for interval in days and a start date and time.

Example: If the interval is set to 1 day and start date and time is set to 2005-11-01 23:00:00, automatic maintenance will run once every day and the first time will be at 2005-11-01 23:00:00.

The program will update the start date and time when the maintenance is finished.

If automatic backup is executing and a file with that name already exists, the file will be overwritten by the new file.

Data connection Data source

Microsoft Access database (with the default provider)

The path and file name for the database file. Click the button to the right of the text field to browse for a file. The default database is a Microsoft Access database called betrend.mdb with the path: “installation path”\betrend.mdb.

DSN (ODBC) The name of a DSN as defined in the ODBC manager in Windows Control Panel. Click the button to the right of the text field to browse for a DSN.

File DSN (ODBC) The path and filename of a file DSN as defined in the ODBC manager in Windows Control Panel. Click the button to the right of the text field to browse for a file DSN.

Beijer Electronics, MAEN826B

Page 31: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

It is also possible to delete all tables and data in the database for a terminal.

Click the button Delete terminals from the database to display a window with a list of all existing terminals in the database.

If the terminal exists in the settings, it will not be deleted from the settings, but the program needs to be restarted before new data can be collected to that terminal.

4.4 The General TabAdditional settings are available on the General tab.

The General tab

er Electronics, MAEN826B 31

Page 32: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

32

4.4.1 General Collection Interval and SettingsThe program automatically collects data from all enabled operator panels, with no collection interval of their own enabled, with the interval set up on this tab.

First select the interval of the automatic collection. Days, Hours or Minutes can be selected.

Then enter values for the fields Collect every and start date and time.

Example: If the Collection interval is set to Days, the Collect every to 7, and start date and time is 2005-11-01 05:00:00, the automatic collection will run once every week, starting at 2005-11-01 05:00:00. The program will update the date and time value for next collection when the collection has been done. In the example the next date and time will be set to 2005-11-08 05:00:00.

4.4.2 Miscellaneous

Parameter Description Default setting

Number of decimals

Number of decimals for the values when saved to the data-base.

4

Remove Files

If checked the SKV/TXT/CSV files that has been collected from the operator panel will be deleted after the informa-tion is saved to the database. The SKV/TXT/CSV files are stored in a folder called _temp located in the folder where Beijer Electronics Data Collector was installed.

Unchecked

Convert If this is checked the function that stores the information in the database will be activated. If not, the SKV/TXT/CSV files will be downloaded, and saved in the _temp directory but nothing will be stored in the database.

Checked

Download If this is checked the function that collects the SKV/TXT/CSV files will be activated. If not, no files will be down-loaded, but values in already existing files in the _temp directory will be stored in the database.

Checked

Beijer Electronics, MAEN826B

Page 33: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

4.4.3 Recipe CollectionCollect RecipesTo ensure that the recipes in the collection directory are the same as the current ones in the operator panel, check Collect recipes.

A folder with the operator panel name will be created in the specified collection directory, and the operator panel recipe structure will be created in this folder.

This structure will be recreated every time a collection occurs. This means that only recipes existing in the operator panel at the collection time will be found in this directory.

If a failure occurred while collecting the recipes from the operator panel, a file with the name 00000 ATTENTION – COLLECTION FAILED 00000 will be created in the recipe structure to notify the user that the contents of the recipe structure is not identical to the operator panel.

Backup RecipesTo create a backup set of the recipes, check Backup recipes and specify a backup di-rectory. This directory cannot be the same as the recipe collection directory (or a sub-directory to the recipe collection directory) since the collection directory is recreated when collection occurs. All recipes collected from the operator panel will be copied (overwritten) to this directory.

This means that the latest version of a recipe in the operator panel is also kept in the PC.

A file in this directory is never deleted, that is, a recipe can be deleted in the operator panel but can still be found in this directory if ever backed up once.

4.4.4 Post ProcessingPost processing allows the user to enter the path and file name of an application that is to be run when data for all operator panels are collected. This application will be started with the parameters entered in the With parameters field.

Note that the application will be started after every collection; it is up to the applica-tion to stop running.

Example: If the program name is C:\Program\MyApp.exe and the parameter is -myflag, Beijer Electronics Data Collector will make this call C:\Program\MyAppExe –myflag.

Note:The Collect recipes function is not to be considered as a backup of recipes.

er Electronics, MAEN826B 33

Page 34: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

34

4.5 Transfer RecipesThe Transfer recipes function in the Tools menu allows manual transfer of recipes to/from the operator panel.

Transfer recipes

Select an operator panel from the list and click Connect.

The left side of the window will show the recipe hierarchy in the connected operator panel.

The right side shows the hierarchy in the computer.

Deletion of recipes and creation of new directories is available functions on the op-erator panel side. At the PC side, creation of new folders is available.

When connected, recipes can be sent to the PC (Receive >) or to the operator panel (< Send). Only files with the extension *.txt, *.csv and *.skv will be shown in the file lists, since recipes must have that extension in the operator panel. Only files with ex-tension corresponding to the chosen FTP delimiter in settings can be sent to operator panel.

Example: If TAB is used as FTP delimiter in the operator panel, only txt-files can be sent.

Note:If the setting Enable directories in the configuration tool for the operator panel is checked, directories can be created on the operator panel side, but the root directory RECIPE cannot contain any recipes. If unchecked, recipes must reside in the root direc-tory since creation of new folders is not allowed.

Beijer Electronics, MAEN826B

Page 35: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

4.6 Log FileBeijer Electronics Data Collector will save messages about events and problems in a log file.

The Log File

Example of logged message Steps to take to solve the problem

2001-10-25 14:30:00: Error while downloading. Cannot connect to 172.20.101.46 using User and Password param-eters.

Check the settings, the IP-address, user name or password could be wrong.

2001-10-25 14:30:05: The file C:\Program\Beijer\BEDataCollector\_temp\TREND_operator terminal2_BAR’ could not be found.

Check the settings, the trend name probably does not match the name in the operator panel.

2001-10-25 14:30:06: The file C:\Program\Beijer\BEDataCollector\_temp\ALARM_operator terminal2_FUNTION’ could not be found.

Check the settings, the alarm group name probably does not match the name in the operator panel.

er Electronics, MAEN826B 35

Page 36: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

36

4.7 Collecting DataWhen all settings have been made it is possible to manually collect data from the op-erator panels. This command also runs automatically if set up on the General tab and applies to operator panels without individual collection interval enabled.

4.7.1 Manual CollectionManual collection makes it possible to collect data from all or specific operator panels instantly, disregarding their collection interval. When selecting Manual collection from the Tools menu, the following window will be displayed.

Manual collection

The user can select if all operator panels are to be collected or specify the operator panel(s) of interest. By clicking Collect now, the window will close and the collection will start.

4.7.2 Convert from filesIf the trend and alarm files have been copied from the terminal in some other way than via BEDataCollector, it is still possible to convert the data from the files to the database. Select the function Convert from files in the Tools menu. A window opens where it is possible to select an active terminal and a folder where the trend and alarm files are located.

The names of the files should be the same as in the terminal, e.g- TREND1.SKV.

The files will not be deleted after they are read.

Beijer Electronics, MAEN826B

Page 37: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

Beij

4.8 Compact Flash/USB Backup FoldersDepending of the system software in the operator panel there are two formats for the backup folders created via the backup function (TBUP/TBS/TMB, for more infor-mation see the operator panel manual):

Old Format:MMDDHHNN.SS - where MM is month, DD is day, HH is hour, NN is minute and SS is second.

New Format:YYMMDDHH.xxx - where YY is year, MM is month, DD is day, HH is hour and xxx is a number between 000 and 999.

Different Backup ApproachesWhen Beijer Electronics Data Collector downloads from the backup, two different approaches are used: one if all folders have the old format, one if at least one folder has the new format.

All Folders Have the Old FormatIf all folders have the old format, a list of already downloaded folders will be kept on the PC. At the next collection, only those folders that does not already exist in that list will be downloaded.

This is because there is no way of telling the order of folders just by looking at the folder name.

The folders are then ordered by looking into the trend file record dates.

At the first collection when there is no list, no folders will be downloaded. This means that the function will start working from the second collection and forward. (To download all folders could possibly take several hours.)

At Least One Folder Has the New FormatIf at least one folder has the new format, only the folders with the new format will be handled. It is possible to order the folders just by looking at the folder name. Only those folders with record dates newer than the newest in the database will be down-loaded.

When the trend data is entered into the database, first the backup trends will be en-tered, and then the data from current trend objects.

Note:If the value for Max folders is set too high at the first download, the download may take several hours.

er Electronics, MAEN826B 37

Page 38: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Using Beijer Electronics Data Collector

38

4.9 Command Line ParametersThe following parameters can be used on the command line:

Parameter Description

-Xnn The program will not start downloading until after nn seconds. This parameter can be used if the program is started at Windows startup to make sure all other services and networks have started up before a collection is made.

-MULTIPLE If more than one instance of the program is installed, this parameter allows multiple programs to run at the same time.

Beijer Electronics, MAEN826B

Page 39: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Special Issues

Beij

5 Special Issues

There are some settings in the operator panel that may affect the data collected by Beijer Electronics Data Collector.

5.1 Alarm Group Names and Multiple Languages

When an operator panel project uses multiple languages, the alarm group name may vary in the supported languages; e.g. an alarm group can be named Alarms in English and Larm in Swedish.

Alarm groups in the configuration tool for the operator panel

When the alarms are read in the operator panel, the alarm group name used depends on the language set up in the operator panel at that time.

Beijer Electronics Data Collector needs the alarm group name to find the alarms for that group and therefore there is something called an alias list. If all the names are in the alias list, the alarms will be found. Not only does the program find the alarms; the program will also use a default alarm group name when the alarms are saved in the database.

In the example the name Alarms is the default name, since that name is set in the Alarm Groups list on the Terminals tab, and the name Larm is in the Alias List.

Alias list

There are two ways to handle alarm group names in operator panel project that uses multiple languages:

– Giving all alarm groups the same name in all languages in the operator panel.

– Making sure that the alias lists are set up to include all different alarm group names.

er Electronics, MAEN826B 39

Page 40: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Special Issues

40

There is a rare situation when Beijer Electronics Data Collector will not find the right default alarm group name:

Example: There are two languages, Language A and Language B.

There are two alarm groups.

In Language A the groups are named SILO and TANK.

In Language B the groups are named TANK and CONTAINER.

Since the name TANK is not unique; in Language A it is used for the second alarm group, and in Language B it is used for the first alarm group, Beijer Electronics Data Collector will not be able to convert it correctly.

Note:If an alarm group name for one language is missing in the alias list and the operator panel is set to that language, the alarms for that group will not be found when collect-ing alarms.

Note:Make sure to make all alarm group names unique.

Beijer Electronics, MAEN826B

Page 41: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Special Issues

Beij

5.2 Alarm Texts and Multiple LanguagesWhen an operator panel project uses multiple languages, the alarm text may vary in the supported languages, e.g. an alarm text may be Alarm high temperature in English and Larm hög temperatur in Swedish.

Alarm texts in the configuration tool for the operator panel

When the alarms are read from the operator panel, the alarm text depends on the lan-guage set in the operator panel at that time.

Beijer Electronics Data Collector can convert the alarm texts to a default language before they are saved in the database, making the database independent on selected language in the operator panel.

There is a table in settings with all the alarm texts where it is possible to select a de-fault language.

Beijer Electronics Data Collector can convert an alarm text if:

– The alarm text is included in the table.

– The alarm text has no dynamic information.(Dynamic information is analog numeric objects or digital text objects added to the alarm text definition in the operator panel.)

If the program cannot convert an alarm text, the original alarm text will be saved in the database.

er Electronics, MAEN826B 41

Page 42: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Special Issues

42

5.3 Multiple Languages and Unicode Languages

Even though Beijer Electronics Data Collector imports Unicode texts from an oper-ator panel project with a Unicode language, it has not been tested so there are no guarantees it will work.

5.4 Trend Settings and Store Changed Samples

There are two selections for Trend settings under Setup/Terminal Options in the configuration tool for the operator panel:

Store Changed SamplesEach curve in a trend has its own limited buffer to store values and when the buffer gets full, the oldest value will be dropped.

The operator panel will check the values for each curve in a trend depending on the trend objects sample interval. Only the curves with changed value will save their val-ue.

If one curve in a trend changes value frequently and another does not, the following will happen when the trend data is collected: All existing records will be included, and the curve that does not change value so often will have older records than the frequently changing one. For such a record, the frequently changing curve will not have any stored value, and therefore its value will be reported as a blank value.

When Beijer Electronics Data Collector collects the trend information, a blank value will be represented by a null value in the database.

Beijer Electronics Viewer will plot a blank value as the value zero in the chart.

If this is a problem, try to have curves in a trend that changes values at about the same frequency, or use Store all samples.

Store All SamplesAll curve values will be logged when the trend data is logged in the operator panel; no values will be left blank.

Note:This setting is not recommended when having more than one curve in a trend, or the curve update frequencies are too different.

Beijer Electronics, MAEN826B

Page 43: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Beijer Electronics Viewer

Beij

6 Beijer Electronics Viewer

Beijer Electronics Viewer is used to view the alarms and trends that have been col-lected by Beijer Electronics Data Collector. Beijer Electronics Viewer can also view recipe files.

To start Beijer Electronics Viewer, select the program from the Start menu.

6.1 The Main WindowThe main window has four menus: File, Show, Window and Help.

The Main window

The File menu contains the commands Settings and Exit.

The command Exit shuts down Beijer Electronics Viewer.

er Electronics, MAEN826B 43

Page 44: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Beijer Electronics Viewer

44

6.2 SettingsBeijer Electronics Viewer has its own settings for database. This is because Beijer Electronics Viewer can be installed in another directory or on another PC than Beijer Electronics Data Collector.

It is also possible to view data from another database than selected in Beijer Electron-ics Data Collector, e.g. a backup database.

Settings for Beijer Electronics Viewer

Beijer Electronics Viewer can be run in two ways:

– Beijer Electronics Viewer is in the same directory as Beijer Electronics Data Collector.

When Beijer Electronics Viewer is started, it will get the current settings for the database from Beijer Electronics Data Collector.

The database settings can be changed in Beijer Electronics Viewer but those changes will only last until Beijer Electronics Viewer is stopped.

– Beijer Electronics Viewer is in another directory or on another PC.

Beijer Electronics Viewer has its own settings for database.

These settings can be saved and used again at next startup of Beijer Electronics Viewer.

Changes made to database settings in Beijer Electronics Viewer will never affect the database settings for Beijer Electronics Data Collector.

For database connection settings, please see the section Database Settings.

Beijer Electronics, MAEN826B

Page 45: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Beijer Electronics Viewer

Beij

6.3 View TrendTo view a trend, select Trend in the Show menu.

The Trend viewer

The window can display trends from all the operator panels.

The following settings can be made:

When all settings have been set, click the button Display to show the chart.

If settings are changed, click Display again.

It is possible to zoom in on a trend by clicking the left mouse button, holding it down and drawing a rectangle. This procedure can be repeated to get a more detailed view of the trend. Click Display to reset zoom.

Setting Description

Start date Start date and time for the interval. To change the date, either type the date in the field or click the button to the right of the date to pick the wanted date from a calendar.

End date End date and time for the interval.

Show points Displays an X in the graph for all records in the trend.

Legend Information about each line in the trend will be displayed in the top right corner.

Tooltip The X and Y value will be shown if the mouse pointer is placed over a point in the trend area.

Min/Max Draw dotted lines for min and max values in the interval.

Decimals The number of decimals used on the y-axis.

Filter curves Makes it possible to show/hide any curve in the trend.

Terminal Select an operator panel to show trends for, or select All to show trends from all operator panels.

Trend Choose between the different trends that are available for the selected operator panel. The trend names have the format TREND_Panel1_TREND1, where Panel1 is the operator panel name and TREND1 is the trend name.

Customized trend configuration

Instead of showing curves from a selected panel and trend, it is also possible to show curves defined by a configuration.

er Electronics, MAEN826B 45

Page 46: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Beijer Electronics Viewer

46

Use the Print button to print the graph.

6.3.1 Customized Trend ConfigurationIt is possible to add up to 16 different curves to a configuration. The curves can be from different trends and even different panels.

Select panel name, trend name, and curve and then click Add to add that curve to the configuration.

To remove a curve, first select that curve in the list and then click the Remove button.

In the File menu there are functions for:

– Making a new configuration

– Open an existing configuration for editing

– Saving an edited configuration

– Saving a configuration with a new name

– Deleting a configuration

Configurations will be saved to a file with the same name as the configuration in a folder TrendConfig.

These files can be copied and reused on another computer.

Since it is possible to select curves from different trends it is not always the case that the log interval is the same for all curves. If, for example, the configuration has two curves and one curve is missing a value at a time, the latest known value will be used for that curve. This means that it may seem as if the curve had a value when it in fact had not.

However, every curve must have at least one value in the selected interval, otherwise the graph can not be shown.

Note:An asterisk will be shown before a timestamp (see last timestamp in trend above) as an indication of that the actual timestamp is not part of the selected interval. This means that there might be data for the actual timestamp if the interval is expanded.

Beijer Electronics, MAEN826B

Page 47: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Beijer Electronics Viewer

Beij

6.4 Alarm ViewerTo view the alarms, select Alarm in the Show menu.

Alarm Viewer

The Status column can show the following values:

The following settings can be made for the Alarm Viewer:

When all settings are made, click the button Display to view all the alarms from the selected interval. If settings are changed, click Display again.

Use the Print button to print the alarm list.

Value Description

* Active, not acknowledged

$ Inactive, not acknowledged

- Active, acknowledged

<blank> Inactive, acknowledged

Parameter Description

Start date Start date and time for the interval. To change the date, either type the date in the field or click the button to the right of the date to pick the desired date from a calendar.

End date End date and time for the interval.

Descending If the alarms should be presented in descending order.

Terminal Select an operator panel to show alarms for.

Alarm group Select an alarm group to show the alarms for or select All to show all alarms for this operator panel.

er Electronics, MAEN826B 47

Page 48: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Beijer Electronics Viewer

48

6.4.1 Alarm InformationDouble-click on an alarm in the list to display the alarm information.

The status is explained, and if the alarm is inactive, the alarm duration is shown in the format hhhh:mm:ss, where hhhh is hours, mm is minutes and ss is seconds.

Beijer Electronics, MAEN826B

Page 49: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Beijer Electronics Viewer

Beij

6.5 View RecipeTo view the recipes, select Recipe in the Show menu and select the recipe file to open.

Viewing recipes

Each row in the table shows information about an I/O in the recipe.

There are 6 columns in the table:

Click Settings to select what columns to show in recipe windows.

Selecting columns for display of recipes

Click Print to print the information on a printer. Note that all six columns will be printed.

The information in the columns Value, I/O, Data Type and Size/Index comes from the recipe file that is used in the operator panel.

The information in the columns Name and Unit can be entered in the table.

Column Description

Name A name or description for the I/O.

Value The value for the I/O

Unit A text for the unit

I/O The I/O

Datatype The data type for the I/O, e.g. bit device, 16 bit register, string, array.

Size/Index This is used mostly when an I/O has the data type array or a string.

er Electronics, MAEN826B 49

Page 50: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Beijer Electronics Viewer

50

When a recipe is opened for the first time the table will look like this:

In this example the Name and Unit columns are empty. Click Allow Editing and en-ter any text for Name and Unit.

This extra information will be saved in a file called Configuration.cfg in the same fold-er as the recipe. Each time a recipe is opened from this folder, the extra information for Name and Unit will be connected to the I/O and shown in the table, even if there are different kinds of recipes in the same folder.

If a Name and/or Unit text is changed, the information must be saved using the Save configuration button.

Beijer Electronics Viewer can change no other information. However by pressing Ctrl + N on the keyboard, Beijer Electronics Viewer will start up Notepad with the recipe file. Please note that if Notepad changes the recipe file, the information in the table is not updated automatically. Click Refresh to update the information in the table if changed by Notepad or any other editor.

Beijer Electronics, MAEN826B

Page 51: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Beijer Electronics Viewer

Beij

6.6 WindowWith operations in the Window menu it is possible to arrange the different windows of alarms and/or trends vertically and horizontally.

Vertical:

Arranging vertically

Horizontal:

Arranging horizontally

er Electronics, MAEN826B 51

Page 52: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Beijer Electronics Viewer

52

Beijer Electronics, MAEN826B
Page 53: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Database Tables

Beij

7 Database Tables

The default database installed with Beijer Electronics Data Collector is a Microsoft Access database with the name Betrend.mdb. The database tables will be created automatically. When an operator panel is removed from the Settings in Beijer Electronics Data Collector, the corresponding tables in the database will not be re-moved.

There are three kinds of tables in the database:

7.1 Trend TablesThere is one trend table for each trend and operator panel. This table contains infor-mation about each curve in the trend object. The name of a trend table will be TREND_”PanelName”_”trend”.

A trend table could for example be named TREND_Panel2_trend2, and have the fol-lowing columns:

7.2 Curve NamesIf a curve name in a trend is edited, a new table is created with alias names for the trend curves.

(The original trend table column names will never be edited.)

The name of this table will be DEF_TREND_”PanelName”_”Trend”.

A table could for example be named DEF_TREND_Panel2_trend2 and have the fol-lowing columns:

Note:If using another database than the provided MS access database betrend.mdb, an empty database must be manually created.The login used to connect to this database must have permissions to create tables within the database.

Column name Description Data type

LogDt Date and time for the logged value DATETIME

Trendcurve1 The value from the first curve (the name set in File settings)

FLOAT or CHAR(2) if ASCII is selected

Trendcurve2 The value from the second curve (the name set in File settings)

FLOAT or CHAR(2) if ASCII is selected

And so on until a maximum of six trend curves. (16 curves for data logger)

Column name Description Data type

Index Index of the curve, 1,2 etc. INTEGER

Name The new name for the curve VARCHAR(20)

er Electronics, MAEN826B 53

Page 54: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

Database Tables

54

7.3 Alarm TablesThere is one alarm table for each operator panel. This table contains information about all alarms that has been detected in the operator panel. The different alarms have information about the alarm group as well.

An alarm table could for example be named ALARM_Panel2, and have the following columns:

Column name Description Data type

Status The actual status of the alarm for the moment. CHAR(1)

ActiveDt Date and time when the alarm was activated. DATETIME

InactiveDt Date and time when the alarm was inactivated. DATETIME

AckDt Date and time when the alarm was acknowledged. DATETIME

AlarmGroup To which alarm group the alarm belongs. VARCHAR(50)

Alarmtext The alarm text. VARCHAR(50)

Beijer Electronics, MAEN826B

Page 55: Beijer Electronics Data Collector Manualftc.beijer.se/files/C125728B003AF839/C6814A41A05AD9C1C125728E00… · Beijer Electronics Data Collector Manual ... operator panels to a database

HEAD OFFICE

SWEDEN

Beijer Electronics Products ABBox 426SE-201 24 Malmö, SwedenTel: +46 40 35 86 00Fax: +46 40 93 23 [email protected]

SUBSIDIARIES

GERMANY

Elektronik-Systeme Lauer GmbH & Co. KG Kelterstraße 59 72669 Unterensingen, GERMANYTel: +49 7022 9660 0 Fax: +49 7022 9660 103 [email protected]

USA

Beijer Electronics Inc.939 N. Plum Grove Road, Suite FSchaumburg, IL 601 73, USATel: +1 847 619 6068 Fax: +1 847 619 [email protected]

TAIWAN

Hitech Electronics Corp.7 & 8 F, No. 108 Min-Quan RoadShin-Tien, Taipei Shien, TAIWAN, R.O.C. 231Tel: +886-2-2218-3600 Fax: [email protected]

CHINA

Beijer Electronics Co. LtdRoom 201, Buildning B, No. 1618, Yishan Road, Shanghai 201103, CHINA Tel: +86 21 6145 0400 Fax: +86 21 6145 0499 [email protected]