Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
jena.mac | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
Macros to work with a Jena piezosystem both trough a GPIB connection or a serial interface. Piezos will be seen as motors in SPEC This macro set was adapted by DFC from another one installed on ID13 by Vicente Rey. Uses a new Interface EDA3 (RS232 and GPIB) 12 bits or EDA5 16 bits How to configure the jena piezos as pseudo motors in the setup file. jenasetup 1 1 0 0 2 "xd 0 40" "z 1 40" jenasetup <no_ctrls><gpib/ser><addr><12/16 bits><mot_mne><chan><40> DEPENDENCIES To use a jena as a motor the following conditions have to be fulfilled: | ||||||
Macros:
Usage: jenasetup Prompts or receive parameters for the piezos jena_start Usage: jena_start start the current programmed function on channel 0, see jena_setsin macro. jena_stop Usage: jena_stop stop the current programmed function on channel 0, see jena_setsin macro. jena_setsin Usage: jena_setsin <offset> <amplitude> <frequency> <points/period> <num. periods> <initial angle> <divider> set parameters for the SINUS function on channel 0. | ||||||
Internal Macros: | ||||||
Usage: jenabody(mode) jenaoff Usage: jenaoff jenaon Usage: jenaon jenaunsetup Usage: jenaunsetup jenainit Usage: jenainit Initializes all channels and sets current/voltage to zero It is called from setup and the after each reconfig/resetup jena_def Usage: jena_def jenamove Usage: jenamove(i,j) jenaget Usage: jenaget(i,j) jenacount Usage: jenacount(i,j) jenacmd Usage: jenacmd(unit,cmd) jenaread Usage: jenaread(unit,cmd) | ||||||
|