esrf

Beamline Instrument Software Support
SPEC Macro documentation: [ Macro Index | BCU Home ]

emm.mac
See other macros in category:
Description:
Documentation:
    DESCRIPTION
    Energy (KeV) Calculated Macro Motor. The name of the macro motor MUST be "energy" For each Macro Motor energy, 2 macros, "energy_to_angle(energy_val)" and "angle_to_energy(angle_val)" should be written according to the monochromator in use Follower motors (using followmot.mac) are managed when energy is moved, using real or calculated motors

    EXAMPLE
    XXXsetup


    SETUP
    energy <----------------> mono | \ ----> followmot(s) <----- need followmot need hg hg_generate("emm")

    DEPENDENCIES


Macros:
    emm_calc
    Usage: emm_calc (<mot_num> <mode>)
    Calculation macro of the Calculation Macro Motor energy

Internal Macros:
    emm_config
    Usage: emm_config (<mne> <type> <unit> <module> <chan>)
    Configuration macro of the Calculation Macro Motor energy

Filename: emm.mac
Author: C. Guilloud / G. Berruyer
Last mod.: 12/12/2014 15:36 by guilloud