esrf

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

KLEINDIEK.MAC
See other macros in category: Positioning
Description:
    Macros motor to control the KLEINDIEK 3 axes nano positioning stage (two rotations and one translation). The controller is accessed through a serial line
Documentation:
    DESCRIPTION
    Configuring the serial line
    DEVICE What ever you have, for instance ID13/serial/com2
    TYPE Related to previous field, for instance ESRF
    BAUD 19200
    MODE raw
    Configuring controller
    DEVICE kd
    ADDR the serial entry in config list, for instance 0
    NUM 3
    TYPE Macro Motors
    Configuring three macro motors
    CONTROLLER MAC_MOT
    UNIT/MODULE/CHANNEL the controller entry in config list and the channel, for instance 0/0 to access the first axis (rotation, labelled "1" on the controller)


Macros:
Internal Macros:
    kd_config
    Usage: kd_config(num,type,p1,p2,p3)
    MACRO MOTOR: Called by spec after reading the config file

    kd_cmd
    Usage: kd_cmd(num,key,p1,p2)
    MACRO MOTOR: Called by spec on motor operation.

    kd_com
    Usage: kd_com (motor_mne,command)
    Send the specified command to the controller and return its answer or empty string.

    kd
    Usage: kd
    Interactive console, <Ctrl-C> to quit

Filename: kleindiek.mac
Author:
Last mod.: 17/07/2008 16:55 by rey