esrf

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

ICE_PMUX.MAC
See other macros in category: All
Description:
    Macros to configure the position signal multiplexer inside an IcePAP system.
Documentation:
    DESCRIPTION
    Currently, the position signals can be only routed in two directions:
    - from the DB9 SYNCRO connector on the front panel of the MASTER module to any DRIVER module.
    - from any DRIVER module to the DB9 SYNCRO connector on the front panel of the MASTER module. The DRIVER modules are identified by their corresponding motor that must have been previously configured in the current SPEC session. The IcePAP checks that the requested signals routing is feasible and compatible with already configured routing rules. All the configured routing rules can be removed at once using the macro "pmux_reset" Currently the two IcePAP internal lines, position and auxiliray, are routed. The macros can not select one or the other. Currently, the axis position source is always the "MEASURE" one.

Macros:
    pmux_reset
    Usage: pmux_reset hostname | motor
    Remove all multiplexing in the given IcePAP system or in the system where the given motor is hosted

    pmux_mot2sync
    Usage: pmux_mot2sync motor
    Send the given motor position to IcePAP controller "SYNCRO" output (DB9 on controller front panel)

    pmux_sync2mot
    Usage: pmux_sync2mot motor [ motor ... ]
    Send the IcePAP controller "SYNCRO" input (DB9 on controller front panel) to the given motors

Internal Macros:
    _pmux_reset_system
    Usage: _pmux_reset_system (hostname)
    Remove all multiplexing in the given IcePAP system

    _pmux_reset_motor
    Usage: _pmux_reset_motor (motor_mne)
    Remove all multiplexing in the system where the given motor is hosted

    _pmux_mot2sync
    Usage: _pmux_mot2sync (motor_mne)
    Send the given motor position to IcePAP controller "SYNCRO" output (DB9 on controller front panel)

    _pmux_sync2mot
    Usage: _pmux_sync2mot (motor_mne)
    Send the IcePAP controller "SYNCRO" input (DB9 on controller front panel) to the given motors

    _pmux_check
    Usage: _pmux_check _pmux_check(motor_mne)
    Returns non null if the given axis mnemonic is not a valid IcePAP motor

Filename: ice_pmux.mac
Author: MP BLISS (Original 11/2014).
$Revision: 1.0 $ / $Date: 2014/11/25 10:23:14 $
Last mod.: 25/11/2014 11:23 by perez