Photon Factory: BL-3A MEMO

Staff: H. Nakao

SPEC

"bl" for beamline control (only for administrator)

Power on PC with STARS (Surface)
Login
start vmware
Login

# bl -S

bl> qdo /home/nakao/macro/wire.mac
bl> wire_init
bl> wscan
bl>
bl>_wire_mode_=0 (off)
bl>_wire_mode_=1 (Horizontal)
bl>_wire_mode_=2 (Vertical)
bl> ct
bl>
(# vncserver)

Fourc circle diffractometer

# fourc

or
# fourc -l [filename]

To see the log
# tail -f log

Two circle diffractometer

# fourc2

X-ray energy

FOURC> getE
FOURC> moveE
FOURC> wh_gap
FOURC> mv gap [x mm]

_flg_gap_: 0,1,2 (0: no gap control, 1: gap control with special harmonics, 2: gap automatically controlled using suitable harmonics)

In the case of _flg_gap_=2 ,
- 3rd harmonic: E < 6.58keV
- 5th harmonic: 6.58keV <= E < 9.2keV
- 7th harmonic: 9.2keV <= E < 12keV
- 9th harmonic: 12keV <= E < 19keV

Base alignment

FOURC> dscan y -0.6 0.6 30 1
FOURC> umv y CEN
FOURC> dscan z -0.6 0.6 30 1
FOURC> dscan rz -0.2 0.2 30 1
FOURC> dscan ry -0.3 0.3 30 1

Mirror setting

FOURC> mv_mirror_4c (for 4-circle diffractometer)
FOURC> mv_mirror_2c (for 2-circle diffractometer)

Slit control

FOURC> bslit1 20 5 (Beamline slit No.1)
FOURC> bslit2 20 5 (Beamline slit No.2)
FOURC> nslit1 10 10
FOURC> nslit3 10 10

Slit1, 3 alignment (To check zero position)
FOURC> slit1;slit3

Attenuator control

FOURC> atten [number]
FOURC> atten2 [number] (Beamline attenuator)
(0:open, 1:Al0.2mm, 2:Al0.4mm, 3:Al1mm, 4:Al2mm, 5:Al4mm, 6:Al10mm 7:Pb2mm )

4-circle diffractometer

Base alignment

FOURC> dscan y -0.6 0.6 30 1
FOURC> umv y CEN
FOURC> dscan z -0.6 0.6 30 1
FOURC> dscan rz -0.2 0.2 30 1
FOURC> dscan ry -0.3 0.3 30 1

2-circle diffractometer

Base alignment

FOURC2> dscan y -0.6 0.6 30 1
FOURC2> umv y CEN
FOURC2> d2scan z1 -1 1 z2 -1 1 30 1
FOURC2> diff=CEN-A[z1]
FOURC2> umvr z1 diff
FOURC2> umvr z2 diff

General commands for SPEC