esrf

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

PS.MAC
See other macros in category: All
Description:
    Treating brakes on primary slits
Documentation:
    DESCRIPTION
    Some very simple macros to open, close and get the state of the brakes of the primary slits. Normally the idxxsetup.mac is configured to set the device name of the primary slit maxe server and release the brakes as soon as spec primary slit application

    EXAMPLE
    pslsetup "ID11/psl1_maxe/1"
    pslstat
    Displays if brakes are released or set
    pslopen


    ATTENTION
    As spec and the X11 graphical primary slit application use different versions of maxe for the moment, the brake state will not change if the graphical application sets or releases the brakes. If you release the brakes from within spec however the brakes will actually be released and the status will be correct.

    DEPENDENCIES
    The file ps.mac has to be read in !done by: startup script

Macros:
    pslopen
    Usage: pslopen
    Release the 4 brakes of the primary slits

    pslclose
    Usage: pslclose
    Close the 4 brakes of the primary slits

    pslstat
    Usage: pslstat
    Display the brake status of the primary slits

    pslsetup
    Usage: pslsetup [dev-name]
    Tell the macros the device name of the primary slit maxe device server.

Internal Macros:
Filename: ps.mac
Author: PS.MAC - JK 11.93 $Revision: 3.1 $ / $Date: 2001/03/13 18:30:59 $
Last mod.: 08/08/2002 14:37 by berruyer