esrf

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

power_supply_scpi_mc.mac $Revision: 1.1 $
See other macros in category: All
Description:
    Macros for a the use of powersupplies, which use a SCPI protocol.
Documentation:
    DESCRIPTION

    Define a macro motor controller in config, ADDR is the TCP/IP or GPIB address.
    Now declare the motor controller:

    COUNTERS DEVICE ADDR <>MODE NUM <>TYPE
    YES SCPIPS deltaxxyyb:8462 2 Macro Motors

    Then declare a one or two counters with that controller.

    BUGS
    Bugs ? What bugs ??

Macros:
    scpips_debug
    Usage: scpips_debug
    toggle debug mode for the present macros.

Internal Macros:
    SCPIPS_config
    Usage: SCPIPS_config (obj, type, unit, mod, chan)
    Called by spec

    SCPIPS_cmd
    Usage: SCPIPS_cmd (mne, key, p1, p2, p3)
    Called by spec

    __scpips_gpib_io
    Usage: __scpips_gpib_io (addr, cmd)
    Called by spec, write command to controller and read answer.

    __scpips_gpib_put
    Usage: __scpips_gpib_put (addr, cmd)
    Called by spec, write command to controller, no answer expected.

    __scpips_tcp_io
    Usage: __scpips_tcp_io (addr, cmd)
    Called by spec, write command to controller and read answer.

    __scpips_tcp_put
    Usage: __scpips_tcp_put (addr, cmd)
    Called by spec, write command to controller, no answer expected.

Filename: power_supply_scpi_mh.mac
Author: Holger (BLISS)
Last mod.: 13/02/2020 16:43 by witsch