Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
PI_E712 $Revision: 1.2 $ | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
This macro file allows to connect a piezo to a macro motor in SPEC. Controllers currently supported are: SETUP | ||||||
Macros:
Usage: piezogcsdebug [personal msg] Switch on or off the print of debug messages | ||||||
Internal Macros: | ||||||
Usage: pi_e712_perr(msg) pi_e712_prn Usage: pi_e712_prn(msg) pi_e712_config Usage: pi_e712_config(num,type,p1,p2,p3) MACRO MOTOR: Called by spec after reading the config file pi_e712_cmd Usage: pi_e712_cmd(num,key,p1,p2) MACRO MOTOR: Called by spec on motor operation. pi_e712_par Usage: pi_e712_par(num,key,todo,p1) MACRO MOTOR: Called by spec on motor operation. pi_e712_motputget Usage: pi_e712_motputget (motor_num, cmd) Send a string command to the controller using the interface configured for the motor specified and waits for the controller answer. Returns an empty string if no error, ".error." otherwise. pi_e712_putget Usage: pi_e712_putget (dev, interface, cmd) Send a string command to the controller using the interface specified and waits for the controller answer. Returns an empty string if no error, ".error." otherwise. pi_e712_motput Usage: pi_e712_motput (motor_num, cmd) Send a string command to the controller using the interface configured for the motor specified. Returns an empty string if no error, ".error." otherwise. pi_e712_put Usage: pi_e712_put (dev, interface, cmd) Send a string command to the controller using the interface specificied. Returns an empty string if no error, ".error." otherwise. pi_e712_motget Usage: pi_e712_motget (motor_num) Waits for a valid string answer from controller using the interface configured for the motor specified. Returns the string ".error." in case of problem. pi_e712_get Usage: pi_e712_get (dev, interface) Waits for a valid string answer from controller using the interface specified. Returns the string ".error." in case of problem. | ||||||
|