Calibrate

Stepping motors are calibrated with the following command sequence:

cali*brate/un*it=value motor_name

A step position is identified with a unit value. ONLINE creates a new version of online.dev and online.gra, both in /online_dir, for each calibration.

/noconfirm
ONLINE does not ask for confirmation before it calibrates a motor.

/nolog
The files online.dev and online.gra (/online_dir) are not created.

/keeping_limits
If supplied, the calibration does not change the software limits. This feature is needed, if motor_positions.bck is executed, because the device list contained the valid limits.

/pro*tected
A protected motor is automatically unprotected and after the calibration again protected. The privilege flag has to be set before.

e.g.:
smc(mot1) = 80000
cali/unit=0 mot1
The conversion factor of MOT1 is set to 8000 and the current position is calibrated to be 0.

cali*brate/ce*nter /ra*nge=xval [/np=ival] [/nol*og] [/noca*librate] [/noco*nfirm] motor_name

A motor position is optimized. This command can be used for the fine tuning of a monochromator crystal during long scans.

The procedure starts at some position pos_org.

A signal (e.g.: signal=[vfc(c1,t1,0.3)]) is evaluated at np positions in the range [pos_org - range/2, pos_org + range/2]. The default value for np is 21. The motor is moved to the maximum. ONLINE prompts the user whether the motor should be recalibrated, i.e. rename the position of the maximum to be pos_org, unless the qualifier /noconfirm is supplied. If /nocalibration is supplied, the motor is moved to the maximum without calibrating it. The qualifier /nolog suppresses informational messages.

cali*brate[/nocon*firm]/ene*rgy=value
cali*brate[/nocon*firm]/lam*bda=value

Monochromator calibration [eV], [Å]. ONLINE displays an informational message about which motors are calibrated or moved. It prompts for confirmation before the calibration is executed.

cali*brate[/nocon*firm]/chi=value
cali*brate[/nocon*firm]/omega=value
cali*brate[/nocon*firm]/phi=value
cali*brate[/nocon*firm]/two_theta=value

The calibration of the diffractometer angles, [Degree].

cali*brate[/nocon*firm]/row*land=value

Rowland spectrometer calibration [eV].