company profile news email HTI links
Highland logo

THE V180/AT180 PARAMETER SET


August 14, 1995


Copyright (c) 1995 Highland Technology, Inc








CONTENTS
1.

2.

3.

4.
4.1
4.2
4.3

5.

6.
6.1
6.2
6.2.1
6.2.2
6.2.3
6.2.4
6.2.5
6.2.6
6.2.7
6.2.8
6.2.9
6.2.10
6.2.11
6.2.12
6.2.13

7.
INTRODUCTION

CONVENTIONS

RELATED DOCUMENTS

ABOUT PARAMETER SETS
FUNCTIONS OF THE PARAMETER SET
REATION AND MANAGEMENT OF PARAMETER SETS
THE 'PARSET' PROGRAM

READING AND WRITING PARAMETER SETS

PARAMETER SET STRUCTURE
FIELDS WITHIN THE PARAMETER SET
DETAILS OF PARSET FIELDS
PSTYPE : PARAMETER SET TYPE
PSID : PARAMETER SET ID STRING
STAMP : PARAMETER SET TIME STAMP
MODE : MODULE OPERATING MODE
SCANn : ACQUISITION CHANNEL SCAN BLOCKS
DIGIn : DIGITAL CONTROL BLOCKS
BTUS : BTU MEASUREMENT CONTROL
TSRX : TSR CONTROL WORD
FREQ : FREQUENCY SELECTOR
TSCHED : TSR SCHEDULE
TSRMAP : TSR MAP
TNAMES : TOTALIZER NAMES
CHECKSUM

DEFAULT PARAMETER SET LISTING
1. INTRODUCTION

The V180 and the AT180 electrical measurement modules are flexible 16-channel AC power measurement units. In order to set up an V180/AT180 module to the desired application-specific operating mode, it is necessary to load a "configuration file," called the PARAMETER SET, into the module.

This application note discusses the structure and use of the parameter set.


2. CONVENTIONS

This document observes the following conventions:

The parameter set is described as a block of binary data. Locations within the set are referred to by their byte offsets from the start of the structure, with the first byte being 'byte 0'. Offsets and data are generally stated in hex, e.g., 124h, and occasionally in decimal (e.g., 876d).

Data is assumed to be in Motorola (i.e., "high endian" format). A BYTE is an 8-bit numeric value, with bits labeled 0 (least significant) through 7 (most significant). A WORD is a 16-bit value consisting of two bytes; the most significant (high) byte is located FIRST in memory, namely at the LOWEST memory address, and the less significant byte follows. In the X180 parameter set, all 16-bit (word) data begins at an even address. Bits in a word are numbered 0 (LSB) through 15 (MSB).

For further comments, see V180/AT180 application note 20, "'Endian' Considerations for the V180/AT180."

Some items in the parameter set are ACTIVE and affect the functioning of the module. Some data items are PASSIVE and are not used by the V180/AT180 module in any way. Passive parameter-set elements are used to document the context of the measured items. Passive fields will typically be filled by PARSET.EXE to specify channel names, CT and PT scalings, parameter set name and creation date, etc. The passive fields are subsequently used by data display and analysis programs (such as B180.EXE) when presenting measured data in context.


3. RELATED DOCUMENTS



180-AN2


180-AN3


180-AN2
MODEL AT180 AND MODEL V180 ELECTRICAL MEASUREMENT MODULES TECHNICAL MANUAL

AT180/V180 THEORY OF OPERATION: ELECTRICAL MEASUREMENT MODULES

REGISTER-LEVEL PROGRAMMING OF THE AT180 AND V180 MODULES

'ENDIAN' CONSIDERATIONS FOR THE V180/AT180

4. ABOUT PARAMETER SETS

4.1 FUNCTIONS OF THE PARAMETER SET

The parameter set performs the following active functions:
1. Sets the module operating modes,

2. Defines the type and function of each of the sixteen acquisition channel inputs of the X180,

3. Defines the type and function of each of the eight digital I/O points, and

4. Defines the voltage inputs used to measure AC line frequency.

4.2 CREATION AND MANAGEMENT OF PARAMETER SETS

Parameter sets are stored in nonvolatile memory on V180/AT180 modules. The act of copying a parameter set to a module is called "Installing the Parameter Set." Once it is properly installed, the parameter set will remain in control of the module unless the nonvolatile memory is corrupted or another set is installed.

Whenever an V/AT180 module powers up, the current parameter set is checked for validity. If it is found to be incorrect, the module firmware installs a ROM-resident parameter set and begins normal operation. The ROM parameter set is usually the DEFAULT PARAMETER SET but optionally may be a customer-defined custom USER PARAMETER SET, if such a set has been specifically included in the module's ROM chips.

Most users can run the PARSET.EXE program to create and edit parameter sets. PARSET runs under DOS on IBM-compatible PCs. It can install parameter sets directly to V/AT180 modules if they are available online to the PC (either as AT180s plugged into the PC backplane, or V180 modules interfaced through one of several PC-to-VME interfaces). If the situation is such that PARSET cannot access the X180 module, some possible alternate schemes include...
1. Use PARSET to create the parameter set as a disk file and send that file to Highland for inclusion in a ROM as a User Set.

2. Convey the file contents to the target system and install the parameter set online, using direct writes to module registers. Refer to application note 180-AN3 for details.

4.3 THE 'PARSET' PROGRAM

The PARSET.EXT program is provided with V180/AT180 modules for the creation, management, and installation of parameter sets. PARSET presents a number of fill-in-the-blank screens which allow complete configuration of an X180 parameter set. The program supports saving and recalling parameter sets to/from disk files, and also allows direct reading and installation of sets from/to online V180 or AT180 modules.

PARSET is described in the V180/AT180 technical manual and includes online help.


5. READING AND WRITING PARAMETER SETS

Commonly, three procedures can be used to read and install parameter sets:
1. Use PARSET.EXE to manage sets of modules which are available to the program for online access

2. Use the realtime data display program B180.EXE to perform the same function. Note that B180 always reads the parameter set of any V/AT180 module when the module is selected for access. The module management submenu allows parameter set files to be installed to an online V/AT180 module.

3. Read and write parameter sets directly, as described in application note 180-AN3.

Go to Part 2