You are on page 1of 68

User Manual COURIER-COMM

User Manual COURIER-COMM

HANDLING OF ELECTRONIC EQUIPMENT


A person's normal movements can easily generate electrostatic potentials of several thousand volts. Discharge of these voltages into semiconductor devices when handling electronic circuits can cause serious damage, which often may not be immediately apparent but the reliability of the circuit will have been reduced. The electronic circuits of ALSTOM T&D Protection & Control Ltd products are immune to the relevant levels of electrostatic discharge when housed in their cases. Do not expose them to the risk of damage by withdrawing modules unnecessarily. Each module incorporates the highest practicable protection for its semiconductor devices. However, if it becomes necessary to withdraw a module, the following precautions should be taken to preserve the high reliability and long life for which the equipment has been designed and manufactured. 1. 2. 3. 4. 5. Before removing a module, ensure that you are at the same electrostatic potential as the equipment by touching the case. Handle the module by its front-plate, frame, or edges of the printed circuit board. Avoid touching the electronic components, printed circuit track or connectors. Do not pass the module to any person without first ensuring that you are both at the same electrostatic potential. Shaking hands achieves equipotential. Place the module on an antistatic surface, or on a conducting surface which is at the same potential as yourself. Store or transport the module in a conductive bag.

More information on safe working procedures for all electronic equipment can be found in BS5783 and IEC 60147-0F. If you are making measurements on the internal electronic circuitry of an equipment in service, it is preferable that you are earthed to the case with a conductive wrist strap. Wrist straps should have a resistance to ground between 500k 10M ohms. If a wrist strap is not available, you should maintain regular contact with the case to prevent the build up of static. Instrumentation which may be used for making measurements should be earthed to the case whenever possible. ALSTOM T&D Protection & Control Ltd strongly recommends that detailed investigations on the electronic circuitry, or modification work, should be carried out in a Special Handling Area such as described in BS5783 or IEC 60147-0F.

Software Licence Agreement


All ALSTOM T&D Protection & Control Ltd programmes and textual works are protected by copyright and are supplied on the condition that the Licencee of every copy of the programmes and text agreed to the Terms and Conditions of this Licence Agreement. The Licencee (which expression includes a purchaser, or a receiver of the Suppliers software on loan) may be held legally liable for any use of the programme(s), texts or documentations which is not in accordance with this Licence Agreement, in certain circumstances this may involve criminal prosecution. The Supplier (which expression means ALSTOM T&D Protection & Control Ltd and its successors and assigns), in consideration of a licence fee paid on its own or as part of a purchase price and the Licencees agreement to the Terms and Conditions of their Licence Agreement, agrees to grant, and the Licencee agrees to accept, a personal, non-exclusive, non-transferable licence to use the Suppliers computer programme(s), text and associated documentation, all hereinafter referred to as the Licenced Programme under the following Terms and Conditions: 1 Scope of Use The Licencee is authorised to use the Licenced Programme in accordance with the Terms and Conditions of this Licence Agreement for the Licencees own purposes on any single computer system that contains no more than one central processing unit (CPU) other than pursuant to Clause 6 hereof. If the Licencee intends to use the Licenced Programme on more than one CPU at a time, a separate set of Licenced Programme is required for each additional CPU. The Licencee may make copies of the Licenced Programme in machine readable form for back-up and archive purposes only, provided that the Licencee has no more than three full or partial copies in existence at any one time and that the original copyright notices and/or other legends are reproduced on each copy. No rights are granted to the Licencee other than expressed in this Licence Agreement. The Licencee agrees NOT TO: 1.1 1.2 1.3 1.4 2. Export or re-export the Licenced Programme without the suppliers approval and the appropriate U.K. or foreign government licences. Make, or permit the making of any copy or copies of the Licenced Programme other than back-up copies permitted under this Licence Agreement. Reverse compile, reverse engineer, disassemble, modify, adapt, list, print or translate or otherwise tamper with the whole or any part of the Licenced Programme(s). Transfer, assign, rent, lease, sell or otherwise dispose of, part with, or share the possession of the Licenced Programme(s). Duration This Licence Agreement becomes effective from the date of the acceptance by the Supplier of the order for the Licenced Programme and shall remain in force until terminated by the Licencee. This Licence Agreement will terminate without notice if the Licencee fails to observe any of the Terms and Conditions of the Licence Agreement. In the event of a termination, the Licencee agrees to delete the Licenced Programme from any storage media that are the property of the Licencee and to return all complete and partial copies of the Licenced Programme together with all copies of text and documentation to the Supplier. 3 Confidentiality The Licenced Programme contains confidential information of the Supplier and all copyright, trade marks and other intellectual property rights in the Licenced Programme are the exclusive property of the Supplier. The Licencee SHALL NOT: 3.1 3.2 3.3 3.4 3.5 3.6 Save as provided in the Licence Agreement copy the whole or any part of the Licenced Programme. Modify merge or combine the whole or any part of the Licenced Programme with any other software or documentation. Use the Licenced Programme on behalf of, or make available the same to, any third party. The Licencee SHALL: Keep confidential the Licenced Programme and limit users of the same to those of its employees agents and subcontractors who either have a need to know or who are engaged in the use of the Licenced Programme. Maintain an up-to-date written record of the number of copies of the Licenced Programme and their locations and upon request forthwith produce such record to the Supplier, and Without prejudice to the foregoing take all such other steps as shall from time to time be necessary to protect the confidential information and intellectual property rights of the Supplier in the Licenced Programme.

Page 4

3.7

The Licencee shall inform all relevant employees agents and sub-contractors that the Licenced Programme constitutes confidential information of the Supplier and that all intellectual property rights therein are the property of the Supplier and the Licencee shall take all such steps as shall be necessary to ensure compliance by its employees agents and sub-contractors within the provisions of this clause. Warranty Subject to the exceptions set out in this clause and the limitations upon its liability in clause 5 below The Supplier warrants that the media upon which the Licenced Programme is stored will for a period of 90 days from the date the Supplier accepts an order for a Licenced Programme be free from defects in material design and workmanship and that the Licenced Programme will conform to the Suppliers specifications. Subject to clause 4.3 below the Supplier shall remedy any breach of the above warranties by the replacement of the Licenced Programme free of charge. The Supplier shall have no liability to remedy a breach of warranty where such breach arises as a result of:

4 4.1

4.2 4.3

4.3.1 The improper use, operation, or neglect of the Licenced Programme, or the computer equipment it is used on. 4.3.2 A modification of the Licenced Programme, or its merging in whole or in part with any other software. 4.3.3 Any repair, adjustment, alteration or modification of the Licenced Programme by any other person than the Supplier, without the Suppliers prior written consent. 4.4 5 Subject to the foregoing, all conditions, warranties, terms and undertakings, express or implied, statutory or otherwise, in respect of the Licenced Programme are hereby excluded. Limitations of Liability The following provisions set out the Suppliers entire liability (including any liability for the acts and omissions of its employees, agents and sub-contractors) to the Licencee in respect of any breach of its contractual obligations arising under this agreement and any representation, statement or tortious act or omission including negligence arising under or in connection with this Licence Agreement. 5.1 5.2 5.3 Any act or omission on the part of the Supplier or its employees agents or sub-contractors falling within clause 5 above shall for the purposes of this clause be known as an Event of Default. The Suppliers liability to the Licencees for death or injury resulting from its own negligence or that of its employees agents or sub-contractors, shall not be limited. Subject to the limits set out in clause 5.4 below the Supplier shall accept liability to the Licencee in respect of damage to the tangible property of the Licencee resulting from the negligence of the Company or its employees, agents or sub-contractors. Subject to the provisions of clause 5.3 above the Suppliers entire liability in respect of any Event of Default shall be limited to damages of an amount equal to:

5.4

5.4.1 The case of an Event of Default falling within 5.3 above the purchase price of the Licensed Programme. 5.4.2 The case of any other Event of Default the licence fee paid in respect of the Licensed Programme. 5.5 Subject to clause 5.2 above the Supplier shall not be liable to the Licencee in respect of any Event of Default for loss of profits, goodwill or any type of special indirect or consequential loss (including loss or damage suffered by the Licencee as a result of an action brought by a third party) even if such loss was reasonably foreseeable or the Supplier had been advised of the possibility of the Licencee incurring the same. Multi-User The Supplier in consideration of an enhanced licence fee paid on its own or as part of a purchase price may authorise the Licencee to use the Licenced Programme simultaneously on: 6.1 6.2 7 Any single computer system that contains up to 5 central processing units (CPUs). Any single computer system that contains up to 10 central processing units (CPUs). General This Licence Agreement overrides all prior written and oral communications regarding the Licenced Programme with the Licencee, and sets out the entire agreement between the Supplier and the Licencee. In the event of a dispute between the Supplier and the Licencee relating to this Licence Agreement, the Licencee agrees to submit to the jurisdiction of the English Courts or to the Courts of other legal systems that may from time to time be elected at the sole discretion of the Supplier. If any provision in this Licence Agreement is ruled invalid under any law, such provision shall be deemed modified or omitted only to the extent necessary to render it valid, and the remainder of this Licence Agreement shall continue in full force and effect.

Page 5

CONTENTS 1. 1.1 1.2 1.2.1 1.2.2 1.2.3 1.3 1.4 1.5 2. 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.3 2.3.1 2.3.2 2.3.3, 2.3.4. 2.3.5 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.5 2.5.1 2.5.2 2.5.3 2.5.4 INTRODUCTION Key features Minimum system configuration Windows 3.1 Windows 95/NT 3.51 General configuration requirements Copyright Installation to hard disk Illustrations COURIER-COMM MENU ITEMS File New... Open... Save Save As... Close Print... Print Setup... Exit Edit Undo Copy Paste Settings Page Headings Select Page Select Setting... Polar Co-ordinates Rectangular Co-ordinates Communications Setup... Select Device... Change Address Change Password... Upload Settings... Download Settings Disconnect Window Cascade Tile Close: Close All
Page 6

10 10 10 10 10 10 11 11 11 12 12 12 12 12 12 12 12 13 13 13 13 13 13 13 13 13 13 14 14 14 14 14 14 14 14 14 14 15 15 15 15 15

2.6 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 3. 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.7.1 3.7.2 3.7.3 3.8 3.9 3.10 3.11 3.12 3.13 3.14 4. 4.1 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.2 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.2.10 4.2.11

Help Contents Search for Help On... How to Use Help Technical Help About COURIER-COMM... USING COURIER-COMM COURIER-COMM Help Creating a setting file Opening an existing setting file Conversion of binary settings files Displaying a setting window Modifying a setting Saving a setting file Saving a new setting file (Save) Saving an existing setting file (Save) Saving an existing setting file under a different name (Save As...) Configuring the communications port Configuring the modem Selecting a device Changing a device address Uploading a setting file from the device Downloading a setting file to the device Printing setting windows DIALOG BOXES The File Dialogs New application Open Save as Print Print setup The Change-Settings dialogs ASCII text Integer Courier numeric IEEE float Indexed string Modem control string Polar co-ordinate Rectangular co-ordinate Binary flags IEC 60870 date and time Menu location
Page 7

15 15 15 15 16 16 16 16 16 17 17 18 18 18 18 19 19 19 19 20 20 20 21 21 22 22 22 23 24 25 26 26 27 27 28 28 29 30 31 32 33 34 34

4.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.8 4.3.9 4.3.10 4.3.11 4.3.12 5. 5.1 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.10 5.1.11 5.1.12 5.1.13 5.1.14 5.1.15 5.1.16 5.1.17 5.1.18 5.1.19 5.1.20 5.1.21 5.1.22 5.1.23 5.1.24 5.1.25 5.1.26 5.1.27 5.1.28 5.1.29

The Communications Dialogs Communication setup Configuration Address range Dialback delays Select modem type New modem type Modem control string setup Define control codes Select device Change device address Device list Change password MESSAGE BOXES Message box responses Binary flag error Cannot change address Cannot connect Cannot establish connection Cannot load default file Cannot load RDF Cannot open file Character error Comms failure Connection established Data types do not match Device type is different Different password Download abort Download complete Download errors Incorrect password Index error Invalid setting Local setting Model numbers do not match Modem disconnected Modem on-line Name not unique New password is invalid No default file Number of items Relay error Serial number is invalid
Page 8

35 35 37 37 38 38 39 40 42 43 43 44 45 45 46 46 46 46 46 46 46 46 47 47 47 47 47 47 48 48 48 48 48 48 49 49 49 49 49 49 49 50 50 50

5.1.30 5.1.31 5.1.32 5.1.33 5.1.34 5.1.35 5.1.36 5.1.37 5.1.38 5.1.39 5.1.40 5.1.41 5.1.42 5.1.43 6. 6.1 6.1.1 6.2 6.2.1 6.2.3 6.2.4 6.3 6.3.1 6.3.2 6.4 6.4.1 6.4.2 6.4.3 6.4.4 6.5 6.6 6.6.1

Unable to edit cell Unexpected reply Units do not match Unrecognised model - restricted editing Unrecognised model - unable to validate Upload abort Upload complete Upload disc full Upload error Upload settings Validation error Validating settings Value error Waiting for modem REFERENCE INFORMATION Cell Editor Validation check Communications System The Courier interface Modem control signals MODEM connections Error Codes and Messages Device errors Validation errors File formats Model database *.DBF The relay dependency file *.RDF The default and application settings file *.SET Binary settings file *.BIN Setting windows and types of settings Technical support Contact addresses

50 50 50 50 50 51 51 51 51 51 51 51 52 52 52 52 52 52 52 53 55 60 60 62 63 63 63 63 63 64 64 65

Page 9

Section 1.

Introduction

The COURIER-COMM software interfaces between the user, devices utilising the Courier communication language and a file system. The user communicates with COURIER-COMM via the Microsoft Windows graphical user interface using the keyboard and/or mouse. Communication between COURIER-COMM and the device is achieved using the Courier communication language. Communication with other software programs is achieved using a settings file. COURIER-COMM displays the settings and options relevant to the device with which communication is established. Selected options are highlighted, only selected options can be modified. COURIER-COMM supports context sensitive help via the standard Windows Help engine. 1.1 Key features 1. Off-line editing of device settings. 2. A cell editor for very basic editing of device settings. 3. Communications features for uploading/downloading device settings. 1.2 Minimum system configuration COURIER-COMM requires a personal computer with the following minimum configuration: 1.2.1 Windows 3.1 1. An IBM Personal Computer, or 100% compatible machine, running MS-DOS version 5.0 or later. 2. An 80386, or higher, processor 1.2.2 Windows 95/NT 3.51 1. An IBM Personal Computer, or 100% compatible machine, running with Windows NT version 3.51 and higher or Windows 95. 2. An 80486, or higher, processor 1.2.3 General configuration requirements 1. A monitor supported by Microsoft Windows, the monitor shall support black/ white and colour display. 2. A keyboard. 3. An RS232 port. 4. A mouse pointing device (optional) supported by Microsoft Windows. 5. Four megabytes of available RAM. 6. A hard disk drive with at least 20 megabytes free, after Windows and any other programs have been installed. 7. At least one floppy disk drive 3.5".

Page 10

8. Microsoft Windows version 3.1, running in enhanced mode. 9. A printer supported by Microsoft Windows.

Additional equipment:
1. Printer. 2. RS232 link. 3. KITZ 101 K-Bus/RS232 communication interface. 4. Modem. 1.3 Copyright Apart from back up purposes, this software may not be copied or otherwise reproduced without the express and written permission of the copyright holder, ALSTOM T&D Protection and Control Ltd. Any unauthorised copying or reproduction is illegal. 1.4 Installation to hard disk The COURIER-COMM Setup program guides you through the COURIER-COMM installation process step-by-step. The Setup program will ask you to select the preferred language, registration details and which drive and directory you wish to install the program.

Important: Please enter your registration details carefully.


To start setup program: 1. Place disk in floppy drive and close the drive door. 2. In Program Manager, choose Run from the File menu. 3. In the Command Line text box, type the following text and press ENTER: a:setup 4. Follow the on-screen instructions to install COURIER-COMM. When installation has been completed, the COURIER-COMM icon will appear in the COURIER-COMM program group window. COURIER-COMM can be started by double-clicking its icon. 1.5 Illustrations The appearance of the dialogs within the 95/NT version of the application will generally be the same as those shown in this publication, apart from the 3D appearance. However, dialogs provided by the Windows system, eg. Print Setup etc. will be different in detail.

Page 11

Section 2.

COURIER-COMM Menu Items

An overview of the various menu items contained on the menu bar are described below.

2.1

File
Provides file operations and an exit from COURIER-COMM.

2.1.1

New... Creates a new application setting file. Using the new application dialog the user can select the device type, model number and language upon which the new applications setting file is to be based.

2.1.2

Open... Opens an existing setting file. Using the open dialog the user can select the directory and file to be edited. The language variant must also be selected. From this information the program automatically loads the device type, model number and language upon which the applications setting file was based. If for any reason the program cannot locate either the default settings files or the relay dependency file then the Cell Editor will be invoked. For further information on the Cell Editor see Reference Information: Cell Editor

2.1.3

Save Saves the application settings file currently being edited. If the setting file is untitled then the save as dialog will be displayed.

2.1.4 2.1.5

Save As... Saves the application setting file to a new name using the save as dialog. Close Closes the application setting file and the associated windows. If the application setting file has been modified since the last save operation, or has not been saved, then the save as dialog will be displayed.

2.1.6

Print... Prints the application setting file. The print dialog is displayed and prints either the contents of the currently opened window, or all of the settings.
Page 12

2.1.7 2.1.8

Print Setup... Changes the printer and printing options. The print set up dialog is displayed. Exit Exits from COURIER-COMM. If the application setting file has been modified since the last save operation, or has not been saved, then the save as dialog will be displayed.

2.2

Edit
Provides edit operations. Selects and copies protection setting groups.

2.2.1

Undo Undoes the last operation. If the last change cannot be undone then the undo option will be disabled.

2.2.2 2.2.3

Copy Copies the selected items. Paste Pastes the copied items to the selected settings cells in the current window.

2.3

Settings
Provides setting operations and display options.

2.3.1 2.3.2 2.3.3,

Page Headings Displays the page headings window Select Page Selects and displays a page of settings from the page headings window. Select Setting... Edit the setting cell. An edit dialog appropriate to the data type of the setting shall appear.
Page 13

2.3.4. 2.3.5

Polar Co-ordinates Displays complex settings in polar form. Rectangular Co-ordinates Displays complex settings in rectangular form. It should be noted that the setting cell description may continue to show the complex values as magnitude and angle. This is a limitation of the device. However, the units of the complex values will be displayed correctly.

2.4

Communications
Provides configuration of the communications and transfer of data to or from the device.

2.4.1

Setup... Configures the PC and modem communication settings. The PC communication setup dialog is opened to allow the user to select and configure the PC communication port and modem.

2.4.2

Select Device... Establishes connection with the device. The select device dialog is opened to enter a device address and password. A communication link with the selected device will be established.

2.4.3

Change Address Changes the address of a device. A dialog will appear enabling the user to change the address.

2.4.4

Change Password... Changes the password in the device. A dialog will appear enabling the user to change the password.

2.4.5 2.4.6 2.4.7

Upload Settings... Uploads the settings from the device. Download Settings Downloads the settings to the device. Disconnect Disconnects modem. The download settings dialog will be displayed.

Page 14

2.5

Window
Provides window arrangement and selection. The Window drop-down menu also contains a window list of currently open windows.

2.5.1 2.5.2 2.5.3 2.5.4

Cascade Cascades all open windows. Tile Tiles all open windows. Close: Closes the currently active window. Close All Closes all windows.

2.6

Help
Provides help options.

2.6.1

Contents Lists help topics. It launches the Windows Help tool with the index at the start of the help information.

2.6.2

Search for Help On... Launches the Windows Help tool at the index for the currently active Window. If this is not possible then the index shall be at the start of the help information.

2.6.3

How to Use Help Lesson on using help. Launches the Windows Help tool at the How to use help index.
Page 15

2.6.4 2.6.5

Technical Help Lists technical support numbers and addresses. About COURIER-COMM... Displays program information, version number and copyright. Opens the COURIER-COMM About dialog.

Section 3.
3.1

Using COURIER-COMM

COURIER-COMM Help If the user has no experience of Windows Help, it is recommended to browse through How to Use Help where the conventions and features of Windows Help are detailed. Once familiar with the features of Windows Help, the more specific details of the operation of COURIER-COMM can be browsed through using the hypertext links of the Help system. Key procedures for operation and control of the device are detailed in the How to.. window, which is accessible via 'Using COURIER-COMM' in the Help Contents page. Alternatively the context sensitive nature of the Help can be used when operating COURIER-COMM by pressing F1, pressing the Help button (in dialog boxes), or reading the status bar. Additional information can be added to COURIER-COMM Help topics by annotating the Help topic. Further information can be obtained by selecting the Help menu item, How to Use Help and then Annotating a Help Topic.

3.2

Creating a setting file

To create a new setting file:


Choose the New menu item from the File menu header. The new application dialog box appears. Select the required device type from the drop down list. Select the language variant of the default settings file using the option buttons. Select the model number from the file list. Press OK to accept and initiate the load, or Cancel to terminate. If a setting file is already open the option shall be given to save it before creating a new file. A new setting file will be created with a default name of Untitled.set. This name will be appended to the application name in the title bar of the application window. The page headings window will be opened. For further information on the new application dialog, see The File Dialogs: New Application.

Page 16

3.3

Opening an existing setting file

To open an existing setting file:


Choose the Open menu item from the File menu header. The open dialog box appears. Select the language variant of the default settings file using the option buttons. If the application settings file is to be validated, use the validation check box. Select the required settings file to be opened from the file list. Press OK to accept and initiate the open command, or Cancel to terminate it. If an application settings file is opened without an appropriate relay dependency file or default settings file, then the cell editor will be invoked. If a settings file is already open the option shall be given to save it before opening the desired file. The desired settings file will be opened and its name will be appended to the application name in the title bar of the application window. The page headings window will be opened. For further information on the Open dialog, see The File Dialogs: Open. For further information on the validation checking, see Reference Information: Cell Editor. 3.4 Conversion of binary settings files Versions of PAS&T and ACCESS software earlier than version 3.2 created binary settings files with the extension *.bin. These files may be converted to the *.set format by loading them via the file open dialog.

To convert a binary file to an application setting file (*.bin *.set).


Choose the Open menu item from the File menu header. The open dialog box appears. Select *.bin from the List of File Types. Select the language variant of the default settings file using the option buttons. Select the required settings file to be opened from the file list. Press OK to accept and initiate the open command, or Cancel to terminate it. If an application settings file is opened without an appropriate relay dependency file or default settings file, the settings will be displayed as values against a cell reference. The Cell editor will not be invoked in this case. The settings file may be saved in the usual way. For further information on the Open dialog, see "The File Dialogs: Open".

Page 17

3.5

Displaying a setting window

To display a setting window:


Select the required page item from the list in the page headings window highlight the entire row, and press ENTER; or double click on the row to open the appropriate dialog box. A settings window will appear containing a list of individual specific settings relevant to the menu item chosen.

To select how the settings are displayed:


Choose the required menu items under the Settings menu header, to define the format of the displayed settings. For further information on modifying a setting, see The Change-Settings Dialogs. 3.6 Modifying a setting To modify a specific setting the relevant setting window (sub-window) must be visible. A specific setting in the list may be edited using the following procedure: Select the required setting in the list for modification- highlight the entire row, and press ENTER; or double click on the row to open the appropriate dialog box. The dialog box displays the current value of the setting. Edit the setting to the required value. Press OK to accept the setting change, or Cancel to terminate it. There are a number of different types of setting dialogs dependent on the data type of the setting cell identified in the relay dependency file. For further information on modifying a setting, see The Change-Settings Dialogs. 3.7 Saving a setting file A setting file may be saved under a new name, or the existing allocated name. If a new setting file has been created and needs to be saved, a name different from Untitled.set must be assigned. 3.7.1 Saving a new setting file (Save)

To save a setting file which has recently been created with the New command, and not yet saved:
Choose the Save menu item from the File menu header. The save as dialog box appears. Enter the name of the file to be saved. Choose the destination where the file is to be saved, with the drives and directories fields.

Page 18

Ensure the Save File as Type drop-down box shows Setting Files (*.set). Press OK to accept and initiate the save, or Cancel to terminate it. 3.7.2 Saving an existing setting file (Save)

To save a setting file, which previously existed, under the same name:
Choose the Save menu item from the File menu header. The existing setting file will be overwritten with the new settings, under the existing file name. 3.7.3 Saving an existing setting file under a different name (Save As...)

To save a setting file, which previously existed, under a different name:


Choose the Save As... menu item from the File menu header. The save as dialog box appears. Enter the new name of the file to be saved. Choose the destination where the file is to be saved, with the drives and directories fields. Ensure the Save File as Type drop-down box shows Setting Files (*.set). Press OK to accept and initiate the save, or Cancel to terminate it. For further information on the Save As dialog, see File Dialogs: Save As. 3.8 Configuring the communications port

To configure the communications port of the PC:


Choose the Setup menu item from the Communications menu header. The communications setup dialog box appears. Configure the communications setup dialog box. Click OK to accept the setup or Cancel to terminate it. For further information see Communications System and The Communications Dialogs. 3.9 Configuring the modem

Before configuring the modem:


Choose the Setup menu item from the Communications menu header. Configure the general communications settings, indicating remote setting. Press the Modem button to assign, edit, delete or create a modem setting suitable for the remote device. The select modem type dialog box shall appear. If the required modem type does not appear in the list, a new type will have to be defined. The configuration of new or existing modems can be defined by using the Setup button to call the modem control string setup dialog.

Page 19

Confirm/configure the modem control string setup, select the modem type and return to the communication setup dialog box. Press OK to accept the communication setup and Cancel to terminate it. For further information see Communications System and The Communications Dialogs. 3.10 Selecting a device

To select a device, with which to communicate:


Choose the Select Device menu item from the Communications menu header. The select device dialog appears. Set the address of the current device, and enter the device password. OR Click the List button and select the address from the address list, and enter the device password. Click OK to accept the device selection, or Cancel to terminate it. For further information see Communications System and The Communications Dialogs. 3.11 Changing a device address

To change the address of a device:


Choose the Change Address menu item from the Communications menu header. The change address dialog appears. Click either of the Current Address or Serial Number option buttons. Select a new address from the New Address drop-down box. OR Click the List button. The device list dialog appears. Select the adress from the address list and close the address list. If Serial Number has been selected. Enter the serial number in the Serial Number text box.

To conclude the address change.


Click OK to change the device address, or Cancel to terminate it. For further information see "Communications System" and "The Communications Dialogs". 3.12 Uploading a setting file from the device

Before a setting file can be uploaded from the device, ensure:


1. the communications port of the PC is configured and 2. the device is selected.
Page 20

To upload the setting file:


Choose the Upload menu item from the Communications menu header. A message box will appear indicating the progress of the upload. 3.13 Downloading a setting file to the device

Before a setting file can be downloaded to the device, ensure:


1. either a default or application settings file is loaded, and 2. the communications port of the PC is configured.

To download the setting file:


Choose the Download menu item from the Communications menu header. A message box will appear indicating the progress of the download. 3.14 Printing setting windows Settings can be printed either altogether or in the groups in which they appear in setting windows. Error files can also be printed from the setting windows in which they appear.

To print a single setting window:


Open the required setting window using the Settings menu header and the choose required menu item from one of the cascaded menus. Choose the Print menu item under the File menu header. The print dialog box appears. Click the Setup button if the printer setup needs to be modified. Select the Current Window option button in the Range frame. Click OK to accept the print command, or Cancel to terminate it.

To print all setting windows:


Choose the Print menu item under the File menu header. The print dialog box appears. Click the Setup button if the printer setup needs to be modified. Select the All Settings option button in the Range frame. Click OK to accept the print command, or Cancel to terminate it. For further information on the Print and Print Setup dialogs, see The File Dialogs: Print and The File Dialogs: Print Setup

Page 21

Section 4.

DIALOG BOXES

For details on the operation of the specific dialog boxes encountered in the application see the following4.1 4.1.1 The File Dialogs New application

The new application dialog specifies the default values and attributes to be installed. To do this the device type, model number and language variant are required. A text box at the top of the dialog displays the current rating of the selected device model. A window at the bottom of the dialog box displays the Courier header information of the selected device model. Device type The type of device selected from the drop down list. It is only possible to select the device type from those presented in the list. Model list The list of models available for selection. It is only possible to select the device type from those presented in the list. Default setting file header Displays the Courier header information of the default setting file for the selected device model. This information may be viewed but not edited. Current rating Displays the current rating of the device model. This information may be viewed but not edited.

Page 22

Language The language variants of the default settings files. These option buttons provide the user with the means to configure the settings to the language selected or installed within the device. 4.1.2 Open

The open dialog specifies the name and location of the file to be opened. A window at the bottom of the dialog box displays the Courier header information of the selected file. File name The name of the file selected from the file list. File list The list of files in the current directory matching the filter specified in the List Files of Type drop-down box. List files of type Specifies the filter for viewing files in the current directory, in the file list. The options available are to view all files (*.*), setting files (*.set), error files (*.err) or binary settings files (*.bin). Header Displays the Courier header information of the selected relay dependency file. This information may be viewed but not edited. Directories Displays the current directory open, the files in which are listed in the file list. Drives Displays the current storage drive being viewed.
Page 23

Language The language variants of the default settings files. These option buttons provide the user with the means to configure the settings to the language selected or installed within the device. Validate Validation of the application settings files. This option may be selected if the application settings file had been edited using the Cell Editor. 4.1.3 Save as

The save as dialog specifies the name and location of the file to be saved. A window at the bottom of the dialog box displays the Courier header information of the selected file, this information may be edited by the user. File name The name under which the file is to be saved. File list The list of files in the current directory matching the filter specified in the Save Files of Type drop-down box. Save files of type Specifies the filter for viewing files in the current directory, in the file list. The options available are to view all files (*.*) or setting files (*.set). Header Displays the Courier header information of the file to be saved, information in this window may be edited.

Page 24

Directories Displays the current directory open, the files in which are listed in the file list. Drives Displays the current storage drive being viewed. 4.1.4 Print

The print dialog provides the confirmation of a request to print the currently loaded file. It is possible to print all the settings or just the current window, and change the printer setup from the dialog box. Printer Displays the current printer selected, this will be determined by the individual users PC configuration. Range Indicates the amount of information to be printed.

All Settings
prints every page of the device settings. The file header information shall always be printed preceding the actual content of the file.

Current Window
this option shall only be available when a setting page is open and currently active. Setup Opens the Print Setup dialog allowing printer setup details to be modified.

Page 25

4.1.5

Print setup

The print setup dialog gives the option to select either the default printer, or choose another printer. The printer descriptions will depend on the users setup. Alterations in this box shall affect the Windows setup. Default printer Displays the Windows default printer. Specific printer Allows the choice of a different printer. Orientation Defines the orientation in which the printer outputs to the paper. Paper size Defines the size of paper in use by the printer. Paper source Defines the printer paper tray in use. Options Opens the standard Windows Options dialog. Network Opens the standard Windows Network dialog. 4.2 The Change-Settings dialogs The dialog boxes used to change the values of protection and device settings, depend on the format in which the settings are stored in the Courier database. For details on the operation of the change-settings dialog boxes encountered in the application see the following:

Page 26

4.2.1

ASCII text

This dialog allows settings, stored in the Courier database as ASCII text, to be edited. The first line shows the current text in the menu cell. The edit window is initially filled with the current text setting, and is edited in the normal fashion for dialog text boxes. The number of characters shall be limited by the definition of the data type. Edit Enter the text setting via the keyboard. 4.2.2 Integer

The integer string dialog allows settings, stored in the Courier database in an integer format, to be edited. The first line shows the menu cell. The minimum, maximum values and step sizes are described, as defined by the default settings file. The edit window is initially filled with the current setting. The scroll bar allows adjustment of the edit value in increments of the step size, with the arrows at either end. Edit value Edit the integer setting using the scroll bar, via the arrows or thumb bar. Alternatively the value may be typed in, it is verified when the OK button is pressed.

Page 27

4.2.3

Courier numeric

The Courier numeric string dialog allows Courier numeric string settings to be changed. The first line shows the menu cell. The minimum, maximum values and step sizes are described, as defined by the default settings file. The edit window is initially filled with the current setting. The scroll bar allows adjustment of the edit value in increments of the step size. The units of the edit value may be selected from the drop-down menu. A step size of zero indicates that any value between the maximum and minimum values will be accepted by the device. However, the device may adjust the new setting to a value that is more appropriate or corresponds to an internal step size value. Edit value Edit the numeric setting using the scroll bar, via the arrows or thumb bar. Alternatively the value may be typed in, it is verified when the OK button is pressed. Units Displays the units applicable to the setting. This value cannot be changed. 4.2.4 IEEE float

The IEEE float string dialog allows IEEE float settings to be changed.
Page 28

The first line shows the menu cell. The minimum and maximum setting sizes are described, as defined by the default settings file. The edit window is initially filled with the current setting. The scroll bar allows adjustment of the edit value. A step size of zero indicates that any value between the maximum and minimum values will be accepted by the device. However, the device may adjust the new setting to a value that is more appropriate or corresponds to an internal step size value. Edit value Edit the float setting using the scroll bar, via the arrows or thumb bar. Alternatively the value may be typed in, it is verified when the OK button is pressed. 4.2.5 Indexed string

The indexed string setting dialog allows the indexed string settings to be changed. The first line shows the menu cell. The edit window is initially filled with the current setting. The drop-down list allows other indexed string settings to be assigned. Select setting Use the drop-down list to select the indexed string setting. Alternatively a string may be typed when this field is selected. The string relevant to the first few letters typed in, will appear.

Page 29

4.2.6

Modem control string

The modem control string dialog allows communications settings to be changed. The first line shows the menu cell as formatted by the device or taken from the setting file. The edit box allows the control strings to be entered. Control codes are stepped over, deleted and selected as a single character when using cursor keys. Control codes are entered using the Control Codes list box. Modem or ASCII codes can be viewed and entered using the option buttons. Edit setting Use the Edit Setting text box to enter control strings. Modem/ASCII codes Use the modem/ASCII codes option buttons to view modem or ASCII codes in the Control Code list box below. Control code Use the Control Code list box to select modem or ASCII control codes. Expanded codes Use the expanded codes check box to view control codes as mnemonics within braces, or just as a pair of empty braces. Insert Use the Insert button to insert the selected control code into the control string.
Page 30

4.2.7

Polar co-ordinate

The polar co-ordinates dialog allows complex number settings to be represented and edited in polar form. The magnitude and angle are displayed in two different frames. The first line of each frame shows the menu cell. The minimum and maximum setting values are displayed as defined by the default settings file. The edit window is initially filled with the current setting value. The scroll bar allows adjustment of the setting value in increments of the step size. A step size of zero indicates that any value between the maximum and minimum values will be accepted by the device. However, the device may adjust the new setting to a value that is more appropriate or corresponds to an internal step size value. Pressing OK accepts both the magnitude and angle setting changes. Magnitude Use the scroll bar to edit the magnitude of the polar form of the setting, via the arrows or thumb bar. Alternatively the value may be typed in, it is verified when the OK button is pressed. Angle Use the scroll bar to edit the magnitude of the polar form of the setting, via the arrows or thumb bar. Alternatively the value may be typed in, it is verified when the OK button is pressed.
Page 31

4.2.8

Rectangular co-ordinate

The rectangular co-ordinates dialog allows complex number settings to be represented and edited in rectangular form. The real and imaginary magnitudes are displayed in two frames. The first line of each frame shows the menu cell. The minimum and maximum setting values are displayed as defined by the default settings file. The edit window is initially filled with the current setting value. The scroll bar allows adjustment of the setting value in increments of the step size. A step size of zero indicates that any value between the maximum and minimum values will be accepted by the device. However, the device may adjust the new setting to a value that is more appropriate or corresponds to an internal step size value. It should be noted that the limits are values that can be entered, but NOT those that will necessarily be accepted by the device. This is due to the nature of the impedance settings within the device. Pressing OK accepts both the real and imaginary setting changes. The acceptance of these values includes additional checks to ensure that the rectangular co-ordinates conform to the relay characteristic.

Page 32

Real part Use the scroll bar to edit the magnitude of the real part of the complex setting, via the arrows or thumb bar. Alternatively the value may be typed in, it is verified when the OK button is pressed. Imaginary part Use the scroll bar to edit the magnitude of the imaginary part of the complex setting, via the arrows or thumb bar. Alternatively the value may be typed in, it is verified when the OK button is pressed. 4.2.9 Binary flags

The first line shows the cell as formatted by the device, the second line contains the edited value, allowing a direct comparison to be made. Both lines show an asterisk (*) for any bit that is unsettable, as determined by the device. Edit value Individual flags are displayed in the list box together with their corresponding bit position and string (if available), only those bits which are settable (as determined by the device) are displayed in the list box. Bit values can be changed by selecting individual items in the list box and selecting the On or Off button, additionally double clicking the item will toggle its state. Items which have changed will have a - (dash) character placed at their left (e.g. first item in list box). Clear All allows all flags to be turned off.

Page 33

4.2.10

IEC 60870 date and time

The displayed time and date is formatted by the device. The time and date can be adjusted in the same manner as the time and date setting in the Windows control panel. The time and date is converted into the 7 byte IEC 60870 format before being sent to a device. 4.2.11 Menu location

The menu location setting dialog allows you to edit menu location settings. The edit fields are filled with the current values as read from the settings file or device.

Page 34

4.3

The Communications Dialogs For details on the operation of the communications dialog boxes encountered in the application see the following:

4.3.1

Communication setup The communication setup dialog box allows the communications port of the PC to be configured, and the configuration of the receiving modem to be set.

Serial port Use to select the serial communications port on the PC to be used. If the PC has only one communications port then the default port shall be selected and an option shall not be given. Baud rate For local connection, use to select the communication rate between the PC and the modem, measured in bits/sec. For remote communication, use to select the communication rate between the modems. Frame size For local connection, use to select the format of the data and control bits for communication with the modem. For remote communication, use to select the communication rate between the modems. Modems satisfying the IEC 60870 FT1.2 protocol use an 11 bit frame size8 data, 1 start, 1 stop and 1 even parity bits. Other modems may have less error checking and use a 10 bit frame size8 data, 1 start, and 1 stop bits, the parity bit being discarded.
Page 35

Connection Local connection should be used where the PC is connected directly to the device. Remote connection should be used where the PC is connected remotely to the device, via a modem. Configuration button Use the configuration command button to set the operating tolerances of the communication software, by assigning the following parameters: Timeout (50-1000ms) Maximum Retries (0-100) Maximum busies (0-5000) Retry delay (50-1000ms) Address range button Use the Address Range button to define the range of addresses for the Device List dialog. Modem button Enabled only if remote connection is set. Use the modem command button to select the type of modem used at the remote end of the link. The user also shall be given the opportunity to delete, edit or define new modem types. Dialback button Enabled only if the Use Dialback check box is checked. Use the dialback command button to set the various dialback delays. Telephone Number The telephone number allowing access to the remote device. Line delay Use to define the additional time used when waiting for a response to commands. Use dialback Set this if the remote communication requires the dialback procedure to be used. Station ID Defines the reference of the site being called back. The ID is formatted as a 16 byte ASCII string. Line ID Defines the line number of the dialback.

Page 36

4.3.2

Configuration

The configuration command button sets the operating tolerances of the communication software, by assigning the following parameters: Timeout (50-1000ms) The length of time that the application should wait for a response from the device. The step size is 50ms. Maximum retries (0-100) The maximum number of times a message will be sent to the device without receiving a reply. The step size is 1. Maximum busies (0-5000) The maximum number of busies that may be received from the device before a time out occurs. The step size is +50. Retry delay (50-1000ms) The delay in ms between consecutive retries. The step size is 50ms. 4.3.3 Address range

The address range dialogue defines the range of addresses within which any device connected to the system will be displayed.

Page 37

4.3.4

Dialback delays

The dialback command button sets the various dialback delays: A (10-200s) Maximum time delay between dialling and receiving ringing information. The step size is 1s. B (1-30s) Minimum period between hanging-up and making a call. The step size is 1s. C (10-100s) Maximum delay between receiving ringing indication and completing connection. The step size is 1s. D (1-60s) Maximum period during which the master will send selectors. The step size is 1s. E The period the Master will wait before redialling if the selector was not acknowledged. This time is not user selectable. It is greater than twice the sum of the time periods A, B and C. 4.3.5 Select modem type

Page 38

The select modem type dialog box allows a modem type to be created, deleted, setup and/or selected for use. Modem type List Shows the currently defined modem types available for selection. Setup button Allows the control strings for a modem to be assigned via the Modem Control Setup dialog. New button Allows a new modem type to be defined, if those available in the modem type list do not sufficiently cater for the modem in use. Delete button Allows a modem type to be deleted from the modem type list. Select a modem from the modem type list. Press the Delete button to delete the type definition. Close button Closes the Select Modem Type dialog box after a modem has been selected for use. 4.3.6 New modem type

The new modem type dialog allows a new unique type to be added to the list in the Select Modem Type dialog. The new type created shall be based on an existing type from which it will inherit a copy of the control strings. The new type shall be completely independent of its base type, once created. Name Enter the name of the new modem type to be defined. Based on Select the existing type, on which the new type is to be based. OK Accepts the assignation of a new modem type, and calls directly the Modem Control Setup Dialog.

Page 39

4.3.7

Modem control string setup

The Modem Control Setup Dialog allows changes to be made to current types of modem. These changes will affect the settings of the selected communication port. The transmission rate and frame size of the remote modem are specified in the Communication Setup dialog. Provision has been allowed for a separate baud rate and frame size for transmitting the modem control strings. Control strings Control strings may be entered to define the operation of the modem during initialise, start, dial and hang-up procedures. Text may be freely edited, but control codes are stepped over, deleted and selected as a single character when using cursor keys. Modem type Displays the modem type selected in the Select Modem Type Dialog. The modem type may be edited. Modem setup parameters The baud rate, framing and modem response timeout may be defined. Baud rate Use to select the communication rate between the PC and the modem, measured in bits/sec.

Page 40

Frame size Use to select the format of the data and control bits for communication with the modem. Response timeout Use to define the maximum period between sending the command to the modem and receiving an acknowledgement of the command. Initialise string Edit box allowing the control strings to be specified. Start string Edit box allowing the control strings to be specified. Dial string Edit box allowing the control strings to be specified. Hang-up string Edit box allowing the control strings to be specified. Expanded codes When checked, control codes are displayed as mnemonics enclosed by braces. Otherwise the control codes are displayed as a pair of empty braces. CR=CRLF When checked, any Carriage Return ASCII code is suffixed by a Line Feed code. The control code is still displayed as {CR}. Modem codes Select to view modem control codes. ASCII codes Select to view ASCII control codes Control codes Use this list box to select control codes for insertion into the modem control string. Insert button Inserts the selected control code at the current cursor position in one of the control strings. Define baud rate and framing codes button Defines the control codes for the various baud rate and frame size options. OK button Accepts the control code setup, and returns to the Select Modem Type dialog box for confirmation of the selected modem type. Cancel button Cancels the control code setup. Status bar Gives more information about the control code to the left of the current cursor position, from left to right:
Page 41

1. The type of control code (TEXT, MODEM or ASCII) 2. The control code in hexadecimal. 3. The expanded control code mnemonic. 4. Full control code description. 5. Control string in which the cursor is currently placed, or was last placed if a control is selected which is not a different Control String edit box. 4.3.8 Define control codes

This Define Control Codes dialog is used to enter strings that will replace the baud rate and framing place holders. Text may be freely edited. Modem setup Displays the modem type selected in the Modem Control Setup dialog. Baud Rate control strings Enter the required control string for each baud rate. Framing control strings Enter the required control string for each frame.

Page 42

4.3.9

Select device

The select device dialog allows the current device address to be entered. The user input of the device password is optional but is required when downloading settings. A list of devices can be displayed from which a particular device can be selected. Address Use to select the current device address. Password Use to enter the device password. OK button Accepts the address and password and initiates connection. Cancel button Cancels device selection List Displays a list of the devices that are available for connection via the device list dialog. 4.3.10 Change device address

The change device address dialog allows the address of a particular device to be changed. If connection has already been established with a device, the plant reference, description and current address are shown.

Page 43

Change by Two methods of changing a devices address are provided. The choice of method is select via the option buttons. Current address The current address of a device may be changed by selecting one of the addresses provided in the new address drop-down list. Serial number A device may be identified by its serial number. The address of a device may be changed by selecting a new address provided in the new address drop-down list. New address Select a new address from the list of unused addresses. Serial number Enter the device serial number OK button Accepts the assignation of the new device address and initiates the address change. Cancel button Cancels the address change. List Displays a list of the devices via the device list dialog. 4.3.11 Device list

The device list dialog displays all devices that are available for connection. Selection of a device places the device address in the Select Device dialog or places the address in the change address dialog. The dialog will display any devices connected to the system within a predefined address range. The range of addresses is determined by the address range dialog which can be accessed from the communications setup dialog.
Page 44

Close Accepts the selected device and returns to the calling dialog. Select Select a device from the available list. Refresh The address list is recompiled and displayed. 4.3.12 Change password

The change password dialog allows the device password to be changed. Old password Use to enter the current password. New password Use to enter the new password. Retype new password Retype, to confirm, the new password.

Section 5.

MESSAGE BOXES

The message box is used to draw to the attention of the user, an important occurrence, fact or error. The progress-type message box announces that a process is in progress, the percentage completed is indicated. All other message boxes require a response from the user before the application can continue processing.
Page 45

5.1 5.1.1

Message box responses Binary flag error The length of the copied binary flags are not the same length as those within the paste selection. Click OK to accept the message. Check that the copied and pasted selections are compatible.

5.1.2

Cannot change address An error has occurred when trying to change the address. Possible causes are as follows: An error has occurred during the communication process. The serial number is incorrect. To rectify the error: Click OK to accept the message. Check the integrity of the communications system. Enter the correct serial number.

5.1.3

Cannot connect A connection could not be established with a modem during a communications process. Press OK to accept the message. Check the modem settings and configuration.

5.1.4

Cannot establish connection A connection could not be established during a communications process. Press OK to accept the message. Check the integrity of the communications system.

5.1.5

Cannot load default file The named default settings file for this language could not be found or is in use by another process. Press OK to accept the message.

5.1.6

Cannot load RDF The named relay dependency file could not be found or is in use by another process. Press OK to accept the message.

5.1.7

Cannot open file The named file has been found but cannot be loaded. Possible causes are as follows: The file has been corrupted. System memory is low.

Page 46

To rectify the error: Press OK to accept the message. Use a new file, close down other applications or check the minimum system configuration. 5.1.8 Character error The character length of one or more ASCII Text data types is beyond the range of the corresponding ones within the paste selection. Click OK to accept the message. Check that the copied and pasted selections are compatible. 5.1.9 Comms failure A communications failure has occurred, possible causes are as follows: Fault in the device Incorrect settings for the serial port. Incorrect delay/retry settings. Fault in serial link (cable). To rectify the failure: Click OK to accept the message. Check the communications settings and hardware. 5.1.10 Connection established Connection of the PC to the device has been established. Press OK to accept the message. 5.1.11 Data types do not match One or more data types within the paste selection do match the copied items. Click OK to accept the message. Check that the copied and pasted selections are compatible. 5.1.12 Device type is different An attempt has been made to download an applications setting file to an incorrect type of device. Press OK to accept the message. Check that the current device address is correct when attempting to establish connection. 5.1.13 Different password When attempting to change the password, the new password and the re-entry of the new password, as confirmation, were different. Press OK to accept the message. Re-enter the new password in both text boxes and press OK to accept the changing of the password.
Page 47

5.1.14

Download abort The downloading of settings from the PC to the device has been cancelled. The device probably contains incomplete setting data. Press OK to accept the message. Repeat the setting download, to ensure the device has a complete set of setting data.

5.1.15

Download complete The process of downloading settings from the PC to the device, is complete. Press OK to accept the message.

5.1.16

Download errors The downloading of settings from the PC to the device has been completed, but non-catastrophic errors have been detected. An illegal attempt to program a nonsettable cell has occurred. The operation on that cell has been abandoned, but the download has continued. The error messages will be written to the file rly_001.err. Press Yes to view the error file, or No to accept the message taking no further action. Check the integrity of the settings and repeat the download command.

5.1.17

Incorrect password The incorrect old password has been entered while attempting to select the device. Press OK to accept the message. Re-enter the correct password in the select device dialog and press OK.

5.1.18

Index error The index of one or more Numeric or String Index data types is beyond the range of the corresponding ones within the paste selection. Click OK to accept the message. Check that the copied and pasted selections are compatible.

5.1.19

Invalid setting The user has attempted to input a setting outside the allowed range. The minimum and maximum setting values are specified in the numeric setting dialogs. Click OK to accept the message. Edit the settings using the scroll bar provided to ensure the setting remains within the allowed range, or enter a setting within range. If the setting can be entered directly via the keyboard, this value is verified on pressing OK in the change-setting dialog. It is this type of setting entry which may have been out-of-range.

Page 48

5.1.20

Local setting The device has returned to the PC that a setting is being changed locally. Press OK to accept the message.

5.1.21

Model numbers do not match The model numbers in the application settings file and device are not compatible. Press Yes to continue the download, or No to abandon the download. Check that the device being communicated with is the correct one.

5.1.22

Modem disconnected The modem connection has been broken during a communication process. Press Redial to re-establish connection, or Cancel to accept the message and take no further action.

5.1.23

Modem on-line An attempt has been made to exit COURIER-COMM without disconnecting the modem. Press OK to accept the message. Choose the Disconnect menu item from the Communications menu header, to disconnect the modem. Exit the COURIER-COMM software.

5.1.24

Name not unique When defining a modem, a name has been assigned to the new modem definition, which is already in use. Press OK to accept the message. Enter a different, unique modem name, which does not exist in the Based on drop-down list.

5.1.25

New password is invalid An error has occurred when trying to change the password. The new password has been rejected by the device and the original password has not been changed. Press OK to accept the message.

5.1.26

No default file The selected language variant of the default setting file could not be found. This language variant may not exist. Press OK to accept the message. Check which language variants are available for this model and select an appropriate language variant. OR If this information cannot be found contact the local field office for further information. The address and telephone numbers can be found under Technical Support.
Page 49

5.1.27

Number of items The number of items to be pasted do not match the paste selection Press OK to accept the message. Select the correct number of items to be pasted.

5.1.28

Relay error A relay status message has been received that is not catered for by a specific communications message box. Press OK to accept the message. Refer to Courier Communications (R6512C) chapter 6.

5.1.29

Serial number is invalid An error has occurred when trying to enter the serial number. The serial number has been rejected because it has not been entered in the correct form. Press OK to accept the message. Enter the serial number in the form of six numerical digits followed by a single alpha character.

5.1.30

Unable to edit cell An attempt has been made to edit either a Millisecond Timer Counter data type, a Foreign Data data type or some other uneditable cell. Press OK to accept the message.

5.1.31

Unexpected reply An unexpected reply has been received by the PC during a communications process. Click OK to accept the message. Check the integrity of the entire communications system.

5.1.32

Units do not match One or more of the Courier Numeric data type units within the paste selection do match those of the copied items. Click OK to accept the message. Check that the copied and pasted selections are compatible.

5.1.33

Unrecognised model - restricted editing The appropriate default settings file and/or relay dependency files have not been located for this particular application settings file. This message indicates that the Cell Editor will be invoked. Press OK to accept the message.

5.1.34

Unrecognised model - unable to validate The appropriate default settings file and/or relay dependency files have not been located for this particular application settings file. This message indicates validation of the settings cannot be carried out. Press OK to accept the message.
Page 50

5.1.35

Upload abort The uploading of settings from the device to the PC has been cancelled. No settings have been saved to the hard disk. Press OK to accept the message.

5.1.36

Upload complete The transfer of selected settings, from the device to the PC, is complete. Press OK to accept the message. The settings uploaded from the device may be viewed or edited using the relevant menu items under the Settings menu header.

5.1.37

Upload disc full The transfer of selected settings, from the PC to the device, has stopped because there is insufficient space on the hard disk of the PC to store the setting. Press OK to accept the message. Delete some files on the hard disk using the Windows File Manager, or switch the current drive to one with more storage space. Repeat the command to upload settings from the device to the PC.

5.1.38

Upload error The uploading of settings from the device to the PC has been completed, but noncatastrophic errors have been detected. The error messages will be written to the file rly_001.err. Press Yes to view the error file, or No to accept the message taking no further action. Check the integrity of the device and communications link.

5.1.39

Upload settings The process of uploading settings from the device to the PC, is underway. Press Cancel to terminate the uploading process, or please wait for the process to be completed.

5.1.40

Validation error The validation of application settings has been completed, but non-catastrophic errors have been detected. The error messages will be written to the file val_001.err. Press Yes to view the error file, or No to accept the message taking no further action.

5.1.41

Validating settings The process of validating the application settings is underway. Press Cancel to terminate the validation process, or please wait for the process to be completed.

Page 51

5.1.42

Value error The value of one or more settings is beyond the range of the corresponding ones within the paste selection. Click OK to accept the message. Check that the copied and pasted selections are compatible.

5.1.43

Waiting for modem A device has been selected for communication. Communication is via a modem. The system is waiting for modem connection to be established. Press Cancel to terminate the modem connection to the device, or please wait for connection to be established.

Section 6.
6.1

REFERENCE INFORMATION

Cell Editor The Cell Editor provides a basic mechanism for very limited editing of a device application setting file. It is invoked if the associated default settings or relay dependency files cannot be found. Each of the available settings may be edited, but no account can be for any dependencies between setting cells. An application setting file which has been edited using the Cell Editor should be validated if the appropriate default settings and relay dependency files become available. For further information on changing a setting, see Using COURIER-COMM: Modifying A Setting.

6.1.1

Validation check A validation check has been provided for application settings files which have been modified using the cell editor. The validation process is carried out for all settings and ensures that the settings conform to any changes that would normally have been imposed by the rely dependency file. Any unresolved errors are logged within an error file which may be viewed on completion of the validation process. It is advised that the user reviews the settings to ensure that no inadvertent changes have been made.

6.2

Communications System The COURIER-COMM application communicates directly with the device using the Courier language. The interface may either be local or remote, and utilises the PC RS232 serial port. Baud rates up to 19200 are supported in all communications with the RS232 ports of the device.

6.2.1

The Courier interface All communications with the device are performed using the Courier language.

Page 52

6.2.1.1

Setting upload/download
All settings may be transferred to/from the device. Note that the communication settings (e.g. baud rate, protocol, comms port) are not included, and must be configured separately to establish a communications process.

6.2.1.2

Modem support
The software is capable of storing control codes, to setup and control a modem, in a file for each modem.

6.2.2

Modem requirements The IEC 60870 FT1.2 protocol requires the need for the modem to support an eleven bit asynchronous frame, and for data frames to be transmitted without idle periods between the constituent characters. This requirement improves the data integrity of the frame under noisy conditions as there are no periods where a noise pulse on an idle line can be read as a start bit and cause misframing. The additional protocol based on the IEC 60870 FT1.2 omits the parity bit. This protocol is less secure as one of the error checks has been discarded, but increases the range of suitable modems.

6.2.2.1

Full IEC 60870 FT1.2


Modems supporting the full IEC 60870 FT1.2 protocol are as follows: Dowty Quattro (SB2422), or Motorola Codex 3265 or 3265FAST, or other modems that: 1. Support an 11 bit frame (1 start, 8 data, 1 even parity, 1 stop), 2. Support the possibility to discard all error correction, data compression, speed buffering or automatic speed changes, 3. Save all the settings required to achieve connection in non-volatile memory. This feature is only required for modems at the outstation end of the link.

6.2.2.2

Related IEC 60870 FT1.2 with discarded error check


Modems supporting the related IEC 60870 FT1.2 protocol: 1. Must support an 10 bit frame (1 start, 8 data, 1 stop), 2. Must be possible to discard all error correction, data compression, speed buffering or automatic speed changes, 3. Must save all the settings required to achieve connection in non-volatile memory. This feature is only required for modems at the outstation end of the link.

6.2.3

Modem control signals The following control signals are supported in communication with modem:

6.2.3.1 6.2.3.2

RXD
Receive pin.

TXD
Transmit pin.
Page 53

6.2.3.3

CTS- Clear to send


Indicates that the modem is able to accept data from the PC or device. Transmission of data will stop as soon as the CTS signal is deactivated. Should CTS go inactive during the transmission of a frame, the PC or device shall continue to transmit the remainder of the frame. Should CTS go inactive during transmission of a control string, the transmission ceases as soon as the CTS transition is recognised. On reactivation of CTS transmission will restart with the next byte of the message.

6.2.3.4

RTS- Ready to send


Indicates that the PC or device has data prepared to transmit, and requires the modem to perform necessary actions to accept the data.

6.2.3.5

DSR- Data set ready


Indicates that the modem is able to communicate on behalf of the PC or device, that initialisation of the local or remote modems has been completed, and that a communication path has been established. When driven inactive DSR indicates that either a disconnect indication has been received from the remote modem, or that a fault condition, lasting longer than a preset time, has been detected by the local modem.

6.2.3.6

Data carrier detect


Indicates that the modem is receiving an acceptable carrier signal from the remote modem. In a half duplex link DCD will be inactive while the link is in the transmit direction. Any data received from the modem while DCD is inactive should be discarded, except during the use of modem strings.

6.2.3.7

DTR- Data terminal ready


Indicates that the PC or device requires to communicate. If the modem is set to autoanswer incoming calls, DTR should be active to enable call answering. Should the PC or device require to disconnect, for any reason, it may achieve this by deactivating DTR. The PC or device should wait for the modem to deactivate DSR before assuming that the connection has been broken.

6.2.3.8

RI- Ring indicator


Indicates that the modem has detected the telephone line ringing. RI will be active during ringing and inactive between rings.

Page 54

6.2.4 6.2.4.1

MODEM connections Connector pin numbers

Pin numbers to be used on the 25 pin D-type connector


Pin Number 1 & Shell

Function Protective Ground (PG)

Notes To be connected to suit EMC suppression requirements Data transmitted from the DTE pin is an input to the DCE Data to be received by the DTE pin is an output from the DCE Output from DTE Output from DCE Output from DCE

Transmitted Data (TxD)

Received Data (RxD)

Request To Send (RTS) Clear To Send (CTS) Data Set Ready (DSR) Signal Ground (SG) Data Carrier Detect (DCD) Data Terminal Ready (DTR) Ring Indicator (RI) Optional Power Line Pins +12V

4 5 6 7 8 20 22

Output from DCE Output from DTE Output from DCE

Used to source power for external units eg. isolators Voltages should be sufficient to operate external receiver devices directly ie. 8V to 12V. The current available from these power pins vary; see the individual product documentation for details

12V

10

Page 55

Pin numbers to be used on the 9 pin D-type connector


Pin Number Shell

Function Protective Ground (PG)

Notes To be connected to suit EMC suppression requirements Output from DCE Data to be received by the DTE pin is an output from the DCE Data transmitted from the DTE pin is an input to the DCE Output from DTE

Data Carrier Detect (DCD) Received Data (RxD)

1 2

Transmitted Data (TxD)

Data Terminal Ready (DTR) Signal Ground (SG) Data Set Ready (DSR) Request To Send (RTS) Clear To Send (CTS) Ring Indicator (RI)

4 5 6 7 8 9

Output from DCE Output from DTE Output from DC Output from DCE

Page 56

6.2.4.2

Interconnection sets The control line functions described above may be interconnected for different applications as shown below. When used with a modem, a type C full connection lead should be used between the modem and the PC. Note: A signal name enclosed in brackets is an optional signal. DTE to DTE Type A

DTE 9-Pin 3 2 7 8 1 4 6 5 25-Pin 2 3 4 5 8 20 6 7 TDX RXD RTS CTS DCD DTR DSR SG TDX RXD RTS CTS DCD DTR DSR SG 25-Pin 2 3 4 5 8 20 6 7

DCE 9-Pin 3 2 7 8 1 4 6 5

Null Modem Connection


DTE to DTE Type B
DTE 9 - Pin 3 2 7 8 1 4 6 5 25 - Pin 2 3 4 5 8 20 6 7 TDX RXD (RTS) (CTS) (DCD) (DTR) (DSR) SG TDX RXD (RTS) (CTS) (DCD) (DTR) (DSR) SG 25 - Pin 2 3 4 5 8 20 6 7 DCE 9 - Pin 3 2 7 8 1 4 6 5

Data Only Connection

Page 57

DTE to DCE Type C DTE 9-Pin 3 2 7 8 1 4 6 5 9 25-Pin 2 3 4 5 8 20 6 7 22 TDX RXD RTS CTS DCD DTR DSR SG RI TDX RXD RTS CTS DCD DTR DSR SG RI 25-Pin 2 3 4 5 8 20 6 7 22 DCE 9-Pin 3 2 7 8 1 4 6 5 9

Full Connection
DTE to DCE Type D

DTE 9-Pin 3 2 7 8 1 4 6 5 25-Pin 2 3 4 5 8 20 6 7 TDX RXD RTS CTS (DCD) (DTR) (DSR) SG TDX RXD RTS CTS (DCD) (DTR) (DSR) SG 25-Pin 2 3 4 5 8 20 6 7

DCE 9-Pin 3 2 7 8 1 4 6 5

Flow Control Only Connection

Page 58

DTE to DCE Type E

DTE 9-Pin 3 2 7 8 1 4 6 5 25-Pin 2 3 4 5 8 20 6 7 TDX RXD RTS (CTS) (DCD) (DTR) (DSR) SG TDX RXD RTS (CTS) (DCD) (DTR) (DSR) SG 25-Pin 2 3 4 5 8 20 6 7

DCE 9-Pin 3 2 7 8 1 4 6 5

Direction Control Only Connection


DTE to DCE Type F

DTE 9-Pin 3 2 7 8 1 4 6 5 25-Pin 2 3 4 5 8 20 6 7 TDX RXD (RTS) (CTS) (DCD) (DTR) (DSR) SG TDX RXD (RTS) (CTS) (DCD) (DTR) (DSR) SG 25-Pin 2 3 4 5 8 20 6 7

DCE 9-Pin 3 2 7 8 1 4 6 5

Data Only Connection


The letter type codes are intended to allow short references to the required leads for particular combinations of equipment. The codes may also be used to identify connecting leads supplied by ALSTOM T&D Protection & Control Ltd. As both the master station and the outstations are to be connected as DTE units, the appropriate configuration for a directly wired connection is type A from the above set, and the appropriate connection for use with a modem is type C. The other connection types listed above are for use with equipment which does not support some of the required signals.

Page 59

6.3

Error Codes and Messages This section lists and provides a definition of all error messages which may be contained within the device and validation error files. The errors will be provided in the format [CCRR] error. Where CC and RR are the column and row references respectively. CC and RR are hexadecimal values.

6.3.1

Device errors

6.3.1.1

Reply codes
The reply codes are returned from the device as acknowledgements or to indicate an error in a request. Error message Error OK Error No Code Error No Data Error No Access Error No Verify Error No Settings Error No Password Error Local Error OK Change Error Invalid Command Error General Description Positive acknowledgement. Given menu location does not exist. Menu cell has no data. Cell cannot be accessed at the moment. Verify error on setting change. This is not a settable cell. Password is required to change setting. Local operator is changing a setting Same as Error OK, but column and column headings should be subsequently re-read. The command is not known or is not valid at this time. Other non-specific error.

6.3.1.2

General errors
The following errors occur if a Courier reply is not as expected. Some are specific to group transactions. Error message Error Invalid Data Error Not Implemented Error Invalid Group Error Invalid Footer Error Block Total Error Invalid Block Error Invalid Time Description There is an invalid Courier response. The command is not supported by COURIERCOMM. There is an invalid Courier response, the size of the group was incorrect. There is an invalid block transfer footer. An incorrect number of blocks has been received. An unexpected Block ID has been received. When the time has been requested from a device, the invalid flag bit has been set.

Page 60

Error Block Transfer Error Unexpected Group Error Unexpected Data Error Unexpected Head Error Unexpected Address Error Invalid Checksum Error No More Data Error No More Group Error Invalid Format Error Data Type Error Invalid Number Error Invalid Date Error RX None Error TX Fail Error Busy Fail

A general problem has been encountered during a block transfer. An unexpected block was received from a device. The received data does not conform to the expected Courier Data Type. An invalid IEC header type has been received. Another device is attempting communication wit the software. The IEC checksum does not agree with the calculated checksum. Additional data was expected from the device. Additional Group data was expected. Device menu text contains an unknown format specifier. An attempt was made to set a cell with invalid data. An invalid Courier Numeric data type was detected. An invalid IEC date was detected. There was no reply from a device. A problem exists with the communication port. The device returned a large number of busies.

6.3.1.3

Communication port errors


These errors relate to failures linked to the PCs communications ports. Error message Error Com Open Error Com Close Error RX Fail Description It has not been possible to open the PCs communication port. It has not been possible to close the PCs communication port. A generic error has occurred with the communication port.

6.3.1.4

Modem communication errors


These errors are concerned with modem communications and the Dialback procedure. Error message Error Modem On-line Error Modem Off-line Description An attempt to establish connection to a device which is already on-line has been made. An attempt has been made to communicate via a modem which is no longer connected.
Page 61

Error Modem Fail Error Unexpected Modem Error Com Modem Error Invalid Modem

An attempt has been made to send a control string to a modem which has failed. An unexpected reply has been received from a modem. A failure has occurred whilst configuring a modem. An attempt was made to send invalid control codes to a modem.

Error Dialback Acknowledge An acknowledgement was not received from a device when dialback was initiated. Error Invalid Station Error Dialback Connect Error Dialback Answer Error Invalid Dialback The remote device does not recognise the station which initiated the dialback procedure. A connection to a remote device could not be initiated. The remote device never replied once the dialback procedure had been initiated. An internal error was detected during the Dialback procedure.

6.3.1.5

Memory errors
These errors relate to internal memory allocation errors during communications. Error message Error Mem Alloc Fail Error Mem Free Fail Error Full RX Stack Error Full TX Stack Description An attempt to allocate memory has failed. An attempt to free allocated memory has failed. The communications receive buffer has become full. The communications transmit buffer has become full.

6.3.2

Validation errors
The following errors may occur if validation is performed whilst opening an Application Settings file. The errors will arise if there are conflicts between the instructions contained within the Relay Dependency File, default settings file and the Application setting file. Error message Setting [CCRR] is a common cell, on change action ignored. Rescale action associated with cell [CCRR] was conditional and has only been applied to settings from the defaults file.
Page 62

Description Validation will select only one of a set of common cells to perform the calculation. Validation will force any dependencies to act upon the default settings values rather than those contained within the Application settings file.

Multiply action associated with location [CCRR] ignored for settings loaded from the Application settings file.

Validation will force any dependencies to act upon the default settings values rather than those contained within the Application settings file. Validation will force any dependencies to act upon the default settings values rather than those contained within the Application settings file.

Divide action associated with location [CCRR] ignored for settings loaded from the Application settings file.

6.4

File formats Different file formats are generated and used by COURIER-COMM to: 1. define the device to be communicated with, 2. to store settings data, 3. to store data extracted from the device. The different file formats are identified by their unique DOS filename extensions.

6.4.1

Model database *.DBF File extension: *.dbf The model database is a file used by the core program to correlate the default settings files with the relay dependency files for each device type and model. It also contains additional information useful to the core program such as the current rating etc. This file is not directly accessible to the user and is configured as read only. It is used by the program to define the device to be communicated.

6.4.2

The relay dependency file *.RDF File extension: *.rdf. A relay dependency file is configured as read-only, and will be loaded by the application prior to use. The file contains Courier dependencies and therefore defines the device under control.

6.4.3

The default and application settings file *.SET File extension: *.set. The default and application settings files contain setting data and device setting values. The default settings file contains default values and attributes for all settings contained within the device and provides the basic information from which a new application setting file may be created. The application setting file is the setting file retrieved from or sent to the device. Eight groups of settings may be stored in any one setting file.

6.4.4

Binary settings file *.BIN File extension: *.bin. TVersions of PAS&T and ACCESS software earlier than version 3.2 created binary settings files with the extension *.bin. These files are similar to the default and application settings files except that they do not include any text associated
Page 63

with particular Courier data types or other attributes. Therefore these files are not compatible with the off-line settings programs. However, these files may be converted to the *.set format by loading them via the file open dialog. 6.5 Setting windows and types of settings There are two classes of setting: 1. device specific settings, and 2. protection specific settings. These two classes appear within the page headings window, each one leads to a cascading menu, the items of which are the titles of setting windows. The setting windows form sub-windows in the application window. Selection of a cascaded menu item opens the setting window, relevant to the menu item selected. Each setting window contains a list of specific settings and their parameter values, relevant to the current setting group indicated in the status bar. Settings comprising of complex numbers may be viewed in either polar or rectangular form. It should be noted, however, that the setting cell description may continue to show the complex values as magnitude and angle. This is a limitation of the device. The units of the complex values will be displayed correctly. The calculation for a particular parameter value is defined in the relay dependency file. Calculations are executed immediately the setting is entered or viewed on the screen. For further information, see Displaying a Setting window, Modifying a Setting and Manipulating Setting Groups. 6.6 Technical support If you have a query about COURIER-COMM then first: Consult the COURIER-COMM manual, or Consult the on-line help. The context sensitive help can be accessed by clicking the Help menu item on the menu bar and selecting one of the items in the drop down menu. If you cannot find the answer you require, contact one of the addresses listed below. If the program does not support the particular model of device that you wish to create settings for, or if for any reason your model database does not reference the appropriate relay dependency file and/or default settings files, contact one of the addresses listed below.

Page 64

6.6.1

Contact addresses ARGENTINA ALSTOM T&D Proteccin & Control SA Lavalle 3568, (1603) Villa Martelli Buenos Aires Argentina Tel: 54 (0)1 730 1800 Fax: 54 (0)1 730 1529 AUSTRALIA ALSTOM Australia Industrial Products Division PO Box 22, 25 Princes Road Regents Park NSW 2143 Australia Tel: 61 (0)2 9645 0777 Fax: 61 (0)2 9743 8488 CANADA ALSTOM Sales Network Inc. 5112 Timberlea Boulevard Mississauga Ontario L4W-2S5 Canada Tel: 1 905 624 8300 Fax: 1 905 624 8845 FRANCE ALSTOM T&D Protection & Contrle SA Avenue de Figuires 34975 Lattes France Tel: 33 (0)4 67 20 54 54 Fax: 33 (0)4 67 20 54 99 HONG KONG ALSTOM T&D Protection & Control Ltd Far East Office Room 2006-7 CC Wu Building 302-308 Hennessy Road Wanchai GPO Box 15 Hong Kong Tel: 852 2833 6265 Fax: 852 2834 5279 INDIA ALSTOM India Ltd Measurement & Control Division P.O. Box No. 2 19/1, GST Road Pallavaram Madras 600 043 India Tel: 91 (0)44 236 8621 Fax: 91 (0)44 236 7276 ITALY ALSTOM Sales Network Srl Protection & Control Division Via Gorizia No 5 20021-Baranzate di Bollate Italy Tel: 39 (0)-2-38200940 Fax: 39 (0)-2-38200934 SOUTH AFRICA ALSTOM Measurements PO Box 146 Bramley 2018 Johannesburg South Africa Tel: 27 (0)11 885 3240 Fax: 27 (0)11 885 1100

Page 65

UNITED KINGDOM ALSTOM T&D Protection & Control Ltd St. Leonards Works Stafford ST17 4LX England Tel: 44 (0)1785 223251 Fax: 44 (0)1785 212232

USA ALSTOM T&D Inc Protection & Control Division 4 Skyline Drive Hawthorne NY 10532 USA Tel: 1 914 347 5166 Fax: 1 914 347 5508

Version Control Issue A B Reason for Change Original All sections have been numbered Section 3.4 added Section 3.11 added Section 4.3.3 added Section 4.3.8 added Section 4.3.10 and 4.3.11 added Section 5.1.2 added Section 5.1.5 added Section 5.1.12 added Section 5.1.25 added Section 5.1.29 added Section 6.4.4 added Date 09/10/96 18/11/96

Page 66

Page 67

A L S T O M T & D P ro t e c t i o n & C o n t ro l L t d St Leonards Works, Stafford, ST17 4LX England Tel: 44 (0) 1785 223251 Fax: 44 (0) 1785 212232 Email: enquiries@pcs.alstom.co.uk Internet: www.gecalsthomgpc.co.uk
Our policy is one of continuous product development and the right is reserved to supply equipment which may vary from that described. 1998 ALSTOM T&D Protection & Control Ltd

Publication R8517E

Printed in England.

You might also like