EPICS

EPICS 3.14 Support for the Mizar MZ8310 Timing module

This page is the home of the mizar VME timing module, which consists of the following components:

    timerRecord.c
    timerRecord.dbd
    devMz8310.c
    devTimerMz8310.c
    drvMz8310.c
    drvMz8310.h
    drvStc.c
    drvStc.h
    mz8310.dbd

These components previously resided in EPICS Base. An early version of this module also included three pulse record types, which have now been moved into their own support module.

Discussion

The Mizar MZ8310 is an old device and should not be used for new IOC applications. This support is provided to allow existing applications to be built with newer versions of EPICS Base.

The original support was developed for GTACS, the precursor to EPICS, and consisted of the timerRecord, drvStc and devTimerMz8310. The pulse record types added many more features of the MZ8310.

The Mizar has two AMD STC timer chips on-board which provide most of the functionality. The AM9513 is a rather complicated chip, and many of the fields in the timer record are used directly to program the chips. For this reason the timer record is not likely to be useful for devices other than the Mizar module.

Hardware Supported

IOC Configuration

A configuration command is provided which must be used to initialize the device support:

    devMz8310Config(int base, int vector);

where

base
The VME A16 address for the first MZ8310. The default is 0xf800.
vector
The interrupt vector for the first MZ8310. the default is 0xe8.

Documentation

The reference information for the timer record type is available on the EPICS Wiki at the link below:

Where to Find it

You can download the software from the links in the table below:

Module Version EPICS Release Filename Notes:
1-4 3.14.5 mizar1-4.tar.gz With pulse record types
1-5 3.14.10 mizar-1.5.tar.gz Pulse record types unbundled

Installation and Building

After obtaining a copy of the distribution, it must be installed and built for use at your site. These steps only need to be performed once for the site (unless versions of the module running under different releases of EPICS and/or the other required modules are needed).

  1. Create an installation directory for the module. Usually this will end with /modules/timing
  2. Unpacking the distribution tar file produces a directory named after the module and its release number.
  3. Edit the configure/RELEASE file and set the paths to your installation of EPICS base.
  4. Run gnumake in the top level directory and check for any compilation errors.